// SYSTEM: WINDOWS XP PRO
// HTTP: APACHE 2.0.46
// PHP: 4.3.2
// ATTACHEDFILE: Phpmanger (php script)
PROBLEM IS -> UNDEFINED VARIABLE - PhpManger Script.
nOTE: You might need to copy and paste this post into a text editor
and TURN OFF word wrap.
COMMENT: I am having a small problem with "Undefined Variable" when submitting a form.
I was wondering if someone could help me resolve this issue. I'm not a programmer by far,
but do understand a little bit of perl, php & html. Below you will find Apache's
error_log and a copy of the form that is used to submit. Also I've included the *.sql
file used to build the MySql Database definitions.
INFORMATIONAL: The $adminname and $password was inserted into the database (phpmanger_db) along
with all other definitions according to the "phpmanger.sql" file. I noticed only the password
was only Md5 encrypted inside the database. Maybe this is the way its suppose to be?
ASSUMPTION: I'm assuming there is something wrong with the _setcookie functions?
At first I thought I should define a definate defined variables as such:
// INDEX.PHP - FORM
// This is the form that is being used as a LOGIN to phpmanager
// - phpManager, Copyright 2002 Taysoft - //
// All scripts contained within are protected by international //
// copyright law. Any unauthorised copying or distribution of //
// this software will be dealt with accordingly. //
// Subsequently, the copyright message must not be //
// removed from the software. A fee of US$200 is payable to //
// remove the copyright message. Additionally, phpManager is //
// distributed as a single domain license (Single IP). You will //
// be required to purchase another license if you wish to install //
// on another domain. //
// Please note: Removal of the copyright message does NOT give //
// you distribution rights to the software. All you are paying //
// for is to remove the copyright message to give a more professional //
// look for your clients. //
It looks like something is missing to me? I dont know if this form is suppose to process itself or call anothor file *.inc or *.php to process?
It should't tho because its suppose to connect to a database and verify
the Username and Password.
TAKE A LOOK AT THE <form method="post" action="">
Shouldn't there be somthing in the quotations (action="") ??
Maybe this is why the form is not being processed?