how about when u open the new window (using something like window.open(...))
you make it open a URL something like foobar.php?var1=foo and then on that
page (foobar.php) you can grab the value of "$var1" as "foo"
HTH
Beau
// -Original Message-
// From: its me [mailto:[EMAIL PROTECTED]]
maybe this is more a javescripy problem...but its related to my php code:
how can i open a new window with javacript and pass to it php variables??
thanks guys alot.
Rehab M.Shouman
HI all,
I was wondering if anyone had experimented with the Oracle Profile
parameters such as IDLE_TIME, CONNECT_TIME or SESSIONS_PER_USER in
order to control the number of connections apache/php makes to the
Oracle DB when using plogon?
I was thinking of experimenting with this and wondered
George:
Thanks for that. That's pretty much what I realised anyway, while
composing the email. But I thought I'd send it off anyway!
Thanks a lot.
Russ :-)
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 2:52 PM
To: PHP DB Mailing List (E-m
sander,
this isn't so much a problem with people using the back button or whatever,
but if you set all your pages not to cache
header("Expires: 0");
header("Cache-Control: no-cache");
will do that, then also require a cookie once they are logged in. during the
logout process (and have the cookie
Hi
if you add
to your header that should stop the browser caching and if you do all your
links using a form with the method set to 'post' that should stop people
using the back button
HTH
Peter
---
Excellence in internet and open source software
--- Begin Message ---
On Sun, 2002-07-07 at 01:07, Shiloh Madsen wrote:
> The newbie is still having troubles heh. Maybe some kind soul can tell
> me what im doing wrong this time. This is the code for a page I am
> working on. When I try to bring up the page in a browser, I just get a white
Hello,
I would like to make a page expire or disable the backbutton (clear the
history).
Why? I'm developping a database-related programm in php/mysql and people can
log in and out, but nobody should be able to use the backbutton to be in
the system again as the user that just logged of.
Can som
Well, the string concatenation can be used to force PHP read and print a
variable within a echoed or printed string. As far as I know, it should
be used to make PHP handle a function inside a string. i.e.
echo "your total is:". total_function();
In your example, you might use as well:
echo " --
Thanks again Miles
I tried all the numerous permutations for assigning the value to the record
but I couldnt get it to work
However I took your advice on ODBC and got it to work!!!
The only
problem I have is entering a date through a SQL insert command.
I am using the following sql string (for m
Can somebody explain to me the rule on concatenating? So far, I haven't had
to use those mysterious-looking dots. ;) My code goes like this:
echo "";
Does it work because I'm lucky? Honestly I haven't been impressed with the
documentation I've found online.
Jen Swofford
[EMAIL PROTECTED]
>
hi
The enclosed will read all incoming variables and convert them, effectively
turning on 'register_globals'
It is a quick fix for broken scripts but does remove the security provided
by turning register_globals off !
use it as an include at the beginning of scripts.
Peter
http://www.sunmaia.
I just recently got back to work on my db's and found that html variable
passing isn't working anymore. I did some research and fould that the
core setting in PHP for register_globals is off by default now since
4.1.x. As a newbie, this stumped me. There are some new variables
created by the P
Just in case you were still looking for info on your question, I've put all
of the code from a page I have working that does pretty much what you're
looking for. I'm no guru, but the code is commented pretty well. The page
does a little more than what you have mentioned you're looking for, but
may
Several things I've noticed.
One, you have not body tags in your code anywhere.
Just applying a style to the body doesn't (aas far as
I know doesn't declare it in your code.
Secondly, and I don't konw if you left it out
to protect the innocent, but you haven't supplied
a password for the databas
You are missing a tag to mark the start of the body, so all your
content will be part of the header, I think!
HTH
Peter
---
Excellence in internet and open source software
---
Sunmaia
www.sunmaia.net
[EMAIL
16 matches
Mail list logo