The best way is to use SESSION.
This a server-side vars and are never displayed on the client site. Check this doc: http://ca.php.net/session
Hope this help!
Sincerely,
Dan Grant
Lead programmer
dan at abusinesshosting dot com
http://www.abusinesshosting.com
Use this to set a term environment before calling su... some unix command need a TERM env.:
from: http://php.us.themoes.org/manual/en/function.exec.php
<?php
exec('TERM=xterm /usr/bin/top n 1 b i', $top, $error );
echo nl2br(implode("\n",$top));
if ($error){
exec('TERM=xterm...
<?PHP
$fd=fopen("/tmp/afile","r");
while ($line=fgets($fd,1000))
{
$alltext.=$line;
}
fclose ($fd);
?>
Hope this help!
Sincerely,
Dan Grant
Lead programmer
dan at abusinesshosting dot com
http://www.abusinesshosting.com
Disable .php files in httpd.conf???
Or something like
DENY EXECGI in the httpd.conf
This is just a suggestion :)
Hope this help!
Sincerely,
Dan Grant
Lead programmer
dan at abusinesshosting dot com
http://www.abusinesshosting.com
Hi!
I've done my first xhtml web site.
http://www.abusinesshosting.com
I must admin that I like xhtml. Its very clear and consive.
If you have some comment, let me know :)
What dont u program a php script to do that using linux console burning tool?
Im sure freshmeat has some interesting software from you.
Dan Grant
Lead programmer
dan at abusinesshosting dot com
http://www.abusinesshosting.com
1. Can I link this 466 computer to my router so it is connected to the web and my home network?
Yes defenitly!! You can do that!
2. Then if I can do that. Can I install FileMaker Server on the 466?
No you can't. First, its old and its for W32.
3. If I can do all this. How hard is it to run...
The header("Location: newsite");
has to be BEFORE anything has been send to the client!!!
Sincerely,
Dan Grant
Lead programmer
dan at abusinesshosting dot com
http://www.abusinesshosting.com
I think the problem might be in php.ini
Check for php_track_vars in php.ini or the string --enable-track-vars in the output of php_info();
You can access $Ing using GLOBAL[$Ing].
Hope this help!
Sincerely,
Dan Grant
Lead programmer
dan at abusinesshosting dot com
http://www.abusinesshosting.com
You should use the PHP command "EXEC"
exec("dir c:");
echo "script completed";
exec returns a string so you should be able to do
$var = exec("dir");
echo $var;
Hope this help!
Sincerely,
Dan Grant
Lead programmer
dan at abusinesshosting dot com...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.