You are here: DEVPPL Forum Programming PHP and MySQL Forum
NOTIFICATIONS
54.102
MEMBERS
15.695
TOPICS
62.281
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

I want to insert a forbidden character in a url

0

Loading

I want to insert a forbidden character in a url

Postby Mihai » Mon Sep 20, 2010 3:12 pm

I'm trying to insert the symbol " into direct address and i get this error :D . Forbidden

You don't have permission to access .../get_com_page.php on this server.
Apache 1.3.24 Server at http://www.____.com Port 80

Can some1 help me please :D , i tried Url ecoding and insert it in ascii code but i still get the same error .

Thanks in advanced.
Mihai
 
Reputation: 0
Posts: 1
Joined: Fri Sep 10, 2010 11:26 pm
Highscores: 0
Arcade winning challenges: 0

I want to insert a forbidden character in a url - Sponsored results

Sponsored results

Login to get rid of ads

 

0

Loading

Re: I want to insert a forbidden character in a url

Postby HotNoob » Mon Sep 20, 2010 10:37 pm

use base64_encode and base64_decode
---
that would probably be the easiest way.

otherwise, you can assign a combination that you can string replace later.

forexample...
||SC||
in php you would do something like

$str = str_replace('Special Char Here', '||SC||', $str);

Then to decode it
$str = str_replace('||SC||', 'Special Char Here', $str);
HotNoob
 
Reputation: 0
Posts: 169
Joined: Sun May 02, 2010 2:38 am
Highscores: 0
Arcade winning challenges: 0
^ Back to Top