By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,631 Members | 1,843 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,631 IT Pros & Developers. It's quick & easy.

How is call exec("/usr/usr/bin -C $U2 &");

P: n/a
Hi

This will not work, does any one know why?

exec("/usr/usr/bin -C $U2 &");

Thanks
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Carved in mystic runes upon the very living rock, the last words of Mike of
comp.lang.php make plain:
This will not work, does any one know why?

exec("/usr/usr/bin -C $U2 &");


Is /usr/usr/bin a program? What are you trying to do? What happens when you
try it? Have you tried it with the return paramenter to see what it's
returning?

http://www.catb.org/~esr/faqs/smart-...html#id2854122

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #2

P: n/a
Hi Alan

Thanks for the reply, it's a program, how does one one a return
paramenter, is it like $return = exec"/usr/usr/bin/add -C $U2 &");
Let me know thanks.

Mike

Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote in message news:<Xn**************************@216.196.97.132> ...
Carved in mystic runes upon the very living rock, the last words of Mike of
comp.lang.php make plain:
This will not work, does any one know why?

exec("/usr/usr/bin -C $U2 &");


Is /usr/usr/bin a program? What are you trying to do? What happens when you
try it? Have you tried it with the return paramenter to see what it's
returning?

http://www.catb.org/~esr/faqs/smart-...html#id2854122

Jul 17 '05 #3

P: n/a
Carved in mystic runes upon the very living rock, the last words of Mike
of comp.lang.php make plain:
Alan Little <al**@n-o-s-p-a-m-phorm.com> wrote in message
news:<Xn**************************@216.196.97.132> ...
Carved in mystic runes upon the very living rock, the last words of
Mike of comp.lang.php make plain:
> This will not work, does any one know why?
>
> exec("/usr/usr/bin -C $U2 &");


Is /usr/usr/bin a program? What are you trying to do? What happens
when you try it? Have you tried it with the return paramenter to see
what it's returning?

http://www.catb.org/~esr/faqs/smart-...html#id2854122


Thanks for the reply, it's a program, how does one one a return
paramenter, is it like $return = exec"/usr/usr/bin/add -C $U2 &");

Let me know thanks.


Mike, the point of my response is that you need to provide more
information. Did you read the link I posted?

http://www.catb.org/~esr/faqs/smart-...html#id2854122

I also suggest you read the PHP documentation on the exec() function:

http://www.php.net/manual/en/function.exec.php

Answer all the questions in my post and maybe I'll answer yours. Oh, and
don't top-post.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.