Login   Register  
PHP Classes
elePHPant
Icontem

Can't get the value with Absolute URL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Get tag value  >  All threads  >  Can't get the value with Absolute URL  >  (Un) Subscribe thread alerts  
Subject:Can't get the value with Absolute URL
Summary:Can't get the value with Absolute URL (From real website)
Messages:2
Author:Jimmy Chadha
Date:2007-08-01 05:57:58
Update:2007-08-04 04:06:04
 

  1. Can't get the value with Absolute URL   Reply   Report abuse  
Picture of Jimmy Chadha
Jimmy Chadha
2007-08-01 05:57:59
Hi,

I've just use with absolute url like: http://192.168.1.5/demo/index.html
I tried to extract the title from this page but I didn't get it and apache crashed.

As you mentioned your class works with websites but sorry to say it didn't work or may be I am doing wrong below is the code:


$ob = new GTV(
"http://192.168.1.5/demo/index.html",
array("<title>"),
array("<\/title>")
);

echo "<pre>";
print_r ($ob->tag_value);

Please let me know if I am doing anything wrong

  2. Re: Can't get the value with Absolute URL   Reply   Report abuse  
Picture of NaiFPHP
NaiFPHP
2007-08-04 04:06:04 - In reply to message 1 from Jimmy Chadha
check your URL ...

unable to reach the requested page !!