PunBB uses md5 (although if your server has the ability to use SHA-1 it will use that instead)
Edit: Do a urldecode and unserialize on the PunBB cookie and you'll see how it works
You are not logged in. Please login or register.
PunBB Forums → Posts by Smartys
PunBB uses md5 (although if your server has the ability to use SHA-1 it will use that instead)
Edit: Do a urldecode and unserialize on the PunBB cookie and you'll see how it works
Erm, what's the issue?
http://kimmo.suominen.com/2005/02/13/timezone/
Google r0x0rs
Unfortunetly, there's this
There are some external restrictions on the implementation provided by this plugin:
* using other timezones than that of the server only works on UNIX-like systems, as it is implemented by modifying the TZ variable in the environment
* changing TZ is not available in PHP?s safe mode
* when TZ is changed, only a success message is displayed instead of the full form: this is due to PHP only implementing the old putenv interface for the environment (not the POSIX unsetenv(3) interface)
Also here
http://us2.php.net/date
djmaze(AT)cpgnuke(.)com
27-Mar-2005 11:53
PHP date, strftime and mktime functions are DST sensitive
This means if the server is setup to be US GMT-5 and DST sensitive then the mentioned functions add, extract or do nothing with the current DST.Without a given timestamp:
- date() uses the current server time.
This is DST affected if the server uses DST settings
- gmdate() uses the current GMT time, it extracts server GMT & DST.With a given timestamp:
- date() is affected if the server uses DST settings
* if current time is DST but the given time isn't then DST is extracted
* if current time isn't DST but the given time is then DST is added
- gmdate() is affected, it extracts server GMT & DST on the given timestampSo for example $timestamp is a GMT based time.
You modify the $timestamp for a "member" his personal timezone and dst.
The member has setup GMT-5 and DST sensitive
You add his GMT-5 to the $timestamp and check if the $timestamp is in DST or notThen all the above functions are screwed in normal use.
<?php
$timestamp = 1122814800; // 07/31/05 13:00:00 GMT
$user_gmt = -5;
$user_dst = 1;$timestamp += ($user_gmt*3600); // to user time
$timestamp += 3600; // user time is in DSTecho date("H:i:s",$timestamp);
echo gmdate("H:i:s",$timestamp);?>
If server is GMT+0 in summer (DST is on) the above outputs
08:00:00
07:00:00If server is GMT+0 in winter (DST is off) the above outputs
09:00:00
08:00:00If server is GMT-5 in winter (DST is off) the above outputs
09:00:00
03:00:00
If I'm reading this right (and I'm not sure I am), using gmdate seems to make it properly DST sensitive
Edit: Muahahaha, this is my 666th post! And I didn't even plan this
lol, use PunBB instead!
Enable debug mode, post the exact error here
That they access it using www. ?
I really don't know, their browsers are configured oddly
In config.php, make $cookie_domain like this:
$cookie_domain = '.monkeybizness.de';
What's the site URL?
Once again, PunBB 1.2.4 is vulnerable. You NEED to upgrade or you are at risk of being hacked.
Glad we figured it out
OK, considering I recognize none of them (unless this is the smiley mod?) and 1.2.5 shouldn't change anything that interferes, might I suggest installing them, manually updating to 1.2.5, and then installing this mod?
Try not using periods in the cookie name as well, dunno if those matter
Don't put the port number in
And try making it .zapto.org
Which other mods?
I think you were missing the GD library if you were getting those imagecreatefrom errors
You can't use a - in table names, use an underscore
Well, you have to upgrade to 1.2.5 since there's a critical vulnerability in 1.2.4
If you feel like getting their site shut down, just report them to the arbornet.org people
Could this be the cause?
In its own script
I believe I reported it, let me find the thread
http://punbb.org/forums/viewtopic.php?id=6770
Yes, it seems I did, but that was in an old version
Rickard suggested this for a similar situation:
What does this script output:
<?php exit(ini_get('allow_url_fopen')); ?>
Try the full path
/home/.landis/eldiario/eldiariodelpueblo.com/foros/extern.php?action=new&show=15&fid=2
Well, I'm guessing allow_url_fopen is disabled on your server
If you can't get it enabled, just include foros/extern.php?action=new&show=15&fid=2 instead of the full URL
It was post.php requiring parser.php twice
PunBB Forums → Posts by Smartys
Powered by PunBB, supported by Informer Technologies, Inc.