{"id":818,"date":"2016-08-06T11:59:24","date_gmt":"2016-08-06T06:29:24","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=818"},"modified":"2026-08-06T17:55:35","modified_gmt":"2026-08-06T12:25:35","slug":"basic-login-and-logout-using-php","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/","title":{"rendered":"Basic Login and Logout System Using PHP"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>A login system is one of the most common features in web applications. It allows users to authenticate themselves before accessing protected resources. PHP provides built-in session management, making it easy to implement a basic login and logout mechanism.<\/p>\n\n\n\n<p>This article demonstrates a simple PHP login system using MySQL and PHP sessions.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Note:<\/strong> The example below is intended for learning purposes. It uses the legacy <code>mysql_*<\/code> extension and stores passwords in plain text, which are no longer recommended for production environments.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Before you begin, ensure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP installed<\/li>\n\n\n\n<li>MySQL or MariaDB server<\/li>\n\n\n\n<li>Apache or another supported web server<\/li>\n\n\n\n<li>A database (e.g., <code>demo<\/code>)<\/li>\n\n\n\n<li>A user table (e.g., <code>reg<\/code>) containing username and password fields<\/li>\n<\/ul>\n\n\n\n<p><strong>Reference Links:<\/strong><br><a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-setup-mysql-and-create-a-user-on-ubuntu-24-04\/\" data-type=\"link\" data-id=\"https:\/\/pheonixsolutions.com\/blog\/how-to-setup-mysql-and-create-a-user-on-ubuntu-24-04\/\">How to Set Up MySQL and Create a User on Ubuntu 24.04<\/a><br><a href=\"https:\/\/pheonixsolutions.com\/blog\/install-apache2-php7-mysql-redhat-7-server\/\">Install Apache2, php7, mysql on Redhat 7 server<\/a><br><a href=\"https:\/\/pheonixsolutions.com\/blog\/install-apache-php-fpm-ubuntu-16\/\">Install Apache with php-fpm on Ubuntu 16<\/a><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Create the Login Page<\/h3>\n\n\n\n<p>Create a file named <code>login.php<\/code> and add the following code:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\n$query = mysql_connect(\"localhost\",\"root\",\"\");\nmysql_select_db(\"demo\",$query);\n\nsession_start();\n\nif(isset($_POST['send']))\n{\n    $name = $_POST['name'];\n    $password = $_POST['password'];\n\n    if($name != \"\" &amp;&amp; $password != \"\")\n    {\n        $s = mysql_query(\"SELECT * FROM reg WHERE name='$name' AND password='$password'\");\n        $a = mysql_fetch_array($s);\n        $count = mysql_num_rows($s);\n\n        if($count == 0)\n        {\n            echo \"User does not exist\";\n        }\n        else\n        {\n            $_SESSION['name'] = $a['name'];\n            header(\"Location:index.php\");\n        }\n    }\n}\n?>\n\n&lt;!DOCTYPE html>\n&lt;html>\n&lt;head>\n    &lt;title>Login&lt;\/title>\n&lt;\/head>\n&lt;body>\n\n&lt;form action=\"\" method=\"post\">\n&lt;table>\n&lt;tr>\n    &lt;td>Username&lt;\/td>\n    &lt;td>&lt;input type=\"text\" name=\"name\">&lt;\/td>\n&lt;\/tr>\n\n&lt;tr>\n    &lt;td>Password&lt;\/td>\n    &lt;td>&lt;input type=\"password\" name=\"password\">&lt;\/td>\n&lt;\/tr>\n\n&lt;tr>\n    &lt;td>&lt;input type=\"submit\" name=\"send\" value=\"Login\">&lt;\/td>\n&lt;\/tr>\n&lt;\/table>\n\n&lt;\/form>\n\n&lt;\/body>\n&lt;\/html><\/pre>\n\n\n\n<p>When valid credentials are entered, the username is stored in a session and the user is redirected to <code>index.php<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Create the Logout Page<\/h3>\n\n\n\n<p>Create a file named <code>logout.php<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\nsession_start();\nsession_destroy();\nheader(\"Location:login.php\");\n?><\/pre>\n\n\n\n<p>This script destroys the current session and redirects the user back to the login page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Test the Login System<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open <code>login.php<\/code> in your browser.<\/li>\n\n\n\n<li>Enter a valid username and password stored in the database.<\/li>\n\n\n\n<li>After successful authentication, you will be redirected to the application.<\/li>\n\n\n\n<li>Access <code>logout.php<\/code> to end the session and return to the login page.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>This example demonstrates a basic login and logout system using PHP sessions and a MySQL database. While it is suitable for understanding the authentication flow, it should not be used in production environments without improvements.<\/p>\n\n\n\n<p>For production applications, consider the following best practices:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <strong>MySQLi<\/strong> or <strong>PDO<\/strong> instead of the deprecated <code>mysql_*<\/code> functions.<\/li>\n\n\n\n<li>Store passwords securely using <code>password_hash()<\/code> and verify them with <code>password_verify()<\/code>.<\/li>\n\n\n\n<li>Use prepared statements to prevent SQL injection.<\/li>\n\n\n\n<li>Implement proper session management and input validation for enhanced security.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Related Article<\/h2>\n\n\n\n<p>To learn how to perform basic database operations in PHP, including <strong>Insert, Update, Delete, and Image Upload<\/strong>, refer to our previous guide:<\/p>\n\n\n\n<p><a href=\"https:\/\/pheonixsolutions.com\/blog\/basic-insert-delete-update-database-image-upload-using-php\/\">Basic insert, delete, update database &amp; Image upload using php?<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction A login system is one of the most common features in web applications. It allows users to authenticate themselves before accessing protected resources. PHP provides built-in session management, making it easy to implement a basic login and logout mechanism. This article demonstrates a simple PHP login system using MySQL&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Basic Login and Logout System Using PHP<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":{"0":"post-818","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-uncategorized","7":"h-entry","9":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Introduction A login system is one of the most common features in web applications. It allows users to authenticate themselves before accessing protected resources. PHP provides built-in session management, making it easy to implement a basic login and logout mechanism. This article demonstrates a simple PHP login system using MySQL&hellip; Continue Reading Basic Login and Logout System Using PHP\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-06T06:29:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-06T12:25:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3837\" \/>\n\t<meta property=\"og:image:height\" content=\"2540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"Basic Login and Logout System Using PHP\",\"datePublished\":\"2016-08-06T06:29:24+00:00\",\"dateModified\":\"2026-08-06T12:25:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/\"},\"wordCount\":356,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2016-08-06T06:29:24+00:00\",\"dateModified\":\"2026-08-06T12:25:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/basic-login-and-logout-using-php\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Basic Login and Logout System Using PHP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/pheonixsolutions.com\\\/blog\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Introduction A login system is one of the most common features in web applications. It allows users to authenticate themselves before accessing protected resources. PHP provides built-in session management, making it easy to implement a basic login and logout mechanism. This article demonstrates a simple PHP login system using MySQL&hellip; Continue Reading Basic Login and Logout System Using PHP","og_url":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2016-08-06T06:29:24+00:00","article_modified_time":"2026-08-06T12:25:35+00:00","og_image":[{"width":3837,"height":2540,"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"Basic Login and Logout System Using PHP","datePublished":"2016-08-06T06:29:24+00:00","dateModified":"2026-08-06T12:25:35+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/"},"wordCount":356,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/","url":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"datePublished":"2016-08-06T06:29:24+00:00","dateModified":"2026-08-06T12:25:35+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/basic-login-and-logout-using-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Basic Login and Logout System Using PHP"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/pheonixsolutions.com\/blog"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-dc","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=818"}],"version-history":[{"count":1,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/818\/revisions"}],"predecessor-version":[{"id":10698,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/818\/revisions\/10698"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}