![]() |
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? |
Did you restart your web server after making changes to php.ini?
|
have you tried
exec("wget http://xyz.myvideo.com"); whats the error report in php? |
oh fuck...
just checked error logs, it caused by folder permission.. needed 777... |
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.
|
Quote:
you could also try using http://www.php.net/file_get_contents |
nobody switched to python yet?
|
All times are GMT -7. The time now is 04:25 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123