Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8649173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:29:40+00:00 2026-06-12T13:29:40+00:00

I am using a little script, and in the generated content I get a

  • 0

I am using a little script, and in the generated content I get a %20 instead of a space.

This is the script I’m using:

index.php

what is your name?

<FORM METHOD="LINK" ACTION="temp.php?name=">
<input type="text" value="" name="name"  ></input>
<input type="submit" value="Submit" ></input>
</form>

and on temp.php

<?php
$name = rawurlencode( $_GET['name'] );
echo "<h1>" . $name . "</h1>";
?>

Hello <?php print $name ?> how are you?

If I input Mr Example, it renders as Mr%20Example. It does the same for the url temp.php?name=Mr%20Example

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:29:42+00:00Added an answer on June 12, 2026 at 1:29 pm

    the %20 comes because you have used rawurlencode

    $name = rawurlencode( $_GET['name'] );
    

    You have to use rawurldecode , it will replace all this kind of character to original character.

    $name = rawurldecode( $_GET['name'] );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a neat little php script to resize my images to fit in
I am using this little script to toggle classes of an element on click
I am using a little PHP script on my site called timthumb.php. The script
I am trying to create a little script to convert video on windows using
I have a little python script that I am using to download a whole
I'm having little trouble creating a script working with URLs. I'm using urllib.urlopen() to
I have a PHP script that will generate a report using PHPExcel from data
i've made a little script to calculate prime numbers, i'm using the latest xampp
I have wrote this little script which generates a nice random password. The problem
I'm developing a little script using ash shell (not bash). Now i have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.