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 711393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:43:48+00:00 2026-05-14T04:43:48+00:00

whenever i send a form hidden field to paypal with an email as a

  • 0

whenever i send a form hidden field to paypal with an email as a field value containing @ eg.

<input type="hidden" name="email" value="test@gmail.com" />

it breaks the layout in the paypal page. if i remove the @ its ok.

i wonder maybe it helps if i use the html entity for @ (in the format &xxx;).

is there a html entity for @?

someone knows another solution to this or knows why it breaks the layout in paypal? (the password box beneath the email will be misplaced).

source code:

<form action='https://www.paypal.com/cgi-bin/webscr' method='post' id='payPalForm'>
<input type='hidden' name='cmd' value='_cart' />
<input type='hidden' name='upload' value='1' />
<input type='hidden' name='business' value='your@paypalaccount.com' />
<input type='hidden' name='tax_rate' value='25' />
<input type='hidden' name='currency_code' value='SEK' />
<input type='hidden' name='return' value='http://www.shop.com/order_confirmation' />
<input type='hidden' name='item_name_1' value='Apple Macpro' />
<input type='hidden' name='item_number_1' value='1 - Product 1' />
<input type='hidden' name='amount_1' value='25000' />
<input type='hidden' name='item_name_2' value='Apple Macbook Pro' />
<input type='hidden' name='item_number_2' value='2 - Product 2' />
<input type='hidden' name='amount_2' value='12000' />
<input type='hidden' name='item_name_3' value='Apple Macbook Air' />
<input type='hidden' name='item_number_3' value='3 - Product 3' />
<input type='hidden' name='amount_3' value='15000' />
<input type='hidden' name='item_name_4' value='PC' />

<input type='hidden' name='item_number_4' value='4 - Product 4' />
<input type='hidden' name='amount_4' value='2300' />
<input type='hidden' name='address1' value='Möllebogatan 19' />
<input type='hidden' name='address2' value='Von lingens Väg 4' />
<input type='hidden' name='city' value='Malmö' />
<input type='hidden' name='country' value='SE' />
<input type='hidden' name='first_name' value='Åke' />
<input type='hidden' name='last_name' value='Svensson' />
<input type='hidden' name='lc' value='SE' />
<input type='hidden' name='charset' value='utf-8' />
<input type='hidden' name='night_phone_a' value='08' />
<input type='hidden' name='night_phone_b' value='452438' />
<input type='hidden' name='state' value='Stockholms län' />
<input type='hidden' name='zip' value='029 23' />
<input type='hidden' name='email' value='hejsdsdsd@gmail.com' />
<input type='submit' name='Submit' value='Betala med PayPal' />
</form>

try to put this in a php document and click the link in the displayed page.

it will take you to the paypal page with a broken layout.

THEN remove the @ from the email and it works just fine!

the source code of the paypal page is very long. go to the page with my php source code and watch the source code in the web browser.

  • 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-05-14T04:43:49+00:00Added an answer on May 14, 2026 at 4:43 am

    Are you useing urlencode()?

    $email =urlencode($_POST['email']);

    Here are some code examples that may help:
    https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got my Rails (2.1) app setup to send email via Gmail, however whenever
I have configured a SMTP appender to send an email whenever there's an error.
I want to send an email with login details to user emailaddress whenever Admin
I have these two elements in my page: <input type='button' value=undo style=display:none onClick =
ers, Whenever my application send out a plain text email to notify people of
I want to send a message whenever RabbitMQ creates or deletes a queue, exchange
Whenever I use the following code, the webserver (running IIS 7) refuses to send
Up until now we used Ant in my company. Whenever we wanted to send
Whenever I type a (, [, or {, Notepad++ completes it with the corresponding
In Apex there is a provision to send email through Apex class. So similarly

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.