User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,469 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,813 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 198 | Replies: 3
Reply
Join Date: Jun 2008
Posts: 123
Reputation: ishlux is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ishlux ishlux is offline Offline
Junior Poster

Upload file

  #1  
Aug 1st, 2008
Hi all,
I have the code for uploading the file......but to store the uploaded file in database
and how to retrieve the uploaded file......
i want the code and logic







Thanks in advance
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2008
Location: Sweet India
Posts: 977
Reputation: Shanti Chepuru is on a distinguished road 
Rep Power: 2
Solved Threads: 90
Shanti Chepuru's Avatar
Shanti Chepuru Shanti Chepuru is offline Offline
Posting Shark

Re: Upload file

  #2  
Aug 1st, 2008
you just write your sql queries...
and retrieve all the date from tables..
<?=$row["filepath"]?>
it will prints the content of that file...
Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
Reply With Quote  
Join Date: Jul 2008
Location: caloocan city
Posts: 3
Reputation: shadow_kira is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shadow_kira shadow_kira is offline Offline
Newbie Poster

Re: Upload file

  #3  
Aug 1st, 2008
can you give a some code of retrieving file after you upload it?
Reply With Quote  
Join Date: Jul 2008
Location: Sweet India
Posts: 977
Reputation: Shanti Chepuru is on a distinguished road 
Rep Power: 2
Solved Threads: 90
Shanti Chepuru's Avatar
Shanti Chepuru Shanti Chepuru is offline Offline
Posting Shark

Re: Upload file

  #4  
Aug 1st, 2008
you just place the above code in your design...
Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 2:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC