PDA

Click to See Complete Forum and Search --> : PHP Q's


Oct 8th, 2000, 11:47 AM
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?

Oct 8th, 2000, 09:12 PM
Anyone?

Dim
Oct 9th, 2000, 03:15 AM
nope...PHP is a server side language...you would have to have a hosting serviece that supports PHP.
I think you can find out more at PHP.net (http://www.php.net)
Plus if you want to learn php from scrap visit DevShed (http://www.devshed.com) It's a great resource.


Gl,
D!m

Oct 9th, 2000, 07:08 AM
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.


$myvar = "Hello"; //string

$myvar2 = 53 //integer

$myvar3 = 3.14 //double

$myvar4[0] = "test"; //arrays in PHP can have
$myvar4[1] = 3; // mixed datatypes :D



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: )

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]

rv2k
Oct 21st, 2000, 07:37 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?

Oct 21st, 2000, 08:13 AM
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....

CyberSurfer
Oct 21st, 2000, 09:10 AM
VS6.0 Disk 2 has PWS, install NT Option Pack for Windows 9x.

PWS is also free to download from the Microsoft website.