Hi,
I need a way to POST data to another script on another server, without using
a form and without using GET (i.e. foobar.php?name=value), I then need the
user to be sent to that page (which now has the data).
Is that possible? I found some functions (PostToHost), but they only POST
the data and
I have a PHP script with the following code in it;
$uptime = passthru ("/usr/bin/uptime");
but when I load the PHP page I get the following;
8:26pm up 0 min, 0 users, load average: 0.00, 0.00, 0.00
which is wrong (I have checked the uptime via telnet). Can anybody please
help me try and fix t
Thanks for your help, this is what I get when I try a uptime while logged in
as nobody.
host:/# su nobody
host:/$ uptime
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
/proc /proc p
Thanks for everyone's help, it was the permissions on /proc that were
causing the problems. I changed it to 755 and everything is working
perfectly.
Thanks again.
--
"Keyboard not detected, press F1 to continue..."
""Peter Phillips"" <[EMAIL PROTECTE
4 matches
Mail list logo