php and DW8 link updating (Full Version)

All Forums >> [Web Development] >> Dreamweaver Help



Message


bmobm -> 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 -> 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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125