Save As...
Posted: Mon Jul 03, 2006 6:40 am
Sorry if this is already available, but I can't find it!
Put very simply - I need a Save As.. dialogue.
I have a php script that generates a csv file of equipment, and I want to give the user the option of saving it to their local machine. Currently it saves to a set directory, but that has a major potential flaw - what happens when the system goes live, and two people access the page within a couple of milliseconds of each other?!? I don't want a "join the queue" system, nor do I want to risk corrupted files.
I'm sure there's a quick and easy way of doing this - can anyone please point me to it?
Cheers,
DMGF
Put very simply - I need a Save As.. dialogue.
I have a php script that generates a csv file of equipment, and I want to give the user the option of saving it to their local machine. Currently it saves to a set directory, but that has a major potential flaw - what happens when the system goes live, and two people access the page within a couple of milliseconds of each other?!? I don't want a "join the queue" system, nor do I want to risk corrupted files.
I'm sure there's a quick and easy way of doing this - can anyone please point me to it?
Cheers,
DMGF