Hi, basically I create a png image on the fly and that all works fine but when I go to save the image it's taking the name of the .php script used to create it as its default name.
e.g. I visit qrcode.php?id=1 00092 which creates a qrcode png image for "100092" which works fine. I then want to save this png image so I right click and pick "Save Picture As..." which displays a dialog that already has "File name:" filled in as "qrcode" which is from the .php script that was used to create the png image "qrcode.php?id= 100092". Can this be set because otherwise if someone wants to save several different qrcode png images when they come to save them they will all be defaulted to the filename "qrcode" even though they are different images. I wish to have already set the default filename for the user to the id so for the example specified above the default filename would be "100092". Hope this makes sense. Thanks.
e.g. I visit qrcode.php?id=1 00092 which creates a qrcode png image for "100092" which works fine. I then want to save this png image so I right click and pick "Save Picture As..." which displays a dialog that already has "File name:" filled in as "qrcode" which is from the .php script that was used to create the png image "qrcode.php?id= 100092". Can this be set because otherwise if someone wants to save several different qrcode png images when they come to save them they will all be defaulted to the filename "qrcode" even though they are different images. I wish to have already set the default filename for the user to the id so for the example specified above the default filename would be "100092". Hope this makes sense. Thanks.