471,306 Members | 874 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

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

Hi

This will not work, does any one know why?

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

Thanks
Jul 17 '05 #1
3 2454
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
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
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.

Similar topics

5 posts views Thread by Toby Donaldson | last post: by
4 posts views Thread by usr2003 | last post: by
6 posts views Thread by vigi98 | last post: by
3 posts views Thread by DC Gringo | last post: by
1 post views Thread by manchin2 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.