Page 1 of 1

Can a hosted PHP script browse thru a VPN?

Posted: Wed Jun 08, 2011 6:05 am
by FishHook
Hi, people,

I plan to register a domain,
and host it on a cheap, shared server with linux, cpanel, etc...
I want to upload and run a PHP script on that hosted server,
and a crontab will start it automatically at a certain time every day.

I want that PHP script to "browse" the internet thru a VPN service,
so that it looks like I am located in Phoenix, or Miami, or wherever.
It will browse a certain website (like ebay, for example),
and send a legit occassional email thru my domain server.
Is there any problem in that plan?

I'm assuming I will need to ask the VPN service provider to answer:
1. How do I tell the script to "sign-in" (with Username and Password)?
2. How do I tell the script to "change IPs" every so often?

Thanks for your assistance.

FishHook

Re: Can a hosted PHP script browse thru a VPN?

Posted: Tue Jun 14, 2011 12:17 pm
by Bebop
FishHook wrote: and host it on a cheap, shared server with linux, cpanel, etc...
If you say cheap VPS then the answer will be 'yes', you can get your PHP scripts to run through the VPN.

As for shared hosting, with no opportunity to install VPN client, I don't see how you could get it to work. The answer there may well be 'no'.