navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

php and DW8 link updating

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Dreamweaver Help >> php and DW8 link updating
Page: [1]
 
bmobm

 

Posts: 1
Joined: 5/7/2007
Status: offline

 
php and DW8 link updating - 5/7/2007 16:53:26   
This is my first post on here and I hope this is worthy of a first post, lol.

Any way, I have a website bmobm.co.uk which is running 2 phpprobid scripts and a phpBB3 forum, My problem is....(and please bare with me here because i kinda know absolutly nowt bout php coding) i wish to include some files ie overall_header, overall_footer etc..... but they are all situated in a folder deeper into the directory than the index file im trying to write is situated.

I did manage to connect to the file but i am getting an : Access Denied error.
im guessing that somewhere in the auction software script there is a permission set to not allow linking to files unless its in a "certain directory" ie the root directory for the phpprobid script,
My index which i am trying to write is situated in MY main document root which is one above the probid directory.

Im desperatly trying to gat the function to work as i want the same theme throughout my site but as i ave said there is some code in there somewhere stopping me from linking directly to the overall_header and other files i wish to include.

does dreamweavr auto update PHP files when moving from one directory to another or does it just do this for html links because im banging my head against a wall here trying to get this to work.


many thanks to you all in advance
Tailslide

 

Posts: 6032
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: php and DW8 link updating - 5/8/2007 2:41:36   
You can include a file from anywhere on a site - doesn't matter particularly where. Only issues are that you need to ensure you get the path right.

PHP errors are usually very informative so it should give you the exact path to use for instance if you've got that wrong.

Access denied sounds like a permissions issue - you might need to change the CHMODs on the folder where the file is to allow other pages to access it.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to bmobm)
Page:   [1]

All Forums >> Web Development >> Dreamweaver Help >> php and DW8 link updating
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts