Hi All,
I've been getting a strange issue lately with a couple of the pages i have on my server.
When posting data to these pages the post globals, $_POST; $_POST_RAW; and $_POST_BINARY, don't exist, and therefore i cannot access any of the data posted to the page.
I've check the requests to the page and they are definitely posting data, and the $_SERVER["REQUEST_METHOD"] is "POST", so its not a client issue.
I'm just wondering if anyone else has come across this or might know why its happening?
Regards,
Mark
$_POST Not being created
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9834
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: $_POST Not being created
WHich OS version?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 92
- Joined: Mon Jul 06, 2009 4:53 am
- Location: Bamboo River
Re: $_POST Not being created
I think it is a bug. The $_POST variables are empty when the Content-Type is "application/x-www-form-urlencoded; charset=UTF-8".
If you can use a Content-Type of "text/plain", the $_POST variables will contain data.
I submitted a bug report http://quality.runrev.com/show_bug.cgi?id=15173 on 8th April but it still hasn't even been acknowledged by LiveCode.
If you can use a Content-Type of "text/plain", the $_POST variables will contain data.
I submitted a bug report http://quality.runrev.com/show_bug.cgi?id=15173 on 8th April but it still hasn't even been acknowledged by LiveCode.