Why was register_globals turned on on your old host?! It can lead to many problems and sometimes security flaws - always use $_GET or $_POST accordingly.
~Callum
FROZENMAFIA! NO! XD
A - use the tag
B - forms should have a method (in this example, post)
C - use $_SERVER['REQUEST_METHOD'] instead of isset($_POST..
D - why do you insist on not using spacing :(
[php]<?php
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
$email = 'Email sent using feedback...
Also, I edited the title of this thread to something more descriptive. Please make sure the thread title actually describes the issue in the future.
~Callum
Re: help please
I see from your website that you're attempting to make one yourself.
You should NOT be using mysql_* - check out PDO or MySQLi
As lemon-tree said, you need to know quite a bit about security to build a good login script. Of the top ten results on google for "php login script"...
5 minutes of heavy resource usage is a LOT.
Install it locally, then copy and paste. Alternatively, you can move to premium to remove the resource limits, or upgrade to prime to double the resource limits.
~Callum
5 minutes of heavy resource usage is a LOT.
Install it locally, then copy and paste. Alternatively, you can move to premium to remove the resource limits, or upgrade to prime to double the resource limits.
~Callum
A new generation of stupid posts has inspired me to write up some rules and guidelines for the Programming Help forums:
Be specific
Be specific when explaining your problem. Explain in detail what the problem is, and some background to the problem. Post an extract from your code if possible...