php-general Digest 26 Aug 2013 18:41:27 - Issue 8345
Topics (messages 321966 through 321970):
Re: exec and system do not work
321966 by: Sorin Badea
321967 by: Robert Cummings
321968 by: Tamara Temple
321969 by: marco.behnke.biz
321970 by: Ethan
On 13-08-25 11:41 PM, Ethan Rosenberg wrote:
Dear List -
I'm lost on this one -
This works -
$out = system(ls -l ,$retvals);
printf(%s, $out);
This does -
echo exec(ls -l);
This does not -
if( !file_exists(/var/www/orders.txt));
{
$out = system(touch /var/www/orders.txt, $ret);
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com
wrote:
Dear List -
I'm lost on this one -
This works -
$out = system(ls -l ,$retvals);
printf(%s, $out);
This does -
echo exec(ls -l);
This does not -
if( !file_exists(/var/www/orders.txt));
{
Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
erosenb...@hygeiabiomedical.com wrote:
Dear List -
I'm lost on this one -
This works -
$out = system(ls -l ,$retvals);
printf(%s, $out);
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
erosenb...@hygeiabiomedical.com wrote:
Dear List -
I'm lost on this one -
This works -
$out = system(ls -l
On 8/26/2013 2:41 PM, Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
erosenb...@hygeiabiomedical.com wrote:
Dear List -
I'm lost on
Hi all.
I have a scenario, wherein I need to do something like this ::
###
$original_url = /autologin.php;
$username = ajay;
$password = garg;
header('Location: ' . $original_url);
Ethan Rosenberg erosenb...@hygeiabiomedical.com hat am 26. August 2013 um
20:41 geschrieben:
Please show the output of the directory listing.
Please us ls -la
echo exec('ls -la orders.txt');
-rw-rw-rw- 1 ethan ethan 43 Aug 25 23:50 orders.txt
Please supply the complete output.
Ajay Garg ajaygargn...@gmail.com hat am 26. August 2013 um 21:48
geschrieben:
Hi all.
I have a scenario, wherein I need to do something like this ::
###
$original_url = /autologin.php;
$username = ajay;
On Mon, Aug 26, 2013 at 9:48 PM, Ajay Garg ajaygargn...@gmail.com wrote:
Hi all.
I have a scenario, wherein I need to do something like this ::
###
$original_url = /autologin.php;
$username = ajay;
On Aug 26, 2013, at 1:41 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com
wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
On Aug 26, 2013, at 2:48 PM, Ajay Garg ajaygargn...@gmail.com wrote:
Hi all.
I have a scenario, wherein I need to do something like this ::
###
$original_url = /autologin.php;
$username = ajay;
$password =
On 08/26/2013 03:28 PM, Jim Giner wrote:
On 8/26/2013 2:41 PM, Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
On 26 Aug 2013 at 22:01, PhD Ethan Rosenberg erosenb...@hygeiabiomedical.com
wrote:
if( !file_exists(/var/www/orders.txt));
^
|
What's the semicolon doing there ---+
{
echo system(touch
Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Tamara Temple tamouse.li...@gmail.com hat am 26. August 2013 um 08:33
geschrieben:
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg
erosenb...@hygeiabiomedical.com wrote:
Dear List -
I'm lost on this one -
This
Ethan Rosenberg, PhD
/Pres/CEO/
*Hygeia Biomedical Research, Inc*
2 Cameo Ridge Road
Monsey, NY 10952
T: 845 352-3908
F: 845 352-7566
erosenb...@hygeiabiomedical.com
On 08/26/2013 07:33 PM, David Robley wrote:
Ethan Rosenberg wrote:
On 08/26/2013 11:36 AM, ma...@behnke.biz wrote:
Ethan,
A return code of not 0 means an error occured.
Probably /var/www is not writable. Test that one by doing this:
$a = is_writable(/var/www);
var_dump($a);
If that says anything else than (boolean) TRUE, you can't write in the
directory.
Sincerely,
Jasper Kips
Op 27 aug. 2013, om 02:32
Ethan Rosenberg, PhD wrote:
Ethan Rosenberg, PhD
/Pres/CEO/
*Hygeia Biomedical Research, Inc*
2 Cameo Ridge Road
Monsey, NY 10952
T: 845 352-3908
F: 845 352-7566
erosenb...@hygeiabiomedical.com
On 08/26/2013 07:33 PM, David Robley wrote:
Ethan Rosenberg wrote:
On 08/26/2013
Dear List -
Tried to run the program, that we have been discussing, and received a
403 error.
rosenberg:/var/www# ls -la StoreInventory.php
-rwxrwxrw- 1 ethan ethan 4188 Aug 26 20:26 StoreInventory.php
rosenberg:/var# ls -ld www
drwxrwxrw- 37 ethan ethan 20480 Aug 26 20:26 www
I had set the
19 matches
Mail list logo