* 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
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 the future?
Thanks,
14 maggio 2004 8.24
A: [EMAIL PROTECTED]
Oggetto: [PHP] variable passing using URL
hello list,
I have a problem in passing variables using URLs.
I have a link from a PHP 'Page One' and passing some variables thru
URL.
This link should now open another page (main frame) which will have
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]
hello list,
I have a problem in passing variables using URLs.
I have a link from a PHP 'Page One' and passing some variables thru
URL.
This link should now open another page (main frame) which will have two
frames in it (left frame and Right frame). But I want the variables to
be passed on to the
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/
I have this in equip-lend-index.php and want to pass the variable
$equipment back to the same page:
PRINT " Equipment: ";
PRINT "
Computers";
PRINT " Phones";
PRINT " ";
PRINT " ";
Hitting Select (submit button) doesn't pass the value of $equipment back
to the page. What am I doing wrong?
/
ovember 2002 2:24 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Variable passing through a form
>
>
>
> Hi,
>
> I currently have a page divided into three areas, two of which
> are iframes.
>
> The user selects a component out of part 1, which decides what is shown
&g
Hi,
I currently have a page divided into three areas, two of which are iframes.
The user selects a component out of part 1, which decides what is shown
in part 2. When something is clicked in part 2 the information updates
in the second iframe, or part 3. This is all working fine through
$P
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
>
>
>
Hello
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
19 matches
Mail list logo