| You are here: DEVPPL ‹ Forum ‹ Programming ‹ PHP and MySQL Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
I want to insert a forbidden character in a url
2 posts
• Page 1 of 1
0
I want to insert a forbidden character in a url
I'm trying to insert the symbol " into direct address and i get this error
. 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
, i tried Url ecoding and insert it in ascii code but i still get the same error .
Thanks in advanced.
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
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
0
Re: I want to insert a forbidden character in a url
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);
---
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
|
|