PEAK XOOPS - Re: Protector protects from a legitimate upload. in englishin japanese

Re: Protector protects from a legitimate upload.

List posts in the topic

none Re: Protector protects from a legitimate upload.

msg# 1.9
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2007/9/28 1:38 | Last modified
vaughan  上等兵   Posts: 37
ok so from the information you have given so far.

i'm presuming this should be better than method used at moment >

$index = intval($index);
$this->mediaName = MyTextSanitizer::stripSlashesGPC($_FILES[$media_name]['name'][$index]);
$this->mediaName = preg_replace( '/[^0-9a-zA-Z_-]/' , '' , $this->mediaName);
Votes:1 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!