Post, not working, please help


Posted on 16th Feb 2014 07:03 pm by admin

The error is:
Method Not Allowed
The requested method POST is not allowed for the URL /students/06/php/index.

Did you know?Explore Trending and Topic pages for more stories like this.

--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.mesickonline.com Port 80

My code is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?
$truck=$_POST["bowser"];
if ($truck= "ford")
echo("hello peeps");
elseif ($truck= "chevy")
echo("don't drive chevys");
elseif ($truck= "dodge")
echo("get a real truck");
else
echo("type in your favorite vehical brand");
$bowser=fopen('index.html','a');
fwrite($bowser,$truck);
?>
<html>
<body>
</body>
</html>
</body>
</html>
No comments posted yet

Your Answer:

Login to answer
285 Like 30 Dislike
Previous forums Next forums
Other forums

data type in column definition
Hi,
I create a table with column called "Direction of Travel code ".
The travel codes in t

Supress some serveroutput but not all
Hi,

I have a script I'm working on that uses plsql to create and RMAN script, this uses d

how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service

Image DPI
Hi.

I allow users to upload images, the user then is able to adjust several settings for the

PHP MySQL and DATE
Hi everyone

I have a databse and in one of the columns I have date values such as 2009-March-

Simple image grab script.
I was wondering if it was possible and if anyone knew how to make a simple php script that looks at

parsing error
can anyone explain this syntax error:

Parse error: syntax error, unexpected T_IF

The e

insert quotes
Hi,

I have an output like this:
Code: john,18,Cancer
How can I change this to
Code:

SCRIPT ERROR
Here is the CONTACT FORM I made for our website:

<form id="form1" name="

From Header Showing 'Unkown' In Hotmail? Why?
Code: $to = $row_GetID['email_addr'].',sales@mywebaddress.co.uk';
$subject = 'Thank you for you

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash