2009-12-08, 06:57:22
For the file upload issue, it is this code that breaks it.
I can delete that code and replace it with a .htaccess file restriction and it works like a charm.
The problem with that is that newbies would have an issue trying to figure it out.
Code:
if (basename($_SERVER['PHP_SELF']) == 'upload-ajax.php') {
die('You cannot load this page directly.');
}
I can delete that code and replace it with a .htaccess file restriction and it works like a charm.
The problem with that is that newbies would have an issue trying to figure it out.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.
Have you ever coded in your underwear before?
Have you ever coded in your underwear before?