Re: Re: PHP extensions

From: Date: Fri, 11 Apr 2003 00:58:15 +0000
Subject: Re: Re: PHP extensions
References: 1 2 3 4  Groups: php.install 
Request: Send a blank email to php-install+get-10578@lists.php.net to get a copy of this message
Thanks John, That is the piece I was missing in my information about the way this works. I am used to working with HTML that you can open with your browser (no matter which browser you use). It did not occur to me that the server is not activated unless you force it through the server by either http://127.0.0.1/phpfile.php or http://YourIPnumber/phpfile.php (with your file in the htdocs directory ... or another if you define it in Apache). I got some part of this information on IRC last night, but I am just starting to learn about Zend Studio. Thanks for pointing me in the right direction. David John wrote: > If I understand correctly, you open My Computer, C:\myhtml and then > double-click on junk.php, but it opens in notepad, not IE. > > This is how it's supposed to happen. PHP is a server-side language. That > means the web server, be it Apache, IIS, whatever, must process the PHP code > to make it work. IE has no idea what to do with a .PHP file. If you > associate the .PHP extension with IE, then when you double-click on > junk.php, it will open in IE as a big text file, showing the PHP code. > > You MUST access these files through your web server. > http://127.0.0.1/junk.php > > For what it's worth, I have my .PHP extensions associated with the editor I > use (Zend Studio). When I double-click on junk.php, Zend Studio opens with > the code of junk.php in there. > > John > > "David Fleming" <ddallasnc@dslextreme.com> wrote in message > news:3E94CBBE.E976D3E9@dslextreme.com... > > > > Can I get feedback from a few people what it should say if you right click > on a > > php file and choose properties? Does it say opens with ... and have a > > application name, or does it say opens with : unknown application? > > > > Please help with this! > > > > Thanks, > > > > David > > > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#10578) next »