Re: create file after form completion
| From: | Pau | Date: | Sat, 29 Oct 2011 19:12:48 +0000 |
| Subject: | Re: create file after form completion | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315541@lists.php.net to get a copy of this message | ||
Hi,
>
> Please try not to top post.
sorry, but I do not understand the expression (I am not native, as you
might have guessed). Do you mean not to include the email in my reply?
Sorry about that.
>
> To create a file, look into the fopen() function on php.net, which has plenty of examples on
> how to create a file. Creating one with a new name to avoid conflicts with other files on the system
> is a little more tricky, but it's not too difficult.
I will look into that, thanks.
>
> What I asked in my earlier post though was whether you really need to create a new HTML file
> from PHP or you just need to display the results to the user?
>
I really would like to create the file, if it is not too much trouble.
The user will not get to see the results until the file and contents
are checked.
thanks,
Pau
> --
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>