Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
09-08-2011, 05:30 AM #1
- Join Date
- Apr 2009
- Thanked 0 Times in 0 Posts
curl not working..url with parameter with commas...
i am fetching web page data using curl...and its working fine for
But when i am trying to fetch url like
it doesn't work... showing Bad Request (Invalid URL) and same URL worked with browser
my code is
// Set up the CURL object
$ch = curl_init($furl);
// Fake out the User Agent
curl_setopt( $ch, CURLOPT_USERAGENT, "Internet Explorer" );
// Start the output buffering
// Get the HTML from MetaCritic
curl_exec( $ch );
curl_close( $ch );
// Get the contents of the output buffer
$str = ob_get_contents();
// A very simple example that gets a HTTP page.
$get_content = fetch_totalproperty("http://www.domainname.com/zip/30012/type-single-family-home,condo-townhome-row-home-co-op,mfd-mobile-home/pg-1#/");
can any one help me in this?
Last edited by jayminkey; 09-08-2011 at 05:42 AM.