{"id":88,"date":"2013-01-05T21:15:13","date_gmt":"2013-01-05T13:15:13","guid":{"rendered":"http:\/\/140.112.31.82\/wordpress\/?p=88"},"modified":"2013-01-05T21:15:13","modified_gmt":"2013-01-05T13:15:13","slug":"%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b","status":"publish","type":"post","link":"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b","title":{"rendered":"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b"},"content":{"rendered":"<p><span style=\"color: #0000ff;\"><strong>login1.php<\/strong><\/span><\/p>\n<p>&lt;html&gt;<br \/>\n&lt;form <span style=\"color: #008000;\">action=\"login2.php\"<\/span> method=\"post\" name=\"form1&#8243;&gt;&lt;br&gt;<br \/>\nInput your data:&lt;br&gt;<br \/>\n&lt;input name=\"name\" type=\"text\" value=\"\"&gt;&lt;br&gt;<br \/>\n&lt;input name=\"pwd\" type=\"text\" value=\"\"&gt;&lt;br&gt;<br \/>\n&lt;input name=\"email\" type=\"text\" value=\"\"&gt;&lt;br&gt;<br \/>\n&lt;input name=\"submit\" type=\"submit\" value=\"GO\"&gt;&lt;br&gt;<br \/>\n&lt;\/form&gt;<br \/>\n&lt;\/html&gt;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p><span style=\"color: #0000ff;\"><strong>login2.php<\/strong><\/span><\/p>\n<p>&lt;?php<br \/>\n<span style=\"color: #008000;\">session_start();<\/span><br \/>\n$_SESSION[&#8220;name\"]=$_POST[&#8220;name\"];<br \/>\n$_SESSION[&#8220;pwd\"]=$_POST[&#8220;pwd\"];<br \/>\n$_SESSION[&#8220;email\"]=$_POST[&#8220;email\"];<br \/>\necho &#8220;name:\".$_SESSION[&#8220;name\"].\"&lt;br&gt;\";<br \/>\necho &#8220;pwd:\".$_SESSION[&#8220;pwd\"].\"&lt;br&gt;\";<br \/>\necho &#8220;email:\".$_SESSION[&#8220;email\"].\"&lt;br&gt;\";<br \/>\n?&gt;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p><span style=\"color: #0000ff;\"><strong>WebForm1.aspx<\/strong><\/span><\/p>\n<p>protected void Button1_Click(object sender, EventArgs e)<br \/>\n{<br \/>\nSession.Add(&#8220;name\", TextBox1.Text);<br \/>\nSession.Add(&#8220;pwd\", TextBox2.Text);<br \/>\nSession.Add(&#8220;email\", TextBox3.Text);<\/p>\n<p><span style=\"color: #008000;\">\/\/\u91cd\u65b0\u5c0e\u5411\u65b0\u7684\u9801\u9762<\/span><br \/>\n<span style=\"color: #008000;\">Response.Redirect(&#8220;WebForm2.aspx\");<\/span><br \/>\n}<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>WebForm2.aspx<\/strong><\/span><\/p>\n<p><span style=\"color: #008000;\">\/\/\u65bcpage_load\u57f7\u884c\u4e0b\u5217\u7a0b\u5f0f\u78bc<\/span><\/p>\n<p>if (Session[&#8220;name\"] != null)<br \/>\n{<br \/>\nResponse.Write(&#8220;name:\" + Session[&#8220;name\"].ToString()+\"&lt;br&gt;\");<br \/>\nResponse.Write(&#8220;pwd:\" + Session[&#8220;pwd\"].ToString() + &#8220;&lt;br&gt;\");<br \/>\nResponse.Write(&#8220;email:\" + Session[&#8220;email\"].ToString() + &#8220;&lt;br&gt;\");<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nResponse.Write(&#8220;no session data\");<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>login1.php &lt;html&gt; &lt;form action=\"login2.php\" method=\"post\" name=\"form1&#8243;&gt;&lt;br&gt; Input your data:&lt;br&gt; &lt;input name=\"name\" type=\"text\" value=\"\"&gt;&lt;br&gt; &lt;input name=\"pwd\" type=\"text\" value=\"\"&gt;&lt;br&gt; &lt;input name=\"email\" type=\"text\" value=\"\"&gt;&lt;br&gt; &lt;input name=\"submit\" type=\"submit\" value=\"GO\"&gt;&lt;br&gt; &lt;\/form&gt; &lt;\/html&gt; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- login2.php &lt;?php session_start(); $_SESSION[&#8220;name\"]=$_POST[&#8220;name\"]; $_SESSION[&#8220;pwd\"]=$_POST[&#8220;pwd\"]; $_SESSION[&#8220;email\"]=$_POST[&#8220;email\"]; echo &#8220;name:\".$_SESSION[&#8220;name\"].\"&lt;br&gt;\"; echo &#8220;pwd:\".$_SESSION[&#8220;pwd\"].\"&lt;br&gt;\"; echo &#8220;email:\".$_SESSION[&#8220;email\"].\"&lt;br&gt;\"; ?&gt; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- WebForm1.aspx protected void Button1_Click(object sender, EventArgs e) { Session.Add(&#8220;name\", TextBox1.Text); Session.Add(&#8220;pwd\", TextBox2.Text); Session.Add(&#8220;email\", &hellip; <a href=\"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[4],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)<\/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:\/\/cflin.com\/wordpress\/88\/\u7b2c11\u5802-\u8ab2\u7a0b\u7bc4\u4f8b\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\" \/>\n<meta property=\"og:description\" content=\"login1.php &lt;html&gt; &lt;form action=&quot;login2.php&quot; method=&quot;post&quot; name=&quot;form1&#8243;&gt;&lt;br&gt; Input your data:&lt;br&gt; &lt;input name=&quot;name&quot; type=&quot;text&quot; value=&quot;&quot;&gt;&lt;br&gt; &lt;input name=&quot;pwd&quot; type=&quot;text&quot; value=&quot;&quot;&gt;&lt;br&gt; &lt;input name=&quot;email&quot; type=&quot;text&quot; value=&quot;&quot;&gt;&lt;br&gt; &lt;input name=&quot;submit&quot; type=&quot;submit&quot; value=&quot;GO&quot;&gt;&lt;br&gt; &lt;\/form&gt; &lt;\/html&gt; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- login2.php &lt;?php session_start(); $_SESSION[&#8220;name&quot;]=$_POST[&#8220;name&quot;]; $_SESSION[&#8220;pwd&quot;]=$_POST[&#8220;pwd&quot;]; $_SESSION[&#8220;email&quot;]=$_POST[&#8220;email&quot;]; echo &#8220;name:&quot;.$_SESSION[&#8220;name&quot;].&quot;&lt;br&gt;&quot;; echo &#8220;pwd:&quot;.$_SESSION[&#8220;pwd&quot;].&quot;&lt;br&gt;&quot;; echo &#8220;email:&quot;.$_SESSION[&#8220;email&quot;].&quot;&lt;br&gt;&quot;; ?&gt; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- WebForm1.aspx protected void Button1_Click(object sender, EventArgs e) { Session.Add(&#8220;name&quot;, TextBox1.Text); Session.Add(&#8220;pwd&quot;, TextBox2.Text); Session.Add(&#8220;email&quot;, &hellip; \u95b1\u8b80\u5168\u6587 [\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cflin.com\/wordpress\/88\/\u7b2c11\u5802-\u8ab2\u7a0b\u7bc4\u4f8b\" \/>\n<meta property=\"og:site_name\" content=\"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-05T13:15:13+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Chifu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cflin.com\/wordpress\/#website\",\"url\":\"https:\/\/cflin.com\/wordpress\/\",\"name\":\"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\",\"description\":\"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed python \u8ab2\u7a0b\u76f8\u95dc\u8cc7\u6599\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cflin.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b#webpage\",\"url\":\"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b\",\"name\":\"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)\",\"isPartOf\":{\"@id\":\"https:\/\/cflin.com\/wordpress\/#website\"},\"datePublished\":\"2013-01-05T13:15:13+00:00\",\"dateModified\":\"2013-01-05T13:15:13+00:00\",\"author\":{\"@id\":\"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa\"},\"breadcrumb\":{\"@id\":\"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/cflin.com\/wordpress\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa\",\"name\":\"Chifu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g\",\"caption\":\"Chifu\"},\"sameAs\":[\"http:\/\/cflin.com\"],\"url\":\"https:\/\/cflin.com\/wordpress\/author\/daky\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","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:\/\/cflin.com\/wordpress\/88\/\u7b2c11\u5802-\u8ab2\u7a0b\u7bc4\u4f8b","og_locale":"zh_TW","og_type":"article","og_title":"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","og_description":"login1.php &lt;html&gt; &lt;form action=\"login2.php\" method=\"post\" name=\"form1&#8243;&gt;&lt;br&gt; Input your data:&lt;br&gt; &lt;input name=\"name\" type=\"text\" value=\"\"&gt;&lt;br&gt; &lt;input name=\"pwd\" type=\"text\" value=\"\"&gt;&lt;br&gt; &lt;input name=\"email\" type=\"text\" value=\"\"&gt;&lt;br&gt; &lt;input name=\"submit\" type=\"submit\" value=\"GO\"&gt;&lt;br&gt; &lt;\/form&gt; &lt;\/html&gt; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- login2.php &lt;?php session_start(); $_SESSION[&#8220;name\"]=$_POST[&#8220;name\"]; $_SESSION[&#8220;pwd\"]=$_POST[&#8220;pwd\"]; $_SESSION[&#8220;email\"]=$_POST[&#8220;email\"]; echo &#8220;name:\".$_SESSION[&#8220;name\"].\"&lt;br&gt;\"; echo &#8220;pwd:\".$_SESSION[&#8220;pwd\"].\"&lt;br&gt;\"; echo &#8220;email:\".$_SESSION[&#8220;email\"].\"&lt;br&gt;\"; ?&gt; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- WebForm1.aspx protected void Button1_Click(object sender, EventArgs e) { Session.Add(&#8220;name\", TextBox1.Text); Session.Add(&#8220;pwd\", TextBox2.Text); Session.Add(&#8220;email\", &hellip; \u95b1\u8b80\u5168\u6587 [\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b &rarr;","og_url":"https:\/\/cflin.com\/wordpress\/88\/\u7b2c11\u5802-\u8ab2\u7a0b\u7bc4\u4f8b","og_site_name":"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","article_published_time":"2013-01-05T13:15:13+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Chifu","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/cflin.com\/wordpress\/#website","url":"https:\/\/cflin.com\/wordpress\/","name":"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","description":"\u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed python \u8ab2\u7a0b\u76f8\u95dc\u8cc7\u6599","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cflin.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b#webpage","url":"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b","name":"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b - \u53f0\u5927\u7cfb\u7d71\u8a13\u7df4\u73ed\u8ab2\u7a0b\u7db2\u9801 (\u6797\u5947\u8ce6)","isPartOf":{"@id":"https:\/\/cflin.com\/wordpress\/#website"},"datePublished":"2013-01-05T13:15:13+00:00","dateModified":"2013-01-05T13:15:13+00:00","author":{"@id":"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa"},"breadcrumb":{"@id":"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cflin.com\/wordpress\/88\/%e7%ac%ac11%e5%a0%82-%e8%aa%b2%e7%a8%8b%e7%af%84%e4%be%8b#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/cflin.com\/wordpress"},{"@type":"ListItem","position":2,"name":"[\u7b2c11\u5802] \u8ab2\u7a0b\u7bc4\u4f8b"}]},{"@type":"Person","@id":"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/fcc9937e50465bfaa039229ad12d89aa","name":"Chifu","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/cflin.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/83c3d40c89fb05d334f2a3eddcfb4ac7?s=96&d=mm&r=g","caption":"Chifu"},"sameAs":["http:\/\/cflin.com"],"url":"https:\/\/cflin.com\/wordpress\/author\/daky"}]}},"_links":{"self":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/posts\/88"}],"collection":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":0,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cflin.com\/wordpress\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}