ok - i'm kinda stuck with a problem that i had before in a similar way... what i want to do is the following:
1.) user opens page http://www.domain.tld/edit.php?id=666
2.) browser launches the download dialog which will allow the user to save a file called index.php. index.php will only consist of the following line:
<? header("Location:file.php?id=666"); ?>
the file index.php does not exist on the server yet but gets created on the fly. its content depends on the id that the php file edit.php is called with. its id value should also appear in the index.php download.
i hope i could make this clear and ther is somebody out there to help me out!
thanks a lot!
sid