PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 12th, 2005, 02:49 PM
NDworman NDworman is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 1 NDworman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 13 sec
Reputation Power: 0
PHP in Outlook email

I am using email surveys. They work fine everywher but in Outlook. In Outlook the first time the user submits the survey, respones do not post. The browser that echos the answers shows no responses. If they then refresh the browser, the answers are sent.

You can get a copy of the survey at www.thefatblack*****cat.com/reservations.php. This is a test site so you can enter any data you'd like, the real site is at www.cafewha.com. If you make a reservation, you will get a survey back. I'll also post my code below:

<html>
<head>
<title>Visit Questionaire</title>
</head>
<body bgcolor="#000033">
<center>
<table width="730" border="0" cellpadding="0" cellspacing="0"><tr>
<td>
<p align="center">
<img border="0" src="http://www.cafewha.com/images/custsurvlogofb.jpg" width="716" height="87"></td>
<tr>
<td></td>
</tr></table>
<table bgcolor="#FFFFFF" width="730" border="0" cellpadding="0" cellspacing="0"><tr>
<td width="530" align="left" style="border: 1px groove #008000; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
<p style="margin-left: 25px; margin-right: 7px">
<br>
By allowing me direct communication with our customers, the Internet provides me
a fantastic tool to make the Fat Black *****cat as good as it can be.&nbsp; By removing
the middlemen (and women) who often filter out important information&nbsp; I can
get a clearer picture of our strengths and weaknesses.</p>
<p style="margin-left: 25px; margin-right: 7px">If you would take the time to
answer these few questions, you would be doing me an enormous favor (and don't
be afraid to tell the truth!).&nbsp; I am the only one who has access to these
surveys.</p>
<p style="margin-left: 25px; margin-right: 7px">Thank you in advance.</p>
<p style="margin-left: 25px; margin-right: 7px">Sincerely,</p>
<p style="margin-left: 25px; margin-right: 7px; margin-top: 0; margin-bottom: 0">
Noam Dworman</p>
<p style="margin-left: 25px; margin-right: 7px; margin-top: 0; margin-bottom: 0">
Owner</p>
<p style="margin-left: 25px; margin-right: 7px; margin-top: 0; margin-bottom: 0">
The Fat Black *****cat&nbsp;&nbsp;&nbsp; </p><a href="http://www.thefatblack*****cat.com/survey.php?setdate=__DATE__&emailaddress=__EMAIL__&resID=__SIZE__&settime=__TIME__"> Please click here if this survey does not work in your email system </a>
<p style="margin-left: 25px; margin-right: 7px">Visit:&nbsp;&nbsp; __DATE__ at __TIME__.<br>
<br>
</p>
<form action="http://www.thefatblack*****cat.com/addtosurvey.php" method="POST">
<p style="margin-left: 25px; margin-right: 7px">Overall, how did you enjoy yourself at the Fat Black?
<br>
<input type="RADIO" name="enjoy" value="Excellent"> - Excellent <br>
<input type="RADIO" name="enjoy" value="Good"> - Good <br>
<input type="RADIO" name="enjoy" value="Satisfactory"> - Satisfactory <br>
<input type="RADIO" name="enjoy" value="Needs Improvement"> - Needs Improvement <br>
<input type="RADIO" name="enjoy" value="Awful"> - Awful <br>
<br>
How would you rate the speed of service?
<br>
<input type="RADIO" name="speed" value="Excellent"> - Excellent <br>
<input type="RADIO" name="speed" value="Good"> - Good <br>
<input type="RADIO" name="speed" value="Satisfactory"> - Satisfactory <br>
<input type="RADIO" name="speed" value="Needs Improvement"> - Needs Improvement <br>
<input type="RADIO" name="speed" value="Awful"> - Awful <br>
<br>
How would you rate the attitude of your server?
<br>
<input type="RADIO" name="attitude" value="Excellent"> - Excellent <br>
<input type="RADIO" name="attitude" value="Good"> - Good <br>
<input type="RADIO" name="attitude" value="Satisfactory"> - Satisfactory <br>
<input type="RADIO" name="attitude" value="Needs Improvement"> - Needs Improvement <br>
<input type="RADIO" name="attitude" value="Awful"> - Awful <br>
<br>
Can you give the name or a description (sex, race, height) of your server?
<br>
<input name="server" type="text" size="60"><br><br>
How would you rate the quality of your food and drinks?
<br>
<input type="RADIO" name="food" value="Excellent"> - Excellent <br>
<input type="RADIO" name="food" value="Good"> - Good <br>
<input type="RADIO" name="food" value="Satisfactory"> - Satisfactory <br>
<input type="RADIO" name="food" value="Needs Improvement"> - Needs Improvement <br>
<input type="RADIO" name="food" value="Awful"> - Awful <br>
<br>
How would you rate our atmosphere?
<br>
<input type="RADIO" name="show" value="Excellent"> - Excellent <br>
<input type="RADIO" name="show" value="Good"> - Good <br>
<input type="RADIO" name="show" value="Satisfactory"> - Satisfactory <br>
<input type="RADIO" name="show" value="Needs Improvement"> - Needs Improvement <br>
<input type="RADIO" name="show" value="Awful"> - Awful <br>
<br>
Was this your first visit?
<br>
<input type="RADIO" name="first" value="Yes"> - Yes <br>
<input type="RADIO" name="first" value="No"> - No <br>
<br>
Would you recommend us to friends?
<br>
<input type="RADIO" name="recommend" value="Yes"> - Yes <br>
<input type="RADIO" name="recommend" value="No"> - No <br>
<br>
Any other comments (please be blunt)?
<br>
<textarea name="comments" rows="10" cols="60"></textarea><br>
<br>
<input type="hidden" name="emailaddress" value="__EMAIL__">
<input type="hidden" name="setdate" value="__DATE__">
<input type="hidden" name="settime" value="__TIME__">
<input type="hidden" name="resID" value="__SIZE__">
<input type="submit" name="button" value="Send it!">
&nbsp; -- &nbsp;
<INPUT TYPE="reset" VALUE="Clear">
</p>
</form>
</td>
</tr>
</table>
<table bgcolor="#CCCCCC" width="730" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<center>
<br>
<font size="1" color="#000033">

</font>
</center>
</td>
</tr>
</table>
</center>
</body>
</html>

Reply With Quote
  #2  
Old February 14th, 2005, 08:51 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
In the future, wrap your code in [code][/code] blocks (or [php] blocks) when posting to the forum...

a less initimidating post is more likely to get a response...

As for your question... the code you've posted is simple HTML, no?
Perhaps Outlook has some security measures in place to keep emails from posting to websites...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > PHP in Outlook email


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway