[TYPO3-dev] Input field like location field
Christopher
bedlamhotel at gmail.com
Wed Sep 13 20:55:19 CEST 2006
Hi Tapio,
On 9/13/06, Tapio Markula <tapio.markula at atwebteam.com> wrote:
> Tapio Markula
> > Hi
> >
> > I would need an input field to work like
> > location bar of the browser.
>
> Look
> http://t3test.xetpoint.com/media/development/fake_addressbar.png
>
> If I could got that solved I could update my extension
Won't you just need to pull the url out of the incoming $_POST array
and then use php's header function [1] to redirect to that page?
<?php
$foo = $_POST['location'];
header("Location: $foo"); /* Redirect browser */
?>
...or am I misunderstanding what you need?
-Christopher
[1] http://ca.php.net/manual/en/function.header.php
More information about the TYPO3-dev
mailing list