Not the very best language to create a desktopĪpplication with a graphical user interface, but if These scripts can also be used for simple text This type of usage is ideal for scripts regularlyĮxecuted using cron (on *nix or Linux) or Task Scheduler (on You only need the PHP parser to use it this way. ![]() Run on your home machine if you are just experimentingĬommand line scripting. You can access the PHP program output with a web browser, Run the web server, with a connected PHP installation. To make this work: the PHP parser (CGI or server This is the most traditionalĪnd main target field for PHP. There are three main areas where PHP scripts are used. So you can do anything any other CGI program can do, suchĪs collect form data, generate dynamic page content, or PHP is mainly focused on server-side scripting, ![]() In this process, no server-side interpretation is involved.Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Supported Protocols and Wrappers Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting User Submitted Data Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation GUI Extensions Keyboard Shortcuts ? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto searchĪnything. This differs from HTML generated pages, where the client merely makes a URL request to the server and the server directly answers the request by sending the page to the browser of the client. The executes the instructions and sends the result, so the appropriate information (HTML outputs of the script) back to the webserver and this sends it to the browser. If you create a PHP file and upload it to the server (or even work on the server itself), the server recognizes from the extension that this is a PHP document and sends it to the PHP interpreter. In simple terms, all that PHP does is done on the server. PHP works – as mentioned earlier – on the server-side. The prerequisite is the interaction of client, server, and PHP. THE OFFICIAL PHP WEBSITE TALKS ABOUT PHP AS AN ``HTML EMBEDDED SCRIPTING LANGUAGE`` AND IT MAKES IT PRETTY CLEAR HOW THE HTLM CODES AND PHP CODES GO TOGETHER. JUST BY THE SUFFIX, WITH WHICH THE DOCUMENTS ARE STORED, THE SERVER CAN RECOGNIZE THAT IT IS A PHP SCRIPT, AND EVEN SMALLEST WEB-APPLICATION SHOULD BE STARTED. ![]() THE PHP CODE CAN BE INTEGRATED DIRECTLY INTO HTML PAGES. PLATFORM INDEPENDENCE, WHEN USED ON THE INTERNET, DOES NOT MEAN THAT YOU NEED TO CHANGE THE SCRIPTS FOR THE CLIENTS VIEWING THE PHP WEB PAGES IN THE BROWSER, DEPENDING ON THE OPERATING SYSTEM. PHP TECHNOLOGIES, UNLIKE MOST OTHER PROGRAMMING LANGUAGES, THE SCRIPTS CAN BE EASILY ADAPTED TO ANOTHER PLATFORM. THIS MEANS IT RUNS ON ALL MAJOR LINUX AND WINDOWS VERSIONS AND WORKS WELL WITH MACINTOSH AND OS / 2. SO, WHEN WE WANT TO BUILD A BIG SOPHISTICATED SERVICE, WE USE PHP DEVELOPMENT BECAUSE ITS TYPE OF EXECUTION. THE RESULTS OF THE PROCESSING ARE, USUALLY. IN CONTRAST TO VARIOUS OTHER PROGRAMMING LANGUAGES THAT RUN ON THE CLIENT SIDE, OR ON THE USER'S COMPUTER, PHP EXECUTES ITS INSTRUCTIONS SERVER-SIDE – DIRECTLY ON THE SERVER.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |