I heard someware that with windows xp i could set my
computer up as a server and the software to do it comes
free. is this is true will somebody please tell me how to
do it
Help (F1) > IIS > IIS Installation
Or you can use apache from
http://www.apache.org
Or you can search for free web servers. There are many.
I suggest first reading about web servers, DNS, scripting, security,
dynamic vs static web pages.
Your installation and configuration depends on what you want to do with
your web server, numbers of visitors, etc. A local web server used for
testing works great. A local web server for public access may not be so
great due to connection limitations, speed, security, DNS, ...
A better solution would be to test locally using a local web server then
use a hosting service to host your public web site.