The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> HOW TO OPEN SELECTED PDF FILE NAME FROM MYSQL TABLE USING PHP
shankar from vizag
post Jun 22 2019, 08:53 PM
Post #1


Advanced Member
****

Group: Members
Posts: 202
Joined: 18-June 13
Member No.: 19,316



Greetings

Basing on lot of online references,

1. Created a html page to upload a pdf file to a specific folder "uploads" in htdocs.
2. Created a table in mysql to store the uploaded file name.

Now, unable to call / open the selected pdf file. Kindly guide me in this regard.

I have tried to attach the .rar file of uploads folder but this page is not allowing to attach the .rar file.



Attached File  testfileupload.php ( 1k ) Number of downloads: 616
Attached File  upload.php ( 1.55k ) Number of downloads: 673
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
shankar from vizag
post Jun 23 2019, 05:03 AM
Post #2


Advanced Member
****

Group: Members
Posts: 202
Joined: 18-June 13
Member No.: 19,316



QUOTE(shankar from vizag @ Jun 23 2019, 07:23 AM) *

Greetings

Basing on lot of online references,

1. Created a html page to upload a pdf file to a specific folder "uploads" in htdocs.
2. Created a table in mysql to store the uploaded file name.

Now, unable to call / open the selected pdf file. Kindly guide me in this regard.

I have tried to attach the .rar file of uploads folder but this page is not allowing to attach the .rar file.



Attached File  testfileupload.php ( 1k ) Number of downloads: 616
Attached File  upload.php ( 1.55k ) Number of downloads: 673



updated files are attached herewith. There is a problem with openpdf.php:


Attached File  testfileupload.php ( 1.03k ) Number of downloads: 537
Attached File  openpdf.php ( 714bytes ) Number of downloads: 544

Kindly guide me in fixing the issue.

regards
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 09:31 AM