Ok, i want to lean PHP. Do i have to have it on the internet to write it, or can i write it and keep it on my home computer like HTML?
Printable View
Ok, i want to lean PHP. Do i have to have it on the internet to write it, or can i write it and keep it on my home computer like HTML?
Anyone?
I practice on my home computer...
go to http://www.php.net and download the latest release for windows.
and when you install it, make sure you do not install the optimized ini file.
I did that... and it took me a while to figure out that I needed to turn register_globals on.... (I needed to retrieve the querystring from a website)
PHP is an AWESOME language...
like D!M said, it's server side,
and it's a mixture of Perl and C++,
the most perl-like feature is the way variables are used.
I am starting a business soon, and the WHOLE website will be made using PHP... And MySQL(MySQL is a relational database system,... one of the best and it's free, http://www.mysql.com , another good one is http://www.postgresql.com , I think it's only for linux though :rolleyes: )Code:$myvar = "Hello"; //string
$myvar2 = 53 //integer
$myvar3 = 3.14 //double
$myvar4[0] = "test"; //arrays in PHP can have
$myvar4[1] = 3; // mixed datatypes :D
Have fun,.... :D
also, you need to have Personal Web Server or Internet Information Service, or Apache, or something....
PWS is located here on most computers:
c:\windows\options\cabs\pws
you have to have Win2k, or WinNT to have IIS, and you can download apache at http://www.apache.org
[Edited by denniswrenn on 10-09-2000 at 08:14 AM]
What if I don't have PWS or any server thing.Can i still code and test php on my Win95? Will IE open local php pages?
I am sure you have PWS......
go to
c:\windows\options\cabs\pws
if that doesn't exist... try your win95 CD....
<driveletter>:\windows\options\cabs\pws
and if you don't have it at all... you can download apache... from apache.org
I never successfuly got it to work with PHP.. but maybe you'll have better luck....
VS6.0 Disk 2 has PWS, install NT Option Pack for Windows 9x.
PWS is also free to download from the Microsoft website.