Jump to content
Sign in to follow this  
Piyush

write responsetext on a file

Recommended Posts

Piyush

$file=fileopen("c:\goog.html",8)
filewrite($file,$responseText);   responseTExt--which i got through XMLHTTP
FileFlush($file);saving the file...

But this did not wrote anything in the file...Is this code valid.....??

Thanks..

Edited by Piyush

[font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font]

Share this post


Link to post
Share on other sites
99ojo

Hi,

try

$file=fileopen("c:\goog.html",1) or

$file=fileopen("c:\goog.html",2)

If you need directory creation

$file=fileopen("c:\goog.html",9) or

$file=fileopen("c:\goog.html",10)

you will find more details in helpfile -> FileOpen

;-))

Stefan

Share this post


Link to post
Share on other sites
Piyush

Hi,

try

$file=fileopen("c:\goog.html",1) or

$file=fileopen("c:\goog.html",2)

If you need directory creation

$file=fileopen("c:\goog.html",9) or

$file=fileopen("c:\goog.html",10)

you will find more details in helpfile -> FileOpen

;-))

Stefan

is file flush right coomand to save file...

[font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font]

Share this post


Link to post
Share on other sites
somdcomputerguy

I don't find FileFlush in the help file. Is this a function you or someone else wrote? Try FileClose instead.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
Piyush

I don't find FileFlush in the help file. Is this a function you or someone else wrote? Try FileClose instead.

you should update your autoit...

do file close saves the file.....


[font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.