Re: a Question about PHP

From: Date: Sun, 25 Nov 2001 09:57:34 +0000
Subject: Re: a Question about PHP
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-7522@lists.php.net to get a copy of this message
> The thing is this. I would like to know if PHP is a language already > written into web browsers and you can just write something and it > will understand? Does it come as a standard, or is it something the > server uses. PHP is a server side language. This means you need a web server with a PHP set up correctly, and this way you can serve PHP pages. PHP commonly used to generate HTML output, although it can generate PDF, JPG, PNG, SWF and other kinf of files on the file, sending them to the browser. > I noticed that in the little introdution on the main page of your > site, you have that PHP is server based. I do not really understand > this. PHP needs to be on the server (in your case, on the server machine, correctly set up to communicate with WebStar Suite Server). > Another thing, if this is part of the server and not the client, > then does it come standard in all web servers. No, not all. The majority of Linux distributions now come with PHP. In Windows, you have no PHP at all by default, and this is the case in MacOS [X]. For MacOS, PHP runs only on MacOS X. You need to set up PHP yourself on MacOS, to get it work. See the MacOS link on our download page (http://www.php.net/downloads.php) in the left bar, if you would like to read more about MacOS X and PHP. > When I put in sample code in Golive, and tryed accessing it from > IE, it didn't work. You need the PHP parser on the server, appropriately set up with the web server to parse .php files for example. Then you need to save your files with .php extension, and see it with your browser. Goba [one webmaster@php.net]

« previous php.mirrors (#7522) next »