cURL issue

hey guys,

when I try and get the

curl_getinfo($curl, CURLINFO_EFFECTIVE_URL)

for “” as the $curl, I get

as the answer.

It is missing a slash after the .com. I’m not sure why this is happening. Whenever I type into any browser, it comes up with a slash after the .com like:

Any ideas why cURL isn’t seeing this slash after the .com ??

Because it doesn’t need the slash. =p

I’m not sure why exactly cURL chooses to leave out the slash, but it doesn’t have to be there. It makes more sense that it should have the slash (since the HTTP request would have the / as the page to GET), but it doesn’t need it for it to be valid.

Haha lame! Okay thanks.