Jump to content

shell commands in php


ashok!!!

Recommended Posts

when i tried

shell_exec(ls)

its working fine... i mean.. i m getting all the files/folders in the directory in which the php file is present.

actually... i can send sms from the terminal through my mobile (connected to the computer) which takes about 5 secs.

but when i tried running the same in the php file..... i m getting error as "device not found". i also saw some posts telling that the commands which take time to execute are giving errors when ran in a php file.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.