[PHP] [ERR] RE: [PHP] extract(filename)
Transmit Report: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) ---BeginMessage--- John Taylor-Johnston wrote: In Borland Delphi, I can extract a filename from the paramstr(0) and then exchange out the extension. ChangeFileExt(extractfilename(paramstr(0)), '.html'); Is there a way to extract the filename of /home/www/calendars/february2004.html and swap its extension for .htm? february2004.htm is pure html. In february.html I include a header and a footer and then (february2004.htm); I would like to have some automatic code to do this instead of hand-coding 48 files. Do-able? How? I know these variables (PHP Version 4.3.4) but don't know how to start? How about starting at the manual? What a novel concept that is! http://www.php.net/manual/en/function.basename.php -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ---End Message---
RE: [PHP] [ERR] RE: [PHP] extract(filename)
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Wednesday, February 04, 2004 10:23 AM said: Transmit Report: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) OH GREAT! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [ERR] RE: [PHP] extract(filename)
Chris W. Parker wrote: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Wednesday, February 04, 2004 10:23 AM said: Transmit Report: To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED]) OH GREAT! After the last go around, anything coming from hanmir.com gets sent to /dev/null on my mail server. ;) Didn't even know it was still happening until you posted this. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php