estou fazendo um sistema para redirecionar paginas;
eu digito a url: http://teste.com/lin...w.google.com.br
dentro da pasta link(index.php) fika o link get: <a href="<?php $URL=$_GET["url"]; ?>">continue</a>
más o link fica igual a url: http://teste.com/lin...w.google.com.br
como eu faço para o link ficar apenas http://www.google.com.br ?
Get Url
Started By STHELT, 23/02/2010, 23:23
1 reply to this topic
#1
Posted 23/02/2010, 23:23
<HTML>
<HEAD>
<BODY>
<NAME> Caio </NAME>
</HTML>
</HEAD>
</BODY>
<HEAD>
<BODY>
<NAME> Caio </NAME>
</HTML>
</HEAD>
</BODY>
#2
Posted 24/02/2010, 00:14
<?php $URL=$_GET["url"]; ?>
Aí você não está imprimindo nada, você apenas declarou uma variável.
http://www.php.net/echo
att,
Muller Dias
ex-administrador Fórum WMO
Muller Dias
ex-administrador Fórum WMO
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)