Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

#29799 [Opn]: extract performs urldecode?
ID:               29799
Updated by:       mez@php.net
Reported By:      cpuidle at gmx dot de
Status:           Open
Bug Type:         Documentation problem
Operating System: WinXP SP2
PHP Version:      5.0.1
New Comment:

It's true that nowhere is it mentioned that any variables from outside
PHP will be automatically urldecode()'ed... but isn't this expected
behaviour? When you pass a variable, whether through POST, GET or
Cookies, don't you want that variable to be as it was sent, rather than
encoded?

I know this might be confusing for people coming from other languages
(such as Perl), but doesn't it make sense to have it that way?


Previous Comments:
------------------------------------------------------------------------

[2004-08-23 17:04:04] cpuidle at gmx dot de

Description:
------------
Running this code:

extract($_REQUEST);

the resulting (global) variables are url-decoded. I found that
$_REQUEST is already url-decoded and couldn't find any documentation?

Reproduce code:
---------------
.

Expected result:
----------------
make clean when url-decoding is performed.

Actual result:
--------------
.


------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=29799&edit=1

Report this thread to moderator Post Follow-up to this message
Old Post
mez@php.net
12-30-04 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:44 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.