Jump to content

Content Disposition header


aeroswat

Recommended Posts

So I've got this that is saving copies of certain tables in my database however I would like to know how to stop saving it. My web host automatically adds code to the bottom of every page. With my ajax calls I have simply been able to echo a string that the ajax knows to stop reading at that string however since this is content disposition is new to me I was wondering how I would do it with this... Here is what I am calling to start writing the file

header('Content-Disposition: attachment; filename="'.$_SESSION['SESS_FIRST_NAME']."_liveorders_".date('m_d_Y_h-iA').'.sql"');

Link to comment
https://forums.phpfreaks.com/topic/190805-content-disposition-header/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.