![]() |
|
[PHP] Php error HTTP ERROR 500 when I submit a button register. - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [PHP] Php error HTTP ERROR 500 when I submit a button register. (/showthread.php?tid=5742824) |
Php error HTTP ERROR 500 when I submit a button register. - RootBlack1996 - Oct 25, 2017 [paste] pastebin.com/raw/dZiP19PP[/paste] Php error HTTP ERROR 500 when I submit a button register. RE: Php error HTTP ERROR 500 when I submit a button register. - fxbghacker - Oct 25, 2017 do you have an htaccess file? its probably nothing wrong with this php script, normally 500 errors are an issue with how the server is handling the request. RE: Php error HTTP ERROR 500 when I submit a button register. - RootBlack1996 - Oct 25, 2017 (Oct 25, 2017 10:20 AM)fxbghacker Wrote: do you have an htaccess file? its probably nothing wrong with this php script, normally 500 errors are an issue with how the server is handling the request. I don't have becuase I use iis to run my website. RE: Php error HTTP ERROR 500 when I submit a button register. - fxbghacker - Oct 25, 2017 php doesnt handle iis errors very well, it could be anything. RE: Php error HTTP ERROR 500 when I submit a button register. - RumbleFrog - Oct 25, 2017 What's in dbconnect.php? Also, there are so many bad code practices on this. MD5? Seriously? Plain-text password? RE: Php error HTTP ERROR 500 when I submit a button register. - RootBlack1996 - Oct 25, 2017 (Oct 25, 2017 11:37 AM)RumbleFrog Wrote: What's in dbconnect.php? Also, there are so many bad code practices on this. MD5? Seriously? Plain-text password? Yes Plain-text password only me and my friend use this site RE: Php error HTTP ERROR 500 when I submit a button register. - Charger - Oct 25, 2017 (Oct 25, 2017 12:59 PM)RootBlack1996 Wrote: Yes Plain-text password only me and my friend use this site Then why have a password at all? RE: Php error HTTP ERROR 500 when I submit a button register. - Elite Hacker 69 - Oct 25, 2017 IIS and MS SQL may as well just use a C# backend RE: Php error HTTP ERROR 500 when I submit a button register. - Two-Ton 21 - Oct 25, 2017 You should start your session at the VERY TOP with a conditional statement to check if it was already set before. Where you set your message, you could use Code $message = <<<StrLabelFor testing your code use PHP Exceptions. RE: Php error HTTP ERROR 500 when I submit a button register. - Elite Hacker 69 - Oct 25, 2017 (Oct 25, 2017 07:39 PM)Usul Wrote: You should start your session at the VERY TOP with a conditional statement to check if it was already set before. Where you set your message, you could use Why would you use Heredoc strings? Just makes it confusing RE: Php error HTTP ERROR 500 when I submit a button register. - RootBlack1996 - Oct 25, 2017 (Oct 25, 2017 01:09 PM)Charger Wrote: Then why have a password at all? I will encrypt it when I can fix this problem. RE: Php error HTTP ERROR 500 when I submit a button register. - Two-Ton 21 - Oct 26, 2017 (Oct 25, 2017 08:59 PM)sum ting wong Wrote: Why would you use Heredoc strings? Just makes it confusing Here someone asked the same question. They gave a lot reasons I never thought of, like syntax highlighting. Aside from that it's a nice way to get around escaping your special characters. RE: Php error HTTP ERROR 500 when I submit a button register. - RumbleFrog - Oct 26, 2017 (Oct 25, 2017 09:03 PM)RootBlack1996 Wrote: I will encrypt it when I can fix this problem. Can you provide the dbconnect file, and encrypting is different from hashing. RE: Php error HTTP ERROR 500 when I submit a button register. - RootBlack1996 - Oct 28, 2017 (Oct 26, 2017 07:10 PM)RumbleFrog Wrote: Can you provide the dbconnect file, and encrypting is different from hashing. It just error only this register page my dbconnect.php is working good. RE: Php error HTTP ERROR 500 when I submit a button register. - Charger - Oct 29, 2017 (Oct 28, 2017 08:02 PM)RootBlack1996 Wrote: It just error only this register page my dbconnect.php is working good. What does your PHP error log say? |