Re: [PHP] get name of file

2001-03-19 Thread Data Driven Design
- Original Message - From: Matthew Delmarter <[EMAIL PROTECTED]> To: PHP Mailing List <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 6:51 PM Subject: [PHP] get name of file > How do I return the name of a file without any extensions or path info. > > Eg h

RE: [PHP] get name of file

2001-03-19 Thread Thor M. Steindorsson
count($url); $name = explode(".",$url[($num-1)]); $documentname = $name[0]; echo "$documentname"; ?> > -Original Message- > From: Matthew Delmarter [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 19, 2001 6:52 PM > To: PHP Mailing List > Subject: [PHP] g

Re: [PHP] get name of file

2001-03-19 Thread John LYC
$PHP_SELF returns the file name.. go to php website manual and serach for it.. john Matthew Delmarter wrote: > How do I return the name of a file without any extensions or path info. > > Eg how do I return "about" from "http://www.domainz.com/about.htm". > > Regards, > > Matthew Delmarter > > -

RE: [PHP] get name of file

2001-03-19 Thread Jack Dempsey
al Message- From: Matthew Delmarter [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 9:52 PM To: PHP Mailing List Subject: [PHP] get name of file How do I return the name of a file without any extensions or path info. Eg how do I return "about" from "http://www.domainz

[PHP] get name of file

2001-03-19 Thread Matthew Delmarter
How do I return the name of a file without any extensions or path info. Eg how do I return "about" from "http://www.domainz.com/about.htm". Regards, Matthew Delmarter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [