Cookies Cookies
You better not have sand in the vag!
Cookies
FAQFAQ  SearchSearch  RegisterRegister  ProfileProfile  MemberlistMemberlist  UsergroupsUsergroups  Log in to check your private messagesLog in to check your private messages  Log inLog in 




Restrict file upload to just jpegs with php

 
Reply to topic    Cookies Forum Index -> Other Games
View previous topic :: View next topic  
Author Message
slice2020
Cookie Monster


Joined: 22 Aug 2011
Posts: 50

PostPosted: Fri Sep 16, 2011 7:08 am    Post subject: Restrict file upload to just jpegs with php Reply with quote

I have the following PHP code which uploads a file to my server and renames it to whoever the logged in session user is . For example the user 'coca-cola-lover' uploads a jpeg called 'me.jpg' and the script will rename the jpeg 'coca-cola-lover.jpg'.
=======================
Digital Marketing Agency|Web Design Agency
Back to top
View user's profile Send private message
Author Message
Free Forum






PostPosted:      Post subject: ForumsLand.com

Back to top
Display posts from previous:   
Reply to topic    Cookies Forum Index -> Other Games All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2002 phpBB Group

Arthur Theme