{"id":24438722,"url":"https://github.com/anower77/php","last_synced_at":"2025-03-14T00:13:15.381Z","repository":{"id":185242774,"uuid":"588784542","full_name":"Anower77/PHP","owner":"Anower77","description":"Basic php -- ","archived":false,"fork":false,"pushed_at":"2023-01-29T09:47:53.000Z","size":252,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T19:17:32.685Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Anower77.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}},"created_at":"2023-01-14T01:56:59.000Z","updated_at":"2023-01-14T02:24:17.000Z","dependencies_parsed_at":"2023-08-01T08:03:06.307Z","dependency_job_id":null,"html_url":"https://github.com/Anower77/PHP","commit_stats":null,"previous_names":["anower77/php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anower77%2FPHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anower77%2FPHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anower77%2FPHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anower77%2FPHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anower77","download_url":"https://codeload.github.com/Anower77/PHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243500798,"owners_count":20300774,"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","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":[],"created_at":"2025-01-20T19:17:35.433Z","updated_at":"2025-03-14T00:13:15.351Z","avatar_url":"https://github.com/Anower77.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### __Object Oriented Programming (OOP)__\n\n```php\n\n\u003c?php\n\n    Class MyName{\n\n        public $a, $b, $c;//propertise\n\n\n        // construtor\n        public function __construct($x, $y){\n            $this-\u003ea = $x;\n            $this-\u003eb = $y;\n        }\n\n        //Access modifier - public, private, protected \n        public function addsum(){//methods\n            $this-\u003ec = $this-\u003ea + $this-\u003eb;\n            return \"Result: \" . $this-\u003ec;\n        }\n\n    }\n\n// object\n\n    $math = new MyName(200, 500);\n    echo $math-\u003eaddsum();\n\n    \n    echo \"\u003cbr/\u003e\";\n\n\n    $math = new MyName(500, 400);\n    echo $math-\u003eaddsum();\n\n?\u003e\n\n\n```\n\n\n## __Simple Project (PHP)__\n\n\n\u003ch3\u003eMain Program (html)\u003c/h2\u003e\n\n```html\n\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"UTF-8\"\u003e\n    \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n    \u003ctitle\u003eDocument\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n    \n\n    \u003cform action=\"contact.php\" method=\"POST\"\u003e\n\n        \u003clabel\u003eUser Name :\u003c/label\u003e\u003cbr\u003e\n        \u003cinput type=\"text\" name=\"username\"\u003e\u003cbr\u003e\n        \u003clabel\u003eE-mail :\u003c/label\u003e\u003cbr\u003e\n        \u003cinput type=\"email\" name=\"email\"\u003e\u003cbr\u003e\n        \u003clabel\u003ePassword :\u003c/label\u003e\u003cbr\u003e\n        \u003cinput type=\"password\" name=\"password\"\u003e\u003cbr\u003e\n\n    \u003c!-- button --\u003e\n        \u003cbr\u003e\n        \u003cinput type=\"submit\" name=\"submit\" value=\"Submit Data\"\u003e\n\n    \u003c/form\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n\u003ch2\u003eContact page details\u003c/h3\u003e\n\n```php\n\u003c?php\n\n    if(isset($_POST['submit'])){\n        $username = $_POST['username'];\n        $email  = $_POST['email'];\n        $password = $_POST['password'];\n    }\n\n\n?\u003e\n \u003c!-- database --\u003e\n       \u003ch2\u003eUsername : \u003c?php if(isset($username)){\n            echo $username;\n        } ?\u003e\u003c/h2\u003e\n        \u003ch2\u003eE-amil : \u003c?php if(isset($email)){\n            echo $email;\n        } ?\u003e\u003c/h2\u003e\n        \u003ch2\u003ePassword : \u003c?php if(isset($password)){\n            echo $password;\n        } ?\u003e\u003c/h2\u003e\n\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanower77%2Fphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanower77%2Fphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanower77%2Fphp/lists"}