This is a discussion on "Weird $_POST error" within the PHP Forum section. This forum, and the thread "Weird $_POST error are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Weird $_POST error
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Weird $_POST error
I have the strangest error appearing on my website.
I use PHP to process anything submitted through a form. Including my mail form and blog ones that insert into database tables. They work just as normal when you type text into them but when you type HTML or anything between < > tags into them they just redirect you to the homepage. Even when I have no redirects set up on the page. I've never seen this before. Plus my forms have been working for ages, My host has just moved servers though. Do you think they changed a configuration or something? Has anyone got any ideas what's going on/how to fix it? Thanks. |
|
|
|
|||
|
Re: Weird $_POST error
can you post the offending script(s) maybe we can see the issue
|
|
|||
|
Re: Weird $_POST error
Here's one. It inserts a blog post into a database table. The others are similar so I won't post them. Can you see anything at all in this that would cause the page to redirect to www.theloop.org.uk on post and not insert into the database?
Note this works completely fine if you don't put anything between < > tags in the fields.
I just can't figure it out. Any help would be great! Last edited by Blake121; Jun 5th, 2007 at 12:07. |
![]() |
| Tags |
| forms, redirects, weird error |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Strange error with $_POST | AdRock | PHP Forum | 2 | Oct 13th, 2007 17:12 |
| $_POST Problem | Bradster | PHP Forum | 3 | May 30th, 2007 16:13 |
| Use $_POST variables to transmit session id? | masonbarge | PHP Forum | 9 | May 8th, 2007 14:03 |
| Weird IE bug? | spinal007 | Web Page Design | 15 | Sep 7th, 2006 14:17 |
| pass $_POST data into popup window | ktsirig | JavaScript Forum | 1 | Apr 19th, 2006 16:49 |