HTTP_REFERER
for some functions (like redirects and clicking on tags). If you have disabled or masqueraded HTTP_REFERER
in your browser, some features of Shaarli may not workmagic_quotes
is an horrible option of PHP which is often activated on servers. No serious developer should rely on this horror to secure their code against SQL injections. You should disable it (and Shaarli expects this option to be disabled). Nevertheless, I have added code to cope with magic_quotes
on, so you should not be bothered even on crappy hosts..htaccess
files.php
file..htaccess
files, the data file will still not be readable by URL.The database looks like this:
<?php /* zP1ZjxxJtiYIvvevEPJ2lDOaLrZv7o...
...ka7gaco/Z+TFXM2i7BlfMf8qxpaSSYfKlvqv/x8= */ ?>
Small hashes are used to make a link to an entry in Shaarli. They are unique. In fact, the date of the items (eg. 20110923_150523
) is hashed with CRC32, then converted to base64 and some characters are replaced. They are always 6 characters longs and use only A-Z a-z 0-9 - _
and @
.