View Single Post
  #10  
Old 04-14-2008, 08:15 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

There is a couple small errors in this script I noticed.

1. There is a variable declaration near line 22 that is missing an equals sign.

Code:
$server_name "Name of Your Server"; //set the name of your server here
.. should be ..

Code:
$server_name = "Name of Your Server"; //set the name of your server here
Also, the form is pointing to index.php, although the script is called peq_updater.php. Change
this line ..

Code:
<form id="form1" name="form1" method="post" action="index.php">
.. to ..

Code:
<form id="form1" name="form1" method="post" action="<?=$_SERVER[PHP_SELF]; ?>">
Other than that, it seems to work.
Reply With Quote