Hi Patrick,
I always trust your posts, but don't always understand them, *grin*

----- Original Message ----- 
From: "Patrick Bierans" <[EMAIL PROTECTED]>
> The condition for deleting the semaphore-file is not well formed.
> If you only delete them if they were used you will soon have a lot of unused 
> md5s filling your harddrive.
> Some people will open the form but not submit it.
> So delete all files older x minutes!

A big improvement, but don't know how to do that yet!
If I did that in the form, someone aborts, they would get deleted the next time 
someone enters.
Or I could do this in both the form and the receiving page.
Is that what you mean?

> Also filter $_POST['code'] for unallowed chars like theese: \ / | > < . : &

I didn't understand this. I always use strip_tags, but why are the others 
dangerous?
Thanks, Bob.



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to