Markbad311
11-19-2006, 08:40 PM
I am using this to save me sometime when doing links... It gives me the appropriate results but also gives me errors too.. Funny it works and errors at the same time...
In my source code I get this
b>Notice</b>: Undefined index: PATH_TRANSLATED in <b>C:\WebServ\wwwroot\htdocs\v2\include\headNav.php</b> on line <b>4</b><br />
Line 4 is this in my script headNav.php
/*line 3*/print '<div id="masthead">
<a href="'.$_SERVER['PATH_TRANSLATED'].'/v2/" title="Erie Business Guide" >'; //line 4
In my source code I get this
b>Notice</b>: Undefined index: PATH_TRANSLATED in <b>C:\WebServ\wwwroot\htdocs\v2\include\headNav.php</b> on line <b>4</b><br />
Line 4 is this in my script headNav.php
/*line 3*/print '<div id="masthead">
<a href="'.$_SERVER['PATH_TRANSLATED'].'/v2/" title="Erie Business Guide" >'; //line 4