Website Babble Webmaster Forums  
  #1 (permalink)  
Old 07-05-2008, 05:58 PM
Regular Babbler
 
Join Date: Mar 2008
Posts: 35
Question PHP Upload

Hi, gals and guys,

I am currently working on a website that eventually will allow stories to be uploaded and displayed under the author's name. Now, I want them to be able to upload txt, doc, docx, and whatever other mainstream document files there are. Anyway, what I would like help with is creating a secure upload code scripted in php. I have been to several websites, and I did find one or two good examples. However, most of what I found consisted of simple upload scripts with no security measures. I would like to know what the best security measures I can take are when making an upload script.

I would search more on google, but I like the idea that I can ask for further help here if something confuses me (I have been accused before of asking people to do all my work for me- which is not true).
__________________
http://www.angrytvrobot.com
I need a graphic artist. Light work, no money. PM me.
Reply With Quote
  #2 (permalink)  
Old 07-08-2008, 09:32 AM
Junior Babbler
 
Join Date: May 2008
Posts: 8
Default

I have never come upon the need for security when uploading. All the upload scripts I have ever coded are behind a control panel anyway. And I assume your by your statement under the "author's name" that your upload script will be inside a control panel/admin that a user will need to log into to upload under his/her username.

An uploaded file, also, in a Linux server, will not be executable unless you program that in your upload script.
Reply With Quote
  #3 (permalink)  
Old 07-08-2008, 03:32 PM
Regular Babbler
 
Join Date: Mar 2008
Posts: 35
Default

Thanks, never thought about that last part. All the sites I saw kept stressing the word "security." I guess I want to take some "precautions" then. I think I'll be able to figure out the rest on my own, but thanks for responding.
__________________
http://www.angrytvrobot.com
I need a graphic artist. Light work, no money. PM me.
Reply With Quote
Reply

Tags
php, security, upload

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 10:33 PM.



WB Sponsors

Profit Lance Review

affiliate network

Work At Home Jobs

Expert PPC Coaching



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0