PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The above codes work in firefox, but it does not work in IE. However, that is supposed to work for everything.
This php file currently simply generates the CSV file when someone links to it.
I was doing force-download though.. so this might not apply to your problem.
hanji
Thanks, but that didn't help.
the problem still remains for some strange reasons, IE would download my php file instead of the file name I told it to.
so I'd see would you like to open or save 'myphpname.php' ?? But of coz, like any standard php enbled servers, php files are not accessable to the www browser. hence ending up with an error message of unlocateable file myphpname.php
while in firefox, it see what I told it to save the file as, and it works.
The problem I am having is that the code is generated on the fly, because it will be linked to a database,
And since the site would be widely accessed, it would be impossible to save the contents to a local file and then have it send over since many users could be requesting at the same time which would then cause a problem.
So the codes as shown in the orignal post was to create a CSV on the fly with instant data.
This would work in Firefox, but it failed miserably in IE 6.