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 (?)
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 menu, which
page to edit. Then t
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.
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 computer
To go back to a previous conversation, I would not put it on the action=. You are
using METHOD=post?
I wold use 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).
Harlequin wrote:
> I'm just working on my syntax
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
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:
>
>
As you seem to have _many_ problems, i can only advise you to read the
manual.. and read it again.. and again...
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...
>
>
'> //as per Justin's suggestion
Except for the last two entries
Like John said:
You can use:
In the second page:
$user = $_POST['username'];// sent by the first page
...
echo "
...
";
So, when you submit the form, in the third page you will be able to get the
username.
$user = $_POST['username'];
Yo can do this in N number of pages. If you
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 corr
riginal Message-
> > From: Jay Fitzgerald [mailto:[EMAIL PROTECTED]
> > Sent: 21 June 2003 3:19 pm
> > To: George Pitcher; nabil; [EMAIL PROTECTED]
> > Subject: RE: [PHP] Re: Passing Variables
> >
> >
> > That was my thought too, George. But if the user does
June 2003 3:19 pm
> To: George Pitcher; nabil; [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 th
ld set a cookie. 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
; To: [EMAIL PROTECTED]
> 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 mess
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 an
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
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: http://w
a = "hi";
$this->hello();
}
}
$foo = new sub;
$foo->hi();
echo $foo->a;
?>
Justin Garrett
"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi there sorry about the long subject , but i have not mastered yet how to
> pass funtcions and
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 ex
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 thro
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 sessi
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: http://www.myASPser
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
y Blanchard" <[EMAIL 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 s
[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 disablin
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 them.
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
d
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 thi
>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 sim
What error do you get?
James Opere wrote:
> Hi All,
> I'm trying to pass variables from one form to the other.I have a problem
> when i want to do the the following:
> 1.COUNT($variable)
> 2.DISTINCT($variable)
> .
> I realise i can not use the brackets in my query and the variable b
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
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 New
$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
FC788AB9771FD6118E6F0002A5AD7B8F7268AB@ICRAFNTTRAIN">news:FC788AB9771FD6118E6F0002A5AD7B8F7268AB@ICRAFNTT
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]..
> 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, us
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
ssage -
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(
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: Pass
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 pa
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
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 (incl
rds
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
> 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: [EMA
may be you find accepteble usint
???
--
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]
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]
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). Wi
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
>
>http://ph
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]
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: http://chatmusic.com/volun
> 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 pa
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
51 matches
Mail list logo