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'm
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 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 SQL
--- 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
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 current query
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=value1var2=value2
and this is my index.php
?php
echo var1: $var1 ;
echo var2: $var2 ;
[snip]
and this is my index.php
?php
echo var1: $var1 ;
echo var2: $var2 ;
phpinfo();
?
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
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:
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']
Is there a
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:
Variables as part of the url would not be encrypted, but you could send
variables as POST to the secure document and then they would get encrypted -
Russ
---
Toolshed Computer Productions - Professional PHP Hosting
Hosting - Dedicated Servers - Design - Programming
11 matches
Mail list logo