ore idiot proof after I
finish on the current prob I'm on ;-)
Roll on Friday!
Curt Zirzow <[EMAIL PROTECTED]>
24/07/2003 17:29
To: [EMAIL PROTECTED]
cc:
Subject: Re: [PHP] removing parts of a string...
* Thus wrote [EMAIL PROTECTED]
([EMAIL
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> Cheers for your help...
> I did this in the end...
>
> $rest = substr($row[file_info], 27, 100);
> $download = "/home/sites/site1/web$rest";
>
> where $row[file_info] = the full URL and the 27th character is
e!
Cheers one and all!!
Tris...
"R'twick Niceorgaw" <[EMAIL PROTECTED]>
24/07/2003 15:18
To: [EMAIL PROTECTED]
cc:
Subject: Re: [PHP] removing parts of a string...
On 24 Jul 2003 at 15:03, [EMAIL PROTECTED] wrote:
> I
hi,
Juan Nin wrote:
> From: <[EMAIL PROTECTED]>
>
>
>> I wanna be able to take a URL
>> http://www.mysite.com/downloads/file_1_a.pdf
>>
>> and then remove:
>> http;//www.mysite.com/
> [...]
>
> look at preg_match()
... or preg_replace();
>
> regards,
ciao SVEN
--
PHP General Mailing List (h
On 24 Jul 2003 at 15:03, [EMAIL PROTECTED] wrote:
> I wanna be able to take a URL
> http://www.mysite.com/downloads/file_1_a.pdf
>
> and then remove:
> http;//www.mysite.com/
>
> then add:
> /host/sites/site1/web/
>
> to
> downloads/file_1_a.pdf
>
> Turning:
> http://www.mysite.com/downloads/f
From: <[EMAIL PROTECTED]>
> I wanna be able to take a URL
> http://www.mysite.com/downloads/file_1_a.pdf
>
> and then remove:
> http;//www.mysite.com/
[...]
look at preg_match()
regards,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo