| | |
PHP login/password script
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Dec 2007
Posts: 252
Reputation:
Solved Threads: 27
see your using a little protection for sql injection. good deal. ok you are setting the label to store id. will you try changing your storeid part of the form to this:
this is going to take the text the user enters and set this as store_id. on your other page you can simply do this to pull that over.
or you can keep it the same and just change the textfield name to name="store_id".
html Syntax (Toggle Plain Text)
<form action="sox.php" method="post"> <label for="store_id" style="font-size: 14px; margin-top: 10px; font-weight: bold; font-variant: small-caps;">Store ID:</label> <input type="text" name="store_id" value="" maxlength="30" style="width:49.6%; font-size: 30px;"<br /> <input type="submit" style="width:90px; height: 35px; margin-left: 260px; -moz-border-radius: 10px;" name="submit" value="get_info"> </form>
php Syntax (Toggle Plain Text)
<?php if(isset($_POST['get_info'])){ $storeid = $_POST['store_id']; //complete your code
![]() |
Similar Threads
- Custom page to login to Yahoo, Gmail, MSN etc (JavaScript / DHTML / AJAX)
- cPanel: email account creation. I need help making a PHP script. (PHP)
- PHP sessions/$_POST problem. Too Stressed today! (PHP)
- Parse Error in PHP (PHP)
- system login error (PHP)
- Php Syntax Error (PHP)
- question about connecting odbc to sql through php script (PHP)
- login script using sessions (PHP)
Other Threads in the PHP Forum
- Previous Thread: Credit card validation
- Next Thread: Pagepost Back Function
| Thread Tools | Search this Thread |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube





