Hi everyone,
I want to create a script that will determine where in an array or
database to find information based on the name of the file. I have
the reference working, but it's giving me too much information.
<?
$f = __FILE__;
print $f
?>
gives me
/home/calador/public_html/wapolitics/counties/adams.php
All I want is "adams".
Any ideas?
Chad Lupkes
chadlupkes@eart hlink.net
I want to create a script that will determine where in an array or
database to find information based on the name of the file. I have
the reference working, but it's giving me too much information.
<?
$f = __FILE__;
print $f
?>
gives me
/home/calador/public_html/wapolitics/counties/adams.php
All I want is "adams".
Any ideas?
Chad Lupkes
chadlupkes@eart hlink.net
Comment