I am using <?php include ('/php/header.php'); ?> in my php index file. Everything shows up in Dreamweaver, but as soon as it hits the web server and I go to access it absolutely nothing shows up. All I get is a blank page with no source code. HELP!
pbpyrojust
0
Newbie Poster
Recommended Answers
Jump to PostYou pobably have a sintax (writing) error in your 'header.php' file; check that you have closed all the brackets and parenthesis and also that you have sthe ';" at the end of every line of code etc.
Yu also might have a wrong path to the file: '/php/header.php' means the …
Jump to PostThat's exactly what I said: the path to the file is wrong.
Try to use a relative path, instead of an absolute path and make sure it is correct.
All 7 Replies
johny_d
23
Junior Poster in Training
pbpyrojust
0
Newbie Poster
johny_d
23
Junior Poster in Training
pbpyrojust
0
Newbie Poster
johny_d
23
Junior Poster in Training
pbpyrojust
0
Newbie Poster
johny_d
23
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.