Secured Gallery For Lava

Started on the old forum in March 2009 · view the original in the archive · old links redirect here

2 replies · 603 views · started 17 years ago · 1 min read

2 participants
anderson Developer · 146 posts #1

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...

ori Lead · 512 posts #2

in ur upload put this

$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!!";
anderson Developer · 146 posts #3

Thanks @ ori

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

Wait...

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close