/    Sign up×
Community /Pin to ProfileBookmark

Now To Close & Reload A Window in PHP..

…how do I do it folks?…?

** sorry for the the title..I meant “How”

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@aj_nscAug 24.2010 — Sounds like you're preparing a magic trick.....

Can't do it...per se, of course...with php. To affect the user's browser specifically you need to use client side code, not server side.

That's not to say that you couldn't use PHP to print some Javascript to a browser window as the file is being parsed (that is the per se part of the statement above).

What are you trying to accomplish (in more detail)?
Copy linkTweet thisAlerts:
@ChuckBauthorAug 24.2010 — Sounds like you're preparing a magic trick.....

Can't do it...per se, of course...with php. To affect the user's browser specifically you need to use client side code, not server side.

That's not to say that you couldn't use PHP to print some Javascript to a browser window as the file is being parsed (that is the per se part of the statement above).

What are you trying to accomplish (in more detail)?[/QUOTE]


I figured...after I thought more about it...excuse me but I'm kind of new to PHP..

I'm experimenting with this new Facebook app that adds a comment page to your site and extracts FB info from anyone who logs in....it's pretty cool...

It's just that I need to work out the kinks...like closing the login window and reloading the parent page after someone logs in successfully.

You would have to kind of dive in to the code they provide in order to assist me...

but yeah, you're right I do have a magic trick up my sleeve and I'm testing it right now...thanks bud...

if you want to look at the code and are familiar with object oriented programming (which I'm not that familiar with)..I can post it...in the meantime thanks..
×

Success!

Help @ChuckB 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

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