Richard Davey wrote:
Hello Graham,
Friday, July 1, 2005, 12:54:42 AM, you wrote:
GA> if $_SERVER['SCRIPT_NAME'] give this
GA> /folder/folder/Library/php/filename.php
$_SERVER['SCRIPT_NAME'] won't give you that,
$_SERVER['SCRIPT_FILENAME'] would.
SCRIPT_NAME would just give you /filename.
Hello Graham,
Friday, July 1, 2005, 12:54:42 AM, you wrote:
GA> if $_SERVER['SCRIPT_NAME'] give this
GA> /folder/folder/Library/php/filename.php
$_SERVER['SCRIPT_NAME'] won't give you that,
$_SERVER['SCRIPT_FILENAME'] would.
SCRIPT_NAME would just give you /filename.php
And if you need to
Hi,
Friday, July 1, 2005, 9:54:42 AM, you wrote:
GA> if $_SERVER['SCRIPT_NAME'] give this
GA> /folder/folder/Library/php/filename.php
GA> what would be the proper way to strip the string until only 'filename'
GA> is left
GA> I'm a bit new at eregi stuff
GA> any help would be appreciated
GA>
3 matches
Mail list logo