:-) 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
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
On Wednesday 03 July 2002 23:08, Jay Blanchard wrote:
> {snip]
> Try hand writing a script then exec() it from php.
> [/snip]
>
> Tried that, no go.
Can we go back to basics?
Does:
echo shell_exec('ls');
work? If not, are you running in safe-mode?
--
Jason Wong -> Gremlins Associates ->
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
Bingo! That will work! This is what I do with the modem script. Since
there's no PHP function or script for the modem, so I used the C programming
that is already written by someone and just use PHP to execute the file.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
002901c222a3$8c2a6f00
[snip]
Ok from the beginning PHP executes and writes files with
permissions (like userid and groupid) Webserver is running.
So what i think will be the best way for you to do. Is to create an
executable with the same owner. and then execute it. As for
/usr/local/bin directory it allows to write in
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
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
Hello Jay,
That wasn't what i recommended you LOL :).
Ok from the beginning PHP executes and writes files with
permissions (like userid and groupid) Webserver is running.
So what i think will be the best way for you to do. Is to create an
executable with the same owner. and then execute it
- 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
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
]
> JB> Sent: Wednesday, July 03, 2002 8:26 AM
> JB> To: Jay Blanchard
> JB> Cc: [EMAIL PROTECTED]
> JB> Subject: Re[4]: [PHP] cURL in an exec() . more
>
>
> JB> Hello Jay,
> JB> Let's try it in the different way. create an executable command
>
MAIL PROTECTED]
JB> Subject: Re[4]: [PHP] cURL in an exec() . more
JB> Hello Jay,
JB> Let's try it in the different way. create an executable command
JB> file. and try to execute it via php it must work.
JB> Wednesday, July 3, 2002, 5:20:49 PM, you wrote:
JB>> [snip]
JB&
Trying that now...
-Original Message-
From: Latex Master [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 8:26 AM
To: Jay Blanchard
Cc: [EMAIL PROTECTED]
Subject: Re[4]: [PHP] cURL in an exec() . more
Hello Jay,
Let's try it in the different way. create an execu
Hello Jay,
Let's try it in the different way. create an executable command
file. and try to execute it via php it must work.
Wednesday, July 3, 2002, 5:20:49 PM, you wrote:
JB> [snip]
JB> Jay try just to execute php
JB> And see what is done. For example i have problems with execution
[snip]
Jay try just to execute php
And see what is done. For example i have problems with execution
read my e-mail in the list.
[/snip]
Still not working. I have the script check for the existence of the file and
return an error if it is not downloaded. That is the only error I get
Thank
Hello jay,
Jay try just to execute php
And see what is done. For example i have problems with execution
read my e-mail in the list.
Wednesday, July 3, 2002, 4:56:39 PM, you wrote:
jbnc> [snip]
jbnc> As a matter of fact, when viewing the source (which should display properly
jbnc> if wor
[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
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
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
[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);
21 matches
Mail list logo