{"id":4983,"date":"2023-03-13T10:37:57","date_gmt":"2023-03-13T05:07:57","guid":{"rendered":"https:\/\/designcollection.in\/blog\/?p=4983"},"modified":"2024-11-11T15:36:39","modified_gmt":"2024-11-11T10:06:39","slug":"php-file-upload-to-server-with-mysql-database","status":"publish","type":"post","link":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/","title":{"rendered":"PHP File Upload to Server with MySQL Database"},"content":{"rendered":"<h1 class=\"my-2\">PHP File Upload to Server with MySQL Database<\/h1>\r\n\r\n<p class=\"my-2\">To upload a file from a <a class=\"text-primary\" target=\"blank\" href=\"https:\/\/www.php.net\/\" rel=\"noopener\">PHP<\/a> script to a server and save its details in a MySQL database, follow these steps:<\/p>\r\n\r\n<ul>\r\n<li class=\"my-2\"><p>First, create an HTML form with a file input field. This allows users to select a file to upload.<\/p><\/li>\r\n<li class=\"my-2\"><p><mark>Next, use PHP to handle the file upload when the form is submitted. The $_FILES superglobal array contains information about the uploaded file.<\/mark><\/p><\/li>\r\n<li class=\"my-2\"><p><mark>Then, move the uploaded file from the temporary directory to a permanent location on the server. Use the <a class=\"text-primary\" target=\"blank\" href=\"https:\/\/www.w3schools.com\/php\/func_filesystem_move_uploaded_file.asp#:\" rel=\"noopener\">move_uploaded_file()<\/a> function for this step.<\/mark><\/p><\/li>\r\n<li class=\"my-2\"><p>Finally, store the file information in a MySQL database. Connect to the database using PHP&#8217;s mysqli extension, and execute an SQL INSERT statement to add a new record to the database table.<\/p><\/li>\r\n<\/ul>\r\n\r\n<p class=\"my-2\">File uploads are a common feature in web applications. They allow users to upload images, documents, or other files to a server. PHP offers a built-in way to handle file uploads, and MySQL works well as a relational database to store uploaded file details.<\/p>\r\n\r\n<p class=\"my-2\">In this tutorial, we\u2019ll go through each step in uploading a file from a PHP script to a server and storing its details in a MySQL database. For this tutorial, some knowledge of HTML, PHP, and MySQL will be helpful.<\/p>\r\n\r\n<h4 class=\"my-2 text-center\">Step 1: Create an HTML Form<\/h4>\r\n\r\n<p class=\"my-2\">Start by creating an HTML form that lets users select a file to upload. This form should include a file input field and a submit button. The file input field enables users to browse their local file system to choose a file, while the submit button triggers the upload.<\/p>\r\n\r\n<p class=\"my-2\">Here\u2019s an example HTML form:<\/p>\r\n\r\n<img decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/php-scripts1.png\" alt=\"Example HTML form for PHP file upload with MySQL Database\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n\r\n<p class=\"my-2\">In this example, the form action points to &#8220;upload.php,&#8221; the PHP script that will handle the upload.<\/p>\r\n\r\n<h4 class=\"my-2 text-center\">Step 2: Handle the File Upload with PHP<\/h4>\r\n\r\n<p class=\"my-2\">Once the form is submitted, a PHP script will manage the file upload. The script should verify that the file uploaded successfully, move it to a permanent server location, and store its information in a MySQL database.<\/p>\r\n\r\n<p class=\"my-2\">Here\u2019s an example PHP script:<\/p>\r\n\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/php-scripts2.png\" alt=\"PHP code example for file upload with MySQL Database integration\" width=\"917\" height=\"589\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/php-scripts3.png\" alt=\"Handling PHP file upload and MySQL database storage\" width=\"1014\" height=\"513\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n\r\n<p class=\"my-2\">In this example, the script starts by defining database credentials and creating a connection to MySQL. Then, it handles the upload by checking if the form was submitted and retrieves file information using the $_FILES superglobal.<\/p>\r\n\r\n<p class=\"my-2\">Next, the script verifies if the file has an allowed extension (JPG, JPEG, PNG, or GIF). If valid, it moves the file to a permanent server location and stores its details in the <a class=\"text-primary\" target=\"blank\" href=\"https:\/\/www.mysql.com\/\" rel=\"noopener\">MySQL database<\/a> using an SQL INSERT statement.<\/p>\r\n\r\n<h4 class=\"my-2 text-center\">Step 3: Create a Database Table<\/h4>\r\n\r\n<p class=\"my-2\">Before the PHP script can save file details in the MySQL database, create a table to store this information. The table should have columns for the file name, size, type, and path.<\/p>\r\n\r\n<p class=\"my-2\">Here\u2019s an example SQL query to create the table:<\/p>\r\n\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/sqls.png\" alt=\"SQL query to create files table in MySQL database\" width=\"513\" height=\"182\" class=\"img-fluid img-thumbnail my-3\" \/>\r\n\r\n<p class=\"my-2\">This query creates a table named &#8220;files&#8221; with columns for the file name, size, type, and path. The id column serves as an auto-incrementing primary key, giving each row a unique value.<\/p>\r\n\r\n<h4 class=\"my-2 text-center\">Step 4: Test the File Upload<\/h4>\r\n\r\n<p class=\"my-2\">Now that the HTML form, PHP script, and MySQL table are set up, test the file upload by selecting a file and submitting the form. If everything works correctly, a success message should appear.<\/p>\r\n\r\n<p class=\"my-2\">After uploading the file, confirm that its details were saved in the MySQL database by running a SELECT query on the &#8220;files&#8221; table:<\/p>\r\n\r\n<p class=\"my-2\"><strong>SELECT * FROM files;<\/strong><\/p>\r\n\r\n<p class=\"my-2\">This query will display all uploaded files and their details.<\/p>\r\n\r\n<h4 class=\"my-2 text-center\">Conclusion<\/h4>\r\n\r\n<p class=\"my-2\">In this tutorial, we demonstrated how to upload files from a PHP script to a server and store their details in a MySQL database. By following these steps, you can add a file upload feature to your web application.<\/p>\r\n\r\n<p class=\"my-2\">Keep in mind, this is a basic example. Depending on your application\u2019s requirements, you may need to add extra features, such as limiting file sizes, sanitizing inputs to prevent SQL injection, or implementing file validation (e.g., minimum resolution for images).<\/p>\r\n\r\n<div class=\"d-flex text-center align-items-center justify-content-center flex-wrap\">\r\n    <h5 class=\"p-2 text-center\"><a class=\"text-decoration-none btn btn-outline-info\" target=\"blank\" href=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/script.zip\" rel=\"noopener\">Download Script<\/a><\/h5>\r\n<\/div>\r\n\r\n<h5><span class=\"badge bd-red-200 mx-1 text-capitalize text-muted fw-normal\">PHP<\/span><span class=\"badge bd-green-200 mx-1 text-capitalize text-muted fw-normal\">JavaScript<\/span><span class=\"badge bd-yellow-200 mx-1 text-capitalize text-muted fw-normal\">MySQL<\/span><span class=\"badge bd-cyan-200 text-capitalize mx-1 text-muted fw-normal\">Lead Generation<\/span><span class=\"badge bd-orange-200 mx-1 text-capitalize text-muted fw-normal\">Ajax<\/span><\/h5>\r\n","protected":false},"excerpt":{"rendered":"<p>PHP File Upload to Server with MySQL Database To upload a file from a PHP script to a server and save its details in a MySQL database, follow these steps: First, create an HTML form with a file input field. This allows users to select a file to upload. Next, use PHP to handle the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6356,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[282],"tags":[430,372,350,284],"class_list":["post-4983","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-ajax","tag-javascript","tag-mysql","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP File Upload with MySQL Database: Step-by-Step Guide<\/title>\n<meta name=\"description\" content=\"Learn PHP File Upload with MySQL Database in simple steps. Upload files, save to server, and store details efficiently.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP File Upload with MySQL Database: Step-by-Step Guide\" \/>\n<meta property=\"og:description\" content=\"Learn PHP File Upload with MySQL Database in simple steps. Upload files, save to server, and store details efficiently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog is an ocean of knowledge\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/designcollection.in\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-13T05:07:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-11T10:06:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/Untitled-design-6.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"designcollection\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"designcollection\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/\"},\"author\":{\"name\":\"designcollection\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67\"},\"headline\":\"PHP File Upload to Server with MySQL Database\",\"datePublished\":\"2023-03-13T05:07:57+00:00\",\"dateModified\":\"2024-11-11T10:06:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/\"},\"wordCount\":671,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\"},\"keywords\":[\"Ajax\",\"Javascript\",\"MYSQL\",\"PHP\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/\",\"url\":\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/\",\"name\":\"PHP File Upload with MySQL Database: Step-by-Step Guide\",\"isPartOf\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#website\"},\"datePublished\":\"2023-03-13T05:07:57+00:00\",\"dateModified\":\"2024-11-11T10:06:39+00:00\",\"description\":\"Learn PHP File Upload with MySQL Database in simple steps. Upload files, save to server, and store details efficiently.\",\"breadcrumb\":{\"@id\":\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/designcollection.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP File Upload to Server with MySQL Database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/designcollection.in\/blog\/#website\",\"url\":\"https:\/\/designcollection.in\/blog\/\",\"name\":\"Design Collection\",\"description\":\"Technology Tips, Tutorials, Learning &amp; How to Guides\",\"publisher\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\"},\"alternateName\":\"IT Services | Best Lead Generation Company In Indore - Design Collection\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/designcollection.in\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/designcollection.in\/blog\/#organization\",\"name\":\"Design Collection\",\"alternateName\":\"IT Services | Best Lead Generation Company In Indore - Design Collection\",\"url\":\"https:\/\/designcollection.in\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png\",\"contentUrl\":\"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png\",\"width\":240,\"height\":41,\"caption\":\"Design Collection\"},\"image\":{\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/designcollection.in\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67\",\"name\":\"designcollection\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/designcollection.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g\",\"caption\":\"designcollection\"},\"sameAs\":[\"https:\/\/designcollection.in\/blog\/\"],\"url\":\"https:\/\/designcollection.in\/blog\/author\/designcollection\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP File Upload with MySQL Database: Step-by-Step Guide","description":"Learn PHP File Upload with MySQL Database in simple steps. Upload files, save to server, and store details efficiently.","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:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/","og_locale":"en_US","og_type":"article","og_title":"PHP File Upload with MySQL Database: Step-by-Step Guide","og_description":"Learn PHP File Upload with MySQL Database in simple steps. Upload files, save to server, and store details efficiently.","og_url":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/","og_site_name":"Blog is an ocean of knowledge","article_publisher":"https:\/\/www.facebook.com\/designcollection.in","article_published_time":"2023-03-13T05:07:57+00:00","article_modified_time":"2024-11-11T10:06:39+00:00","og_image":[{"width":1200,"height":1000,"url":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2023\/03\/Untitled-design-6.jpg","type":"image\/jpeg"}],"author":"designcollection","twitter_card":"summary_large_image","twitter_misc":{"Written by":"designcollection","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#article","isPartOf":{"@id":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/"},"author":{"name":"designcollection","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67"},"headline":"PHP File Upload to Server with MySQL Database","datePublished":"2023-03-13T05:07:57+00:00","dateModified":"2024-11-11T10:06:39+00:00","mainEntityOfPage":{"@id":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/"},"wordCount":671,"commentCount":0,"publisher":{"@id":"https:\/\/designcollection.in\/blog\/#organization"},"keywords":["Ajax","Javascript","MYSQL","PHP"],"articleSection":["PHP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/","url":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/","name":"PHP File Upload with MySQL Database: Step-by-Step Guide","isPartOf":{"@id":"https:\/\/designcollection.in\/blog\/#website"},"datePublished":"2023-03-13T05:07:57+00:00","dateModified":"2024-11-11T10:06:39+00:00","description":"Learn PHP File Upload with MySQL Database in simple steps. Upload files, save to server, and store details efficiently.","breadcrumb":{"@id":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/designcollection.in\/blog\/php-file-upload-to-server-with-mysql-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/designcollection.in\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP File Upload to Server with MySQL Database"}]},{"@type":"WebSite","@id":"https:\/\/designcollection.in\/blog\/#website","url":"https:\/\/designcollection.in\/blog\/","name":"Design Collection","description":"Technology Tips, Tutorials, Learning &amp; How to Guides","publisher":{"@id":"https:\/\/designcollection.in\/blog\/#organization"},"alternateName":"IT Services | Best Lead Generation Company In Indore - Design Collection","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/designcollection.in\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/designcollection.in\/blog\/#organization","name":"Design Collection","alternateName":"IT Services | Best Lead Generation Company In Indore - Design Collection","url":"https:\/\/designcollection.in\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png","contentUrl":"https:\/\/designcollection.in\/blog\/wp-content\/uploads\/2022\/12\/design-collection.png","width":240,"height":41,"caption":"Design Collection"},"image":{"@id":"https:\/\/designcollection.in\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/designcollection.in"]},{"@type":"Person","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/612562f8760f1b42e074b2a2e84bdd67","name":"designcollection","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/designcollection.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e791d735751a16b72683b42279ea62b4bcfcbe6dd200da2f7240cdeae878c3ff?s=96&d=mm&r=g","caption":"designcollection"},"sameAs":["https:\/\/designcollection.in\/blog\/"],"url":"https:\/\/designcollection.in\/blog\/author\/designcollection\/"}]}},"_links":{"self":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/4983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/comments?post=4983"}],"version-history":[{"count":11,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/4983\/revisions"}],"predecessor-version":[{"id":6357,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/posts\/4983\/revisions\/6357"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/media\/6356"}],"wp:attachment":[{"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/media?parent=4983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/categories?post=4983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/designcollection.in\/blog\/wp-json\/wp\/v2\/tags?post=4983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}