Jump to content
xisto Community
Sign in to follow this  
saxsux

Php Wget Its not working

Recommended Posts

A while ago I posted a thread asking if anyone knew anything about wget, and I was given the code below:

<?php$foo = system('wget http://forums.xisto.com/no_longer_exists/ ~',$output);?>

Which has been working fine, since the panda server failure a while ago.
Since then, whenever I try to use it , it comes up with

<?php$foo = system('wget http://forums.xisto.com/no_longer_exists/ ~',$output);
?>


Has this been disabled by the administrators, or is there a way I can sort it out?

Share this post


Link to post
Share on other sites

As far as I know wget was blocked by the server admins through apache's mod_security .. don't know about the present status. Your problem might be because of that.

<{POST_SNAPBACK}>


Yeah. Wget is blocked at panda. I had a cron job running a wget to execute a certain php script daily (didn't come to me at the time that I could've just used 'php script.php') but it stopped working month or so ago.

 

So its not your script or php, its the apache settings.

Share this post


Link to post
Share on other sites

Okay, thanks. BTW, the second quote thing I put in was wrong.

It actually came up with:

Warning: system() has been disabled for security reasons in /home/saxxsuxx/public_html/get.php on line 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.