Skip to content
+91-8802000175info@websjyoti.com
Join PHP Internship

PHP Training in Gurgaon

PHP Full Stack Developer Training

  • PHP Laravel
  • Digital Marketing
  • MERN Stack
  • Placements
  • Locations
    • Muzaffarpur Location
    • Php Training in Baksar
    • Php Training in Balia
    • PHP Training Gorakhpur
    • PHP Training in Patna
    • Training in Bangalore
    • PHP Training in Noida
    • PHP Training in Delhi
    • Training in Ghaziabad
  • CONTACT

Data Sending Ways in PHP

  • Home
  • php-training-in-gurgaon
  • Data Sending Ways in PHP
10 Apr 2017
hirdeshphp-training-in-gurgaon6 months php training in gurgaon, best php authors from india, best php coaching gurgaon, best php institutes in gurgaon, best php training gurgaon, best php training institute in gurgaon, best php training institute in sector 14, buy php book online, data sending ways in php, free php tutorials, learn php in gurgaon, learn php in gurgaon haryana, learn php online, php, php coaching center in gurgaon, php corporate training in gurgaon, php developer course in gurgaon, PHP mysql for advanced learning, php summer training institutes in gurgaon, php training and placement institutes in gurgaon, php training company in gurgaon

There are some certain ways to send your information or data to the PHP page-

  1. Using Form Methods – Get & Post
  2. Using Cookies & Session
  3. Using Query String / URL Rewriting
  4. Using Hidden form fieldForm MethodsThe GET Method: The GET method sends information separated by the ? Operator.Example: http://www.xyz.com/home.html?city=Gurgaon

    Please note that the GET method is restricted to send upto 1024 characters (1024 bytes) only. You should not use GET method if you have password or other confidential information to be proceeding over the server.

    GET can’t be used to send binary data, like images or word documents, to the server.

    The PHP provides $_GET associative array or super global variable to access the data sent using GET method.

    The POST Method

    The POST method transfers information via HTTP headers.

    The POST method does not have any restriction on data size to be sent. So it can be used to send files, images as well as binary data as well.

    The PHP provides $_POST super global variable or associative array to access data sent using POST method.

    PHP Page: thanks.php

    <?php

    echo $_POST[‘email];

    echo $_POST[‘pass];

    ?>

    Here we have print the same value received through email and password field respectively.

    We can make it little advanced by taking above posted values to the variables. The advantage of using variable will be like we can use some validation and sanitizing data before preceding it to the database.

    So the above code can be modified something like-

    <?php

    // collect values in the variables separately

    $email= $_POST[‘email];

    $password= $_POST[‘pass];

    // you may use some validations like

    if($email==”” || $password==””)

    echo “Input required”;

    else

    echo “Welcome “.$email . “ Your password is “.$password;

    ?>

Post navigation

Error Handling in PHP
Laravel Training Institutes in Gurgaon

Recent Posts

  • Webs Jyoti Conducted an Internship Program at St. Andrews College
  • Webs Jyoti Welcomes Interns from Symbiosis
  • Students Successfully Placed through Webs Jyoti in Various Profiles
  • PHP Training and Placement Experience at Webs Jyoti
  • 5 reason why digital marketing is important

Placement Corner

Excel Trainer
PHP trainer
Digital Marketing trainer
Advance Excel Trainer
SQL Trainer
Webs jyoti Placement
PHP traning Gurgaon
Webs Jyoti Placement
digital marketing
excel training Webs Jyoti
PHP Placement
SQL Training for Webs Jyoti
Webs Jyoti Placement
Trainer From Websjyoti
Digital marketing placement
PHP Training in Gurgaon
Excel training in gurgaon
MY SQL placement
Excel placement
Digital Marketing placement
PHP placement
advance excel placement
digital Marketing placement
SEO Placement
Java Script Placement
Advance excel placement
php placement
web development
Excel trainer
PHP placement
websjyoti Placement
php traning in gurgaon
Webs Jyoti placemnt
digital marketing placement
Webs Jyoti placement
PHP Traning in Gurgaaun
Advance excel placement
MY SQL placement
Web development
Excel Trainer
Webs Jyoti Placement
Webs Jyoti Placement
PHP placement
Digital Marketing placement
SEO experts
SMO placement
Webs Jyoti Placement
Webs Jyoti Placement
Advance Excel Placement
Webs Jyoti Placement
Webs Jyoti Placement
Graphic Designer
Advance Excel Placement
Webs Jyoti Placement
Excel Placement
Webs Jyoti Placement
Digital Marketing Placement
Webs Jyoti Placement
Excel Placement
Advance Excel Placement

Contact us

Webs Jyoti - M-24, Old DLF Colony, Sector 14, Gurgaon, Haryana 122001

Contact: +91-8802000175

Email: info@websjyoti.com

© 2024 Webs Jyoti, All right reserved. Proudly Powered By Webs Jyoti

Education Base by Acme Themes

WhatsApp us