DMayo 0 Newbie Poster

I'm using CUROPTL_FOLLOWLOCATION and it works on my local server (a laptop running win XPand php 5)

When i transfer the code to a linux server, CURLOPT_FOLLOWLOCATION seems to take forever and then does not redirect (my page does not display anything). I know this is the problem because when I comment out CURLOPT_FOLLOWLOCATION, I get the message "this page has temporarily moved" plus the new url.

Any idea what can be causing the problem?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.