I need to get the html of a file with a certain variable set in a directory on a server that isn't mine using PHP or javascript, and be able to place them in a variable.
I have to be able to add a variable onto the end of the static part of the URL so that it gets to the right page. Also, I have to set that variable by a click effect in a link tag, and all of them are diffrent. Also, can I please not have the code show unless it's called by the javascript?
Many thanks to ANYONE who can answer this.
Retrieving HTML of a PHP page not on my site with PHP
Moderator: General Moderators
-
freeone3000
- Forum Newbie
- Posts: 2
- Joined: Sat Sep 10, 2005 6:50 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
congratulations on your list of needs. You didn't really ask a question, however. This is a question and answer (mostly) forum. If you want someone to do the work for you, state the reasons someone should. Are you willing to pay or give the person compensation of some sort? What is this for? Please be descriptive, it can be, and often is helpful.

-
freeone3000
- Forum Newbie
- Posts: 2
- Joined: Sat Sep 10, 2005 6:50 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
If your server has allow_url_fopen (quite possibly does) on, you can simply use file_get_contents() if you can use a simple URL to fetch the information. If you can't use just a URL, then cURL, or several other systems to make an HTTP POST.