niroshan
08-07-2007, 03:12 AM
Hi everyone,
I need to find out a way to park domains using PHP. I can park domains using my cpanel but what i needed to do is to create a script using PHP which will do that automatically. Only thing i accept from user is the domain name they want to park and thats it. the rest i want to handle through my program.
I have done some research and found out that all the park domain entries goto one file (httpd.conf)
My first question is can i do this using php? Is there any other way instead of writing the httpd.conf file? I dont want to mess with httpd.conf file since it contains all the configurations :o
If someone can point me to right direction i`ll be really appreciate it.
Thanks in advance,
Regards,
Niroshan
I need to find out a way to park domains using PHP. I can park domains using my cpanel but what i needed to do is to create a script using PHP which will do that automatically. Only thing i accept from user is the domain name they want to park and thats it. the rest i want to handle through my program.
I have done some research and found out that all the park domain entries goto one file (httpd.conf)
My first question is can i do this using php? Is there any other way instead of writing the httpd.conf file? I dont want to mess with httpd.conf file since it contains all the configurations :o
If someone can point me to right direction i`ll be really appreciate it.
Thanks in advance,
Regards,
Niroshan