Type: Posts; User:
A little help please? Can anybody tell me how to remove multiple "/"s in a URL? I've been able to remove them from a Query String, but I'm having trouble with something like this:
Thanks for the md5() info, SyCo! That's an interesting idea. Also, thanks for the reminder about that security book, NogDog.
If anybody's interested, here's the mod_rewrite (.htaccess) that I'm...
Thanks very much! Although this problem was with a pretty basic site (mostly just presenting content), this has gotten me to think about problems that might arise with a site that allows file...
Our site was recently hacked by someone using GETs and POSTs. Somehow they uploaded a file called paypal.zip and proceeded to unzip it into a folder. It appears from the raw access logs that they...
I gave him a solution that allows his page to pass meaningful info. to itself---it doesn't just check to see if something was posted. LOLOLOL You put an if/else statement on the page and told him to...
I usually put a hidden element in the form to give the page an idea as to what should be done.
<input type='hidden' id='cmd' name='cmd' value=''></input>
Although I know that some don't agree with using tables to place form elements, I have used tables to do this with several forms with no problem. Although, I would say that the best thing to do would...
I would like to schedule daily, FTP uploads from a home computer to a web host (mp3 files). I'm familiar with using Windows scheduler to run a .php file at a particular time, and I'm good with the...
I wish that Captchas weren't necessary! The JustHumans tool is an interesting alternative, too. You click a picture instead of having to enter several letters.
These are Captcha services, but I like them:
Thanks for the reply. Would using the htmlentities() be mainly for unusual characters (copyright, foreign accent marks, etc.), or would it be important for quotes, "<", etc.?
You might make sure the session is started at the top of each page. That has gotten me in the past.
I have been using a PHP/MySQL interface to store blogs on a website; it's just basic text with quotes and maybe some html for links. In the beginning, I was pretty inexperienced, and my...