Bird Logo
 

Passing Variables via Totally Encapsulated Dynamic Design

(aka tedd)

This is an example of how to pass variables from one PHP script to another PHP script without using HTTP varables -- IOW: NO GET, POST, REQUEST, COOKIE or SESSION required.

For example, this script contains two variables:

  • $var1 defined as: This is a string
  • $var2 defined as: This is another string

However, you may enter a new value for $var2 below.

New value for $var2 ?

And, please check which script you want to send this data (i.e., Script 1, 2, or 3).

Pass variables to script1.php
Pass variables to script2.php
Pass variables to script3.php

Please note that this form's action only submits to itself.
It does not direct to another script.