|
Posted by ZeldorBlat on 01/30/08 23:46
On Jan 30, 3:34 pm, "laredotorn...@zipmail.com"
<laredotorn...@zipmail.com> wrote:
> Hi,
>
> I'm using php 4.4.4. What I want to do is hopefully simple. If I
> type this URL into my browser:
>
> http://maps.google.com/maps/geo?q=980+PEMART+AVE+PEEKSKILL,+NY+10566&...
>
> I get a simple comma-delimited list of data. What I would like to do
> is in my PHP script, request this URL and then put the return values
> into an array. How do I do this?
>
> Thanks, - Dave
$url = 'http://maps.google.com/maps/geo?q=980+PEMART+AVE+PEEKSKILL,+NY
+10566&...';
$arr = explode(',', file_get_contents($url));
Navigation:
[Reply to this message]
|