LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2004, 12:09 AM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Rep: Reputation: 31
Unhappy Help with PHP sendmail script!


I'm trying this php script. I use the free services of yahoo geocities. I don't know if this is the reason this script is not working.

This are the .html & .php codes:

<form method="post" action="sendmail.php">
Email: <input name="email" type="text" /><br />
Message:<br />
<textarea name="message" rows15 cols="40">
</textarea><br />
<input type="submit" />
</form>

PHP code:
<?
$email = $_REQUEST['email'];
$message = $_REQUEST['message'];

mail( "suasua25@hotmail.com", "RG2 problems form",
$message, "From: $email");
header ( "Location: http://www.geocities.com/suasua.rm/thankyou.html" );
?>

According to geocities they do support php. So what do yo think is the problem.

The error displayed is: "This page is not available", "We are sorry this page is currently unavailable for viewing".

Thanks...

Last edited by cucolin@; 06-28-2004 at 12:13 AM.
 
Old 06-28-2004, 03:58 AM   #2
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 31
SPAM-Blocker (PHP with deactivated email functions ) ?
 
Old 06-28-2004, 03:43 PM   #3
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
Question Don't quite understood?

I don't quite understand what you mean. Are you saying that they are running a SPAM blocker or something liket that?? I the code correct??

Thanks...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
issues with mirc script accessing our php script dtra Linux - Software 2 07-02-2005 04:30 PM
sendmail won't send from shell or php script dmedici Linux - Software 2 08-24-2004 03:15 PM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 11:51 AM
converting shell script to php script ? ibro Linux - General 6 05-24-2004 05:19 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration