![]() |
|
#1
|
|||
|
|||
using session variablesI'm implementing an application where I register a session variable by means of:
session_start(); session_register("usuario"); $_SESSION["usuario"]=$usuario; I want to allow the user enter data by clicking a button which executes a javascript function which opens a secondary window where the user has fields for entering data. Can I use the session variable I previously registered from PHP code in the secondary window? Thanks in advance. |
|||
|
#2
|
|||
|
|||
javascipt pop up and phpYes you can
Code:
as you can see the window open instruction will open a full size window of the gid index page. put your url here instead of gidfoums and the path to your script. As long as you have the correct session PHP in the script it will doo the sesion. You pass your variables to the script yuo call as you normally would. If you need to resize the window do this search on google javascript tutorial popup You will get 1000's of hits Thats how i first found this script Last edited by JUNK KED : 05-Jan-2005 at 02:13.
Reason: speelign
|
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing variables out of an iframe by url | JUNK KED | MySQL / PHP Forum | 5 | 31-Jul-2007 09:33 |
| Function and Array (w/ reference variables) question | brookeville | C++ Forum | 15 | 07-Dec-2004 01:11 |
| About variables in C | mantako | C Programming Language | 3 | 08-Jul-2004 04:11 |
| getting variables from $_GET & $_POST | Dunc | MySQL / PHP Forum | 2 | 29-Mar-2004 05:45 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The