[PHP] Re: Passing Variables to an iframe

2008-09-26 Thread Nathan Rixham
Waynn Lue wrote: I was hoping to do some logic in a script, and then pass the results of that script to an iframe for more processing. why pass the results back to the client when your not finished processing them? simply include the next script and only pass user the *final* results (?)

[PHP] Re: Passing variables.

2006-06-08 Thread Barry
William Stokes schrieb: Hello, I've used like 3 hours to get this done but I can't figure this out. Hope someone here can help. I have a form that a user can use to edit www pages. Page content is stored in DB as a HTML code. First user has to select, from select menu, which page to edit.

[PHP] Re: passing variables with HTTP_GET_VARS

2005-04-02 Thread AndreaD
By the way these variables are not part of a form they are just generated by index.php AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone show me a simple example of how to make variables availble to all pages in my site via $http_post_vars and $http_get_vars.

[PHP] Re: passing variables between pages without sessions

2005-03-13 Thread Jim Plush
Ross, is there a reason you don't want to use sessions again? Creating an associative array of each pages answers is much cleaner than passing hidden fields or get vars. Another option you could use it write the files to disk after each page save, that way if anything goes wrong(IE user

[PHP] Re: Passing Variables

2004-07-11 Thread Tim Van Wassenhove
In article [EMAIL PROTECTED], Harlequin wrote: I'm just working on my syntax for passing a variable UserID from one page to the next and it works a little like this so far: ?php echo for example: ['$UserID']; ? As you seem to have _many_ problems, i can only advise you to read the manual..

[PHP] Re: Passing Variables

2004-07-11 Thread Harlequin
Thanks Tim. Solved the problem. -- - Michael Mason Arras People www.arraspeople.co.uk - Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm just working on my syntax for passing a variable UserID from one page to

[PHP] Re: Passing Variables

2004-07-11 Thread John Taylor-Johnston
To go back to a previous conversation, I would not put it on the action=. You are using METHOD=post? I wold use input name=UserID value==\$UserID\ type=hidden or to really hide them use session variables so they are completely hidden. Or use a cookie (but that is not the most secure way).

[PHP] Re: passing variables to subsequent pages

2003-11-02 Thread Robb Kerr
Both suggestions were very helpful. But, I've still got a problem. The $MANUFACTURERS variable contains an array. I'm trying to pass this array with either the GET or POST method. I've tried the following to no avail... input name=manufacturer[] type=hidden multiple id=manufacturer[] value=?php

[PHP] Re: Passing variables between pages

2003-10-14 Thread Gabriel Peugnet
Like John said: You can use: In the second page: $user = $_POST['username'];// sent by the first page ... echo form ... input type='hidden' name='username' value='$user' ... /form; So, when you submit the form, in the third page you will be able to get the username. $user =

[PHP] Re: Passing Variables

2003-06-21 Thread Thomas Seifert
If you don't want them seen anywhere, then you've got to use sessions. Thomas On Sat, 21 Jun 2003 08:53:12 -0500 [EMAIL PROTECTED] (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

[PHP] Re: Passing Variables

2003-06-21 Thread nabil
use hidden field (pure html) and then u have it as $yourhiddenfield on the next page even u have the register global off.. Nabil Jay Fitzgerald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have been searching for an answer to this for a couple of hours now and cant find

RE: [PHP] Re: Passing Variables

2003-06-21 Thread George Pitcher
] Subject: [PHP] Re: Passing Variables use hidden field (pure html) and then u have it as $yourhiddenfield on the next page even u have the register global off.. Nabil Jay Fitzgerald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have been searching for an answer

RE: [PHP] Re: Passing Variables

2003-06-21 Thread Jay Fitzgerald
. That would work, but it relies on the user allowing cookies. George -Original Message- From: nabil [mailto:[EMAIL PROTECTED] Sent: 21 June 2003 2:58 pm To: [EMAIL PROTECTED] Subject: [PHP] Re: Passing Variables use hidden field (pure html) and then u have it as $yourhiddenfield

RE: [PHP] Re: Passing Variables

2003-06-21 Thread George Pitcher
] Subject: RE: [PHP] Re: Passing Variables That was my thought too, George. But if the user does not have cookies enabled, then I believe, as Thomas pointed out, that a SESSION is the only way to handle the variables. I have never done a correct session so I am trying to learn how to do them

Re: [PHP] Re: Passing Variables

2003-06-21 Thread Thomas Seifert
; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Passing Variables That was my thought too, George. But if the user does not have cookies enabled, then I believe, as Thomas pointed out, that a SESSION is the only way to handle the variables. I have never done a correct session so I am trying

RE: [PHP] Re: Passing Variables

2003-06-21 Thread Jeff Harris
On Jun 21, 2003, George Pitcher claimed that: |Jay, | |I've never ventured into 'sessions' (not ones without drinks) but I've a |feeling that if the user has turned cookies off then sessions are out as |well as they require a cookie being stored on the user's machine. | |Someone will surely

[PHP] Re: passing variables to flash

2003-02-21 Thread Lord Loh.
See the flash docs. There are ways of making javascript and flash interact. So make a dynamically generated javascript which will pass variable to flash! Or are there special reasonds to use only GET ? Lord Loh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: passing variables and functions between a base class and subclass

2003-02-06 Thread Justin Garrett
?php class base { var $a; function hello(){ echo hello; } } class sub extends base { function hi(){ $this-a = hi; $this-hello(); } } $foo = new sub; $foo-hi(); echo $foo-a; ? Justin Garrett Electroteque [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: passing variables to a sql statement

2003-01-18 Thread Bobby Patel
It seems that error is from an ill-formed MySql statement. Try this, $descripQuery = SELECT descrip from project_descrip where rowid=$foo; echo $descripQuery ; // put in this echo after the query. $descripResult = mysql_query($descripQuery); echo mysql_error(); file://put this echo after query

[PHP] Re: Passing Variables

2002-11-23 Thread Stephan Seidt
if you mean something like bla.php?foo=bar, etc and you have register_globas enabled it'll be stored as $_GET['foo'] ($_REQUEST['foo']) On Sat, 23 Nov 2002 11:42:49 -0800 [EMAIL PROTECTED] (Craig Edgmon) wrote: I am sure this question has been answered, but there is a ton of data to sift

[PHP] Re: Passing variables between servers

2002-08-22 Thread Anil Kumar K.
You cannot avoid using cookies. When you use Sessions web server is making use of cookies (unless you go for URL rewriting) which remains in the browser until one quits the browser. To tackle your situation, you can effectively make use of a database table and a session cookie: 1. set a

[PHP] Re: Passing variables between servers

2002-08-21 Thread Seairth Jacobs
Is there any reason to pass the data to the ASP server other than the need for the ASP server to pass it back in case the PHP server session has expired? If not, why not just store the login information in a local table referencable by a primary key that you pass around instead? You could even

[PHP] Re: Passing variables between servers

2002-08-21 Thread Mark McCulligh
The session variables are need on both server for authorization needs. The two servers host two separate Intranet apps and I am trying to join the two together into one Intranet app. The variable will be used on both sides. The reason I don't what to use cookie is your users keep disabling

RE: [PHP] Re: Passing variables between servers

2002-08-21 Thread Jay Blanchard
[snip] The session variables are need on both server for authorization needs. The two servers host two separate Intranet apps and I am trying to join the two together into one Intranet app. The variable will be used on both sides. The reason I don't what to use cookie is your users keep

Re: [PHP] Re: Passing variables between servers

2002-08-21 Thread Mark McCulligh
PROTECTED] To: 'Mark McCulligh' [EMAIL PROTECTED]; 'Seairth Jacobs' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 3:34 PM Subject: RE: [PHP] Re: Passing variables between servers [snip] The session variables are need on both server for authorization needs. The two

RE: [PHP] Re: Passing variables between servers

2002-08-21 Thread MET
http://www.w3.org/TR/SOAP/ ~ Matthew -Original Message- From: Mark McCulligh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 4:14 PM To: Jay Blanchard Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Passing variables between servers I have thought about this also, but I need

[PHP] Re: Passing variables between servers

2002-08-21 Thread Garth Dahlstrom
Why not share a session DB across both servers? Since your users disable cookies you'll have a url that looks like this anyway: http://www.myPHPserver.com/index.php?sid=12345 if you wanted to maintain session state so, when redirecting to the ASP server do: header('location:

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

2002-07-18 Thread Anup
Hey, I'm new, but I have some advice. Do you have to POST? becuase you can use sessions, and PHP has a bunch os session functions. Secondly, POST will not attach any variables to the URL, this is done by GET. To access the POST variables traverse through the $HTTP_POST_VARS (or $_POST array, i

[PHP] Re: Passing variables

2002-07-09 Thread Richard Lynch
After reading Kevin Yank's Managing Users ... at www.sitepoint.com, I tried the following 2 scripts. Unfortunately, the variable $course is NOT being passed to the 2nd script. Thus, per the script, the Home page is displayed. Why? In addition to needing session_start() in page 2, you simply

[PHP] Re: Passing Variables

2002-05-23 Thread Michael Virnstein
and please, next time paste the error or tell us at least, if it is a php error or a mysql error and the line on which it occured and mark that line in your sample code, so someone can look at it , understand it and help you. Regards Michael Michael Virnstein [EMAIL PROTECTED] schrieb im

[PHP] Re: Passing Variables

2002-05-23 Thread Michael Virnstein
$this usually is a self-reference inside a class. Use it with care! try to echo $sql;, perhaps this tells you more. Regards Michael James Opere [EMAIL PROTECTED] schrieb im Newsbeitrag

[PHP] Re: Passing Variables

2002-05-23 Thread Nicole Amashta
Why do you need the group by clause? Do one or the other, not both. either do a select count(id) from table or select field, count(id) from table group by field Check your query, Nicole Amashta www.aeontrek.com James Opere wrote: Hi All, I'm trying to pass variables from one form to the

[PHP] Re: passing variables to scripts

2002-04-28 Thread Yuri Petro
Which version of PHP you're running? May be you need to set register_globals = On in your php.ini file. -- Kind regards, Yuri. www.AceHoster.com Quality web hosting Mark Gallagher [EMAIL PROTECTED] ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (yes,

[PHP] Re: Passing variables with include()

2002-01-14 Thread Tino Didriksen
include(http://www.someremote.server/calculate_drivers.php;); Very simple really: You cannot include remote files... --|-- Tino Didriksen http://ProjectJJ.dk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
- Original Message - From: Tino Didriksen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 1:53 PM Subject: [PHP] Re: Passing variables with include() include(http://www.someremote.server/calculate_drivers.php;); Very simple really: You cannot include remote

[PHP] Re: Passing variables with include()

2002-01-14 Thread Imar de Vries
A lot of different answers, which I will respond to: - The variable is definately set before the include call is made, there is no doubt about that at all :) - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call

[PHP] Re: Passing variables with include()

2002-01-14 Thread Imar de Vries
Imar De Vries wrote: - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call (include /calculate_drivers?serie_id=3.php) the code is processed perfectly. The thing is, I can not pass the variable with the call,

[PHP] Re: Passing variables with include()

2002-01-14 Thread Martin Wickman
Imar De Vries wrote: Imar De Vries wrote: - Including remote files *is* possible. The php manual does not mention this does not work, and when I add the variable to the call (include /calculate_drivers?serie_id=3.php) the code is processed perfectly. The thing is, I can not pass the

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Scott Houseman
Hi Al. While we are on topic, what are the key differences between include() require() ? Cheers Scott - Original Message - From: Martin Wickman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 3:40 PM Subject: [PHP] Re: Passing variables with include() Imar

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
- From: Scott Houseman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 13, 2002 2:54 PM Subject: Re: [PHP] Re: Passing variables with include() Hi Al. While we are on topic, what are the key differences between include() require() ? Cheers Scott - Original Message

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Martin Wickman
Scott Houseman wrote: Hi Al. While we are on topic, what are the key differences between include() require() ? Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Stefan Rusterholz
Scott Houseman wrote: Hi Al. While we are on topic, what are the key differences between include() require() ? Unlike include(), require() will always read in the target file, even if the line it's on never executes. If you want to conditionally include a file, use include(). The

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

2001-11-03 Thread Galkov Vladimir
may be you find accepteble usint input name=id value=? print $id? type=HIDDEN ??? -- 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]

[PHP] Re: passing variables between scripts?

2001-08-31 Thread Paul Procacci
Sessions would definately save the data. :) Jon Thompson Coon wrote: I can't cope the fact that I loose my variables every time I reload the page. If someone could point me to the right direction, I'd be grateful. Present problem: I have a script that has some globals (surprise). Within

[PHP] Re: passing variables between scripts? End of story

2001-08-31 Thread Jon Thompson Coon
Thank you. Question answered. Several times over. -- 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]

[PHP] Re: passing variables between PHP and Perl

2001-08-21 Thread Richard Lynch
http://php.net/exec/ You can get back whatever Perl spews out to 'stdout' using that. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

[PHP] Re: Passing variables to a file

2001-08-21 Thread Richard Lynch
You could give them a session ID, and then keep foo completely on the server. http://php.net/session_start If you just want it invisible to most users but not really *SECRET*, a simple POST form works. They can still see it if they do View Source in the browser. -- WARNING [EMAIL PROTECTED]

RE: [PHP] Re: passing variables between PHP and Perl

2001-08-21 Thread Dave
Just a quick addition... when a PHP script is run as a shell script from a Perl script (that make sense?) it cannot pass back exit variables to the Perl script... Would love to be proven wrong on this as I had to dust off Perl programming for a RADIUS interface some time ago. Dave

[PHP] Re: passing variables from PHP to Perl script

2001-08-18 Thread Richard Lynch
I'm trying to integrate an Internet Telephony service for a client. I have a number of variables I need to dump into the clients database and then to pass to the Internet Telephony service via a Perl script they have provided for me that will reside on the client's server. Can I somehow pass

[PHP] Re: Passing variables

2001-05-23 Thread Jon Yaggie
I dont know any other way. best is if you ssl available to use it on the forms that pass these variable but using a form all variables are passed this way either post or get through the url. Jon