curl and meta-refresh

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

curl and meta-refresh

Post by hame22 »

Hi all

I am trying to use curl to display an external url in my site.

The problem that I am having is to reach this page there are some redirects of which are using meta-refresh to redirect the page.

Curl does not interpret this tag so ends when it gets to the page with the meta-refresh which then redirects to the external url address.

How can I extract this meta-refresh url so I can allow curl to take its normal route to the final webpage so that I can then display it?

Any opinions will be appreciated

thanks in advance
Post Reply