Method Basic Guide

PHP passing variable?
How do i pass a variable across the page using the POST method but i do not have a form. bascily instead of using the GET i wana use the post method cause i dont want people to see what the variable is at the address bar. Thanks
Regrads
http://www.visualbasicguide.com
visual basic guide
Simple. Use session variables.
Say you have a variable called $foo and you want to pass it’s value to another page.
You would use the following code on the page you are linking from:
$foo = “datatobepassed”;
session_register(“foo”);
On php code for the page you are linking to, you simply ask the tell the browser to use the value stored in the session.
if (session_is_registered(foo)) {
$foo = $_SESSION["foo"];
}
A BASIC GUIDE TO SALAH (PART11) 4 FARD
|
|
The Painter’s Companion. A Basic Guide to Studio Method $42.95 |
|
|
Wolf Marshall Guitar Method: Basics 1: A Complete Guide $35.66 |
|
|
Gypsy Violin Basics: A Beginner’s Guide Book/CD, Method $15.99 |
|
|
Gypsy Violin Basics: A Beginner’s Guide Book/CD, Method $15.99 |
|
|
PLAY FLUTE TODAY DVD, Self-Teaching Method, Basic Guide $13.29 |
|
|
PLAY DRUMS TODAY DVD, Self-Teaching Method, Basic Guide $13.29 |
|
|
PLAY BASS TODAY DVD, Self-Teaching Method, Basic Guide $13.29 |