- Free Php Script Youtube Download
- Free Php Games Scripts Download
- Free Php Image Upload Script Download
Active5 years, 2 months ago
I'm making a simple download script, where my users can download their own images etc.
The collection of themes which you see here covers a range of categories including nature, wildlife, abstract designs, corporate, blogging and also portfolios. The themes are contemporary choices handpicked from the world of free to download PHP templates which are best in the business today. Make a choice and download now. Install Scriptcase Download a full trial version now and evaluate Scriptcase for free for 20 days! We also offer technical support, which can be accessed directly by the tool, to aid in the doubts during the evaluation period.
But I'm having some weird problem.
When I've downloaded the file, it's having the contents from my index.php file no matter what filetype I've downloaded. My code is like so:
$r is the result from my database, where I've stored size, type, path etc. when the file is uploaded.
UPDATE
![Download php website Download php website](/uploads/1/2/5/8/125886684/642118758.jpg)
When I'm uploading and downloading *.pdf files it's working with success. But when I'm trying to download *.zip and text/rtf, text/plain it's acting weird.
By weird I mean: It downloads the full index.php file, with the downloaded file contents inside of it.
ANSWER
Aluminum bend allowance chart pdf. Practical tolerances vary according to the design requirements. Tolerances of +/-.010 should be considered minimum.
I copied this from http://php.net/manual/en/function.readfile.php and it's working now. It seems that : ob_clean(); did the trick! Thanks for the help everyone.
skolind
skolindskolind94466 gold badges2222 silver badges4444 bronze badges
2 Answers
Try this function , or implement these headers to your code
SagarPPanchal6,74866 gold badges2929 silver badges5454 bronze badges
Free Php Script Youtube Download
Erdinç ÇorbacıErdinç Çorbacı
I copied this from http://php.net/manual/en/function.readfile.php and it works now. ob_clean(); did the trick.
skolindskolind94466 gold badges2222 silver badges4444 bronze badges
Not the answer you're looking for? Browse other questions tagged php or ask your own question.
Free Php Games Scripts Download
- The domain on which the games are all hosted has expired, so none of them work at all. Would be nice if they could be added to the download here so they could be hosted on one's own server.
- Scripts working fine, but you gotta edit the mysql cuz there are no games with it at all..and you gotta manually add the games in yourself thru the mysql cuz theres no admin panel with it that I see.
- The script has been installed but the pictures did not show up! hguhf-games.com
- very good script, but old and need to do some work on it. design, ajax should add to give new life to the script. this give me motivation to build a new flash game script, i posted it here sourceforge.net/projects/flashgamesscript/
- Works good for the most part. 'Board', 'Driving', and 'Sports' games don't work at all. Everything else does though..