GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I need PHP help ASAP (https://gfy.com/showthread.php?t=575384)

iguess 02-13-2006 01:15 AM

I need PHP help ASAP
 
I have a Submit Form ( implemented ) with '' browse '' picture upload on my website ready to go.

All I need is the form info along with the pictures uploaded sent to my email address.

I would say a mysql database for storage but with spam it would shut down email.

paterson3713 02-13-2006 01:18 AM

What is your icq?

SilverTab 02-13-2006 01:19 AM

use the mail function...its pretty straight forward...ex:

Code:

$to      = '[email protected]';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: [email protected]' . "\r\n" .
  'Reply-To: [email protected]' . "\r\n" .
  'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

check out http://www.php.net/manual/en/function.mail.php

iguess 02-14-2006 03:03 AM

My ICQ is 334147994

I have the code but it wont go to my cox email address.
if( $okNow ) {
$to = "[email protected]";
//$to = "[email protected]";
$subject = "New Contact Info";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'Content-Length: '.strlen( $message ).'' . "\r\n";
$headers .= "From: [email protected]\r\n";
$headers .= "Cc: [email protected]\r\n";
$headers .= "Bcc: [email protected]\r\n";

if( !mail( $to, $subject, $message, $headers ) )
echo "Unable to retrieve email. Problem sending email!!";
else{

d00t 02-14-2006 03:13 AM

what do you think that tells you if it doesn't get to cox but does everywhere else?

iguess 02-14-2006 03:32 AM

I dont know doot you tell me buddy ol pal?
I would like it to go to COX. So I thought it was a small error I am missing somewhere.

d00t 02-14-2006 03:34 AM

Quote:

Originally Posted by iguess
I dont know doot you tell me buddy ol pal?
I would like it to go to COX. So I thought it was a small error I am missing somewhere.

obviously there is nothing wrong with the actual code if it works with another email address, right?

iguess 02-14-2006 04:17 AM

So why you think my cox email is tripping?

ssp 02-14-2006 06:20 AM

It must have something to do with the fact that there is not enough header information, which causes the COX spamfilter to hold off the email.


All times are GMT -7. The time now is 07:16 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123