
06-26-2005, 01:27 AM
|
 |
|
|
Join Date: Oct 2001
Location: derby, Kansas
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by xnt
For Unix you can set up a cron job and use the 4.3.11 PHP CGI program to run gateway.php.
eg: this will run every 10 mins
1,11,21,31,41,51 * * * * /path-to-php4.3.11/php-4.3.11 -f /path-to-script/gateway.php
|
it didn't work it just output the html to the display
Quote:
-bash-2.05b# /usr/local/php4-cgi/bin/php -f /home/website/www/forum/gateway.php4
<html dir="" lang="">
<head>
<title>My Christian Network's christian forum</title>
</head>
<body>
<br />
<br />
<br />
<table class="tborder" cellpadding="" cellspacing="" border="0" width="70%" align="center">
<tr>
<td class="tcat"></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="">
<!-- main error message -->
<blockquote><p>Unable to add cookies, header already sent.<br />
File: <br />
Line: 0<br /></p></blockquote>
<!-- / main error message -->
</div>
</div>
<!--
<div style="margin-top x">
<input type="submit" class="button" value="" accesskey="s" onclick="history.back(1); return false" />
</div>
-->
</td>
</tr>
</table>
<br />
<!-- forum jump -->
<table cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td></td>
</tr>
</table>
<!-- / forum jump -->
<br />
</body>
</html>
|
|