On Fri, Jun 16, 2000 at 01:42:12PM +0100, John P. Looney (Kate) mentioned:
> On Fri, Jun 16, 2000 at 01:40:10PM +0100, Mel mentioned:
> > Don't forget the php_track_vars directive. If it's not compiled in, you
> > have to explicetly put it into your PHP script
>> I thought that was strange. When I put in php_track_vars(); into the PHP
> script above it, it didn't work. Anyway, I *think* that's working now,
> though the following PHP code:
>>> error_log("Started new page\n", 3, "/var/tmp/imp.log");
> for ($i = 0 ; $i < count($HTTP_POST_VARS); ; $i++) {
> error_log("Got $i far\n", 3, "/var/tmp/imp.log");
> $post_out = $post_out . $HTTP_POST_VARS[$i];
> }
> error_log("Got these from POST: $post_out \n", 3, "/var/tmp/imp.log");
Stupid me. Extra semi colon on the for() line.
Kate
--
The words of the unwary are apt to cause needless pain and bloody violence.
- Zen Master Greg
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!