Follow us on Twitter!
Ideas are far more powerful than guns.
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 22
Guests Online: 21
Members Online: 1

Registered Members: 82889
Newest Member: Geriztul
Latest Articles
View Thread

HellBound Hackers | HellBound Hackers | Questions

Author

help in php( find a word in a site)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-03-08 19:16
i want some help...
iwant to write a script in php to read a site... ant if find a word... to set an alert (1) window...
i use this script but with site hellboundhackers.org returns $c 0 ( because is big the site????)
and with command i will find the word i wand ( i.e hellboundhackers....)Sad

<?php
$mystring="see";
$handle = fopen('http://hellboundhackers.org', "r"Wink;
$contents = stream_get_contents($handle);
$c = str_word_count($contents);

echo $c;



fclose($handle);

?>
Author

RE: help in php( find a word in a site)

SySTeM
Member

Your avatar

Posts: 1524
Location: England, UK
Joined: 27.07.05
Rank:
HBH Guru
Posted on 26-03-08 19:27
HBH doesn't seem to display tabs or spacing correctly, so I uploaded it to pastebin instead -_-'

http://pastebin.c. . .


img138.imageshack.us/img138/6527/sig2ak1.jpg
www.hellboundhackers.org/sig/r/2783.png



Edited by SySTeM on 26-03-08 19:35
http://www.elites0ft.com/
Author

RE: help in php( find a word in a site)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-03-08 20:42
Thanks for the reply... but when i run it it says:
Word cound:0... it doesn't appears the alert window.......
Author

RE: help in php( find a word in a site)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-03-08 20:59
it works ..... for other sites but not for hellboundhackers.org...( maybe it a big site to save iot in a word with stream_get_contents) it says: count:0.... how can to solve this problem????Grin
Author

RE: help in php( find a word in a site)

SySTeM
Member

Your avatar

Posts: 1524
Location: England, UK
Joined: 27.07.05
Rank:
HBH Guru
Posted on 26-03-08 21:49
It work fine for me on HBH :s

<script>alert("'HellBound' found!"Wink</script>
Word count: 5857


img138.imageshack.us/img138/6527/sig2ak1.jpg
www.hellboundhackers.org/sig/r/2783.png

http://www.elites0ft.com/
Author

RE: help in php( find a word in a site)


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-03-08 22:04
Because i run the script for my pc ...( i use the XAMPP for Linux and i made my pc server and i run it in it , because in my site i can run it ... it's off... i think so , this is the problem!!!!!)... Angry