FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Using maillist.php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Using maillist.php [message #11409 is a reply to message #11298] Fri, 27 June 2003 14:15 Go to previous messageGo to previous message
Gaëtan is currently offline  Gaëtan   France
Messages: 22
Registered: March 2003
Karma:
Junior Member

Hello,

i'm still testing, with no success.

This script works :
$command = "cat /www/forum/mail.txt";
$output = `$command`;
echo "<pre>command = $command</pre>";
echo "<pre>output = $output</pre>";


I've got the command line and the mail.txt file content in result.

But when i try this :
$command = "cat /www/forum/mail.txt | /usr/local/bin/php -q /www/forum/data/scripts/maillist.php 1 ";
";
$output = `$command`;
echo "<pre>command = $command</pre>";
echo "<pre>output = $output</pre>";


I've got :
command = .......

output = Content-type: text/html
X-Powered-By: PHP/4.3.0

command = .......

output = Content-type: text/html
X-Powered-By: PHP/4.3.0

...

X times (as many lines there are in the mail.txt).


Any idea ?





Gaëtan
[Message index]
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon12.gif
Read Message
Read Message
Previous Topic: Permissions on a single thread?
Next Topic: How to use rdf_parser.php?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 07:23:16 GMT 2024

Total time taken to generate the page: 0.03768 seconds