Ping!!
Can anyone please help me resolving this.

On Wed, Jul 15, 2009 at 6:18 PM, vijay <[email protected]> wrote:

>
>
> On Wed, Jul 15, 2009 at 6:18 PM, vijay <[email protected]> wrote:
>
>> Hi All,I am new to Google gears and trying to setup sample app gearpad in
>> my machine. I have all setup done, but when i am trying to open index.php i
>> get following  errors
>>
>>
>> All fields are required.'; } if (strpos($email, "@") === false) { return 
>> 'That\'s
>> not a valid email address.'; } if ($mode == 'create' && $password !=
>> $password2) { return 'Those passwords don\'t match.'; } } if ($mode) {
>> $message = validate(); if (!$message) { if ($mode == 'create') { if
>> (!($userid = createAccount($email, $password))) { $message = 'That email
>> is already taken.'; } } else if ($mode == 'login') { $rslt =
>> login($email, $password); if ($rslt == 'email') { $message = 'No user
>> with that email address.'; } else if ($rslt == 'password') { $message = 
>> 'Wrong
>> password.'; } else { $userid = $rslt; } } else if ($mode == 'forgot') {
>> if (!mailPassword($email)) { $message = 'No user with that email address.';
>> } else { $message = 'OK! Go check your email now.'; } } } } if (($mode ==
>> 'create' || $mode == 'login') && !$message) { header('Location: .'); exit();
>> } ?>
>>
>> along with it it shows login boxes etc but i think something is missing
>> here (snapshot of page is attached) .
>>
>> My setup:
>> Machine: Windows XP
>> Server : Apache server
>> Database: Mysql Database
>> I have modified _dbconfig.php with database details
>>
>> Any idea what is wrong with it.
>>
>
>

Reply via email to