Here’s how to control an Arduino remotely over the internet via HTML forms and/or CGI URL encoding… Link.