Re: [PHP] passing variables to subsequent pages

2003-11-02 Thread Justin French
On Monday, November 3, 2003, at 12:44 AM, Robb Kerr wrote: I have a two page search. The first page queries a database and creates a list of MANUFACTURERS from which the visitor can select all, one or multiple entries. The page is submitted via GET to the second page of the search. The second p

Re: [PHP] passing variables

2003-10-28 Thread Burhan Khalid
Joao Andrade wrote: Hey everybody, That's lame but I've been looking for a while and found nothing. What are the ways to pass variables to another script? As far as I'm concerned there are POST and GET variables, and I know they can by set via HTML forms, but I only know how to pass u

RE: [PHP] Passing variables between pages

2003-10-14 Thread Jay Blanchard
[snip] : > Simple one for anyone who wants to help out a novice. How do you : > pass a variable from one page to another? : : Through either a $_POST or a $_GET variable array. And cookies and sessions and database backends oh my! [/snip] Aww Genethat is for intermediates, not novi! -- P

Re: [PHP] Passing variables between pages

2003-10-14 Thread Eugene Lee
On Tue, Oct 14, 2003 at 10:20:44AM -0500, Jay Blanchard wrote: : "KB" <[EMAIL PROTECTED]> asked: : > : > Simple one for anyone who wants to help out a novice. How do you : > pass a variable from one page to another? : : Through either a $_POST or a $_GET variable array. And cookies and session

RE: [PHP] Passing variables between pages

2003-10-14 Thread Jay Blanchard
[snip] Simple one for anyone who wants to help out a novice. How do you pass a variable from one page to another? [/snip] Through either a $_POST or a $_GET variable array. onepage.php another.php Please RTFM, STFW, and STFA for PHP tutorials. Thank you. -- PHP General Mailing List (h

Re: [PHP] Passing variables between pages

2003-10-13 Thread John Nichel
Rashini Jayasinghe wrote: Hi, I want to pass a variable between three pages. I tried to get a username from the first page through a form. Use that username in a select statement in the second page to query a table.Everything is fine up to that point. now I want to pass the same username to the th

Re: [PHP] Passing variables between pages

2003-10-13 Thread Raditha Dissanayake
Hi, You need to use sessions. Please refer session handling functions in the manual. Having said that it's a bad idea to put username in a session. You need to have some kind of association between session ids and username's in app. The most common way this is done is with a two column table.

Re: [PHP] Passing Variables

2003-06-21 Thread John W. Holmes
Jay Fitzgerald wrote: I have been searching for an answer to this for a couple of hours now and cant find anything. I believe that there is a secure way of doing this but I think my brain is having a momentary lapse... I have these variables: $eventid = "1"; $age = "15"; Is there a way to pass

Re: [PHP] passing variables to flash

2003-02-21 Thread Michiel van Heusden
thanks for your reply > What I do in these cases is either having Or use a file (something.php) which spits text like var1=&var2=. > Flash can read that file and get the variables the second one is not a possibility, because I need flash to have the vars before operating. the variables ar

RE: [PHP] passing variables to flash

2003-02-21 Thread Marios Adamantopoulos
What I do in these cases is either having mailto:[EMAIL PROTECTED]] Sent: 21 February 2003 16:37 To: [EMAIL PROTECTED] Subject: [PHP] passing variables to flash i want to pass variables to a shockwave-flash-file currently that's working fine with print " etc... but passing the variables throu

Re: [PHP] Passing Variables

2003-02-01 Thread Beauford.2002
Perfect. Thanks. - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Beauford.2002" <[EMAIL PROTECTED]> Cc: "PHP General" <[EMAIL PROTECTED]> Sent: Saturday, February 01, 2003 2:22 PM Subject: Re: [PHP] Passing Variables >

Re: [PHP] Passing Variables

2003-02-01 Thread Philip Olson
On Sat, 1 Feb 2003, Beauford.2002 wrote: > Hi, > > Is there a way to pass a variable to a PHP script without using a form? I > want to put several links on my main page that when clicked on goes to a PHP > script - depending on what link was selected, will determine what part of > the PHP script

Re: [PHP] passing variables to a sql statement

2003-01-18 Thread Tom Rogers
Hi, Sunday, January 19, 2003, 5:50:51 AM, you wrote: j> hi, i'm hoping someone can help me out here - im trying to pass a variable from a string in the href tag, however my sql breaks when i put a var in the statment. j> when i replace $foo with a number, the page works fine. can someone please t

RE: [PHP] passing variables to a sql statement

2003-01-18 Thread John W. Holmes
> hi, i'm hoping someone can help me out here - im trying to pass a variable > from a string in the href tag, however my sql breaks when i put a var in > the statment. > when i replace $foo with a number, the page works fine. can someone please > tell me what im doing wrong? > > here is the error

Re: [PHP] passing variables to a sql statement

2003-01-18 Thread Jason Wong
On Sunday 19 January 2003 03:50, jennifer wrote: > hi, i'm hoping someone can help me out here - im trying to pass a variable > from a string in the href tag, however my sql breaks when i put a var in > the statment. when i replace $foo with a number, the page works fine. can > someone please tell

Re: [PHP] Passing variables from script to script

2002-12-11 Thread Justin French
1. the only other ways to pass things around would be in sessions, or by setting a cookie on the user's computer... i hate the latter, and would prefer the former, but would NEVER carry things like a MySQL uname and password around in cookies or sessions. cookies, sessions, and even post & get (ur

Re: [PHP] Passing variables from script to script

2002-12-11 Thread Chris Hewitt
Stefan Hoelzner wrote: nevertheless: I want to pass variables from one .php to another .php script. But I do not want to use either the http://localhost/target.php?var1=test&var2=test2 nor the POST method. I would like to pass over general variables like usernames and Sessions. The data is

Re: [PHP] Passing variables from script to script

2002-12-11 Thread Philip Olson
On Tue, 10 Dec 2002, Stefan Hoelzner wrote: > Hi folks, > > surely this question has already been answered many times before in > this ng, but nevertheless: I want to pass variables from one .php to > another .php script. But I do not want to use either the > http://localhost/target.php?var1=test

Re: [PHP] Passing variables from script to script

2002-12-11 Thread bahwi
If they are static you could store them in another php file and include them. HTTP is stateless, meaning one person can go from one page to another or log out in between all of this. It also means there is no authentication for users, you can not prove that one person is the same person the nex

Re: [PHP] Passing variables from script to script

2002-12-11 Thread Jason Wong
On Wednesday 11 December 2002 07:56, Stefan Hoelzner wrote: > Hi folks, > > surely this question has already been answered many times before in this > ng, but nevertheless: So why don't you search the archives to read the answers!?! > I want to pass variables from one .php to another > .php scr

Re: [PHP] Passing Variables

2002-11-24 Thread Jason Wong
On Sunday 24 November 2002 03:42, Craig Edgmon wrote: > I am sure this question has been answered, but there is a ton of data to > sift through on this. By asking again and having people answer again you'll be generating MORE data for the next person who asks to sift through. >I am running Apac

RE: [PHP] Passing Variables

2002-11-23 Thread Rich Gray
Is your register_globals setting set to Off? This is the default setting in v4.2.x upwards. Rich -Original Message- From: Craig Edgmon [mailto:[EMAIL PROTECTED]] Sent: 23 November 2002 11:43 To: [EMAIL PROTECTED] Subject: [PHP] Passing Variables I am sure this question has been answered,

Re: [PHP] Passing Variables

2002-11-23 Thread Marco Tabini
Try looking into the manual for register_globals Marco php|architect - The magazine for PHP Professionals The monthly worldwide magazine dedicated to PHP programmers Check us out on the web at http://www.phparch.com On Sat, 2002-11-23 at 14:42, Craig Edgmon wrote: > I am sure this q

Re: [PHP] Passing Variables from one php doc to another

2002-11-20 Thread Jason Wong
On Thursday 21 November 2002 12:53, Rodrigo de Oliveira Costa wrote: > Hi people, I’m in a lot of trouble, I’m doing a paging for a mySql > database result it was going well until I tried it out. But how did you know it was going well *before* you tried it ;-) > It shows the > right amount of re

Re: [PHP] Passing variables between servers

2002-08-21 Thread Mark McCulligh
www.SykesCanada.com [EMAIL PROTECTED] - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Mark McCulligh'" <[EMAIL PROTECTED]>; "'Adam Williams'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, Au

Re: [PHP] Passing variables between servers

2002-08-21 Thread Seairth Jacobs
MD5 is a one-way hash. There is no way to get information back out of it. If he keeps a copy of the hash locally to comare instead of the original password, this is still as vulnerable as using the original password in this case. The only thing it would protect from is making available the origi

RE: [PHP] Passing variables between servers

2002-08-21 Thread Jay Blanchard
[snip] I thought about encrypting the whole querystring then decrypting it on the other server, but I wanted to keep the address bar clean. I wanted the user not to know they just got passed. If all a sudden there was a lot of data in the address bar they will wonder what it is for. [/snip] How

RE: [PHP] Passing variables between servers

2002-08-21 Thread Daniel Masson
Hi !! I know you said you cont want to use cookies ... I suggest that place encrypted data in a cookie and in the win2000 machine place a php script that read the data in the cookie, uncryptit and some how set the info for the asp script, a plain text file or something ... I hope this is useful

Re: [PHP] Passing variables between servers

2002-08-21 Thread Mark McCulligh
ECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 1:30 PM Subject: Re: [PHP] Passing variables between servers > Just suggestion but why not use md5($password) and then send the result of > that in your GET? > > Adam > > On Wed, 21 Aug 2002, Mark McCullig

Re: [PHP] Passing variables between servers

2002-08-21 Thread Adam Williams
Just suggestion but why not use md5($password) and then send the result of that in your GET? Adam On Wed, 21 Aug 2002, Mark McCulligh wrote: > I have two server. One running PHP/Linux the other running ASP/2000. > The user logins into the PHP server and session variable

Re: [PHP] Passing variables to page via POST - How?

2002-07-18 Thread Chris Shiflett
Monty wrote: >This is probably more of an HTML question... Is there a way to pass >variables to another page via POST instead of via the URL? > Yes. ... (form fields here) ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing variables

2002-07-08 Thread Jim lucas
Because the session is not being started on the second page. to be able to get the contents of a variable that is in a session environment, you must first initiate sessions with the call session_start(); even if that is all you do before referancing the varialble. so, add session_start(); just

Re: [PHP] Passing variables from one page to another

2002-06-14 Thread 1LT John W. Holmes
Plain and simple...you have four options: COOKIE, GET, POST, SESSION. So, load all of your data into a cookie or load it into hidden elements in a form and submit it somewhere... Okay? ---John Holmes... - Original Message - From: "Don" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECT

Re: [PHP] Passing variables from one page to another

2002-06-14 Thread Jason Wong
On Friday 14 June 2002 22:16, Don wrote: > Hi, > > Does anyone have a PHP method of passing variables from a form to another > page without using "sessions" or encoding within the URL? > > I remember someone mentioning a class but I lost the reference. My site > uses PHP 4.0.1Pl1 Use POST. -- J

RE: [PHP] Passing Variables

2002-05-23 Thread Jay Blanchard
[snip] > $db=mysql_connect('localhost','',''); > mysql_select_db($database,$db); > $sql="select COUNT" . $this . " from" . $table . " group by" . $this . "; > > ?> But that results in what looks like an invalid sql query! [/snip] My bad... I didn't test, should be... $sql="se

Re: [PHP] Passing Variables

2002-05-23 Thread Jason Wong
On Thursday 23 May 2002 22:37, Jay Blanchard wrote: > [snip] > me.php > $db=mysql_connect('localhost','',''); > mysql_select_db($database,$db); > $sql="select COUNT($this) from $table group by $this"; > > ?> > [/snip] > > $db=mysql_connect('localhost','',''); > mysql_select_db(

RE: [PHP] Passing Variables

2002-05-23 Thread Jay Blanchard
[snip] me.php [/snip] Note the concatenation operators, HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing variables between php forms

2002-05-09 Thread Jason Wong
On Friday 10 May 2002 07:41, baldey_uk wrote: > Hi sorry to annoy you AGAIN, but i cant seem to get it working i think > its something to do with the order that i put things in: > > > #end of html and start of php script > > > #Take the Variables from enterdetails.php that are posted from an

Re: [PHP] passing variables between php forms

2002-05-09 Thread Bogdan Stancescu
What exactly goes wrong? Indeed, you _should_ have $_POST["testvar"] available in the next page... The only problem I see is that you first echo the input and only then do you start the forms... which is an HTML problem, not a PHP one. Bogdan baldey_uk wrote: >Hi sorry to annoy you AGAIN, bu

RE: [PHP] passing variables to scripts

2002-04-28 Thread John Holmes
Try $_GET["entry_id"] or $HTTP_GET_VARS["entry_id"], depending on your version of PHP. ---John Holmes... > -Original Message- > From: Mark Gallagher [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 28, 2002 4:04 AM > To: [EMAIL PROTECTED] > Subject: [PHP] passing variables to scripts >

Re: [PHP] Passing Variables with register_globals Off?

2002-04-24 Thread 1LT John W. Holmes
It still works, the value is in $_GET["db"] ---John Holmes... - Original Message - From: "Smileyq" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 6:09 AM Subject: [PHP] Passing Variables with register_globals Off? > I've noticed with the release of PHP 4.2

Re: [PHP] passing variables - php.ini?

2002-02-25 Thread DL Neil
Matt, > thanks a lot! > works fine now i've changed register_globals. =great! > just out of interest, what is the 'newer' way? > is it using sessions etc, or something else i don't know about? > or should i rtfm? ;) Yes it is quicker for me to say "RTFM ", although I wonder if it isn't perce

RE: [PHP] passing variables - php.ini?

2002-02-25 Thread matt stewart
PROTECTED]] Sent: 25 February 2002 12:15 To: matt stewart; [EMAIL PROTECTED] Subject: Re: [PHP] passing variables - php.ini? Hi Matt, > Looking for help on how to activate the automatic passing of variables - > think i need to change something in my php.ini file maybe? > got scripts that work

Re: [PHP] passing variables - php.ini?

2002-02-25 Thread DL Neil
Hi Matt, > Looking for help on how to activate the automatic passing of variables - > think i need to change something in my php.ini file maybe? > got scripts that work fine on one server, but i've recently got a new > virtual server, and it won't pass variables though - example script.. Yo

RE: [PHP] Passing variables with include()

2002-01-14 Thread Mark Roedel
> -Original Message- > From: Imar de Vries [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 14, 2002 5:53 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Passing variables with include() > > > at this moment I am working on a script that calculates > standings of our online racing compet

RE: [PHP] Passing variables with include()

2002-01-14 Thread Rick Emery
Does "http://www.someremote.server/calculate_drivers.php"; contain a function? If so, you may have to declare "$serie_id" as global within it. -Original Message- From: Imar de Vries [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 5:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Pas

Re: [PHP] Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
- Original Message - From: "Imar de Vries" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 12:53 PM Subject: [PHP] Passing variables with include() > Hi all, > > at this moment I am working on a script that calculates standings of our > online racing competiti

Re: [PHP] Passing variables with include()

2002-01-14 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 14-01-02 at 13:01 * Imar de Vries said > Hi all, > Hello! > at this moment I am working on a script that calculates standings of our > online racing competition. In order to do that, I have to connect to a > database on a remote server.

Re: [PHP] Passing Variables

2002-01-10 Thread Miles Thompson
PHP is server side. The link would have to load another page, or reload the same page with the function triggered by the link. Maybe this is something you want to do in Javascript? Miles At 05:07 PM 1/10/2002 -0500, Artie Ball wrote: >Hi all, > > Could anyone please tell me if there is

Re: [PHP] Passing Variables

2002-01-10 Thread Erik Price
One way to pass a variable by clicking on a hyperlink is to make the HREF attribute of the anchor tag into a querystring with the variable that you want to pass. If you want to pass the variable "$user_id" to the next page, with a value of "289", here is how you could do it: Click here for th

Re: [PHP] Passing Variables-SOLVED

2001-12-14 Thread Steve Osborne
Thanks for the advice... just had to remember that the variable had to be in php tags, as in: Thanks for the help, problem solved. Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] Passing Variables

2001-12-14 Thread jimtronic
Try this in your form ... >Can someone tell me how to pass a variable in the url? >I am using a form and calling a handler file as its action, as in: > > > >I've also tried single quotes around the variable $login, as in: > >METHOD="POST"> > >Anyone have any suggestions? > >Cheers, >Steve

Re: [PHP] passing variables between pages without using url??

2001-11-03 Thread Steve Werby
"sunny AT wde" <[EMAIL PROTECTED]> wrote: > Ok, but how do I use post when using Header?? You don't. What are you trying to achieve that makes this necessary? > I would like to have a form, but I don't know how I would make the > script automatcially re-direct in a form... becase I know how to

Re: [PHP] passing variables between pages without using url??

2001-11-03 Thread sunny AT wde
Ok, but how do I use post when using Header?? I would like to have a form, but I don't know how I would make the script automatcially re-direct in a form... becase I know how to use form variables that way. But all I can think of is using header, yet that displays the variables as its like get :

Re: [PHP] passing variables between pages without using url??

2001-11-03 Thread Steve Werby
"sunny AT wde" <[EMAIL PROTECTED]> wrote: > i've written a form, which passes value to a ph script to insert them > into mysql. from there on, i forward onto another page, but using : > header("Location: http://www.foo.com/foo2.php?id=4&user=foo";); > > now i really don't want to have the url on t

Re: [PHP] Passing Variables and the include command

2001-09-18 Thread Rasmus Lerdorf
Included files share the same global symbol table as the parent file. So, simply do: $file = "somefile.txt"; include "counter.php"; And by the way, please don't use "$file". It makes no sense. Just $file. -Rasmus On Tue, 18 Sep 2001, Andrew V. Romero wrote: > I was wondering if it is possi

Re: [PHP] passing variables between scripts?

2001-08-31 Thread Papp Gyozo
I think, the built-in session management can solve your problem: http://www.php.net/manual/en/ref-session.php Briefly, you should register your variable into the session and after reloading the page you can get it back. peculiarly: http://www.php.net/manual/en/function-session-register.php hth,

Re: [PHP] Passing variables to a file

2001-08-19 Thread Daniel Rezny
Hello Seb, Sunday, August 19, 2001, 11:44:59 PM, you wrote: SF> OK I know this can be done like so: SF> file.php4?foo=bar SF> but what if I want to keep the value of foo secret from the user? SF> - seb I don't know if it's best idea but you can try to encode link with base64_encode() and ba

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-18 Thread Tim Olsen
This function that matt sent to automatically write hidden inputs is awesome. it works great. I am only using the first function. It's a great solution. thanks Original Message Follows From: "maatt" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [PHP] p

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread Dave Freeman
On 17 Jul 01, at 0:11, Tim Olsen wrote: > So far, I can only use variables on the next page (form) that is written > out. After that those variables have no value. Is there some way to submit Investigate using form tages - very useful for passing around additional args between pages/forms.

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread Michael Hall
> > Reply-To: [EMAIL PROTECTED] > To: "Tim Olsen" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: Re: [PHP] passing variables from forms to the same page > repetatively > Date: Tue, 17 Jul 2001 16:13:41 +0930 > > On Tue, 17 Jul 2001 15:41, Tim Olsen wrote:

RE: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread Neil Kimber
ingly well and means that we spend 90% of our time debugging application code rather than debugging niggling issues with PHP/HTML. -Original Message- From: Tim Olsen [mailto:[EMAIL PROTECTED]] Sent: 17 July 2001 19:07 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP]

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread Sheridan Saint-Michel
information you need to be looking into encryption, if not then why sweat the hidden fields? Sheridan - Original Message - From: Tim Olsen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 17, 2001 1:07 PM Subject: Re: [PHP] passing variables from

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread Tim Olsen
AIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "Tim Olsen" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: [PHP] passing variables from forms to the same page repetatively Date: Tue, 17 Jul 2001 16:13:41 +0930 On Tue, 17 Jul 2001 15:41, Tim Olsen wrote: > People, > I h

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread maatt
I was doing something similar just yesterday. Ended up with a little function to automatically write hidden s for every variable that's submitted, whether posted or thru the url. Goes like this... // put this somewhere in your form // the function itself function get_param_inputs() { global $

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-16 Thread David Robley
On Tue, 17 Jul 2001 15:41, Tim Olsen wrote: > People, > I have 4 forms in four seperate html pages included directly (no links > to includes) in the same .php file, i have it so all the form actions > is php.self, so when each form is submitted it goes on to display the > next form in line, using

RE: [PHP] passing variables from forms to the same page repetatively

2001-07-16 Thread Matthew Loff
-Original Message- From: Tim Olsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 2:12 AM To: [EMAIL PROTECTED] Subject: [PHP] passing variables from forms to the same page repetatively People, I have 4 forms in four seperate html pages included directly (no links to inclu

Re: [PHP] passing variables from php to bash script..

2001-07-08 Thread teo
Hi Mark! On Sun, 08 Jul 2001, Mark Lo wrote: > Hi, > > I would like to know. Is it possible to use php to exec a bash script > with variable passing from php to bash. If so how to do this. > either set them in the environment or pass them as arguments. but before that you man want to ty

RE: [PHP] passing variables from - to frames

2001-06-27 Thread Taylor, Stewart
The correct javascript syntax is. parent.frames[1].document.formb.varb.value = parent.frames[0].document.forma.vara.value; -Stewart -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED]] Sent: 26 June 2001 16:18 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP

Re: [PHP] passing variables from - to frames

2001-06-27 Thread elias
Hey sorry 'M' about my last post... I was giving you ideas mixed with how to access an IFRAME ;) anyway to access frames you have to do like: window.parent.framea.window.document.forma.texta.value = window.parent.frameb.window.document.formb.textb.value "M" <[EMAIL PROTECTED]> wrote in message

Re: [PHP] passing variables from - to frames

2001-06-27 Thread Richard Lynch
framea and frameb don't know about each other, but their document and their window should know both of them. So, you can use document.framea... and document.frameb... to access each other's variables. Also, if these variables are coming from PHP, and if you are using FRAMEs mostly for looks, and

Re: [PHP] passing variables from - to frames

2001-06-26 Thread Greg Donald
> Hello, sorry this question here (it is not true PHP question), but I use > some variables into PHP scripts and need > pass these variables from one frame to another. > > I want pass variable values between frames, these definded via input > hidden tags into form definition. > I have first frame

Re: [PHP] passing variables from - to frames

2001-06-26 Thread elias
I think it works just fine, maybe you can try: framea.document.forma.vala.value = frameb.document.formb.valb.value if this didn't work then change to: framea.window.document.forma.vala.value = It worked with me time ago... "M" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

Re: [PHP] Passing variables

2001-05-23 Thread Peter Dudley
You can "pass" variables through the session mechanism. http://www.php.net/manual/en/ref.session.php This will require some additional work to get your sessions working properly, but you probably want to do that anyway at some point. I have found the session mechanism to be extremely useful so f

Re: [PHP] Passing variables

2001-05-23 Thread Mirek Novak
Tarrant Costelloe píše: > Is there any other way of passing variables other than submitting them > through a form and passing them using a URL? E.G. Currently I am passing > them though a url which is not the safest means in anyway. > > Suggestions would be appreciated. > > Thanks in advance. tr

Re: [PHP] passing variables without form submit

2001-05-14 Thread Gyozo Papp
Hi, - Original Message - From: "brent simpson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 2001. május 13. 11:08 Subject: [PHP] passing variables without form submit > > I'm trying to write what I thought would be a pretty simple script > action to pass a variable from a form e

Re: [PHP] passing variables + if case

2001-05-07 Thread Jason Stechschulte
On Fri, May 04, 2001 at 05:08:30PM -0700, Andras Kende wrote: > > Is this is a correct format ??? If you would tell us what you are trying to accomplish and why you think it doesn't work, we might actually be able to help you. -- Jason Stechschulte [EMAIL PROTECTED] -- Of course, I reserve the

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Dan Lowe
Previously, Dean Martin said: > Thanks to everyone for the help - unfortunately my problem seems to be the > function I'm using to do the redirecting. header() is supposed to be the > first item passed. What I'm trying to do is use a line of code well down > into the logic of my script to redire

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Jason Brooke
> Thanks to everyone for the help - unfortunately my problem seems to be the > function I'm using to do the redirecting. header() is supposed to be the > first item passed. What I'm trying to do is use a line of code well down > into the logic of my script to redirect the user to another page al

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Jason Murray
> Thanks to everyone for the help - unfortunately my problem > seems to be the function I'm using to do the redirecting. header() is > supposed to be the first item passed. What I'm trying to do is use a line of > code well down into the logic of my script to redirect the user to another > p

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Dean Martin
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 1:06 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Passing variables to another page - newbie also is you want to add more than one variable in the example given you use the '&' Sign ex with on

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Philip Olson
index.php?fruit=apple&color=green&lang=php If register_globals setting in php.ini configurations is 'on' then the following should all work : echo $fruit; // apple echo $color; // green echo $lang;// php echo $HTTP_GET_VARS['frui

Re: [PHP] Passing variables to another page - newbie

2001-05-06 Thread tcuhost
on?var1=etc&var2=123&var3=abc";); - Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Dean Martin" <[EMAIL PROTECTED]> Sent: Sunday, May 06, 2001 11:01 AM Subject: RE: [PHP] Passing variables to another page - n

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread John Vanderbeck
Your location header should be a fully qualified URL, just like you had typed it into your browser. - John Vanderbeck - Admin, GameDesign (http://gamedesign.incagold.com/) - GameDesign, the industry source for game design and development issues > -Original Message- > From: Dean Martin [

RE: [PHP] Passing variables to another page - newbie

2001-05-06 Thread Jack Dempsey
header("Location: http://something.foo.bar.com/page.extension?var1=etc";); -Original Message- From: Dean Martin [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 1:50 PM To: [EMAIL PROTECTED] Subject: [PHP] Passing variables to another page - newbie I have an order form that is vali

RE: [PHP] passing variables

2001-04-22 Thread PHPBeginner.com
using POST, Cookies or sessions. session is the most appropriate way to do that. php.net/sessions Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Adam [mailto:[EMAIL PROTECTE

Re: [PHP] Passing variables,,, I know its not this hard.

2001-04-09 Thread Mark Maggelet
On Mon, 09 Apr 2001 12:08:48 -0400, Curtis ([EMAIL PROTECTED]) wrote: >Hello, >Could someone please tell me where I am going wrong here. >I have an HTML form and I want to past the input from a text box to >the >next page url to connect >to my mysql database. > >Here is where I am at now > >

RE: [PHP] Passing variables,,, I know its not this hard.

2001-04-09 Thread Jon Haworth
Try this: This should display ?number correctly (I take it that's the problem). You may also need to use "return validate();" or "javascript: return validate();", not too sure about this though. HTH Jon -Original Message- From: Curtis [mailto:[EMAIL PROTECTED]] Sent: 09 April 2001

RE: [PHP] Passing variables,,, I know its not this hard.

2001-04-09 Thread Rudolf Visagie
Hi Pass the variable as a parameter (without quotes): and then in the next page refer to the variable $number, OR in the next page just refer to the variable $exedit (which gets posted as a form variable) - This in PHP4 Cheers Rudolf Visagie [EMAIL PROTECTED] -Original Message- Fro

Re: [PHP] passing variables using hidden fields

2001-03-16 Thread george
Thanks Chris. George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] passing variables using hidden fields

2001-03-16 Thread Chris Lee
your not putting it in quotes. echo " "; change to echo " "; quotes are your friend :) -- Chris Lee [EMAIL PROTECTED] ""george"" <[EMAIL PROTECTED]> wrote in message 98tdl2$ps2$[EMAIL PROTECTED]">news:98tdl2$ps2$[EMAIL PROTECTED]... Hi, I am building a

RE: [PHP] passing variables from one form to another

2001-03-15 Thread ..s.c.o.t.t.. [gts]
the same way that you passed information over to the second page. > -Original Message- > From: Don [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 15, 2001 4:09 PM > To: php list > Subject: [PHP] passing variables from one form to another > > > Hi, > > I have a PHP script (script_

Re: [PHP] passing variables again

2001-03-07 Thread george
not really sure I understand, but what I want to do is take the HTML generated in step 3 and place it between the tags in the last page where the code is displayed ie Title mr mrs Missnameaddressaddress2message that is the code from step 3 how do I get that to display on the next page.

Re: [PHP] passing variables again

2001-03-07 Thread Miles Thompson
Try using an array, such as name[], with NO SUBSCRIPT, to store the chosen items. That will be passed as a form variable and can be stepped through on the next page where you can parse step through the array and create the form. You could probably do this all in the same form, setting variable

RE: [PHP] passing variables

2001-03-06 Thread Hoover, Josh
Do you mean you want them to be able to say how long a text field should be? If so, try this: for ($i=0; $i < $fields; $i++) { $fieldName = "field$i"; echo "\n"; } $size would be a form parameter that you allow the user to set along with the field name and value. Josh Hoover K

Re: [PHP] passing variables

2001-03-03 Thread Terry Romine
uot;: // your code break; case "Delete": // your code break; case "View": // your code break; } > From: Ben Weinberger <[EMAIL PROTECTED]> > Date: Sat, 03 Mar 2001 08:57:30 -0600 > To: "george" <[EMA

Re: [PHP] passing variables

2001-03-03 Thread george
Thanks Ben, and a quick answer as well. that means I can give them an option on the main page to delete or view the email, which is even better. Thanks George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] passing variables

2001-03-03 Thread Michael Hall
OK, sorry, I read your post in a hurry. Something like this should work: Do Something On the next page you'd have: $sql = "Do Something WHERE id = '$id'"; By the way, you don't necessarily have to go to a different page in the sense of a different file ... all your 'pages' can

Re: [PHP] passing variables

2001-03-03 Thread Ben Weinberger
You could make them on the same page with a PHP statement something like: if ($Reply) { //put your reply script here } elseif ($Delete) { //put your delete script here } Just make sure the name and value of the input tags on the previous page are called Reply and Delete. Best, -Ben At 03:0

Re: [PHP] passing variables

2001-03-03 Thread george
Yes but it still goes to the same page, if i give the option to delete or reply would it not need to go to different pages one with the DELETE and the other to reply. However I am still very much a newbie so of anyone knows better(which is a certainy) then I would be delighted to listen.. Than

<    1   2   3   >