Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 1st Jun 2011, 11:33 AM   #1
HyperActive Warrior
 
Join Date: 2008
Posts: 457
Thanks: 112
Thanked 7 Times in 7 Posts
Default
Read and write from a text file on godaddy hosting with classic asp
Share on: 
fb share twitter share gplus share more share

Hi,

I'm trying to read and write from a text file via classic asp.

My site is hosted with godaddy, and users can create accounts.
What I want is to have a txt file with a list of available account names (for exampl number 1-10).
Then my code should read a line from the txt file, and then add a for example 'taken' before it. So that the list now looks like:

taken-1'
2
3

So basically I want to be able to read from a txt file as well as write to it.
I found some sample classic asp code, but I believe I have to set something up at godady to be able to read/write this text file.

Anybody know how to do this?

Also, anybody know how to add something in the beginning of a line in a txt file, alternatively delete the line?

Thanks alot, guys.

Best regards,
Thomas
ThomasTe is offline  
Closed Thread


Bookmarks

Tags
asp, classic, file, godaddy, hosting, read, text, write


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:09 PM.