PHP Classes

Redirect with "refresh" in html meta tags

Recommend this page to a friend!

      PHP HTTP protocol client  >  All threads  >  Redirect with "refresh" in html meta...  >  (Un) Subscribe thread alerts  
Subject:Redirect with "refresh" in html meta...
Summary:?
Messages:2
Author:vMyth
Date:2008-03-05 14:36:25
Update:2008-03-06 22:25:21
 

  1. Redirect with "refresh" in html meta...   Reply   Report abuse  
Picture of vMyth vMyth - 2008-03-05 14:36:25
Hello, I see that the class support redirection but some pages only have the redirection url in the meta-tags "refresh". Can you tell me how can I follow this kind of redirection please ? Or may I need to get out the url by using regex and re-connect ? Thank you very much.

  2. Re: Redirect with "refresh" in html meta...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-03-06 22:25:21 - In reply to message 1 from vMyth
The class does not handle meta redirect responses. Since it is not very hard, I may add support for that soon.

Meanwhile, you may handle meta-redirect tags by using regular expressions to parse the page and extract the redirection parameters if they are present.