[Pro] Php form

Hi, My first attempt to test and use a Php feedback form is getting the best of me. If someone has the time to look at the code on this page I would appreciate it. I have read through many of the freewaytalk postings but can’t correct the problems by myself. Thank you for being there.

clearelhttp://www.segerstromfootball.com/testphp.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have the same issue and I working on that now myself. It does not seem to work. I am using the GoDaddy Advanced Option mail script.

I will be watching this post also for insight.

Heres the site: http://www.winofopp.org/contact.html

Thanks in advance.

BTW: Do you have to have an PHP extension for this to work?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Now it works. I guess the mail server for Godaddy is super slow.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I would need to see the testphp-go.php code.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Where is this code found?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is this it?

test php

<table border=0 cellspacing=0 cellpadding=0 width=991>
	<colgroup>
		<col width=854>
		<col width=136>
		<col width=1>
	</colgroup>
	<tr valign=top>
		<td height=8 colspan=2></td>
		<td height=8></td>
	</tr>
	<tr valign=top>
		<td height=179></td>
		<td height=179><img src="Resources/dsc00225a.jpeg" border=0 width=136 height=179 alt="DSC00225a" style="float:left"></td>
		<td height=179></td>
	</tr>
	<tr class="f-sp">
		<td><img src="Resources/_clear.gif" border=0 width=854 height=1 alt="" style="float:left"></td>
		<td><img src="Resources/_clear.gif" border=0 width=136 height=1 alt="" style="float:left"></td>
		<td height=7><img src="Resources/_clear.gif" border=0 width=1 height=1 alt="" style="float:left"></td>
	</tr>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=878>
	<colgroup>
		<col width=816>
		<col width=61>
		<col width=1>
	</colgroup>
	<tr valign=top>
		<td height=25></td>
		<td height=25><img src="Resources/home7a.jpeg" border=0 width=61 height=25 alt="item14" usemap="#map1" style="float:left" id="img1"></td>
		<td height=25></td>
	</tr>
	<tr class="f-sp">
		<td><img src="Resources/_clear.gif" border=0 width=816 height=1 alt="" style="float:left"></td>
		<td><img src="Resources/_clear.gif" border=0 width=61 height=1 alt="" style="float:left"></td>
		<td height=160><img src="Resources/_clear.gif" border=0 width=1 height=1 alt="" style="float:left"></td>
	</tr>
</table>
<table border=0 cellspacing=0 cellpadding=0 width=589>
	<colgroup>
		<col width=349>
		<col width=239>
		<col width=1>
	</colgroup>
	<tr valign=top>
		<td height=321></td>
		<td height=321><form method="post" action="testphp-go.php">
		<table border=0 cellspacing=5 cellpadding=0>
			<tr>
				<td width=69 height=75 valign=top><p class="f-lp"><span class="style117">Name</span></p>
				</td>
				<td width=155 valign=top><p class="f-lp"><input name="name" size=12></p>
				</td>
			</tr>
			<tr>
				<td width=69 height=73 valign=top><p class="f-lp"><span class="style117">E-mail</span></p>
				</td>
				<td width=155 valign=top><p class="f-lp"><input name="email" size=12></p>
				</td>
			</tr>
			<tr>
				<td width=69 height=73 valign=top><p class="f-lp"><span class="style66">Message</span></p>
				</td>
				<td width=155 valign=top><p class="f-lp"><textarea cols=12 rows=3 name="text area"></textarea></p>
				</td>
			</tr>
			<tr>
				<td width=69 height=75 valign=top><img src="Resources/_clear.gif" border=0 width=1 height=1 alt="" style="float:left"></td>
				<td width=155 valign=top><p class="f-lp"><input type=submit></p>
				</td>
			</tr>
		</table>
		</form></td>
		<td height=321></td>
	</tr>
	<tr class="f-sp">
		<td><img src="Resources/_clear.gif" border=0 width=349 height=1 alt="" style="float:left"></td>
		<td><img src="Resources/_clear.gif" border=0 width=239 height=1 alt="" style="float:left"></td>
		<td height=1><img src="Resources/_clear.gif" border=0 width=1 height=1 alt="" style="float:left"></td>
	</tr>
</table>
<div id="item11" style="position:absolute; left:208px; top:193px; width:58px; height:26px; z-index:1">
	<img src="Resources/home7b.jpeg" border=0 width=57 height=24 alt="item11" usemap="#map2" style="float:left">
</div>
<div id="item1" style="position:absolute; left:67px; top:193px; width:57px; height:26px; z-index:2">
	<img src="Resources/item1aa.jpeg" border=0 width=57 height=26 alt="item1" usemap="#map3" style="float:left" id="img2">
</div>
<div id="item8" style="position:absolute; left:749px; top:193px; width:57px; height:26px; z-index:3">
	<img src="Resources/home4c.jpeg" border=0 width=58 height=26 alt="item8" usemap="#map4" style="float:left" id="img3">
</div>
<div id="item12" style="position:absolute; left:136px; top:193px; width:63px; height:26px; z-index:4">
	<img src="Resources/home6a.jpeg" border=0 width=63 height=26 alt="item12" usemap="#map5" style="float:left" id="img4">
</div>
<div id="item2" style="position:absolute; left:343px; top:193px; width:57px; height:26px; z-index:5">
	<img src="Resources/item2a.jpeg" border=0 width=57 height=26 alt="item2" usemap="#map6" style="float:left" id="img5">
</div>
<div id="item4" style="position:absolute; left:411px; top:193px; width:58px; height:26px; z-index:6">
	<img src="Resources/item4c.jpeg" border=0 width=58 height=26 alt="item4" usemap="#map7" style="float:left" id="img6">
</div>
<div id="item3" style="position:absolute; left:479px; top:193px; width:57px; height:26px; z-index:7">
	<img src="Resources/item3c.jpeg" border=0 width=57 height=26 alt="item3" usemap="#map8" style="float:left" id="img7">
</div>
<div id="item5" style="position:absolute; left:546px; top:193px; width:57px; height:26px; z-index:8">
	<img src="Resources/item5d.jpeg" border=0 width=57 height=26 alt="item5" usemap="#map9" style="float:left" id="img8">
</div>
<div id="item6" style="position:absolute; left:614px; top:193px; width:57px; height:26px; z-index:9">
	<img src="Resources/item6c.jpeg" border=0 width=57 height=26 alt="item6" usemap="#map10" style="float:left" id="img9">
</div>
<div id="item7" style="position:absolute; left:681px; top:193px; width:57px; height:26px; z-index:10">
	<img src="Resources/item7a.jpeg" border=0 width=57 height=26 alt="item7" usemap="#map11" style="float:left" id="img10">
</div>
<div id="item9" style="position:absolute; left:887px; top:193px; width:57px; height:26px; z-index:11">
	<img src="Resources/item9a.jpeg" border=0 width=57 height=26 alt="item9" usemap="#map12" style="float:left" id="img11">
</div>
<div id="item13" style="position:absolute; left:275px; top:193px; width:58px; height:26px; z-index:12">
	<img src="Resources/item13ba.jpeg" border=0 width=58 height=26 alt="item13" usemap="#map13" style="float:left" id="img12">
</div>
<div id="roundhelmetwithwords1" style="position:absolute; left:25px; top:19px; width:139px; height:140px; z-index:13">
	<img src="Resources/roundhelmetwithw.jpeg" border=0 width=140 height=141 alt="roundhelmetwithwords1" usemap="#map14" style="float:left">
</div>
<div id="item11a" style="position:absolute; left:299px; top:123px; width:393px; height:23px; z-index:14">
	<img src="Resources/item11a.gif" border=0 width=387 height=12 alt="Segerstrom Fundamental high school" style="position:relative; left:1px; top:1px; float:left">
</div>
<div id="jaguarfootballlogo1" style="position:absolute; left:342px; top:14px; width:315px; height:97px; z-index:15">
	<img src="Resources/jaguarfootballlo.jpeg" border=0 width=301 height=92 alt="jaguarfootballlogo1" style="position:relative; left:6px; top:5px; float:left">
</div>
<div id="item18b" style="position:absolute; left:-4px; top:233px; width:1012px; height:2px; z-index:16">
	<img src="Resources/item18ba.gif" border=0 width=1028 height=18 alt="" style="position:relative; left:-8px; top:-8px; float:left">
</div>

<map name="map1">
<area alt="Sponsors" coords="3,10,57,18" href="sponsors.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img1',1,'Resources/home7.jpeg','','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map2">
<area alt="updates" coords="6,11,53,19" href="updates.html">
<area alt="buttonfade1a1b1" coords="2,2,56,24" href="boostersa.html">
</map>
<map name="map3">
<area alt="Home" coords="12,11,44,19" href="home.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img2',1,'Resources/item1a.jpeg','item1','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map4">
<area alt="forms" coords="11,11,48,18" href="forms.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img3',1,'Resources/home4b.jpeg','item8','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map5">
<area alt="Boosters" coords="2,11,57,20" href="boostersa.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img4',1,'Resources/home6.jpeg','item12','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map6">
<area alt="calendar" coords="2,11,55,19" href="calendar.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img5',1,'Resources/item2.jpeg','item2','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map7">
<area alt="coaches" coords="5,11,52,21" href="coaches.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img6',1,'Resources/item4b.jpeg','item4','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map8">
<area alt="" coords="5,14,52,18" href="freshmen.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img7',1,'Resources/item3b.jpeg','item3','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
<area alt="freshmen" coords="4,12,55,20" href="freshmen.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img7',1,'Resources/item3b.jpeg','item3','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map9">
<area alt="photos" coords="8,11,52,19" href="photos2010.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img8',1,'Resources/item5c.jpeg','item5','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map10">
<area alt="2010" coords="14,11,44,19" href="2010.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img9',1,'Resources/item6b.jpeg','item6','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map11">
<area alt="history" coords="7,11,53,19" href="history.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img10',1,'Resources/item7.jpeg','item7','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map12">
<area alt="SFHS" coords="12,11,45,19" href="http://www.sausd.us/segerstrom/site/default.asp" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img11',1,'Resources/item9.jpeg','item9','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map13">
<area alt="schedule" coords="2,11,55,19" href="schedule.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img12',1,'Resources/item13b.jpeg','item13','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
<area alt="buttonfade1a1b" coords="0,3,55,25" href="schedule.html" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img12',1,'Resources/item13b.jpeg','item13','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">
</map>
<map name="map14">
<area shape=poly alt="roundhelmetwithwords1" coords="1,76,4,49,17,25,38,8,64,0,92,4,115,17,132,37,140,64,137,92,124,115,103,132,77,140,49,137,26,124,9,103" href="home.html">
</map>

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Where is testphp-go.php

No - This file is automatically generated by the action and uploaded to your server with the rest of your pages by FW

BTW your page does not need to end .PHP to work

The PHP is created for you.

To help narrow down the problem use separate error pages for the errors and choose that option in the action inspector and then see which specific error page comes up.

Your not on GoDaddy are you?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No I’m not using Go Daddy, i’m on Yahoo using PHP 5. I can switch to 4.
The only error I get is my own try again error page. Can you explain a bit more about separate error pages. This layout is in an HTML table. Should I remake with separate HTML boxes?
Thanks for your help.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

When you set up the action parameters you get the option to choose One page for all errors or A page for each error

So you create 3 different error pages notindomain.html, serverfail.html and invalidemail.html and choose the appropriate one in each selector.

Also put the relevant text on each of those pages so it is obvious which error you are getting. This will help pinpoint your problem.

So when you try the form and you get an error we will know what sort of error it is.

This layout is in an HTML table. Should I remake with separate HTML boxes?

Not necessary but if you have the action applied to the table remove it and try applying it as a page action instead. Page>Page Actions>PHP feedback form

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

David,

It came back with serverfail.
That would be yahoo, they support php 5 and 4. I am using 5.
Any ideas?

Thanks for your help.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

There are various Advanced Options at the bottom in the action window such as `Defining the smtp port but to be honest now it has been narrowed down to a problem with the server you may have to raise a support request with Yahoo.

Tim P may have some more insight on this if he is listening.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options