Problem with fopen() and a URL

    Date: 10/20/05 (PHP Community)    Keywords: xml, google

    Hi
    I'm attempting to retrieve Geopoints from Geocoder.us for use with a google maps app. The first point I'm trying to map is 58 West First Street Addieville, IL. The following link retrieves the desired XML results:

    http://rpc.geocoder.us/service/rest?address=58 West First Street, Addieville, IL

    However, when I plug that URL into the following statement

    $gp = fopen ("http://rpc.geocoder.us/service/rest?address=58 West First Street, Addieville, IL", "r")
    ,

    Geocoder sends back couldn't find this address! sorry. If the address is maligned any way into a bad address, this is the result it sends. Is there something wrong with this URL that gets lost or changed when fopen tries to open it?
    Thanks for any help you can offer.

    Source: http://www.livejournal.com/community/php/356732.html

« another gallery script || Users online from several... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home