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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:21:03+00:00 2026-05-30T01:21:03+00:00

<iframe align=middle src=http://www.example.com?id=5555555 width=100% height=300> </iframe> How can I pass this id value to

  • 0
<iframe align="middle" src="http://www.example.com?id=5555555" width="100%" height="300">
</iframe>

How can I pass this id value to example.com. Suppose I put this iframe to any webpage and when the iframe loads with the webpage I want to get the value id = 5555555 in example.com.

How to do this, I have tried to google a lot but couldn’t get a definite answer.

Thanks in advance.

  • 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-30T01:21:05+00:00Added an answer on May 30, 2026 at 1:21 am

    You’ll need to use the PHP superglobal $_GET. in your script, the basic implementation is very simple:

    $id = $_GET['id'];
    

    However, you will want to check the value before you do anything with it, because any user can type into their browser URL bar and change that id value.

    If you’re going to save it in a database, make sure you escape the value and even better, use a stored procedure. Scrub it however you can – check the length, the value, anything that can be used to throw off your code. Failure to do so can result in anything from a silly looking output on a page to a compromised server.

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

Sidebar

Related Questions

My iframe code is <iframe src=http://google.com width=400″ height=600″></iframe> But instead of showing google it
<td width=120 valign=top height=100%> <iframe src=menu.php width=100% height=100% frameborder=0> </iframe> </td> This code always
I paste google map code <iframe width=186 height=186 frameborder=0 scrolling=no marginheight=0 marginwidth=0 src=http://maps.google.com/maps?f=d&source=s_d&saddr=NIPA,+Karachi,+Pakistan&daddr=&hl=en&geocode=FXg3fAEd6dH_AyF_rsIkOA6mpg&aq=&sll=24.91788,67.097065&sspn=0.007414,0.009645&vpsrc=0&mra=ls&ie=UTF8&t=m&ll=24.91788,67.097065&spn=0.007414,0.009645&output=embed></iframe> <br
var urlname= '/a/b.php?company_name='+company_name+'&series='+series; document.getElementById('frame2').innerHTML='<IFRAME HEIGHT=600px WIDTH=100% NORESIZE=NORESIZE SRC='+urlname+' NAME=aol FRAMEBORDER=0 ALIGN=ABSBOTTOM scrolling=no id=a1 name=a1
I am trying to create an iframe with a height of 100% and a
The Eric A. Meyer CSS reset defines all elements names, for example: /* http://meyerweb.com/eric/tools/css/reset/
I'm currently doing the redesign for this site: http://www.palosverdes.com/rpv2012/ and have run into a
I have an iframe. The content is wider than the width I am setting
http://www.webdevout.net/test?013&raw Shrink the window in IE6 / 7 to see what I'm talking about.
I made a neat little photo gallery here at - http://schnell.dreamhosters.com/wallpapers.php Feel free to

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.