You are here: Re: exec() in the background « All PHP « IT news, forums, messages
Re: exec() in the background

Posted by MS on 02/16/06 03:31

>
> ie. you could use exec("php /dir/yourscript.php"); which tells php to
> load that script.
> Or
> exec("cp /dir/yourfile.txt /dir2/") which copies a file from one place
> to another.
>
> the examples are totally unrelated, but I just wanted to show that the
> stuff within the brackets are linux/unix commands, NOT php commands.
>

Well I had a go with exec() but nothing i do seems to set in motion the
script.
I even deleted the script to see if it would throw up an error, but alas it
didn't !!
my calling script just seems to bypass the exec();

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация