Thanks for the tips.
I tried iis_add_server, but I don't get it to work.
iis_add_server("c:\\inetpub\\wwwroot\\", "php added", "127.0.0.1", "80",
"php.localhost", 1, 1);
I receive no errors (code -501 if I print the result), and no server in IIS.
Anyone done this before?
Im running on
PHP 5.0.3
IIS6
Win2003
-----Ursprungligt meddelande-----
Fr�n: Unknown W. Brackets [mailto:[EMAIL PROTECTED]
Skickat: den 24 februari 2005 08:04
Till: [email protected]
�mne: [PHP-WIN] Re: not so php related
Jocke,
Well, some things you can do with the "iisfunc" PECL extension. See:
http://www.php.net/ref.iisfunc
However, modifying the DNS isn't part of that. It sounds like you want
dnscmd.exe from the Windows Support Tools, found here:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/tools_howto.asp
Type dnscmd /? in a prompt for more information; you can pipe this was
exec, popen, system, and similar functions in PHP.
-[Unknown]
-------- Original Message --------
> Hi,
>
>
>
> Is there a way to add hosts in IIS6 and alias in DNS hosts from php or
> cmd. It would help me alot when I register a new customer.
>
>
>
> I know its not php related but if someone know please share.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php