TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-03-2010, 06:43 AM   #1 (permalink)
bajingo
 
skibbli's Avatar
 
Join Date: Feb 2010
Posts: 11
Thanks: 2
skibbli is on a distinguished road
Application My File Uploader

I just wanted to share this utility that i wrote, its a file uploader for personal use. it works pretty okay as far as I've tested it.

The reason i say it's for personal use is because i used basic http authentication

defaults are (in index.php):
username: admin
password: password

This authentication is only for indexing & uploading so after you login and upload a file anyone can download it if you were to link them to it. The cool feature is that there's a download link handler that uses base64 to have the file URL look like this:

http://server/uploader/download.php?f=eW91cmZpbGUuZXh0

Files are forced to be downloaded instead of being viewed on the server through the web browser.

This utility has been very handy so far for me and I know some other people that work on lots of different computers or like to share their files would love to use it.

sorry about my messy coding.
any suggestions are appreciated!!
Attached Files
File Type: rar uploader.rar (2.0 KB, 30 views)

Last edited by skibbli : 02-04-2010 at 08:01 PM.
skibbli is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is my file? superthin General 3 07-25-2009 09:48 AM
flash uploader session id security question johndoe123 Advanced PHP Programming 0 07-26-2008 10:23 PM
Aptana Jaxer and file uploads xenon Advanced PHP Programming 2 06-06-2008 10:22 AM
Writing to XML file buildakicker General 8 02-06-2008 08:17 PM
AJAX File Uploader CreativeLogic Javascript, AJAX, E4X 0 09-13-2007 07:32 PM


All times are GMT. The time now is 07:19 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design