Secured Gallery For Lava

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Secured Gallery For Lava

    If anyone have secured(anti-hack) n safe gallery function for lava script plz post here. And disuss here how a lava gallery system can be protected. thanks.
    Wait...
    sigpic

    #2
    in ur upload put this

    PHP Code:
    $file_type=$_FILES['filetoupload']['type'];
    $content_type=array("image/gif","image/jpeg","image/pjpeg","image/bmp");
    if(!
    in_array($file_type,$content_type))echo "invalid file type!!"

    Comment


      #3
      Thanks @ ori

      If you or anyone have more advices for lava uploader please post here @ ori n all
      Wait...
      sigpic

      Comment

      Working...
      X