# Load a URL from a txt file

**URL:** <https://forum.kirupa.com/t/load-a-url-from-a-txt-file/122611>\
**Category:** Uncategorized\
**Created:** [September 15, 2004, 9:44am UTC](https://forum.kirupa.com/t/load-a-url-from-a-txt-file/122611 "2004-09-15T09:44:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![who](https://avatars.discourse-cdn.com/v4/letter/w/cdc98d/32.png) [@who](https://forum.kirupa.com/u/who)\
**Post date:** [September 15, 2004, 9:44am UTC](https://forum.kirupa.com/t/load-a-url-from-a-txt-file/122611/1 "2004-09-15T09:44:43Z")

</div>

From this code…

```auto
 
my_ag = new LoadVars();
my_ko.sendAndLoad("http://myURL",my_ag, "POST"); 

```

I would like to load the URL - [http://myURL](http://myurl/) - from a txt file…

Do you have any suggestions?

Thanks in advance
