On Mon, 01 Nov 2004 16:29:35 +0800, Adam Harvey wrote:
[color=blue]
> On Mon, 01 Nov 2004 08:14:58 +0000, BWGames wrote:
>[color=green]
>> What I'm looking for is a way for php to retrieve a webpage, search for a
>> string in it, and next to that will be a date string in the format (e.g.)
>> 03-Sep-04 22:37:40 BST, and then I'd like PHP to store that as a date/time
>> variable (preferably using unix timestamp)...
>>
>> This possible?[/color]
>
>
http://www.php.net/strtotime
>
> Adam[/color]
Thanks!
I now need to search for a string and return the next X characters to
it....
I'm guessing I'd use libcurl or similar to retrieve the webpage, and them
do strpos to find the string, but how to get the characters next to it?
I'm looking at
between... sometihng like between
between ('string1', 'string after what i want',$retrievedpage);
then strtotime...
That the best way?
Thanks,
ben
--
BWGames
to email change de.news to de-news