By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,830 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

how i can open my php file as pop up window through php header function.

P: 17
Dear,
I am using show my payment history window as follows..

Expand|Select|Wrap|Line Numbers
  1. <form name="myform" method="post" action="payhistory.php">
  2.  
  3. <input name="pay_his" type="submit" class="memberhistory" value="Payment history" onclick="myform.target='POPUPW'; POPUPW = window.open('about:blank','POPUPW','width=550,height=400','scrollbars = yes','title= ' );" />
  4.  
  5. </form>
Now I want to use Php header location function instead of using form, how i can open my payhistory.php as pop up window through php header function.

any pls help me. advance thanks lot.
Feb 1 '12 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
thatís not possible. PHP has no influence over the window management on the client due to being a server-side language.
Feb 2 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.