Working with Sessions in PHP Session Basics cookies are not secure because they stored on the client, it’s possible for any user to open the cookie file and read or modify the information stored within it, sometimes to malicious ends. Sessions work as cookies, except that the information maintains and store the state on the server. A session is a method for…
Read moreCookies in PHP · A text file saved on the user’s system by a Web site. · Contains information that the site can retrieve on the user’s next visit and allowing the site to “recognize” to the user and provide an improved / update set of features customized to that specific user. · Cookies are usually set in an HTTP header but JavaScript …
Read moreUsing Hidden Fields to Save State in PHP Use a hidden field to keep track of this value. A hidden field behaves the same as a text field, except that the user cannot see it unless he views the HTML source of the document that contains it. Saving State with a Hidden Field Math1.php <body> <h1> First Number</h1> <form action="math2.p…
Read moreUsing query string (URL rewriting) The information sent across the web pages. This information is called a query string. This query string can be passed from one page to another by appending its address of the page. Passing more than one query string by inserting the & sign between the query strings. A query string contains two things: the query string…
Read morePHP String Functions https://drive.google.com/file/d/1Nq6KXAGaKAFmg0-Us9b2hFEVClyDM1zF/view?usp=sharing
Read more
Social Plugin