dis is appu
>
plz help me
>
How to call the one php file variable to another php file........
>
/* This example assumes that someserver is configured to parse .php
* files and not .txt files. Also, 'works' here means that the variables
* $varone and $vartwo are available within the include()ed file. */
/* Won't work; file.txt wasn't handled by someserver. */
include ("http://someserver/file.txt?varone =1&vartwo=2");
/* Won't work; looks for a file named 'file.php?varon e=1&vartwo=2'
* on the local filesystem. */
include ("file.php?varo ne=1&vartwo=2") ;
/* Works. */
include ("http://someserver/file.php?varone =1&vartwo=2");
$varone = 1;
$vartwo = 2;
include ("file.txt") ; /* Works. */
include ("file.php") ; /* Works. */
HondenPage: alles over uw hond of honden,fokkers en puppy's. Je vindt hier het hondenforum, honden foto's, fokkers, puppy's, de honden encyclopedie en nog veel meer !
At Tue, 15 May 2007 01:42:02 -0700, java.inet let his monkeys type:
dis is appu
>
plz help me
>
How to call the one php file variable to another php file........
Arjen just gave you a solution for when you want to include a file in
another with variables parsed to it. If what you want is variables
keeping their values after (e.g.) clicking a link on the first page, which
opens a second...
You can do it the unsafe & dirty way:
(PS I left out all the proper html tags that a page should have)
There's also the possibility to use forms with hidden fields to get
variables across, this basically sets $_GET or $_POST avriables similar to
the first example.
Comment