Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 20th, 2005, 02:30 PM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Capturing\Reading File Contents into DB with PHP

  What I need is the ability where user will 'upload' a file to my server, but instead of storing it as an actual file, I want to store it in a database and provide pointers to that file in the database that will uniquely identify it to other users in a list of downloadable files. I then want to allow another user to 'download' that 'file' and view or save it in the original application. So if it was a Word .doc file, it would display in Word. I will be working mostly with Microsoft Word and Excel files.
   I have the user file-selection piece on both ends working, but the file contents apparently are not being stripped into the database correctly, and hence I have no file for the end user.
   Suggestions?

-aingalsbe
Reply With Quote
  #2 (permalink)  
Old April 21st, 2005, 07:24 AM
Friend of Wrox
 
Join Date: Mar 2004
Location: Bhopal, MP, India.
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Store filename/url into db

Reply With Quote
  #3 (permalink)  
Old December 30th, 2005, 09:48 AM
Registered User
 
Join Date: Dec 2005
Location: Lahore, Punjab, Pakistan.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to aatayyab Send a message via AIM to aatayyab Send a message via MSN to aatayyab Send a message via Yahoo to aatayyab
Default

how do you store filename and url into db?

amir


Best Regards,

Amir Ali Tayyab
IT Consultant since 1988
http://softwarepk.com
aatayyab@yahoo.com
Cell: 92-333-4779799
Address: 49-MZ, Central Plaza, Garden Town, Lahore, Pakistan
Reply With Quote
Reply


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML contents reading in C# (desktop application) aliusmankhan C# 2005 2 October 30th, 2008 08:03 AM
Help with PHP file reading XML file for output rydog65 Beginning PHP 0 March 26th, 2008 05:13 PM
Reading contents of other window controls furqanms C# 2005 0 June 15th, 2007 02:04 PM
Capturing date from transferred file Axxess Access VBA 2 July 18th, 2005 05:21 AM
multiple reading from db dannyphw Classic ASP Databases 2 October 21st, 2004 11:07 AM



All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.