NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page E-mail piping issue

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-25-2005, 10:08 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: May 2005
Posts: 124
stma is on a distinguished road
 



E-mail piping issue


I've been using this script on several hosts with zero problems.

I'm running a e-mail piping script and it's working fine on my server and several others. I just installed it on a new host and I am getting this error:

The following text was generated during the delivery attempt:

------ pipe to |/home/#########/public_html/pipe/pipe.php
generated by pipe@########.net ------

Error in argument 1, char 3: option not found
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
php <file> [args...]
-a Run interactively
-C Do not chdir to the script's directory
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>. Implies `-q'
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.

Here is the opening lines of the file that the e-mail is piped too:

PHP Code:
#!/usr/bin/php -q
<?php
$cat
="199";
$fd fopen("php://stdin""r");
$email "";
while (!
feof($fd)) {
    
$email .= fread($fd1024);
}
fclose($fd);

????: NamePros.com http://www.namepros.com/programming/92993-e-mail-piping-issue.html
Anyone tell me why I am getting an error, and suggest a way to fix it? I am a little lost here. I'm getting a response from the hosts support desk saying that queit mode isn't supported with php 4.3 but i'm running that version with this piping script working.
stma is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
<< Mail * Mail * Mail >> domainsusi Domains For Sale - Make Offer 10 09-01-2004 04:57 PM
Did anyone just get this RegisterFly discounts mail? Prosperous Domain Name Discussion 14 05-06-2004 04:06 PM
Warning: Enom Mail Server Issues navpros Warnings & Alerts 5 02-21-2004 08:28 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:11 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger