![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jul 2009
Posts: 217
|
php shell_exec
i had a few simple things to do with exec/system/shell_exec like
system("wget http://blabla.com/blabla.flv"); but it is not working... i searched and all come up with same thing php.ini disable_functions (also, checked with hosting support)... also, safe_mode=off... there was not disable_functions line, so i added... still not working... i just want to download tube clips and generate thumbs from them with ffmpeg... i tried it with a few hosts dedicated/vps, not sure what i'm doing wrong... any other special settings needed for exec/system/shell_exec? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Monger Cash
Industry Role:
Join Date: Jul 2010
Posts: 2,773
|
Did you restart your web server after making changes to php.ini?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Join Date: Jul 2006
Posts: 342
|
have you tried
exec("wget http://xyz.myvideo.com"); whats the error report in php? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jul 2009
Posts: 217
|
oh fuck...
just checked error logs, it caused by folder permission.. needed 777... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Oct 2003
Location: L.A.
Posts: 5,744
|
And there you go. Just remember these files will be owned by the server and not your hosting account profile. So to manipulate our delete them you will have to use php exec to do anything.
__________________
![]() ![]() * Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
Quote:
you could also try using http://www.php.net/file_get_contents
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Nov 2013
Posts: 173
|
nobody switched to python yet?
|
![]() |
![]() ![]() ![]() ![]() ![]() |