Re: PHP extensions

From: Date: Thu, 10 Apr 2003 14:57:15 +0000
Subject: Re: PHP extensions
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-10572@lists.php.net to get a copy of this message
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 > > >

« previous php.install (#10572) next »