Re: [PHP] Query string question

2009-01-13 Thread Robert Cummings
On Tue, 2009-01-13 at 17:21 -0200, Jônatas Zechim wrote: > I have something like this on my site: > > mysite.com/índex.php?msg=Transa%25E7%25E3o+n%25E3o+autorizada > > i need to convert " Transa%25E7%25E3o+n%25E3o+autorizada" to "Transação não > autorizada". > > The letters ç ã, and others (é,

Re: [PHP] Query string???

2002-11-18 Thread Justin French
on 19/11/02 12:31 AM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: > instead of > if(empty($item)) { ... > I would recomend > if(is_numeric($item)) { ... very true -- thanks for picking that up! Justin French http://Indent.com.au Web Developent & Graphic Design --

Re: [PHP] Query string???

2002-11-18 Thread Marek Kilimajer
instead of if(empty($item)) { ... I would recomend if(is_numeric($item)) { ... Justin French wrote: So, the link might look like: item 1 Then page.php might look like this: include("{$item}.php"); ?> BUT this would be smarter: // uncomment this next line if you have register_globals OFF /

Re: [PHP] Query string???

2002-11-18 Thread Justin French
So, the link might look like: item 1 Then page.php might look like this: BUT this would be smarter: Enjoy! Justin on 18/11/02 11:07 PM, Cyclone Médias ([EMAIL PROTECTED]) wrote: > Hi! > > I need to solve this problem: > > I have a menu bar on my main page and a dynamic zone on the

Re: [PHP] Query String...

2002-07-01 Thread Chris Hewitt
Tim, $action = $_GET["action"]; should do it. I assume you have register_globals off (as it is by default nowadays). HTH Chris Tim Nields wrote: >Never have encountered this. When I include a query string on the URL line >I can not access the variables. > >For example: www.tim.com?action=mo

Re: [PHP] Query String...

2002-07-01 Thread Nields Timothy M
Thank you very much... "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > On Tuesday 02 July 2002 04:45, Tim Nields wrote: > > Never have encountered this. When I include a query string on the URL line > > I can not access the variables. > > > > For example: www.tim

RE: [PHP] Query String...

2002-07-01 Thread Dan Vande More
In the beginning of your page try: $action=$_GET["action"]; echo $action; -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:01 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Query String... On Tuesday 02 July 2002 04:45, Tim Ni

Re: [PHP] Query String...

2002-07-01 Thread Jason Wong
On Tuesday 02 July 2002 04:45, Tim Nields wrote: > Never have encountered this. When I include a query string on the URL line > I can not access the variables. > > For example: www.tim.com?action=move > > I should be able to access the variable action. However I am currently not > able to do th

Re: [PHP] QUERY STRING question

2002-03-11 Thread Hiroshi Ayukawa
I guess they are almost same. But, the contents of $QUERY_STRING are different. Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] query string

2001-10-30 Thread Frewuill Rodriguez
hey take it easy men.. it's not you.. it's the encoding.. what's happening is that "=20" "=25" etc means a special caracther blank space etc.. try using url_encode() function to pass your parameters.. something like this would help $parameters = url_encode("error=25"); index.htm?$parameters hop

Re: [PHP] Query String Name ?

2001-07-26 Thread Brian White
In PHP, if you set the input fields to be array names then all the results get put in an array: So: test.php?name[]=joe&name[]=bob would create an array("joe", "bob" ) in PHP. If you really can't set it in the form you could access the QUERY_STRING environment variable and parse it directly.

Re: [PHP] Query String Name ?

2001-07-26 Thread Daniel Rezny
Hello, Thursday, July 26, 2001, 12:14:39 PM, you wrote: A> Hi there, A> is there any way to access two variables in a query string that have the same name e.g A> test.php?name=joe&name=bob A> Is there any way to extract both values of name without changing the way the query string is create