Re: Javascript and PHP??
| From: | Mikhail Avrekh | Date: | Wed, 03 Apr 2002 23:34:01 +0000 |
| Subject: | Re: Javascript and PHP?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91434@lists.php.net to get a copy of this message | ||
You can say something like:
<?$csv_filename= "whatever.csv";?>
<script language=javascript>
window.open("<?=$csv_filename?>",
"target",
"resizable,status,width=500,height=200");
</script>
On Wed, 3 Apr 2002, Joe Keilholz wrote:
> Hello All!
>
> I think this is a pretty simple question. I have a file that I am writing
> information to and when the process is complete, I am needing to send the
> file to the user. In Javascript all I would need to do is window.open() and
> the file would be sent to the user (it's a .csv file). How would I
> accomplish this in PHP? Can I incorporate Javascript into my PHP code? If
> so, how?
>
> Any help would be appreciated!
> Thanks!
> Joe Keilholz
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>