View previous topic :: View next topic |
Author |
Message |
nolko -
Joined: 14 Apr 2005 Posts: 3
|
Posted: Thu Apr 14, 2005 3:10 pm Post subject: phpAdsNew - can't login |
|
|
We've encountered login troubles with phpAdsNew. Every time I try to log in, the login form reappears, while it used to work flawlessly under Apache.
phpAdsNew makes use of $HTTP_COOKIE_VARS to access the cookies, maybe that's the cause.
Currently we're running Abyss Web Server X1 (headerstring: "Server: Abyss/2.0.0.20-X1-Win32 AbyssLib/2.0.0.20"). We're considering the X2 version, but we'll certainly go back to Apache if Abyss is incompatible with phpAdsNew. |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Thu Apr 14, 2005 3:58 pm Post subject: |
|
|
Has phpAdsNew worked before on Abyss?
Are you able to use $HTTP_COOKIE_VARS at all?
Later, I will see if it works on mine. _________________
 |
|
Back to top |
|
 |
nolko -
Joined: 14 Apr 2005 Posts: 3
|
Posted: Thu Apr 14, 2005 4:13 pm Post subject: |
|
|
k1ll3rdr4g0n wrote: | Are you able to use $HTTP_COOKIE_VARS at all? |
Using this code ...
Quote: | <?php
print_r($HTTP_COOKIE_VARS);
echo "-";
print_r($_COOKIE);
?> |
... I found out only $_COOKIE can be used to access the cookie variables. |
|
Back to top |
|
 |
roganty -
Joined: 08 Jun 2004 Posts: 357 Location: Bristol, UK
|
Posted: Thu Apr 14, 2005 4:34 pm Post subject: |
|
|
i believe that the problem you have encountered is something to do with the version of php you are using.
what php version are you using anyway? _________________ Anthony R
Roganty | Links-Links.co.uk |
|
Back to top |
|
 |
nolko -
Joined: 14 Apr 2005 Posts: 3
|
Posted: Thu Apr 14, 2005 4:45 pm Post subject: |
|
|
roganty wrote: | i believe that the problem you have encountered is something to do with the version of php you are using.
what php version are you using anyway? |
Version 5.0.4.
http://nl2.php.net/reserved.variables:
Quote: | As of PHP 5.0.0, the long PHP predefined variable arrays may be disabled with the register_long_arrays directive. |
I've changed register_long_arrays to On, and the script works now. Thanks for pointing at the PHP version! |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Apr 14, 2005 4:46 pm Post subject: |
|
|
I have successfully gotten phpAdsNew to work on Abyss and im able to login
and everything , make sure that Register Globals is On. Also the new version
of PHP v5 is no longer compaptible with some PHP v4 scripts. LateR!
Sincerely , TRUSTpunk |
|
Back to top |
|
 |
|