[solved] login.php [solved] login.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[solved] login.php

Started by pcfreak, October 20, 2003, 10:17:38 PM

Previous topic - Next topic

0 Members and 6 Guests are viewing this topic.

pcfreak

Bug in login.php at line 63

<font size="1" color="red"><b>Warning your browser does not accept script's cookies<b></font>

Change script's to scripts

Its simple but its a hard bug, the lines after line 64 gives an error because this bug

Joachim Müller

hm, sorry - I don't understand: what error do you get? Grammatically you're wrong - it's not plural ("one script, two scripts"), but genitive ("Who does the cookie belong to? - To the script").
The lines you're refering to should look like this:if (!isset($HTTP_COOKIE_VARS[$CONFIG['cookie_name'] . '_data'])) {
    $cookie_warning = <<<EOT
                  <tr>
                          <td colspan="2" align="center" class="tableh2">
                        <font size="1" color="red"><b>Warning your browser does not accept script's cookies<b></font>
                        </td>
                  </tr>

EOT;
}
if you should get a parse error it's probably because you modified something else - the heredoc syntax allows having single quotes in this way.

If you really think you have discovered a bug, please post a link to the page where we can see it and a complete listing of your login.php

GauGau

pcfreak

Hey, this is realy stupid from me :?  

My php editor gives an error at  's  

why ? its expects a var between 2 single quotes , because one quote is missing its gives a error.


Sorry about this, i wil go programming the next time in a text editor  :wink:

laixi