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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-15-2013, 06:29 AM   #1
miXXXture
Confirmed User
 
miXXXture's Avatar
 
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?
__________________
I use Namesilo for domains and Mojohost, DigitalOcean & Vultr for hosting
miXXXture is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2013, 06:36 AM   #2
vdbucks
Monger Cash
 
Industry Role:
Join Date: Jul 2010
Posts: 2,773
Did you restart your web server after making changes to php.ini?
vdbucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2013, 06:39 AM   #3
jimmycastor
So Fucking Banned
 
Join Date: Jul 2006
Posts: 342
have you tried
exec("wget http://xyz.myvideo.com");

whats the error report in php?
jimmycastor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2013, 06:59 AM   #4
miXXXture
Confirmed User
 
miXXXture's Avatar
 
Industry Role:
Join Date: Jul 2009
Posts: 217
oh fuck...
just checked error logs, it caused by folder permission.. needed 777...
__________________
I use Namesilo for domains and Mojohost, DigitalOcean & Vultr for hosting
miXXXture is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2013, 09:34 AM   #5
PornDiscounts-V
Confirmed User
 
PornDiscounts-V's Avatar
 
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.
__________________
Blog Posts - Contextual Links - Hardlinks on 600+ Blog Network
* Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net
PornDiscounts-V is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2013, 07:42 PM   #6
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
Quote:
Originally Posted by vvvvv View Post
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.
exactly...

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:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2013, 07:54 PM   #7
secureizef
Confirmed User
 
Industry Role:
Join Date: Nov 2013
Posts: 173
nobody switched to python yet?
secureizef is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.