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

  • Home
  • SEARCH
  • 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 5973665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:49:57+00:00 2026-05-22T20:49:57+00:00

i have a facebook code: <iframe src=http://www.facebook.com/plugins/registration.php? client_id=138987726427834& redirect_uri=https://xxx.com/login.php?login=<?php echo $login; ?>&pass=<?php echo $pass;

  • 0

i have a facebook code:

<iframe src="http://www.facebook.com/plugins/registration.php?
         client_id=138987726427834&
         redirect_uri=https://xxx.com/login.php?login=<?php echo  $login; ?>&pass=<?php echo  $pass; ?>&
         fields=<?php echo urlencode($fields);?>"
</iframe>

i was wondering why the $login and $pass dont work inside the redirect_uri?
they don’t render inside the link.

i see that the ields=<?php echo urlencode($fields);?>" takes php.

any idea?

thanks

  • 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-22T20:49:57+00:00Added an answer on May 22, 2026 at 8:49 pm

    You probably want to escape that parameter with

    redirect_uri=<?php echo urlencode("https://xxx.com/login.php?login={$login}&pass={$pass}"); ?>&
    

    If you don’t URL encode the URL, then you will send the parameters login and pass to registration.php, not to login.php.

    Also, passing sensitive data such as passwords directly as GET variables is a bad practice. You might at least encrypt the password if you have to send it via GET.

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

Sidebar

Related Questions

This is the code I'm putting on my website: <iframe src=http://www.facebook.com/plugins/like.php?app_id=5766773068&amp;href&amp;send=false&amp;layout=standard&amp;width=47&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35 scrolling=no frameborder=0 style=border:none;
I have a facebook application and a tab page which links http://localhost/a/index.php , I
I have Facebook in an Iframe for the convenience of my clients. But all
I have a little facebook iframe application written with rails and the facebooker plugin.
I have a facebook iframe application that is having trouble redirecting, I keep getting
I am building an Facebook IFrame App. I am using the below javascript code
The Facebook connect code is eluding me a bit. I have no problem doing
I have a facebook iframe application where i have provided a share functionality. I
I am developing a Facebook Iframe application using PHP which opens an RSS feed
We have a strange issue with running an Facebook IFrame application (using MVC 2).

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.