Force File Download

Posted by Pete | Posted in PHP Functions | Posted on 29-08-2009-05-2008

0

So you’ve got a file, but its not a .zip or .rar etc which automatically downloads through the browser, its a file such as .txt which opens up in the browser but you want it to be downloaded to the users computer automatically. Well this function will allow you to force the browser to accept it as a file to force download.
Read the rest of this entry »

Advertise On PK-Tuts

How to use Explode

Posted by Pete | Posted in PHP Tutorials | Posted on 17-07-2009-05-2008

2

The explode function is used to grab certain information out of a file or string. This tutorial will show you how to explode out of both a file and a string.

Explode Structure

explode  ( string $delimiter  , string $string  [, int $limit  ] )

Read the rest of this entry »

Tutorials Written By Peter Kelly