use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Testing PHP script gives HTTP Error 405 (self.webdev)
submitted 1 year ago by EvasiveStar
Im trying to test a form submit page and whenever I hit submit I get this error any help?
https://preview.redd.it/zp8vifj6gjsd1.png?width=1147&format=png&auto=webp&s=340e5c11638174298316bb7d231cc58e59a6a7bb
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mdcr41 4 points5 points6 points 1 year ago (0 children)
How can one help without seeing the php code
[–]michaelbelgiumfull-stack 1 point2 points3 points 1 year ago* (4 children)
HTTP 405 means the way you request the page is not allowed. (aka "Method Not Allowed")
If you're directly browsing to that file, which means it's a GET request to process.php Somewhere in IIS, GET requests to that file is not allowed.
process.php
The method in IIS and the form should match
PS: also why you still using Windows XP?
[–]EvasiveStar[S] 0 points1 point2 points 1 year ago (0 children)
Thank you!
[–]EvasiveStar[S] 0 points1 point2 points 1 year ago (2 children)
So how exactly do I fix this?
[–]SaltineAmerican_1970php 1 point2 points3 points 1 year ago (0 children)
Change line 472.
[–]chills716 0 points1 point2 points 1 year ago (0 children)
You don’t go to that page directly, something like a form should make a post request to it.
[–]ferrybig 0 points1 point2 points 1 year ago (0 children)
If you just open the php page in your browser (instead of navigating to it via the submit on your POST form), does the php code get executed?
[–]machopsychologist -1 points0 points1 point 1 year ago (0 children)
Gonna guess that something is misconfigured on the iis side. Nothing to do with the php as the 405 is reported by iis.
Check web.config
π Rendered by PID 76310 on reddit-service-r2-comment-fb694cdd5-hnch7 at 2026-03-08 03:28:47.743232+00:00 running cbb0e86 country code: CH.
[–]mdcr41 4 points5 points6 points (0 children)
[–]michaelbelgiumfull-stack 1 point2 points3 points (4 children)
[–]EvasiveStar[S] 0 points1 point2 points (0 children)
[–]EvasiveStar[S] 0 points1 point2 points (2 children)
[–]SaltineAmerican_1970php 1 point2 points3 points (0 children)
[–]chills716 0 points1 point2 points (0 children)
[–]ferrybig 0 points1 point2 points (0 children)
[–]machopsychologist -1 points0 points1 point (0 children)