answersLogoWhite

0

PHP code can be stored in any kind of file -- the extension of the file indicates what said file contains, but may not necessarily be true.

The "php" extension is used to indicate PHP which is meant for execution and presentation.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Can a php file be valid without any php code?

PHP files are HTML files with any amount of PHP intermingled into it, so the file can be empty or only contain HTML and be valid, yes.


Where can one find PHP documents?

PHP documents are files that contain PHP codes, JavaScript, HTML, etc. which are executed via the server. PHP files that are stored in the computer can be found by typing ".php" in the search (this is the extension of PHP files).


Will php 4.4.7 server support php 5 files?

Yes php 4.4.7 server support php 5 files. But most of the php 5 features are not supported by php 4.4.7 version


How do you open php files in 3d max?

PHP is a programming language. Unless 3D max has a programming interface of some kind, you can't open php files with it. You can open a PHP file with notepad or any other text editor.


How do you get PHP codes for writing on an image?

You can use the GD extension for PHP to edit image files.


Does real player support php?

No it does not support PHP. PHP is a server side processing language while Real Player is a media player which playes audio and video files. Maybe it can play audio and video files located in php folder but that is limited to that.


Why does droid download as php files and not mpeg?

eregi


How can files be converted into HTML using PHP?

To rename a file in PHP the easiest way to do it is to use the rename() function. <?php rename("before.txt", "after.html"); ?>


What programming languages contain statements that can be used to delete and rename files?

BASIC, perhaps. In other languages (C, Pascal, PHP etc) it can be done via functions or procedures.


What program can read php file?

PHP files are plain text, so you can read them with your text editor or IDE of choice.


Why you need wamp server to run php file on web browser?

PHP Web Development and Running PHP application requires a lots of efforts and tools. For running PHP file on web browser we required a compiler which can convert php files to HTML files. And a web server like Wamp helps a php file to convert it to PHP. Basic Component of WAMP Server are : Wnodows : Which is our OS. Apache : Web server for responding with web pages. MySql : Databases Query and PHP


How can you run PHP files?

Use the 'include()' in your pages. Eg. include(link.php); ?> Normally PHP files are meant to be run through a web server which serves on a browser. What is outputted is the HTML of the page along with any information that is generated by php depending on the code inside the page. If you would like to run the PHP code from the command line you can using the php executable. If you are on a windows machine you can do the following: c:\php>php c:\websites\webroot\filename.php This will output the HTML that the PHP generates after being parse by PHP. You can also do this on Linux as follows: $->php /path/to/file.php