From: Barry V. A. <ba...@vo...> - 2010-01-06 15:33:49
|
I am able to system() on a client's godaddy account, I'm not sure what they're hosting type is, but I have ssh access (but it's not virtual dedicated). I'd go through each of system/exec/passthru et al and see if one of them works -barry Tom Printy wrote: > Hi All, > > Thanks for the replies. Looks like safe mode is turned off: > http://textconn.com/sms/info.php > > > My guess is that Sara is correct in that they disabled the shell_exec > call. > > I suppose I could try just the basic exec() command and see if that > works, however I bet they have the same limitations. > > > Thanks for the tips I will keep working on this. > > -Tom > > > > > > On Tue, 2010-01-05 at 20:44 -0800, matt donohue wrote: >> You can check your php.ini file and if it's running safe mode no dice. >> echo phpinfo(); >> ini_set("safe_mode",0) works for some php installs (see manual). >> >> Or- ditch GoDaddy and get a real hosting solution that has root. It costs the same. >> >> Matt >> >> >> >> >> ________________________________ >> From: Sara Trice <sa...@sa...> >> To: Chicago PHP User Group <chi...@li...> >> Sent: Tue, January 5, 2010 5:54:26 PM >> Subject: Re: [chiPHPug-discuss] (no subject) >> >> I'm 99% sure shell_exec() is disabled on GoDaddy because ... well, >> it's a cheap webhost, and rather than secure their servers, they >> eliminate problems by not offering features. >> >> -Sara >> >> On Tue, Jan 5, 2010 at 5:35 PM, Tom Printy <tp...@ma...> wrote: >>> Hey Guys/Gals, >>> >>> I have some software that I am working with that is running on GoDaddy. >>> I am attempting to have PHP call another script to run in the >>> background. However I am running into so troubles and I was wondering if >>> anyone else has had any success with this. Here is what I am doing: >>> >>> shell_exec("nohup /home/content/t/e/x/textconn/html/sms/sendmessages.pl >>> 2> /dev/null &"); >>> >>> The php scipt seems to hang at this point and the browser then times >>> out. >>> >>> Any advice? >>> >>> Thanks >>> -Tom Printy >>> www.edisonave.com >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.Net email is sponsored by the Verizon Developer Community >>> Take advantage of Verizon's best-in-class app development support >>> A streamlined, 14 day to market process makes app distribution fast and easy >>> Join now and get one step closer to millions of Verizon customers >>> http://p.sf.net/sfu/verizon-dev2dev >>> _______________________________________________ >>> chiPHPug-discuss mailing list >>> chi...@li... >>> https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss >>> >>> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> chiPHPug-discuss mailing list >> chi...@li... >> https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> chiPHPug-discuss mailing list >> chi...@li... >> https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss |