<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=PHP-and-MySQL%2FC2%2FPOST-Variable%2FEnglish</id>
		<title>PHP-and-MySQL/C2/POST-Variable/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=PHP-and-MySQL%2FC2%2FPOST-Variable%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C2/POST-Variable/English&amp;action=history"/>
		<updated>2026-05-15T14:36:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C2/POST-Variable/English&amp;diff=544&amp;oldid=prev</id>
		<title>Chandrika: Created page with '{| border=1 !Time !Narration |- |0:00 |Welcome to the Spoken Tutorial on Post variable. Here I am going to use the same code as that of the 'get.php' page. The same one that I ha…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=PHP-and-MySQL/C2/POST-Variable/English&amp;diff=544&amp;oldid=prev"/>
				<updated>2012-11-29T06:40:25Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{| border=1 !Time !Narration |- |0:00 |Welcome to the Spoken Tutorial on Post variable. Here I am going to use the same code as that of the &amp;#039;get.php&amp;#039; page. The same one that I ha…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
!Time&lt;br /&gt;
!Narration&lt;br /&gt;
|-&lt;br /&gt;
|0:00&lt;br /&gt;
|Welcome to the Spoken Tutorial on Post variable. Here I am going to use the same code as that of the 'get.php' page. The same one that I have done in my 'get' variable tutorial.&lt;br /&gt;
|-&lt;br /&gt;
|0:10&lt;br /&gt;
|If you have not seen that already, please do so and then go through this tutorial. You will be able to know about all these codes.&lt;br /&gt;
|-&lt;br /&gt;
|0:16&lt;br /&gt;
|If you already know about these codes and you have not seen the 'get' tutorial, you are welcome to join us.&lt;br /&gt;
|-&lt;br /&gt;
|0:19&lt;br /&gt;
|I have got my page with my 'get' as previous &lt;br /&gt;
|-&lt;br /&gt;
|0:22&lt;br /&gt;
|I have got a new file called 'post.php'&lt;br /&gt;
|-&lt;br /&gt;
|0:25&lt;br /&gt;
|Actually, what I want to do is change this and post it as a post variable.&lt;br /&gt;
|-&lt;br /&gt;
|0:34&lt;br /&gt;
|Quite simply and logically I will just go through this and change it to post&lt;br /&gt;
|-&lt;br /&gt;
|0:38&lt;br /&gt;
|and here is what we call 'post' instead of 'get' and this will work&lt;br /&gt;
|-&lt;br /&gt;
|0:44&lt;br /&gt;
|Let me show you my post page&lt;br /&gt;
|-&lt;br /&gt;
|0:50&lt;br /&gt;
|there is nothing here. There is no question mark&lt;br /&gt;
|-&lt;br /&gt;
|0:53&lt;br /&gt;
|Let me type alex and click here. But nothing has come up&lt;br /&gt;
|-&lt;br /&gt;
|0:59&lt;br /&gt;
|that is why&lt;br /&gt;
|-&lt;br /&gt;
|1:00&lt;br /&gt;
|do remember if you are working with another file, you need to change the action&lt;br /&gt;
|-&lt;br /&gt;
|1:06&lt;br /&gt;
|let's refresh it&lt;br /&gt;
|-&lt;br /&gt;
|1:12&lt;br /&gt;
|I can see alex. Let me click here and this is hello alex&lt;br /&gt;
|-&lt;br /&gt;
|1:16&lt;br /&gt;
|next we are in the 'post.php' font and there is no question mark&lt;br /&gt;
|-&lt;br /&gt;
|1:20&lt;br /&gt;
|something has been taken across. It has been stored inside a post variable&lt;br /&gt;
|-&lt;br /&gt;
|1:29&lt;br /&gt;
|but why it is not showing two users&lt;br /&gt;
|-&lt;br /&gt;
|1:34&lt;br /&gt;
|this will be absolutely brilliant if we can say 'password' .Let's call this 'password'&lt;br /&gt;
|-&lt;br /&gt;
|1:44&lt;br /&gt;
|I'll say here 'thanks for your password' and let's go back&lt;br /&gt;
|-&lt;br /&gt;
|1:58&lt;br /&gt;
|and now, as you can see, this is a password field&lt;br /&gt;
|-&lt;br /&gt;
|2:03&lt;br /&gt;
|so I'll type 123 as my password and I click here&lt;br /&gt;
|-&lt;br /&gt;
|2:09&lt;br /&gt;
|it says, thanks for your password&lt;br /&gt;
|-&lt;br /&gt;
|2:11&lt;br /&gt;
|it has been stored. so it can be used. I can use it, if i want to&lt;br /&gt;
|-&lt;br /&gt;
|2:16&lt;br /&gt;
|I'll just change that. so it makes more sense&lt;br /&gt;
|-&lt;br /&gt;
|2:24&lt;br /&gt;
|let's do a refresh and resend the data&lt;br /&gt;
|-&lt;br /&gt;
|2:29&lt;br /&gt;
|123, click here and its not displaying. That's why&lt;br /&gt;
|-&lt;br /&gt;
|2:38&lt;br /&gt;
|you should check these things. It is easy to make mistakes&lt;br /&gt;
|-&lt;br /&gt;
|2:46&lt;br /&gt;
|Let me type 123. Let me click here and it says 'thanks for your password'. and it ahs given me my password&lt;br /&gt;
|-&lt;br /&gt;
|2:52&lt;br /&gt;
|It proves that it has been carried across and has been stored in a post variable&lt;br /&gt;
|-&lt;br /&gt;
|2:59&lt;br /&gt;
|but it hasn't shown the user, which could have made sense&lt;br /&gt;
|-&lt;br /&gt;
|3:01&lt;br /&gt;
|because there would be no point having these as blocks. They are not readable in any way.&lt;br /&gt;
|-&lt;br /&gt;
|3:07&lt;br /&gt;
|and here there would no point having it because people can read your password &lt;br /&gt;
|-&lt;br /&gt;
|3:11&lt;br /&gt;
|it will also be very easy for people to look through your internet history. &lt;br /&gt;
|-&lt;br /&gt;
|3:18&lt;br /&gt;
|and see you have typed your password. But people might get access to your account with that&lt;br /&gt;
|-&lt;br /&gt;
|3:23&lt;br /&gt;
|so you can see this post. These are used for functions, also the amount that can be sent through it&lt;br /&gt;
|-&lt;br /&gt;
|3:29&lt;br /&gt;
|so if for example, my password was really long say over 100 characters it will still be accepted &lt;br /&gt;
|-&lt;br /&gt;
|3:36&lt;br /&gt;
|but in the 'get' variable you have a hundred character limit&lt;br /&gt;
|-&lt;br /&gt;
|3:40&lt;br /&gt;
|so the post thus seem to be useful. But if you are evaluating things, like, trying to sort out some things, you can use the get variable&lt;br /&gt;
|-&lt;br /&gt;
|3:50&lt;br /&gt;
|just to see if your data is being passed through.&lt;br /&gt;
|-&lt;br /&gt;
|3:56&lt;br /&gt;
|so that's basically the post variable &lt;br /&gt;
|-&lt;br /&gt;
|4:01&lt;br /&gt;
|you would be using it a lot on projects for form submissions. This brings us to the end of this tutorial&lt;br /&gt;
|-&lt;br /&gt;
|4:06&lt;br /&gt;
|This is Siddarth for the Spoken Tutorial Project. Thanks for watching. &lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Chandrika</name></author>	</entry>

	</feed>