Jump to content

[SOLVED] easy, Speed question


Eggzorcist

Recommended Posts

If I have the following in a header.php in a root of localhost.

 

$_SERVER['SERVER_NAME'] . $_SERVER['PHP_SELF'];

 

and my header is attached to a file in /localhost/hello/index.php

 

will the phpself think its the root of localhost or in hello/index.php?

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/124132-solved-easy-speed-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.