Query String isn't showing all value

36 views Asked by At

Trying to send a absolute path through query string:

$abs_path=realpath(__DIR__);

This is the string while echoing:

D:\Working Projects\wamp\www\gbl_admin\filemanager/uploads

This is the actual query string I am getting:

http://localhost/gbl_admin/filemanager/dir_mgmt.php?action=new_dir&&location=D:\Working Projects\wamp\

I even tried replacing space with %20:

$abs_path=str_replace(" ","%20",$abs_path);

By how much i know i think i haven't crossed the query limit. How can i solve this?

This is the tag inside a Heredoc Syntax:

<a href=$dir_mgmt?action=new_dir&&location=$abs_path>New Folder</a>

and

$dir_mgmt="http://localhost/gbl_admin/filemanager/dir_mgmt.php";
0

There are 0 answers