Problem with Picture Name

From: Date: Wed, 07 Jan 2004 04:06:25 +0000
Subject: Problem with Picture Name
Groups: php.general 
Request: Send a blank email to php-general+get-173944@lists.php.net to get a copy of this message
Hi there, Here's the situation: I had it perfect so that when someone uploaded a picture in a form, it uploaded to my server and saved the image name etc. in the database. The problem is, what if someone tries saving a picture with an apostraphe ie ( ' ) or ( " )? I know this isn't a usual format, and I tried htmlsecialchars ENT_QUOTES but it still saves the picture name onto the server like such: photo\'.jpg. Can someone help me out?" Dimitri Marshall

« previous php.general (#173944) next »