{"id":44,"date":"2013-01-11T13:58:14","date_gmt":"2013-01-11T13:58:14","guid":{"rendered":"http:\/\/www.tvarwebu.cz\/blog\/?p=44"},"modified":"2023-09-11T06:08:24","modified_gmt":"2023-09-11T06:08:24","slug":"php-post-name-max-length","status":"publish","type":"post","link":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/","title":{"rendered":"PHP &#8211; Post name max length"},"content":{"rendered":"<p>Hi everyone,<br \/>\nI have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on 64 characters. Hope that this information will help someone \ud83d\ude42<\/p>\n<pre line=\"1\" style=\"overflow-x: auto;\">\r\n\r\ninput type=\"text\" id=\"text1\" name=\"this_is_very_looooooooooooooooooooooooooooooooooooooooooong_name_which_will_not_submit_the_input\" value=\"text\"\r\n\r\n<\/pre>\n<p>Roman<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/\">Continue reading<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11,9,10,8],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-array","tag-bug","tag-key-length","tag-php-2","item-wrap"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Roman\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PHP \u2013 Post name max length | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-01-11T13:58:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-09-11T06:08:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PHP \u2013 Post name max length | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#article\",\"name\":\"PHP \\u2013 Post name max length | Tv\\u00e1\\u0159 Webu Blog\",\"headline\":\"PHP &#8211; Post name max length\",\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"},\"datePublished\":\"2013-01-11T13:58:14+00:00\",\"dateModified\":\"2023-09-11T06:08:24+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#webpage\"},\"articleSection\":\"Uncategorized, array, bug, key length, PHP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#listItem\",\"name\":\"PHP &#8211; Post name max length\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#listItem\",\"position\":3,\"name\":\"PHP &#8211; Post name max length\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/\",\"name\":\"Roman\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3fb2ba5d16295e8eb091051b3df18b6d67649a2ac98d04c1701f07a0bed876aa?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Roman\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/\",\"name\":\"PHP \\u2013 Post name max length | Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2013\\\/01\\\/php-post-name-max-length\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/roman\\\/#author\"},\"datePublished\":\"2013-01-11T13:58:14+00:00\",\"dateModified\":\"2023-09-11T06:08:24+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PHP \u2013 Post name max length | Tv\u00e1\u0159 Webu Blog","description":"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on","canonical_url":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#article","name":"PHP \u2013 Post name max length | Tv\u00e1\u0159 Webu Blog","headline":"PHP &#8211; Post name max length","author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author"},"publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"},"datePublished":"2013-01-11T13:58:14+00:00","dateModified":"2023-09-11T06:08:24+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#webpage"},"articleSection":"Uncategorized, array, bug, key length, PHP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tvarwebu.cz\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/#listItem","name":"Uncategorized"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/#listItem","position":2,"name":"Uncategorized","item":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#listItem","name":"PHP &#8211; Post name max length"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#listItem","position":3,"name":"PHP &#8211; Post name max length","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/#listItem","name":"Uncategorized"}}]},{"@type":"Organization","@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","url":"https:\/\/www.tvarwebu.cz\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author","url":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/","name":"Roman","image":{"@type":"ImageObject","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3fb2ba5d16295e8eb091051b3df18b6d67649a2ac98d04c1701f07a0bed876aa?s=96&d=mm&r=g","width":96,"height":96,"caption":"Roman"}},{"@type":"WebPage","@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#webpage","url":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/","name":"PHP \u2013 Post name max length | Tv\u00e1\u0159 Webu Blog","description":"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author"},"creator":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/roman\/#author"},"datePublished":"2013-01-11T13:58:14+00:00","dateModified":"2023-09-11T06:08:24+00:00"},{"@type":"WebSite","@id":"https:\/\/www.tvarwebu.cz\/blog\/#website","url":"https:\/\/www.tvarwebu.cz\/blog\/","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development","og:type":"article","og:title":"PHP \u2013 Post name max length | Tv\u00e1\u0159 Webu Blog","og:description":"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on","og:url":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/","article:published_time":"2013-01-11T13:58:14+00:00","article:modified_time":"2023-09-11T06:08:24+00:00","twitter:card":"summary_large_image","twitter:title":"PHP \u2013 Post name max length | Tv\u00e1\u0159 Webu Blog","twitter:description":"Hi everyone, I have found problem with PHP Version 5.3.2-1ubuntu4.18. When I tried to submit a form, values appeared in $HTTP_RAW_POST but there was nothing in $_POST. Problem was in legnth of name attribut. In other PHP versions is this length virtually unlimited, but in this version is length of each array key limited on"},"aioseo_meta_data":{"post_id":"44","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-07-15 07:33:19","updated":"2025-07-15 07:43:22","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/\" title=\"Uncategorized\">Uncategorized<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPHP \u2013 Post name max length\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tvarwebu.cz\/blog"},{"label":"Uncategorized","link":"https:\/\/www.tvarwebu.cz\/blog\/category\/uncategorized\/"},{"label":"PHP &#8211; Post name max length","link":"https:\/\/www.tvarwebu.cz\/blog\/2013\/01\/php-post-name-max-length\/"}],"_links":{"self":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":12,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}