Re: realated header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think you are trying to open one more page after getting some request from the client ?

Javascript will work only on client side and the php header works in the server side .

You can also open  a new window like this <a href="somepage.html" target="_blank">Open in new window</a> > .

The header() is mainly used for redirection and passing some information ( names and type ) to the browser from server . I don't think it will help you open another page ( ie one page opened in the same tab and other opening after some request ) . ( This is upto my belief . Experts can tell if i am wrong )

  
Hari K T

http://harikt.com/





________________________________
From: amit <paragchaure@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Tue, 20 October, 2009 6:29:17 PM
Subject:  realated header

  
hi All,

can we use header() function instead of java script 'window.open( )', 
As window.open opens the document in a new page like pop-up like this can we use header()?
how can we do?


   


      Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux