substr()
http://us2.php.net/manual/en/function.substr.php
Regards
-M
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Friday, January 02, 2004 8:23 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] End slash, small problem.
Hi,
Thanks for replying
Hi,
Thanks for replying.
Basically after that path I am adding a file "ryanFile.php" so I need that
ending slash to always be in the path
My question was exactly that...how do I "grab" the last character?
Thanks,
-Ryan
On 1/3/2004 2:14:10 AM, Mike Brum ([EMAIL PROTECTED]) wrote:
> Do you want
Do you want code to be handled differently if it's there or do you want it
to be a certain way (e.g. always with trailing slash or never w/ trailing
slash)?
If you want it to always be a certain way, why not grab the last character
of the path, check if it's a slash and then if it's not how you wa
3 matches
Mail list logo