* Jordi Canals <[EMAIL PROTECTED]>:
> What I do to control it only by PHP without using the mod_rewrite for
> apache is to use URL with this format:
>
> http://sample.com/script.php/param1/param2/param3
>
> Then, work in the script looking at the variable
> $_SERVER['REQUEST_URI'] wich will contain
What I do to control it only by PHP without using the mod_rewrite for
apache is to use URL with this format:
http://sample.com/script.php/param1/param2/param3
Then, work in the script looking at the variable
$_SERVER['REQUEST_URI'] wich will contain, in this sample:
/script.php/param1/param2/para
* Brad Brevet <[EMAIL PROTECTED]>:
> This seems to be what I was looking for, but I am curious, will the "/" be
> included in the variable? Will I have to do a stripslashes() command on it?
If you echo out $_SERVER['PATH_INFO'] for the URL shown below, it will
give you:
/321
Usually what you
This seems to be what I was looking for, but I am curious, will the "/" be
included in the variable? Will I have to do a stripslashes() command on it?
Brad
"Hans Juergen von Lengerke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Brad Brevet:
> >
> > Hi, I am curious how to pass
Brad Brevet wrote:
Hi, I am curious how to pass a variable without using something like id=321.
I have seen sites that have something like
http://www.website.com/something/321 and the variable is passed how exactly
is that done? And is it called something specific so I know how to refer to
it in th
> Brad Brevet:
>
> Hi, I am curious how to pass a variable without using something like id=321.
>
> I have seen sites that have something like
> http://www.website.com/something/321 and the variable is passed how exactly
> is that done? And is it called something specific so I know how to refer t
On Apr 8, 2005 4:11 PM, Brad Brevet <[EMAIL PROTECTED]> wrote:
> Hi, I am curious how to pass a variable without using something like id=321.
>
> I have seen sites that have something like
> http://www.website.com/something/321 and the variable is passed how exactly
> is that done? And is it calle
Capture the variables you've sent to the main frame page and send them via
the url of the frames.
Hope that helps.
- Original Message -
From: "gowthaman ramasamy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 2:24 AM
Subject: [PHP] variable passing using URL
what is the code your using to try and retrieve the var.. are you using
$_REQUEST['equipment'];
jason
Martin S <[EMAIL PROTECTED]> wrote:
>
> I have this in equip-lend-index.php and want to pass the variable
> $equipment back to the same page:
>
> PRINT " Equipment: action=\"$USERPREFIX/
at a guess would say have some hidden inputs on your form that echo the
var's pass from part 2 that way when your form is submitted in part 3 it
gets sent along with the new stuff
> -Original Message-
> From: Michael Benbow [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 21 November 2002 2:24
Previously, Internaut said:
> Thankx for your reply, would you recommend setting the register_globals to
> on, would this be safe to do this?
It's not any more or less "safe" than using the $HTTP_POST_VARS or
$HTTP_GET_VARS arrays instead, but it could be less typing :-)
Note that for the arrays
Thankx for your reply, would you recommend setting the register_globals to
on, would this be safe to do this?
Regards
Tosh
""Fai"" <[EMAIL PROTECTED]> wrote in message
9edv0o$2b7$[EMAIL PROTECTED]">news:9edv0o$2b7$[EMAIL PROTECTED]...
> Set register_globals = On. But actually, you can use $HTT
Set register_globals = On. But actually, you can use $HTTP_*_VARS[] to get
the values from the form. * represent: GET, POST or COOKIE
>
> Please could anyone tell me which part of the ini file I need to modify to
> allow me to pass variables from one form to another.
>
> Regards
> Internaut
>
>
>
13 matches
Mail list logo