Sign in to follow this  
Followers 0
Piyush

write responsetext on a file

5 posts in this topic

#1 ·  Posted (edited)

$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



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

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

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

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  
Followers 0