G'Day,

I would like to do the following when a user clicks on a link to this PHP
script. The script would be located on www.myserver.com but the page with
the link would be on a mirror say in Australia (www.someserver.com.au):

- Log info about the user download request to a text file
- Display a page ("Thankyou for downloading xxxx. If you download does not
start automatically..... etc.)
- Start a download of a file from a remote server based on the parameters to
the script

Eg:  Suppose that the page on www.someserver.com.au contained the following
link http://www.myserver.com/dnld.php?loc=au&file=somefile.zip

- Log info about the user download request to a text file

Write this info into a text file on www.myserver.com

- Display a page ("Thankyou for downloading xxxx. If you download does not
start automatically..... etc.)

Display the page in the user's browser

- Start a download of a file from a remote server based on the parameters to
the script

Essentially initiate http://www.someserver.com.au/somefile.zip

TIA

-- Donovan
----------------------------------------------------------------------------
----
E-Mail: [EMAIL PROTECTED]  Web: www.edye.wattle.id.au
"If I throw a stick will you go away?"
"Very funny Scotty. Now beam down my pants!"
GXExplorer - Freeware Delphi Windows Explorer Replacement
and Delphi Components www.gxexplorer.org
----------------------------------------------------------------------------
----



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to