View Single Post
Old 01-20-2003, 04:53 PM   #27 (permalink)
Ilya020
Techno Rat
 
Ilya020's Avatar
 
Join Date: Jan 2003
Location: San Diego
Posts: 559
Ilya020 is on a distinguished road
Send a message via AIM to Ilya020
Quote:
Originally posted by sde
the whole idea i'm chasing here is getting the output to show up on the web page you are accessing.

for example, i got passthru() to work.
PHP Code:
<?
// prints /etc/passwd file
passthru("cat /etc/passwd");

print 
"<br><br>";

// this will print errors also
passthru("cat /etc/shadow 2>&1");
?>
now i want to get shell_exec() to work so i can actually get the output into a variable rather than just printing it out.
I like, I like

Ilya
__________________
> SELECT * FROM users WHERE clue > 0
0 rows returned
Ilya020 is offline   Reply With Quote