Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] exec From: Andreas Mueller (amu <email protected>)
Date: 01/11/99

Hi

i`ll tried to use the exec-Funktion
------------- post.html--------------------------------------------
exec("echo $email password = "\"$pass"\", expiration="\"$expire"\""
>>/tmp/test_out");
-------------------------------------------------------------------
variable: $email, $pass $expire coming from an userinput
using php 3.0.5 with linux

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/home/httpd/html/post.html

it least it must look like:

user <email protected> password ="secret",expiration ="Dec 12 2000"
 
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/home/httpd/html/post.html

so whats wrong in there ?

Greetings
        Andreas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Andreas Mueller Akdeniz-Koleji |
|System-Administrator amu <email protected> |
|Konyaalti Cad. Gündüz Apt. 19/15 07050 Antalya Work-Phone:0090-242-2481880|
|privat: amu <email protected> Privat: 0090-242-2482402 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PGP Key Fingerprint = 7F E6 48 7D F5 1D E4 A5 8D 9B 35 A4 C5 07 E8 70

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev <email protected>