You are here: Re: Calling an FTP location in PHP « PHP Programming Language « IT news, forums, messages
Re: Calling an FTP location in PHP

Posted by FingAZ on 09/27/41 11:37

<snip>
> Client-side redirect: In the form action attribute call a script, call
> it for example "ftplogin.php"; you can use the target attribute in order
> to open a new window.
>
> ftplogin.php then will be something like:
>
> <?php
> $url = "ftp://".$_POST['user'].":".$_POST['pass']."@12.34.5.67/";
> ?>
> <html>
> <head>
> <meta http-equiv="refresh" content="0; URL=<?php echo $url; ?>">
> </head>
> <body>
> If you are not redirected automatically click
> <a href="<?php echo $url; ?>">here!</a>
> </body>
> </html>
>
> HTH
> Markus

Argh! It does work- but still just displays the file list and needs for
the user to hit F5 :(
I blame micro$uck lol any more ideas?

Darren.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация