From: [EMAIL PROTECTED]
Operating system: Linux (Debian) / Solaris 8
PHP version: 4.1.0
PHP Bug Type: Program Execution
Bug description: exec()/system() doesn't work with parameters in quotation-marks in
system-call
The exec/system-Functions don't work with calls like this:
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Program Execution
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
I tried it, but with PHP I got an empty output from the system-call,
which is the same with wrong parameter
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Program Execution
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
I did cut an paste your Script. On the Debian-System (which is not
authorized @denic to search for a person
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Program Execution
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
Yes, I know the difference. That's why I tried several ways
(with/without quotation marks, with stripslashe
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Program Execution
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
Did I mention, that I tried system(), too? It's just the desperate
attempt to get that thing to work.
In
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Program Execution
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
I'm running safe-mode (of cause!) and have an symbolic link to
/usr/bin/whois in my safe-mode-exec-dir.
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: Documentation problem
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
You got it! When I disable the safe_mode, the following works:
exec('whois -h whois.denic.de "Dir
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: Documentation problem
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
I forgot to mention, that in safe_mode the whois like Torben described
didn't work. argdump returns
ID: 15157
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: Documentation problem
Operating System: Linux (Debian) / Solaris 8
PHP Version: 4.1.0
New Comment:
We should better continue tomorrow... Good night!
Oliver.
Previous Comments:
--