>Hi,
>I just installed PHP via PHPTriad...I have a couple of simple questions I 
>hope you can answer....
>
>1)How do i know if this is running  a module or cgi version?

<?php phpinfo();?>

Look at the output in the top part.

You'll see CGI or ISAPI or ASAPI or whatever.

There's also a built-in function to detect it inside a PHP script if you
need it...  Forget the name, but it's in the manual.  http://php.net/

>I own 3 dot coms which are not being hosted...too expensive :-(( no job..:-((((((
>2)How can i host a test site on this? (I am on win2k pro)

Host them as in make them publicly available?...

You'll need somebody to do the DNS for you for starters, unless you want to
start running, errr, whatever Windoze uses instead of BIND, and that's going
to be a real pain...

A lot of the freebie DNS guys like http://register.com will "forward" your
DNS for you to a static IP, or you can get it cheap through places like
http://dyndns.org with a dynamic IP.  You have to install a little client
that runs and detects your IP change when you re-boot (or whatever) back to
dyndns so they know where you (your IP) moved to...

I gotta say, though, that with hosts running around $20.00 a month or less
(http://budgetweb.com), I don't understand how you can have domain names
that are "too expensive" to run that you'd want to throw on your home
computer...

You *probably* are violating the terms of service of your ISP for the home
network connection to run a web-server, and if you get any serious traffic
at all, you'll be cut off mercilessly.

Not that you can't do it, but you have to make sure there's not enough
bandwidth for you to pop up on their radar as a problem, or you can't even
surf any more cuz they've cut you off.

>when i run ipconfig /all from the command prompt this is what i get:
>blah blah
>blah blah
>blah blah
>
>ipaddress...............193.150.***.** (stars are to mask the real ip...I 
>know there are evil genus's on this list) ;-)
>default gateway.......193.150.***.*  (ditto)
>DHCP server........... blah
>DNS servers............blah

-- 
Like Music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to