RE: [PHP-DB] Open file dialog box to save static file
| From: | Peter Lovatt | Date: | Sun, 12 May 2002 10:42:40 +0000 |
| Subject: | RE: [PHP-DB] Open file dialog box to save static file | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19132@lists.php.net to get a copy of this message | ||
Hi
you can use php to write the html to a file, rather than having to do it all
manually.
Look at
fopen()
Not sure if this is exactly what's needed, but it might be.
HTH
Peter
-----------------------------------------------
Excellence in internet and open source software
-----------------------------------------------
Sunmaia
www.sunmaia.net
info@sunmaia.net
tel. 0121-242-1473
-----------------------------------------------
> -----Original Message-----
> From: Howard Picken [mailto:howard@tasfamily.net.au]
> Sent: 12 May 2002 10:05
> To: php-db@lists.php.net
> Subject: [PHP-DB] Open file dialog box to save static file
>
>
> I'm looking for a way to do the following
>
> I've created a php/mysql site for my wife for various
> database lists she has.
>
> She uses PHP locally on our on web server to add/manage
> entries but a lot of the pages need to be static and uploaded
> to a specific site (no PHP/MySQL).
>
> So I've give her a link that calls another php page to "generate"
> and view the static page in the format she requires. She then has to
> view the source of that page hilight and copy it over the top
> of the old page on her PC, then upload it to the site.
>
> Now... what I would to be able to do is instead of her having to
> view source etc. I would like to be able to call up a Windows
> file save dialog box (maybe even going staright to the correct folder)
> so that the file can just be saved.
>
> I can't find anything in the PHP manual about this. Anyone done it
> or have any ideas?
>
> Howard
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>