wait, sorry i am not understanding. okay i got a couple of more questions.
let's say i have purchased a domain called www.mydomain.com and there are a couple of files under this domain like index.php, aboutus.php and contactus.php, then i create a subdomain called sub.mydomain.com where i save some php files for example a script that sends mail. so in the form on the contactus.php what will i place on the action ie <form method="post" action="?">
another question is in my website i have some php configuration files like the database connection and other scripts that perform important functions. however when i try to require a php file into one of my php pages i get an error. why is that and how can i include or require php files easily.
eg require("http://mydomain.com/phpfiles/myphpfile.php"); // does not work
thanks for all the help.