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 (é, í, ...).
Someone can help me?
-Mensagem original-
De: Eric
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 (é, í, ...).
I'm trying to redirect my users to a URL which includes a query string:
$the_url =
$CFG-wwwroot./DLC/includes/L1_accept_required.php?cid=.$course-id;
//die (URL = $the_url);
header('Location: '. $the_url);
When I uncomment the die() command, the URL shows properly, e.g.:
Hi -
I have a PHP msg board on one domain, and a site on another, the idea is
that the board is framed. The PHP msg board pages detect whether they're in
the frameset, and if not, pass their URL query string over to the
frameset. The frameset then grabs this and writes a frame src tag, thus
Hi!
I need to solve this problem:
I have a menu bar on my main page and a dynamic zone on the others levels of
my html/php site. When I am clicking the 'item 1' on my menu, I want to load
item1.php3 in the dynamic section of the next page.
So I think I have to use sometinng like get variable
So, the link might look like:
a href=page.php?item=1item 1/a
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
// $item = $_GET['item'];
if(empty($item))
{
// set a default item
instead of
if(empty($item)) { ...
I would recomend
if(is_numeric($item)) { ...
Justin French wrote:
So, the link might look like:
a href=page.php?item=1item 1/a
Then page.php might look like this:
?
include({$item}.php);
?
BUT this would be smarter:
?
// uncomment this next line if you
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
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 this. I am not receiving an error of any kind, but nothing is
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 this. I
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 Nields wrote:
Never
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:
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=move
I
Hey again list,
Anybody know what the diffrance in using %20 and +
as a space in the query string is?
Josepablo Pérez
_
Do You Yahoo!?
La emoción e intensidad del deporte en Yahoo! Deportes. http://deportes.yahoo.com.mx
--
PHP General
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
Ok I am pulling my hair out! Why if I pass error=5 through a query string
like index.htm?error=5 and then echo it, it's correct, but when I do
error=25 it echos 2T and when I do error=500 it echos 5TP? What the heck is
going on here? I pass strings easy enough and I cant remember ever having
this helps
- Original Message -
From: Richard Baskett [EMAIL PROTECTED]
To: PHP General [EMAIL PROTECTED]
Sent: Tuesday, October 30, 2001 9:02 AM
Subject: [PHP] query string
Ok I am pulling my hair out! Why if I pass error=5 through a query string
like index.htm?error=5 and then echo
I'm trying to get a count of the number of records in a database that have
the keyword cat, for example. Below is the original code; I added the
query with count at the bottom of this code but it doesn't seem to be
working. I just get a return of 4 which doesn't correspond correctly with
the
Hi there,
is there any way to access two variables in a query string that have the same name e.g
test.php?name=joename=bob
Is there any way to extract both values of name without changing the way the query
string is created?
Thanks,
Abe
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=joename=bob
A Is there any way to extract both values of name without changing the way the query
string is created?
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[]=joename[]=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.
At
21 matches
Mail list logo