PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in 1994.

PHP is a recursive acronym for "PHP: Hypertext Preprocessor".

PHP is a server side scripting language that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.

It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.

PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the Unix side. The MySQL server, once started, executes even very complex queries with huge result sets in record-setting time.

PHP supports a large number of major protocols such as POP3, IMAP, and LDAP. PHP4 added support for Java and distributed object architectures (COM and CORBA), making n-tier development a possibility for the first time.

PHP is forgiving: PHP language tries to be as forgiving as possible.

PHP Syntax is C-Like.

List of PHP basic programs with examples

  1. How to convert rupees into pound in PHP?
  2. Write a PHP program to check if a person is eligible to vote
  3. PHP Program To Display Text Messages
  4. Write a PHP script to get the client IP address
  5. How do you print sentence PHP is best programming language in PHP?
  6. Write a PHP script to get the names of the functions of a module
  7. Write a PHP script to get the directory path used for temporary files
  8. Write a PHP script to get the information about the operating system PHP is running on
  9. Write a PHP script to get the last occurred error
  10. Write a PHP script to delay the program execution for the given number of seconds
  11. write a php script to print current php version
  12. Write a PHP script to count number of lines in a file
  13. Write a PHP script to get last modified information of a file
  14. Write a PHP script to display source code of a webpage
  15. Write a PHP script to check whether the page is called from 'https' or 'http
  16. Write a simple PHP program to check that emails are valid
  17. Redirect a user to a different page
  18. Php print array in readable format
  19. Write a PHP script to get the current file name
  20. Write a simple PHP browser detection script
  21. Write a PHP script to get the PHP version and configuration information
  22. Write a PHP script to get the client IP address

List of PHP array programs with examples

List of PHP switch programs with examples

List of Loop programs with examples

List of String programs with examples

  1. Write a shell script that takes your name as input and display
  2. Write a PHP script to convert lowercase string to uppercase
  3. Write a PHP script to select first 4 words from the following string
  4. Write a PHP script to print letters from 'a' to 'z'.
  5. Write a PHP script to get the first word of a sentence
  6. Write a PHP script to remove comma(s) from the following numeric string
  7. Write a PHP script to remove all leading zeroes from a string
  8. Write a PHP script to insert a string at the specified position in a given string
  9. Write a PHP script to remove a part of a string from the beginning
  10. Write a PHP script to print the next character of a specific character
  11. Write a PHP script to generate simple random password from a given string
  12. Write a PHP script to Replace the first word with another word
  13. Write a PHP script to get the last three characters of a string
  14. Write a PHP script to extract the user name from the email ID
  15. Write a PHP script to split the following string
  16. Write a PHP script to convert first character of all the words uppercase
  17. Write a PHP script to convert first character uppercase
  18. Write a PHP script to convert uppercase string to lowercase
  19. Write a PHP script to convert lowercase string to uppercase

List of Advance programs with examples


Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post