Hi Trisan,
Quoting [EMAIL PROTECTED]:
> I've put this code at teh top of the code on events page '$sort_by =
> $_GET[sort_by];' etc...
> And while that sorts out the problem, I'm curious as to why I need to do
> that, and if those changes will cause me probs elsewhere?
Perhaps on your old server
On Thu, 21 Oct 2004 14:08:28 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I'm moving hosts for a freelance site I do...
>
> They have an events section, and it's sortable by date, name and category
> etc...
> To achieve this, I passed the search/sort variables via the URL...
> However, I'
I'm moving hosts for a freelance site I do...
They have an events section, and it's sortable by date, name and category
etc...
To achieve this, I passed the search/sort variables via the URL...
However, I'm testing the new server, and those variables are not being
detected?
I've put this code a
Thanks!
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
> > Is there a way to preserve URL variables and have a link simply add
> > a new variable to the end?
>
> Sure, just use $_SERVER['QUERY_STRING'], which is the c
--- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
> Is there a way to preserve URL variables and have a link simply add
> a new variable to the end?
Sure, just use $_SERVER['QUERY_STRING'], which is the current query string, and
append whatever new URL variables you want.
Chris
=
My Blog
On Tuesday, October 28, 2003 8:57 AM Jed R. Brubaker wrote:
> Is there a way to preserve URL variables and have a link simply add a
new
> variable to the end?
> I am tabulating data and I have URL variables defining which dataset
to
> view and in what way to view it. I would now like to set the S
Is there a way to preserve URL variables and have a link simply add a new
variable to the end?
I am tabulating data and I have URL variables defining which dataset to view
and in what way to view it. I would now like to set the SQL statement up
with a limit and add some "Previous", "Next" commands
[snip]
and this is my index.php
Output of this page is without expansion of my variables var1, var2 at
section "echo"
but phpinfo expand this:
_GET["var1"]value1
_GET["var2"]value2
[/snip]
This is not an error. Register globals is off (which is a Good Thing
TM). var1 and var2 are in t
Hi,
[EMAIL PROTECTED] wrote:
> Hi all,
>
> I use RedHat9.0 with Apache 2.0.40 & PHP 4.2.2
> and I have problem with parsing URL variables...
>
> I use this URL: http://my.domain.mine/index.php?var1=value1&var2=value2
>
> and this is my index.php
>
>echo "var1: $var1" ;
> echo "var2: $va
Hi all,
I use RedHat9.0 with Apache 2.0.40 & PHP 4.2.2
and I have problem with parsing URL variables...
I use this URL: http://my.domain.mine/index.php?var1=value1&var2=value2
and this is my index.php
Output of this page is without expansion of my variables var1, var2 at section "echo"
but ph
Have a look at the parameter register_global in your php.ini
By default in the recent version of PHP, this parameter is set by default to
off for security reason.
So if you want to use $id, you just have to set this parameter to on
"Stephen" <[EMAIL PROTECTED]> a écrit dans le message de news:
[E
Try:
parse_str( $_SERVER['QUERY_STRING']);
"Stephen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> I have just installed PHP 4 and Apache 2 but when I pass a variable in a
url
> eg ?id=1
> I can't get the variable value by $id, I have to use $_GET['id'] or
> $_POST['id']
>
>
Hi
I have just installed PHP 4 and Apache 2 but when I pass a variable in a url
eg ?id=1
I can't get the variable value by $id, I have to use $_GET['id'] or
$_POST['id']
Is there a setting I need to change to allow me to use the $id? If there is
it will save a lot of additional coding.
Thanks,
try $QUERY_STRING
-Original Message-
From: Clint Tredway [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 5:13 AM
To: PHP General
Subject: [PHP] URL variables
How do I reference URL variables..?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
How do I reference URL variables..?
--
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]
://www.toolshed51.com
-Original Message-
From: Michael Conley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 2:08 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] URL Variables
First, I realize this isn't really a PHP question.
If I include variables in a URL that I am passing to a
First, I realize this isn't really a PHP question.
If I include variables in a URL that I am passing to a web server over
HTTPS, is the URL (and hence, the variables) encrypted?
example: https://www.yourdomain.com?firstname=michael&lastname=conley
I need to make sure that the firstname and last
17 matches
Mail list logo