run php file in browser with exec command or any other command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Friends,

I have one php file in this file i have just use mail function to send the
email for testing.

In other php file i have used exec('/usr/bin/php -f filepath/filename.php');

and when i run the second file which contains exec command. But i do not get
any email.
So it is not working with browser. 

When i run this command in SSH it is working fine and i got the email.

So i am doing wrong ?
if yes please tell me how can i run that file with browser. 

Thanks,
Javed
-- 
View this message in context: http://www.nabble.com/run-php-file-in-browser-with-exec-command-or-any-other-command-tp18066201p18066201.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux