On Saturday 04 May 2002 16:25, Liam MacKenzie wrote:
> $cmd = exec("tail -n $len /www/hosting/domains/lanolot/logs/$open",
> echo "$cmd";
> Still returns nothing under the top text.
> All log files are chmodded 644 and are owned by the web server.
> The paths to the files are correct.
That's not what I meant by 'return_var', check the manual.
> I've run out of ideas =(
I prefer something simpler than exec(), try:
$output = `tail -n $len /www/hosting/domains/lanolot/logs/$open`;
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
This fortune is inoperative. Please try another.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php