{"id":20356577,"url":"https://github.com/madhurimarawat/programming-in-php","last_synced_at":"2025-10-04T02:16:05.155Z","repository":{"id":188738285,"uuid":"679341424","full_name":"madhurimarawat/Programming-in-PHP","owner":"madhurimarawat","description":"This repository contains programs in the PHP programming language.","archived":false,"fork":false,"pushed_at":"2023-09-01T10:13:16.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T05:04:40.473Z","etag":null,"topics":["basic-programs","conditional-statements","data-types","do-while-loop","for-loop","foreach-loop","function-overloading","functions","get","ifelse","ifstatements","include","loops-and-patterns","operators","php","post","require","user-input","while-loop"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madhurimarawat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-16T16:11:44.000Z","updated_at":"2023-08-19T12:56:40.000Z","dependencies_parsed_at":"2025-01-15T01:21:20.946Z","dependency_job_id":null,"html_url":"https://github.com/madhurimarawat/Programming-in-PHP","commit_stats":null,"previous_names":["madhurimarawat/programming-in-php"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/madhurimarawat/Programming-in-PHP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FProgramming-in-PHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FProgramming-in-PHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FProgramming-in-PHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FProgramming-in-PHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madhurimarawat","download_url":"https://codeload.github.com/madhurimarawat/Programming-in-PHP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FProgramming-in-PHP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278254466,"owners_count":25956604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basic-programs","conditional-statements","data-types","do-while-loop","for-loop","foreach-loop","function-overloading","functions","get","ifelse","ifstatements","include","loops-and-patterns","operators","php","post","require","user-input","while-loop"],"created_at":"2024-11-14T23:17:04.924Z","updated_at":"2025-10-04T02:16:05.119Z","avatar_url":"https://github.com/madhurimarawat.png","language":"PHP","readme":"# Programming-in-PHP\nThis repository contains programs in the PHP programming language.\n\u003cimg src=\"https://github.com/madhurimarawat/Programming-in-PHP/assets/105432776/1f528bd4-bc32-4be5-b213-fa72b04e80b4\" height=400px width=600px\u003e\n# About PHP Programming\n--\u003e PHP is a general-purpose scripting language geared towards web development.\u003cbr\u003e\u003cbr\u003e\n--\u003e It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995.\u003cbr\u003e\u003cbr\u003e\n--\u003e PHP was originally an abbreviation of Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.\u003cbr\u003e\u003cbr\u003e\n--\u003e PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or a Common Gateway Interface (CGI) executable.\u003cbr\u003e\u003cbr\u003e\n--\u003e On a web server, the result of the interpreted and executed PHP code can be seen. \n\n---\n\n# Mode of Execution Used:  \u003cimg src=\"https://code.visualstudio.com/assets/images/code-stable.png\" title=\"Visual Studio Code\" alt=\"Visual Studio Code\" width=\"40\" height=\"40\"\u003e \u0026nbsp; \u003cimg src=\"https://www.apachefriends.org/images/xampp-logo-ac950edf.svg\" title=\"XAMPP Server\" alt=\"XAMPP Server\" width=\"40\" height=\"40\"\u003e\n--\u003e Since PHP is a server side scripting language, execution of PHP requires server.\u003cbr\u003e\u003cbr\u003e\n--\u003e XAMPP is used for accessing collected package for PHP.\u003cbr\u003e\n\n\u003ch2\u003eVisual Studio Code\u003c/h2\u003e\n--\u003e Visit the official website:\u0026nbsp; \u003ca href=\"https://code.visualstudio.com/download\"\u003e\u003cimg src=\"https://code.visualstudio.com/assets/images/code-stable.png\" title=\"Visual Studio Code\" alt=\"Visual Studio Code\" width=\"30\" height=\"30\"\u003e\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n--\u003e Download according to the platform that will be used like Linux, Macos or Windows.\u003cbr\u003e\u003cbr\u003e\n--\u003e Follow the setup wizard.\u003cbr\u003e\u003cbr\u003e\n--\u003e Create a new file with the extention of .php and then this file can be executed in the server.\n\u003ch2\u003eXAMPP\u003c/h2\u003e\n--\u003e X is for Platform as it is platform independent and can run on any platform like Windows, MACOS, Linux or UNIX.\u003cbr\u003e\u003cbr\u003e\n--\u003e A stands for Apache Server.This is the server on which PHP compilation is done and output is seen.\u003cbr\u003e\u003cbr\u003e\n--\u003e M is for MySQL. MySQL is Structured Query Language Database. It is used to connect PHP to database and take input directly to the database.\u003cbr\u003e\u003cbr\u003e\n--\u003e P is for PHP.\u003cbr\u003e\u003cbr\u003e\n--\u003e P is for Perl. It is another programming language included in this collected package.\u003cbr\u003e\n\n\u003ch1\u003eGetting Started with PHP\u003c/h1\u003e\n--\u003e First we need to download XAMPP from its official website:\u0026nbsp; \u003ca href=\"https://www.apachefriends.org/\"\u003e\u003cimg src=\"https://www.apachefriends.org/images/xampp-logo-ac950edf.svg\" height =30 width=30\u003e\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n--\u003e Download according to the platform that is going to be used.\u003cbr\u003e\u003cbr\u003e\n--\u003e After downloading, load the executble file and follow along the process.\u003cbr\u003e\u003cbr\u003e\n--\u003e After this, go to \u0026nbsp; \u003ca href=\"https://www.apachefriends.org/\"\u003e\u003cimg src=\"https://www.apachefriends.org/images/xampp-logo-ac950edf.svg\" height =30 width=30\u003e\u003c/a\u003e \u0026nbsp;and type localhost.\u003cbr\u003e\u003cbr\u003e\n--\u003e If environment is setup, it will show success.\u003cbr\u003e\u003cbr\u003e\n--\u003e Go to XAMPP control panel and start apache server.\u003cbr\u003e\u003cbr\u003e\n--\u003e After this create a PHP file in any editor like VS code and just give the path after localhost/path_link and you will get the output.\u003cbr\u003e\u003cbr\u003e\n\n---\n# Basic Datatypes\n\u003cimg src=\"https://github.com/madhurimarawat/Programming-in-PHP/assets/105432776/fd179d7b-1e0f-468b-bafd-15cc0eb25331\" height=400px width=620px\u003e\n\n---\n# Features of PHP\n\u003cimg src=\"https://static.javatpoint.com/phppages/images/php-features.png\" height=400px width=620px\u003e\n\n---\n# Frameworks of PHP\n\u003cimg src=\"https://github.com/madhurimarawat/Programming-in-PHP/assets/105432776/d21d747c-5b80-480e-be6d-cf987891b55f\" height=400px width=600px\u003e\n\n---\n\n## Thanks for Visiting 😄\n\nDrop a 🌟 if you find this repository useful.\u003cbr\u003e\u003cbr\u003e\nIf you have any doubts or suggestions, feel free to reach me.\u003cbr\u003e\u003cbr\u003e\n📫 How to reach me:  \u0026nbsp; [![Linkedin Badge](https://img.shields.io/badge/-madhurima-blue?style=flat\u0026logo=Linkedin\u0026logoColor=white)](https://www.linkedin.com/in/madhurima-rawat/) \u0026nbsp; \u0026nbsp;\n\u003ca href =\"mailto:rawatmadhurima@gmail.com\"\u003e\u003cimg src=\"https://github.com/madhurimarawat/Machine-Learning-Using-Python/assets/105432776/b6a0873a-e961-42c0-8fbf-ab65828c961a\" height=35 width=30 title=\"Mail Illustration\" alt=\"Mail Illustration📫\" \u003e \u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhurimarawat%2Fprogramming-in-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadhurimarawat%2Fprogramming-in-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhurimarawat%2Fprogramming-in-php/lists"}