hi
i can run this url in browser adress bar and it give me succesfull result:
http://site.com/page.php?text=hi how are you
( as you know when i run it in browser adress bar it converts to:
http://site.com/page.php?text=hi20%how20%are20%you )
then the page.php shows: hi how are you
there is no problem until here
but i want to run this url in my phpcode
$openfile="http://site.com/page.php?text=hi how are you";
$mswdata = @implode ( '', file( $openfile ) );
but $mswdata has "hi" only!
in other mean " how are you" removes
i use of this code instead of it:
$openfile="http://site.com/page.php?text=hi20%how20%are20%you";
$mswdata = @implode ( '', file( $openfile ) );
now $mswdata has "hihoware__you"
i can not use of str_replace function to correct this.
i must use @implode() and file() or other functions or an character instead of 20% that run my url full and correctly and give me $mswdata has "hi how are you"
what should i do?