Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

script to grab any information ?

Links for php scripts

Moderators: macek, egami, gesf

script to grab any information ?

Postby xgab » Sat Jun 21, 2003 5:09 pm

Hi!

Does anybody know about a freeware script to grab any information from any web page ?

Thank you in advance
Gabriel
xgab
New php-forum User
New php-forum User
 
Posts: 13
Joined: Tue Jan 28, 2003 4:22 am

Postby Oleg Butuzov » Sat Jun 21, 2003 10:31 pm

Code: Select all
$fs=fopen("$SiteURL", "r");
$content=fread($fs, filesize($fs));
fclose($fs);
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Re: script to grab any information ?

Postby WiZARD » Mon Jun 23, 2003 8:24 am

xgab wrote:Hi!

Does anybody know about a freeware script to grab any information from any web page ?

Thank you in advance
Gabriel

i'm not sure but if you bad admin, from youre site some adv hacker may take a boom! :D
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby alesh.ru » Thu Jul 17, 2003 11:53 pm

What information you want to grab? From where? Html? Xml?
User avatar
alesh.ru
New php-forum User
New php-forum User
 
Posts: 3
Joined: Thu Dec 12, 2002 4:36 am
Location: Ru,Moscow

Postby alesh.ru » Thu Jul 17, 2003 11:54 pm

Pejone wrote:
Code: Select all
$content=fread($fs, filesize($fs));

FileSize can't work with HTTP.
User avatar
alesh.ru
New php-forum User
New php-forum User
 
Posts: 3
Joined: Thu Dec 12, 2002 4:36 am
Location: Ru,Moscow

Postby Oleg Butuzov » Fri Jul 18, 2003 12:33 am

Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby WiZARD » Mon Jul 21, 2003 5:23 am

WOW!
And my too! i think...... :wink:
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.