Jump to content

[SOLVED] Open New url with PHP


MemphiS

Recommended Posts

Ive never atempted or looked into using php to open a new page so i have no clue. I was wondering if anyone does know of a way of opening a new page with php?

 

I wish to open up a new window when the user logins

 

Also if your able to send $_POST data as well :)

 

 

Thanks for your replys  :D

Link to comment
Share on other sites

header();

 

Only directs the current page to a new location i would like a new window opened using php, i know could simple use javascript for this but i am wondering if php has a function for this ;)

 

Thanks for your reply anyway. 8)

Link to comment
Share on other sites

new windows are something that are requested client side. Since php is over and done before the client renders any html it will take no further part until another request is made to the server.

 

A new window is considered a document effect on the client side so you either use javascript or target="_blank" if you still do oldskool non-standards compliant html.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.