Hi,
for the last year or so, ive just uploaded my pages to the website /
server to test PHP script.
(its just expired the last day or so...)
Ive now installed PHP 5 onmy home server - & testing it. However im
getting an error / problem...
(This is at the top of my index page
======================
<?
$head="";
$head=$_SERVER{"SERVER_NAME"};
$menupage="";
if (isset($_REQUEST{"menupage"})) {
$menupage=$_REQUEST{"menupage"};
}
#include
("/header/index.php?text=Kwister*-*NZ*Website*Directory&text2=New*Zealand*Web*Directory&BETA=0&head=$head&menupage=$menupage");?>
include ("/header/index.php");
?>
====================== -
however I'm seeing this on my web-page, when I put "http://localhost/" :-
===============
include ("/header/index.php"); ?>
===============
I see the above as HTML text - NOT the contents of the header file/html...
Is my above code wrong ?
Ps - phpinfo() works.
--
G
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/