PHP Classes

Grab Url PHP5

Recommend this page to a friend!

      Grab URL  >  All threads  >  Grab Url PHP5  >  (Un) Subscribe thread alerts  
Subject:Grab Url PHP5
Summary:Object handling changed in PHP5
Messages:1
Author:H.W.Jansen
Date:2011-12-24 00:12:52
 

 


  1. Grab Url PHP5   Reply   Report abuse  
Picture of H.W.Jansen H.W.Jansen - 2011-12-24 00:12:52
Hi,

I am using the class Crab Url for pages for my sportsclub

After moving from the old provider with PHP4 to another with PH5, the class doesnt work any more for grabbing part of the content of an Url.

I read that the object handleing changed in PHP5 and that creating a clone???? is necessary in the next script

$foo=new grabUrl();
$foo->getData("http://www.yahoo.com");
$foo->showPage();

Can somebody help me to rewrite this part ( if that is the problem)?

Thanks
Hennie Holland