{"action":"created","comment":{"url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/comments/69299416","id":69299416,"diff_hunk":"@@ -0,0 +1,67 @@\n+<!DOCTYPE html>\n+<html>\n+<head>\n+\t<title>User Info</title>\n+\t<link rel=\"stylesheet\" type=\"text/css\" href=\"main.css\">\n+</head>\n+<body>\n+<header>\n+\t<h1>User Info</h1>\n+</header>\n+<main>\n+\t<?php\n+\t\t$fname=\"\";\n+\t\t$lname=\"\";\n+\t\t$pass=\"\";\n+\t\t$email=\"\";\n+\t\t$gender=\"\";\n+\t\t$country=\"\";\n+\t\t//assigning variables\n+\t\tif(isset($_POST['fname']) && isset($_POST['lname']) && isset($_POST['pass1']) && isset($_POST['pass2']) && isset($_POST['email1']) && isset($_POST['email2']) && isset($_POST['gender']) && isset($_POST['country'])) {\n+\t\t\t$fname = $_POST['fname'];\n+\t\t\t$lname = $_POST['lname'];\n+\t\t\t$gender = $_POST['gender'];\n+\t\t\t$country = $_POST['country'];\n+\t\t}\n+\t\t\n+\t\t//checks for incorrect form fields\n+\t\tif($_POST['pass1'] != $_POST['pass2']) {","path":"petar-stoyanov/homework6/user-info.php","position":28,"original_position":28,"commit_id":"055d12341d84d073eefb6b7d78241ce5b9520bca","original_commit_id":"055d12341d84d073eefb6b7d78241ce5b9520bca","user":{"login":"bozhidar-dimitrov","id":1126211,"avatar_url":"https://avatars.githubusercontent.com/u/1126211?v=3","gravatar_id":"","url":"https://api.github.com/users/bozhidar-dimitrov","html_url":"https://github.com/bozhidar-dimitrov","followers_url":"https://api.github.com/users/bozhidar-dimitrov/followers","following_url":"https://api.github.com/users/bozhidar-dimitrov/following{/other_user}","gists_url":"https://api.github.com/users/bozhidar-dimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/bozhidar-dimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bozhidar-dimitrov/subscriptions","organizations_url":"https://api.github.com/users/bozhidar-dimitrov/orgs","repos_url":"https://api.github.com/users/bozhidar-dimitrov/repos","events_url":"https://api.github.com/users/bozhidar-dimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/bozhidar-dimitrov/received_events","type":"User","site_admin":false},"body":"@petar-stoyanov7 \r\nIt is good practice to check whether the $_POST parameters are set before using them : )","created_at":"2016-07-01T13:31:14Z","updated_at":"2016-07-01T13:31:14Z","html_url":"https://github.com/bozhidar-projects/php-09.05.2016-homework/pull/6#discussion_r69299416","pull_request_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/comments/69299416"},"html":{"href":"https://github.com/bozhidar-projects/php-09.05.2016-homework/pull/6#discussion_r69299416"},"pull_request":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6","id":72381836,"html_url":"https://github.com/bozhidar-projects/php-09.05.2016-homework/pull/6","diff_url":"https://github.com/bozhidar-projects/php-09.05.2016-homework/pull/6.diff","patch_url":"https://github.com/bozhidar-projects/php-09.05.2016-homework/pull/6.patch","issue_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/issues/6","number":6,"state":"open","locked":false,"title":"HTML/CSS Homework","user":{"login":"petar-stoyanov7","id":19712786,"avatar_url":"https://avatars.githubusercontent.com/u/19712786?v=3","gravatar_id":"","url":"https://api.github.com/users/petar-stoyanov7","html_url":"https://github.com/petar-stoyanov7","followers_url":"https://api.github.com/users/petar-stoyanov7/followers","following_url":"https://api.github.com/users/petar-stoyanov7/following{/other_user}","gists_url":"https://api.github.com/users/petar-stoyanov7/gists{/gist_id}","starred_url":"https://api.github.com/users/petar-stoyanov7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petar-stoyanov7/subscriptions","organizations_url":"https://api.github.com/users/petar-stoyanov7/orgs","repos_url":"https://api.github.com/users/petar-stoyanov7/repos","events_url":"https://api.github.com/users/petar-stoyanov7/events{/privacy}","received_events_url":"https://api.github.com/users/petar-stoyanov7/received_events","type":"User","site_admin":false},"body":"My HTML/CSS Homework","created_at":"2016-06-02T17:00:39Z","updated_at":"2016-07-01T13:31:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"168a78bace99ad5e770d7df6ab99afa5015fcec0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6/commits","review_comments_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6/comments","review_comment_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/issues/6/comments","statuses_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/statuses/055d12341d84d073eefb6b7d78241ce5b9520bca","head":{"label":"petar-stoyanov7:master","ref":"master","sha":"055d12341d84d073eefb6b7d78241ce5b9520bca","user":{"login":"petar-stoyanov7","id":19712786,"avatar_url":"https://avatars.githubusercontent.com/u/19712786?v=3","gravatar_id":"","url":"https://api.github.com/users/petar-stoyanov7","html_url":"https://github.com/petar-stoyanov7","followers_url":"https://api.github.com/users/petar-stoyanov7/followers","following_url":"https://api.github.com/users/petar-stoyanov7/following{/other_user}","gists_url":"https://api.github.com/users/petar-stoyanov7/gists{/gist_id}","starred_url":"https://api.github.com/users/petar-stoyanov7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petar-stoyanov7/subscriptions","organizations_url":"https://api.github.com/users/petar-stoyanov7/orgs","repos_url":"https://api.github.com/users/petar-stoyanov7/repos","events_url":"https://api.github.com/users/petar-stoyanov7/events{/privacy}","received_events_url":"https://api.github.com/users/petar-stoyanov7/received_events","type":"User","site_admin":false},"repo":{"id":60279739,"name":"php-09.05.2016-homework","full_name":"petar-stoyanov7/php-09.05.2016-homework","owner":{"login":"petar-stoyanov7","id":19712786,"avatar_url":"https://avatars.githubusercontent.com/u/19712786?v=3","gravatar_id":"","url":"https://api.github.com/users/petar-stoyanov7","html_url":"https://github.com/petar-stoyanov7","followers_url":"https://api.github.com/users/petar-stoyanov7/followers","following_url":"https://api.github.com/users/petar-stoyanov7/following{/other_user}","gists_url":"https://api.github.com/users/petar-stoyanov7/gists{/gist_id}","starred_url":"https://api.github.com/users/petar-stoyanov7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petar-stoyanov7/subscriptions","organizations_url":"https://api.github.com/users/petar-stoyanov7/orgs","repos_url":"https://api.github.com/users/petar-stoyanov7/repos","events_url":"https://api.github.com/users/petar-stoyanov7/events{/privacy}","received_events_url":"https://api.github.com/users/petar-stoyanov7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petar-stoyanov7/php-09.05.2016-homework","description":"Homework submitted by course students.","fork":true,"url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework","forks_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/forks","keys_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/teams","hooks_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/hooks","issue_events_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/issues/events{/number}","events_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/events","assignees_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/assignees{/user}","branches_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/branches{/branch}","tags_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/tags","blobs_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/languages","stargazers_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/stargazers","contributors_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/contributors","subscribers_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/subscribers","subscription_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/subscription","commits_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/contents/{+path}","compare_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/merges","archive_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/downloads","issues_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/issues{/number}","pulls_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/labels{/name}","releases_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/releases{/id}","deployments_url":"https://api.github.com/repos/petar-stoyanov7/php-09.05.2016-homework/deployments","created_at":"2016-06-02T16:26:52Z","updated_at":"2016-06-22T12:42:19Z","pushed_at":"2016-06-23T09:54:17Z","git_url":"git://github.com/petar-stoyanov7/php-09.05.2016-homework.git","ssh_url":"git@github.com:petar-stoyanov7/php-09.05.2016-homework.git","clone_url":"https://github.com/petar-stoyanov7/php-09.05.2016-homework.git","svn_url":"https://github.com/petar-stoyanov7/php-09.05.2016-homework","homepage":null,"size":2926,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bozhidar-projects:master","ref":"master","sha":"d9ba3b349949bb55bd7858461a959327c55659fb","user":{"login":"bozhidar-projects","id":18416974,"avatar_url":"https://avatars.githubusercontent.com/u/18416974?v=3","gravatar_id":"","url":"https://api.github.com/users/bozhidar-projects","html_url":"https://github.com/bozhidar-projects","followers_url":"https://api.github.com/users/bozhidar-projects/followers","following_url":"https://api.github.com/users/bozhidar-projects/following{/other_user}","gists_url":"https://api.github.com/users/bozhidar-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/bozhidar-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bozhidar-projects/subscriptions","organizations_url":"https://api.github.com/users/bozhidar-projects/orgs","repos_url":"https://api.github.com/users/bozhidar-projects/repos","events_url":"https://api.github.com/users/bozhidar-projects/events{/privacy}","received_events_url":"https://api.github.com/users/bozhidar-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":60274690,"name":"php-09.05.2016-homework","full_name":"bozhidar-projects/php-09.05.2016-homework","owner":{"login":"bozhidar-projects","id":18416974,"avatar_url":"https://avatars.githubusercontent.com/u/18416974?v=3","gravatar_id":"","url":"https://api.github.com/users/bozhidar-projects","html_url":"https://github.com/bozhidar-projects","followers_url":"https://api.github.com/users/bozhidar-projects/followers","following_url":"https://api.github.com/users/bozhidar-projects/following{/other_user}","gists_url":"https://api.github.com/users/bozhidar-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/bozhidar-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bozhidar-projects/subscriptions","organizations_url":"https://api.github.com/users/bozhidar-projects/orgs","repos_url":"https://api.github.com/users/bozhidar-projects/repos","events_url":"https://api.github.com/users/bozhidar-projects/events{/privacy}","received_events_url":"https://api.github.com/users/bozhidar-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bozhidar-projects/php-09.05.2016-homework","description":"Homework submitted by course students.","fork":false,"url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework","forks_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/forks","keys_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/teams","hooks_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/hooks","issue_events_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/issues/events{/number}","events_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/events","assignees_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/assignees{/user}","branches_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/branches{/branch}","tags_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/tags","blobs_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/languages","stargazers_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/stargazers","contributors_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/contributors","subscribers_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/subscribers","subscription_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/subscription","commits_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/contents/{+path}","compare_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/merges","archive_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/downloads","issues_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/issues{/number}","pulls_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/labels{/name}","releases_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/releases{/id}","deployments_url":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/deployments","created_at":"2016-06-02T15:18:11Z","updated_at":"2016-06-20T12:30:21Z","pushed_at":"2016-07-01T12:53:53Z","git_url":"git://github.com/bozhidar-projects/php-09.05.2016-homework.git","ssh_url":"git@github.com:bozhidar-projects/php-09.05.2016-homework.git","clone_url":"https://github.com/bozhidar-projects/php-09.05.2016-homework.git","svn_url":"https://github.com/bozhidar-projects/php-09.05.2016-homework","homepage":null,"size":13582,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":4,"forks":12,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6"},"html":{"href":"https://github.com/bozhidar-projects/php-09.05.2016-homework/pull/6"},"issue":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/issues/6"},"comments":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/bozhidar-projects/php-09.05.2016-homework/statuses/055d12341d84d073eefb6b7d78241ce5b9520bca"}}}}
{"actor":{"display_login":"bozhidar-dimitrov"}}