Ok this question may seem odd, but I'll do my best to explain it.
I'm writing a script for development purposes so this doesn't need to run in a browser, actually this would be a lot easier if it could, but it can't. I'm running it with:
# /usr/local/bin/php script.php
The script in question uses the Flickr API so it needs to connect to the internet. And here in lies the question. The way I'm connecting to the internet is through an ssh proxy. I run the command.
# ssh -D 1080 mchang@192.168.107.30
Is there a way to tell the script to connect through that proxy?