Page 2 of 2

Posted: Thu Jan 22, 2004 9:29 am
by malcolmboston
yeah i said that underneath it, both work however, just one is 'politically correct

whats line 12?

lol

Posted: Thu Jan 22, 2004 9:35 am
by TiD
ahhh... woops.. accidently added an s to the ?> tag, making it ?s>
My fault sorry.

I fixed everything up and it crashed >_<.

Posted: Thu Jan 22, 2004 9:36 am
by malcolmboston
roflmao

honestly mate i dont know

if you can get hold of zend i suggest you run it through that and that will help you fid out what the matter is with it

Posted: Thu Jan 22, 2004 9:39 am
by TiD
ummm... zend?

Thanks for your help none the less. It was greatly appreciated.

Posted: Thu Jan 22, 2004 9:42 am
by malcolmboston
zend = http://www.zendstudio.com/

try and get it :wink:

Posted: Thu Jan 22, 2004 9:49 am
by TiD
mad. thanks.

Posted: Thu Jan 22, 2004 11:08 pm
by TiD
I FIXED IT! YAY!

Code: Select all

// page2.php 
<? 
echo "<FORM action='page3.php'>";  <= Problem Here.
echo "Name: $_POST&#1111;'name1']"; 
echo "<input type="hidden" name="relay" value="'$_POST&#1111;'name']'">"; 
echo "<INPUT TYPE='submit' VALUE='Submit'>\n"; 
echo "</form>"; 
?>
It seems that apache does not like <form> tags without and "method=". After I fixed that, I was able to send an em@il. Might be due to apache getting confused and not knowing what to do with the $_POST in page3.php.

Thanks for all your help. Muchly Appreciated.