Re: [users@httpd] This completely beats me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Boyle,

First things first: thank you for your answer.

The form checking is done in the register_action.php. It is this which
generates the pop-up. So it is here you need to look to see what is
wrong. Some questions:

- what is the URL that the pop-up is supposed to request?
//test if both paswords match
if ($pass != $pass2) {
echo"
<script language=\"JavaScript\">
myFloater5 = window.open('invalid_match_pasword.php','myWindow','scrollbars=no,status=no,width=220,height=10')
window.location=\"https://www.dte.ua.pt/cv/register_form.php\";
</script>";
}	

- can you load that page in a browser?
No.

- what do you get in the access/error log, if not?
Nothing !!!


The thing that beats me the most, is that the code is exactly the same as for the other popup windows, like this one that works if you don't fill all the fields (try registering without filling at least one field):
// test if all fields were filled	
if (($email == '') || ($name == '') || ($pass == '') || ($pass2 == '') || ($magic_number == '')) {
echo"
<script language=\"JavaScript\">
myFloater1 = window.open('invalid_number_fields.php','myWindow','scrollbars=no,status=no,width=220,height=10')
window.location=\"https://www.dte.ua.pt/cv/register_form.php\";
</script>";
 }

Warm Regards,
Mário Gamito

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux