Sorry if this is clearly obvious, but I have Googled this, and I seriously cannot find any PHP-the only way to do this.
Without using HTML or Javascript - only pure PHP (from the Controller file on the CodeIgniter website) - how can I open a browser window with the link that I specify?
Is it possible?
Thank!
Jack
Edit: It seems that some people misinterpret what I mean, apologize for not clarifying the situation clearly enough. I know with PHP, you can set the header("Location: http://site.com")browser to load a new window; I wanted to know if a headline could be sent to say "open Locationin a new window."
Edit 2: to clarify what I want to do: the user can send something to my site. Before clicking "Submit", they can select (via the check box) in Tweet about it. If a checkmark is checked, after everything is inserted into the database, etc., a new window / tab will load with a URL http://twitter.com/home?status=Hello%20Worldor any tweet. The user decided to do this, so I'm not "doing what I shouldn't." I understand in retrospect that probably the best way to do this.
source
share