Posted 26 June 2006 - 09:02 AM
You can put them into a cookie which can then be read back by PHP, but only works if the user has cookies enabled.
You can put them in a form which the PHP script will get in the $_POST or $_GET array.
You can request a script from the server with the variables added as query parameters. This last one could be done in two ways. You either redirect the browser to that script, or you request it as if it were a file such as an image, but instead of trying to load say "dummy.jpg" or "dummy.png" you request "dummy.php?param=whatever". As long as it has query parameters it will not be cached and therefore will be run each time. The script would have to output a dummy image to send back to the browser, but there is nothing to stop it doing other work as long as it doesn't try to generate any HTML.
Sir Isaac Newton said "If I have seen farther, it is by standing on the shoulders of giants". But it is not recorded as to whether he said it before or after he was hit on the head by a falling apple.