473,322 Members | 1,241 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

GET varaibles with irregular characters

Hello,

I'm writing some application that authenticates users via LDAP. When
user going to login he sends user/pass by GET request to the
application adn gets his ID back.

Some users that have irregular characters in the password ( !^&%@#... )
can not login. I tried to encode password ($_SERVER['PHP_AUTH_PW'])
with urlencode() and base64_encode() but it does not solve the
proplem...

Any suggestions will be thankful !
Thanks,
Slava

Aug 23 '05 #1
3 1472
sl***********@gmail.com wrote:
When user going to login he sends user/pass by GET request


Not in the form http://user:pa**@host.invalid/ ??

--
Jock
Aug 23 '05 #2
sl***********@gmail.com wrote:
I'm writing some application that authenticates users via LDAP. When
user going to login he sends user/pass by GET request to the
application adn gets his ID back.

Some users that have irregular characters in the password ( !^&%@#... )
can not login. I tried to encode password ($_SERVER['PHP_AUTH_PW'])
with urlencode() and base64_encode() but it does not solve the
proplem...


Please post code samples (including HTML form for user input,
PHP code recieving data from the HTML form and PHP code
using the data in LDAP functions).
Hilarion
Aug 23 '05 #3
* John Dunlop:
Not in the form http://user:pa**@host.invalid/ ??


The user:ho**@example.org-Scheme is nether supported by RFC, nor by
Internet Explorer (patched since 2003?). So using this is considered
harmful.

And, please use example.(com|net|org) for examples in future, as specified
in RFC2606.

--
"The sky above the port was the color of television,
tuned to a dead channel." o <http://knurd.de/>
-- William Gibson, Neuromancer, o -- A Geek's View
Chiba City Blues ooo
Aug 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jeggertsen | last post by:
I noticed a reformatting text problem with IE5 on a mac. This is the only place I've seen this happen. Safari on mac is fine, as is every browser I tested (IE6,Firefox,NN) on windows. When a...
4
by: Cheng Mo | last post by:
I know global varaibles should always be avoided. I asked this question just for deep insight about C++. If global variables are distributed among different source code files, what's the...
16
by: Woodmon | last post by:
I want to flow text in an "irregular" column on the left and place a large image at the top of an "irregular" column to the right. Then after the bottom of the large image I want the text column on...
2
by: ppyrstr | last post by:
I have been trying to figure out how to have a custom control that is irregular (non-rectangular) not interfere with other elements on the screen that may interfere with it's "regular" shape (the...
4
by: keithb | last post by:
It looks like the span tag cannot be used with asp tables. What is the best way to make an irregular asp table? Thanks, Keith
5
by: sunil borwankar | last post by:
I am trying hard to make Custom Command Buttons of Irregular Shape and of Different colours in Active X Interface Wizard but am not successful. Irregular Shape Buttons i.e.; Triangular, Arrow Shape...
1
by: microsoft.public.dotnet.languages.vb | last post by:
Hi All, I wanted to know whether this is possible to use multiple variables to use in the select case statement such as follows: select case dWarrExpDateMonth, dRetailDateMonth case...
0
by: dr | last post by:
C# Irregular shaped user controls. How to make usercontrol have transparency key for its background image? I want to have irregular shaped user controls on my form. like a funny shaped button....
6
by: Nobody | last post by:
hi there, suppose I want to iterate for a specific variable e.g. i , but for non regular (or consecutive) values. For example i=0,1,2,4,5,7,8 etc how can I do that with a for loop? MY...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.