On Thu, Aug 19, 2010 at 3:41 PM, Tasim Php <tasim...@rocketmail.com> wrote:

>
>
> Hello experts
>
> I have a problem in my despatch application.
>
> My application has a specific format for the specific letters.
>
> The letters are automatically created with the appropriate data.
>
> Till here every thing is fine.
>
> The problem is that I have a button on the top of the page and want to use
> it to
> create an HTML file in an specific location and save it with the specific
> name.
>
> Please help me out
>
> Tasim Khan
>
> [Non-text portions of this message have been removed]
>
> hi Tasim,
You have everything then wherez the problem.
If I understood the problem correctly then here is the logical flow -

Assumed : you already have HTML which you are going to write in file.

Step 1 : create file using fopen() in 'w+' mode which will create a file in
write mode, If file doesnt exists then will attempt to create it.
Step 2 : then move this file wherever you want using function copy()

Regards,
Shahu

>  
>



-- 
http://phpinterviewanswers.blogspot.com/


[Non-text portions of this message have been removed]



------------------------------------

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning. Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php_mysql/join
    (Yahoo! ID required)

<*> To change settings via email:
    php_mysql-dig...@yahoogroups.com 
    php_mysql-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    php_mysql-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to