PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

Archive for the ‘ Header ’ Category

Header Save Data in PHP – Force File Download Using PHP

If you want the user to be prompted to save the data you are sending, such as a generated PDF file, you can use the Content-Disposition header to supply a recommended filename and force the browser to display the save dialog.

(more…)

Tags: ,
Posted in: Header, PHP Basics
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Header Redirect Location in PHP

Here is how we redirect a page. The page will be redirected to specified URL.

(more…)

Tags: ,
Posted in: Header, PHP Basics, Redirection
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

    


  Subscribe Via RSS
  Subscribe Via Email