Re: Newbie



ZeldorBlat wrote:
On Jun 29, 11:15 am, Reggie <joelregisfo...@xxxxxxxxxxx> wrote:
Notice: Undefined variable: submit in /home/fhlinux169/c/
clashoff.co.uk/user/htdocs/create_entry.php on line 7
not registered

You get the error because $submit is not defined. You need to use
$_POST['submit'] (and probably $_POST['username'] and
$_POST['password'] as well).

Read this:

<http://www.php.net/manual/en/language.variables.predefined.php>

And pay special attention to the notes about register_globals.


It should also be noted that Notices are not Errors as such. Your script will normally execute fine with Notices but for improved security and performance you should try to avoid them.

--
Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen. Blue Screen leads to downtime. Downtime leads to suffering...I sense much Windows in you...
.



Relevant Pages

  • Re: Off-Topic
    ... > Bluescreen leads to downtime. ... > Downtime leads to suffering. ... > Powerful Unix is. ... > The No. 1 remote administration tool for Windows NT is a car. ...
    (freebsd-questions)
  • Re: Mail problem
    ... If you are running from your home IP address then there won't be much you can do to stop this as most ISPs block home IP addresses from sending mail. ... The -f flag assumes the server isn't running Windows, if it is remove that parameter from the command. ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much Windows in you... ...
    (alt.php)
  • Re: Off-Topic
    ... Bluescreen leads to downtime. ... Downtime leads to suffering. ... Powerful Unix is. ... The No. 1 remote administration tool for Windows NT is a car. ...
    (freebsd-questions)
  • Re: Array_merge() Question
    ... recordID \t the rest of the data ... ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much Windows in you... ...
    (comp.lang.php)
  • Re: Question re: sql injection
    ... That won't cover things like unicode sql injection attacks for starters. ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much ...
    (comp.lang.php)