Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

405 Error Method Not Allowed Posting To PHP Script

Status
Not open for further replies.

eter4

MIS
Mar 13, 2001
30
0
0
CA
I am having a problem with this one script.

Check the source of the HTML page here


and the souce of the PHP page is

<html>
<head>
<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot;>
</head>
<body bgproperties=&quot;fixed&quot; leftmargin=&quot;75&quot; style=&quot;background-image: url('./images/mb_bg.gif')&quot;>
<?php
echo &quot;$emailuser&quot;;
?>
</body>
</html>

Can anyone help??
 
Nope... I just found out what I did wrong..

<form method=&quot;POST&quot; action=&quot;phpscript.php&quot;>

I was putting in

<form method=&quot;POST&quot; name=&quot;phpscript.php&quot;>


Stupid me
 
Isn't the action tag what you use for asp? How come php uses the name tag for the script file and asp uses action? Ladyhawk. [idea]
** ASP/VB/Java Programmer **
 
the name tag is for references with JS. Either php as ASP uses the action ... Well, neither of them uses action or name tags, HTML is the one who uses ... Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top