List Info

Thread: note 71421 added to function.system




note 71421 added to function.system
user name
2006-11-28 10:53:47
Mi code is:

<?php
echo '<pre>';

// Muestra el resultado completo del comando "cat
prueba.txt", y devuelve la
// ultima linea de la salida en $ultima_linea. Almacena el
valor de
// retorno del comando en $retval.
$ultima_linea = system('cat prueba.txt', $retval);

// Imprimir informacion adicional
echo '
</pre>
<hr />Ultima linea de la salida: ' . $ultima_linea . '
<hr />Valor de retorno: ' . $retval;
?> 

The problem consists thar de $retval return me 1 and don't
execute nothing. I checked the permissions and all are be
right. I don't know why doesn't works.
----
Server IP: 200.59.45.3
Probable Submitter: 80.33.31.51
----
Manual Page -- http
://www.php.net/manual/en/function.system.php
Edit        -- https://master
.php.net/note/edit/71421
Del: integrated  -- h
ttps://master.php.net/note/delete/71421/integrated
Del: useless     -- http
s://master.php.net/note/delete/71421/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/71421/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/71421/spam
Del: non-english -- 
https://master.php.net/note/delete/71421/non-english
Del: in docs     -- http
s://master.php.net/note/delete/71421/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/71421
Reject      -- https://mast
er.php.net/note/reject/71421
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

note 71421 rejected from function.system by nlopess
user name
2006-11-28 21:52:11
Note Submitter: supergork at gmail dot com 

----

Mi code is:

<?php
echo '<pre>';

// Muestra el resultado completo del comando "cat
prueba.txt", y devuelve la
// ultima linea de la salida en $ultima_linea. Almacena el
valor de
// retorno del comando en $retval.
$ultima_linea = system('cat prueba.txt', $retval);

// Imprimir informacion adicional
echo '
</pre>
<hr />Ultima linea de la salida: ' . $ultima_linea . '
<hr />Valor de retorno: ' . $retval;
?> 

The problem consists thar de $retval return me 1 and don't
execute nothing. I checked the permissions and all are be
right. I don't know why doesn't works.

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )