[PHP] Re: Re [PHP] cURL in an exec() . more. SOLVED

2002-07-03 Thread Scott Fletcher
:-) I went through the same thing the first time! Never again! I just pray and hope that I don't forget the next time! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ha ha! Just what I mentioned from above. FULL PATH! :-) FletchSOD

[PHP] Re: Re [PHP] cURL in an exec() . more. SOLVED

2002-07-03 Thread Scott Fletcher
Ha ha! Just what I mentioned from above. FULL PATH! :-) FletchSOD "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 003201c222ac$9760ad90$8102a8c0@niigziuo4ohhdt">news:003201c222ac$9760ad90$8102a8c0@niigziuo4ohhdt... > It's always the smallest things that will get you, I should be slap

[PHP] Re [PHP] cURL in an exec() . more. SOLVED

2002-07-03 Thread Jay Blanchard
It's always the smallest things that will get you, I should be slapped (preferably by a good looking woman) :) exec was not broken the permissions don't have to be mucked with ownership and group can be left alone this should be stamped on the forehead of each and every PHP developer USE FU

Re: [PHP] cURL in an exec() . more

2002-07-03 Thread Jason Wong
On Wednesday 03 July 2002 22:49, Jay Blanchard wrote: > I have the PHP script create a shell script containing the needed code for > the cURL process. Of course the shell script will execute from the command > line with me as 'root'. But the exec() that calls the shell script will not > execute t

Re: [PHP] cURL in an exec() . more

2002-07-03 Thread Scott Fletcher
Ah! I know what you're feeling about Linux. I had that problem using PHP and text editing software (for programming) with Caldera, like ftp timeout, security, file path, etc. It become too much for me, so I junked it and went back to AIX. I haven't tried it on Red Hat but I can easily turned o

Re: [PHP] cURL in an exec() . more

2002-07-03 Thread B i g D o g
- Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 03, 2002 8:49 AM Subject: RE: [PHP] cURL in an exec() . more > OK, here is where I am (between handling other pre-holiday/long weekend > processese here

RE: [PHP] cURL in an exec() . more

2002-07-03 Thread Jay Blanchard
OK, here is where I am (between handling other pre-holiday/long weekend processese here); I have the PHP script create a shell script containing the needed code for the cURL process. Of course the shell script will execute from the command line with me as 'root'. But the exec() that calls the she

RE: [PHP] cURL in an exec() . more

2002-07-03 Thread jay . blanchard
[snip] As a matter of fact, when viewing the source (which should display properly if word wrap is off in Notepad) the line appears to be broken up. I have an idea...write the line to a file then open the file and get the line for exec()...blabbering now, must go... [/snip] I have fixed many thin

RE: [PHP] cURL in an exec()

2002-07-02 Thread Jay Blanchard
[snip] >> print($curlline); > exec($curline); > >Have you tried executing $curlline directly from a shell/command-line? This >will determine whether it is a PHP problem or a cURL problem. >[/snip] > >That was the first thing I did, and I have gone back a couple of times now >

Re: [PHP] cURL in an exec()

2002-07-01 Thread Richard Lynch
>[snip] >> print($curlline); > exec($curline); > >Have you tried executing $curlline directly from a shell/command-line? This >will determine whether it is a PHP problem or a cURL problem. >[/snip] > >That was the first thing I did, and I have gone back a couple of times now

RE: [PHP] cURL in an exec() MORE...

2002-07-01 Thread Jay Blanchard
Yes it is...a, well. Time to compile PHP with cURL I guess. Thanks! -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 1:46 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] cURL in an exec() MORE... On Monday 01 July 2002 23:25, Jay Blanchard wrote

Re: [PHP] cURL in an exec() MORE...

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 23:25, Jay Blanchard wrote: > [snip] > Thanks Jason, I fixed that and still does not work. So I am trying this; > $curlline("curl -d > \"name=myname&password=mypassword&btnsubmit=submit\" -s -o ".$listline." > https://theserver.com/download/".$listline."";); > print($curllin

RE: [PHP] cURL in an exec()

2002-07-01 Thread Jay Blanchard
[snip] > print($curlline); exec($curline); Have you tried executing $curlline directly from a shell/command-line? This will determine whether it is a PHP problem or a cURL problem. [/snip] That was the first thing I did, and I have gone back a couple of times now to make s

Re: [PHP] cURL in an exec()

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 23:10, Jay Blanchard wrote: > print($curlline); exec($curline); Have you tried executing $curlline directly from a shell/command-line? This will determine whether it is a PHP problem or a cURL problem. -- Jason Wong -> Gremlins Associates -> www.g

RE: [PHP] cURL in an exec() MORE...

2002-07-01 Thread Jay Blanchard
[snip] Thanks Jason, I fixed that and still does not work. So I am trying this; $curlline("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o ".$listline." https://theserver.com/download/".$listline."";); print($curlline);

RE: [PHP] cURL in an exec()

2002-07-01 Thread Jay Blanchard
[snip] > but why can't I do this > > exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o > ".$listline." https://theserver.com/download/ ".$listline.""); extra space here? ^ I think you've got something extra rather than missing :) [/snip] Thanks

Re: [PHP] cURL in an exec()

2002-07-01 Thread Jason Wong
On Monday 01 July 2002 22:37, Jay Blanchard wrote: > I can do this; > > exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s -o > cdrlist.html https://theserver.com/list.html";); > > but why can't I do this > > exec("curl -d \"name=myname&password=mypassword&btnsubmit=submit\" -s