12-24-2007, 07:55 PM
|
#9 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
|
Quote:
Originally Posted by ReSpawN
Point #7: Do not bite off more than you can chew. Simply as that.
Xenon told you just now to use htmlspecialchars. Filtering on the text-area can also be done with Javascript/AJAX. But I don't recon you've come quite that far. No offense.
Other methods for filtering and inserting are sprintf/printf, addslashes, strip_tags and ofcourse mysql_(real_)escape_string.
|
I kinda need to get #7 done, though...
New question: What are the default directories for all this stuff? I am looking into uploading, and I have no clue where the default directory is and how to move it from there... When I move a file that has been uploaded, does the path start from the directory where the file that is moving the file is, or does it start at the PHP installation?
|
|
|