★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/001086.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  header()

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   header()
ccm
Member
posted May 11, 2000 11:01 AM     Click Here to See the Profile for ccm   Click Here to Email ccm     Edit/Delete Message Reply w/Quote
I have a homepage, and it has severals frames in a page.
(eg. Frame A, Frame B)

a php file loaded in Frame A
and I want it to open a HTML file in Frame B without clicking.

in the HTML world, we use
<A HREF="/old?u=http%3A%2F%2Fwww.devshed.com%2FTalk%2FForums%2FForum5%2FHTML%2Fhello.html&y=1999" target="frame_name">
and it requires clicking.

in PHP, so far, i know the
Header("Location:http://xxx.html");
can redirect browser to open a html, but
i cannot assign a frame 'target' as I did in html.

if it cannot be done in PHP, can JavaScript do it?
(I dont know JavaScript, if you knew how to redirect pages in other frame window automatically in javascript, please write a sample for me)

thanks

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.