Join us at IRC!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Friday, May 25, 2012
Navigation
Members Online
Total Online: 24
Web Spiders: 13
Guests Online: 23
Members Online: 1

Registered Members: 70209
Newest Member: KalareShou
Latest Articles
View Thread

HellBound Hackers | Challenges | Timed Challenges

Author

problem with php& curl

dovis
Member



Posts: 129
Location: Greece
Joined: 05.12.07
Rank:
God
Posted on 20-03-08 20:39
i use XAMPP , and i;l do my pc web server... the command allow_url_fopen enabled.. and i write this scblockedript:
<?php

$handle = fopen("http://www.hellboundhackers.org", "r";);

?>
but it doesn't open the site.... why??? what i'm doing wrong????:(
Author

RE: problem with php& curl

sacman
Member

Posts: 120
Location: Germany
Joined: 19.03.08
Rank:
Hacker Level 1
Posted on 20-03-08 20:44
what exactly do you want to do ?
echo a site in ur domain ?
Author

RE: problem with php& curl

dovis
Member



Posts: 129
Location: Greece
Joined: 05.12.07
Rank:
God
Posted on 20-03-08 20:51
yes... i want to open the site......:|
Author

RE: problem with php& curl

sacman
Member

Posts: 120
Location: Germany
Joined: 19.03.08
Rank:
Hacker Level 1
Posted on 20-03-08 21:05
u just opend a handle ....
fgets reads the page

why not use file() ?

$page=file("the homepage";);

foreach ( $page as $line){
echo $line;
}


Author

RE: problem with php& curl

slpctrl
Member

Posts: 945
Location: 2147483647
Joined: 19.04.07
Rank:
God
Posted on 21-03-08 01:44
dovis wrote:
i use XAMPP , and i;l do my pc web server... the command allow_url_fopen enabled.. and i write this scblockedript:
<?php

$handle = fopen("http://www.hellboundhackers.org", "r";);

?>
but it doesn't open the site.... why??? what i'm doing wrong????:(


Btw in PHP you gotta specify the actual file, not just the domain name. www.hellboundhackers.org/index.php for main page.


http://www.totse.com
Author

RE: problem with php& curl

sharpskater80
Member

Posts: 170
Location: Missouri
Joined: 18.09.05
Rank:
God
Warn Level: 10
Posted on 15-05-08 04:57
What is with this though? It used to work perfectly, now it just shows a blank page.

<?
$page = fopen("http://www.hellboundhackers.org/index.php","r");
while ( $line = fgets($page) )
echo $line;
?>





Edited by sharpskater80 on 15-05-08 04:58
Author

RE: problem with php& curl

Mr_Cheese
HBH Owner



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
God
Posted on 15-05-08 13:00
you need a user agent. blank user agent = blank page on hbh.


Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.