Forum Rules Today's Posts Mark Forums Read Social Groups Donate
Go Back   PinoyXtreme > PX Technology > Programming Related > PHP
 

Reminders on Coding Sections





REPLY
 
Thread Tools
Old 07-24-2013, 12:40 PM   #1
[HELP]Upload and download sa php
`skillet17 07-24-2013, 12:40 PM

mga pogeee patulong gusto ko kasi sana gumawa ng uploader.. tapos pagkatapos maupload eh magkakaroon agad ng download link.. ung parang tulad ng uploader ng wapka.mobi.. sana may makatulong saken.. kanina pa kasi ako naghanap ng tutorial nun wala ko mahanap

`skillet17
Phantom Sixth Man
Join Date: Sep 2011
Posts: 1,059




Views: 858
Reply With Quote

 Re: [HELP]Upload and download sa php
Old 07-24-2013, 12:48 PM   #2

John Lennon
NOWHERE MAN
Posts: 1,340
PX Cash: 59,297
Rep Power: 445
Default Re: [HELP]Upload and download sa php

Eto mang kanor try mo

Register to view links


  Reply With Quote
The Following User Says Thank You to John Lennon For This Useful Post:
 

 Re: [HELP]Upload and download sa php
Old 07-24-2013, 12:51 PM   #3

`skillet17
Phantom Sixth Man
Posts: 1,059
PX Cash: 68,162
Rep Power: 372
Default Re: [HELP]Upload and download sa php

upload lang yan tol e.. ang gusto ko sana gawin after ko mag upload maggegenerate agad siya ng download link.. parang tulad nung sa wapka
  Reply With Quote
 

 Re: [HELP]Upload and download sa php
Old 07-24-2013, 12:53 PM   #4
 
John Lennon's Avatar

John Lennon
NOWHERE MAN
John Lennon is offline
Posts: 1,340
PX Cash: 59,297
John Lennon has much to be proud ofJohn Lennon has much to be proud ofJohn Lennon has much to be proud ofJohn Lennon has much to be proud ofJohn Lennon has much to be proud ofJohn Lennon has much to be proud ofJohn Lennon has much to be proud ofJohn Lennon has much to be proud ofJohn Lennon has much to be proud of
Rep Power: 445
Default Re: [HELP]Upload and download sa php

Originally Posted by skillet17 Register to view links
upload lang yan tol e.. ang gusto ko sana gawin after ko mag upload maggegenerate agad siya ng download link.. parang tulad nung sa wapka

pwede naman yan e echo mo lang yung target path nya
  Reply With Quote
The Following User Says Thank You to John Lennon For This Useful Post:
 

 Re: [HELP]Upload and download sa php
Old 07-24-2013, 12:54 PM   #5
 
`skillet17's Avatar

`skillet17
Phantom Sixth Man
`skillet17 is offline
Posts: 1,059
PX Cash: 68,162
`skillet17 is a splendid one to behold`skillet17 is a splendid one to behold`skillet17 is a splendid one to behold`skillet17 is a splendid one to behold`skillet17 is a splendid one to behold`skillet17 is a splendid one to behold`skillet17 is a splendid one to behold
Rep Power: 372
Default Re: [HELP]Upload and download sa php

Originally Posted by InfectionX Register to view links
pwede naman yan e echo mo lang yung target path nya
pano yun? example naman tol.. hahaha.. baguhan lang ako sa php XD
  Reply With Quote
 

 Re: [HELP]Upload and download sa php
Old 11-25-2013, 02:37 PM   #6

JARVIS
Junior Member
Posts: 39
PX Cash: 965
Rep Power: 210
Default Re: [HELP]Upload and download sa php

save mo ang path sa isang field sa database mo.. then retrieve mo sya using ECHO
  Reply With Quote
 

 Re: [HELP]Upload and download sa php
Old 02-27-2017, 01:43 PM   #7
 
Error 404's Avatar

Error 404
muehuehuehue :3
Error 404 is offline
Posts: 1,921
PX Cash: 22,860
Error 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud ofError 404 has much to be proud of
Rep Power: 470
Default Re: [HELP]Upload and download sa php

too old. too late. pero baka nga may manga ilangan

got from Register to view links Answers..

create download.php file
php Code:
$filename = 'Test.pdf'; // of course find the exact filename....         Register to view links ('Pragma: public'); Register to view links ('Expires: 0'); Register to view links ('Cache-Control: must-revalidate, post-check=0, pre-check=0'); Register to view links ('Cache-Control: private', false); // required for certain browsers Register to view links ('Content-Type: application/pdf'); Register to view links ('Content-Disposition: attachment; filename="'. Register to view links ($filename) . '";'); Register to view links ('Content-Transfer-Encoding: binary'); Register to view links ('Content-Length: ' . Register to view links ($filename)); Register to view links ($filename); Register to view links ;

in your html download link
html4strict Code:
Register to view links href="download.php">Download</a>

parang PDF file lang ata to kasi ung content type nya is PDF ...
  Reply With Quote
 
Reply

Bookmarks


Facebook Comments

Thread Tools

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

Forum Jump



All times are GMT +8. The time now is 07:02 AM.

Powered by: vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

Disclaimer: None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site’s users. All references are copyright to their respective owners. Pinoyxtreme.com is not responsible for what its users post, or any other actions of its users. Pinoyxtreme.com is not responsible for the accuracy, compliance, copyright, legality, decency, or any other aspect of the content of other linked sites. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms.