View Single Post
  #4 (permalink)  
Old 07-20-03, 05:09 AM
ChristGuy ChristGuy is offline
Operations Support Develo
 
Join Date: Jun 2003
Location: Rivonia, South Africa
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
You could try using explode...
PHP Code:

  $currentFile $_SERVER["SCRIPT_NAME"];

  
$parts Explode('/'$currentFile);

  print 
$parts[count($parts)]; 
That should work...
__________________
Till We Meet Again...
Clifford W. Hansen
Aspivia (Pty) Ltd

"We Have Seen Strange Things Today!" Luke 5:26
Reply With Quote