Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Mike
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi

This will not work, does any one know why?

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

Thanks

Alan Little
Guest
 
Posts: n/a
#2: Jul 17 '05

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


Carved in mystic runes upon the very living rock, the last words of Mike of
comp.lang.php make plain:
[color=blue]
> This will not work, does any one know why?
>
> exec("/usr/usr/bin -C $U2 &");[/color]

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/
Mike
Guest
 
Posts: n/a
#3: Jul 17 '05

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


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 <alan@n-o-s-p-a-m-phorm.com> wrote in message news:<Xns941BADD0F9417alanphormcom@216.196.97.132> ...[color=blue]
> Carved in mystic runes upon the very living rock, the last words of Mike of
> comp.lang.php make plain:
>[color=green]
> > This will not work, does any one know why?
> >
> > exec("/usr/usr/bin -C $U2 &");[/color]
>
> 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[/color]
Alan Little
Guest
 
Posts: n/a
#4: Jul 17 '05

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


Carved in mystic runes upon the very living rock, the last words of Mike
of comp.lang.php make plain:
[color=blue]
> Alan Little <alan@n-o-s-p-a-m-phorm.com> wrote in message
> news:<Xns941BADD0F9417alanphormcom@216.196.97.132> ...[color=green]
>> Carved in mystic runes upon the very living rock, the last words of
>> Mike of comp.lang.php make plain:
>>[color=darkred]
>> > This will not work, does any one know why?
>> >
>> > exec("/usr/usr/bin -C $U2 &");[/color]
>>
>> 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[/color]
>
> 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.[/color]

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/
Closed Thread