/    Sign up×
Community /Pin to ProfileBookmark

Loading PHP in iframes

[U]Problem[/U]
I need to load php in an iframe and pass variables.

<iframe “;
echo ” src=”colsleft.php”””;
echo ” scrolling=”no””;
echo ” id=”MASSGRID_TOP_LEFT””;
echo ” name=”MASSGRID_TOP_LEFT””;
echo ” width=”70″ height=”23″”;
echo ” marginwidth=”0″ marginheight=”0″”;
echo ” frameborder=”0″></iframe>”;

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@wscottpadgettJan 30.2004 — with the information you've given so far, there's no problem with what you're trying to do...

where are you trying to pass variables from/to ?
Copy linkTweet thisAlerts:
@RobertBroussardauthorJan 30.2004 — Sorry I accidently submitted that thread before I finished. Check the one above it. I need to pass variables along loading the php file. Like I need to pass the following two variables: $user and $pass upon loading the php file. How would I do that in the iframe definition and how would I retrieve them in the php file (POST or GET)?

Sorry again for the double post.

Robert
×

Success!

Help @RobertBroussard spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...