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
Check
pathinfo()
http://ca3.php.net/manual/en/function.pathinfo.php
Yann
www.phpquebec.org
On Wed, 2004-02-04 at 12:56, John Taylor-Johnston wrote:
In Borland Delphi, I can extract a filename from the paramstr(0)
and then exchange out the extension.
Burhan,
Novel indeed! RTFM :) I was playing around with filename and a few other words.
Didn't think of basename.
Thanks,
J
Is there a way to extract the filename of
/home/www/calendars/february2004.html
and swap its extension for .htm?
How about starting at the manual? What a novel
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');
[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:
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
On Thursday 05 February 2004 02:18, John Taylor-Johnston wrote:
Novel indeed! RTFM :) I was playing around with filename and a few other
words. Didn't think of basename.
Here's another novel idea:
The manual is organised around chapters and in most cases each chapter deals
with a group of
7 matches
Mail list logo