How would you impletement download and upload a file in php
Answers were Sorted based on User's Feedback
Answer / vijaya
refer this link for uploading
for files downloading you can use headers .
// We'll be outputting a PDF
// It will be called downloaded.pdf
// The PDF source is in original.pdf
|Is This Answer Correct ?||7 Yes||0 No|
Answer / master
uploading is down using html file tag and later on moved to
the destination location.
for downloading we can use the pdf format so once we click
on the link the pdg format of the file will be downloaded
|Is This Answer Correct ?||1 Yes||2 No|
What is php pathinfo?
How to insert a line break in php string?
what use of <?php
Suppose your zend engine supports the mode <? ?> Then how can you configure your php zend engine to support <?php ?> Mode ?
What is csrf verification?
we store and display scores of users in different games. In MySQL, records are stored as tuples (user-id, game-id, score). Now we need to support ranks of users, i.e., each user should be informed of his current rank in the community. The challenge is to come up with the best way to store the data in MySQL so that the requirements are efficiently met.
What is the difference between super () and this ()?
What is array filter in php?
Tell me how to get the value of current session id?
How can I rotate an image?
How can we display information of a variable and readable by a human with php?
Is multiple inheritance supported in php?