Re: [PHP] Forms In PHP

2004-12-10 Thread Richard Lynch
Wil Hitchman wrote:
> I created a web form in PHP and used a couple of email addresses.  The
> only email address that worked when I submitted to the form (for testing
> purposes) was my Yahoo address.  My AOL, hotmail and other work addresses
> did not work.  Can someone tell me why?

Technically, "To: " is only supposed to allow one (1) email address.

Assuming you are using sendmail or one of its popular drop-in
replacements, they will support "To: " with multiple emails, but it's not
RFC that they have to.

So while I don't think it's the real problem, you're better off using "Cc:
" headers in the optional fourth argument to http://php.net/mail to be
standards-based.

Most likely, however, the email you sent was flagged as spam by AOL and
hotmail, but not yahoo.  So the email got sent just fine, but they throw
it out before you ever saw it.

You can research how spam filters work to make your email look less like
spam and tray again.

Unless you plan on sending spam, in which case you should just quit :-)

-- 
Like Music?
http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Forms In PHP

2004-12-09 Thread Wil Hitchman
Hi, 

I created a web form in PHP and used a couple of email addresses.  The only 
email address that worked when I submitted to the form (for testing purposes) 
was my Yahoo address.  My AOL, hotmail and other work addresses did not work.  
Can someone tell me why?

Thanks, 

Wil

RE: [PHP] Forms in PHP

2002-04-18 Thread Demitrious S. Kelly

Use an array
1
2
3

$numberofitemids=count($itemid);
echo $itemid[0]; // == 1
echo $itemid[1]; // == 2
echo $itemid[2]; // == 3


cheers
-Original Message-
From: Alia Mikati [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 17, 2002 2:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Forms in PHP

Hello
I hope u can help me with this problem. I dont know if it is possible to

do it. I'm using PHP and XML to generate the folowing HTML:
...

1
...
2
...
3
...
...

I want to use PHP to count the number of $itemid in this file. Is it 
possible? And how?
Thx a lot



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Forms in PHP

2002-04-17 Thread Alia Mikati

Hello
I hope u can help me with this problem. I dont know if it is possible to 
do it. I'm using PHP and XML to generate the folowing HTML:
...

1
...
2
...
3
...
...

I want to use PHP to count the number of $itemid in this file. Is it 
possible? And how?
Thx a lot



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Forms in PHP

2002-04-12 Thread Erik Price


On Thursday, April 11, 2002, at 09:17  PM, Jennifer Downey wrote:

> Now I have a weird problem. I am using this code and can't understand 
> why it
> doesn't work.
> When the script is run it returns a blank page, no error or done.
>
> here it is and any help would be appreciated.
>
> if(($type == book) or ($type == weapon)){
   ^^ 

I could be completely wrong here, but shouldn't these values be quoted?  
Even if it's not what's screwing up your code, it's probably a good idea 
unless they are supposed to represent your own defined constants.

Erik






Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Forms in PHP

2002-04-11 Thread Jennifer Downey

Hi all,

Now I have a weird problem. I am using this code and can't understand why it
doesn't work.
When the script is run it returns a blank page, no error or done.

here it is and any help would be appreciated.

if(($type == book) or ($type == weapon)){
 echo "";
 echo "";
 echo "Put in my shop";
 echo "Put into my Footlocker";
 echo "Discard this item";
 echo "Donate this item";
 echo "";
 echo "";



if(isset($submit))
{

if($sort == "shop")
{
  echo "done" or die("Not!");
  }
 }
}
elseif($type==food)
{

 echo "";
 echo "Feed my pet";
 echo "Put in my shop";
 echo "Put into my Footlocker";
 echo "Discard this item";
 echo "Donate this item";
 echo "";
 echo "";
 echo "";


}
  }
}

Thanks for your time
Jennifer


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.344 / Virus Database: 191 - Release Date: 4/2/2002



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php