Ulysses Stuff > Releases
ERS - EMail Reporting System
MrPresident:
What was the point of that Neku? I appreciate you citing a reference, but a little context might be nice.
Neku:
--- Quote from: MrPresident on August 23, 2014, 03:56:03 PM ---What was the point of that Neku? I appreciate you citing a reference, but a little context might be nice.
--- End quote ---
I skimmed the web side of this release and found that it is using a static negative integer to check the CRC.
Perhaps the reason it doesn't work for some people is because they're running a 64bit installation.
Like it says on the quote, it is a positive integer on 64bit installations.
MrPresident:
Ahh, this is possible. I use 32bit on my server for module compatibility reasons.
I can either try and remove that hash check alltogether or include another file that lets the owner of the script see what the value is ahead of time and modify the config accordingly.
Thanks for the info.
kulcris:
Any luck on getting this to work on 64bit systems? i have a 64 bit system but its not working even without the check
Fanney:
--- Quote from: MrPresident on August 24, 2014, 12:42:35 PM ---Ahh, this is possible. I use 32bit on my server for module compatibility reasons.
I can either try and remove that hash check alltogether or include another file that lets the owner of the script see what the value is ahead of time and modify the config accordingly.
Thanks for the info.
--- End quote ---
Or you could just allow the first ip that accesses it to send it, i've used it for my system and it's a automatic process client's should not access it the first time but the server should.
Theres a lil' snippet if you want todo it like that:
--- Code: ---$hd = fopen("allowed.txt", "rw");
$txt = fread($hd, 20);
if ( empty($txt) ) {
fwrite($hd, $ip);
} else {
if ( $txt != $ip ) {
fclose($hd);
die('No access');
}
}
fclose($hd);
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version