Jump to content


Photo

Php?dir


  • Faça o login para participar
Nenhuma resposta neste tópico

#1 zackituh

zackituh

    Normal

  • Usuários
  • 85 posts
  • Sexo:Não informado

Posted 02/04/2007, 08:15

eu meti isto em meu site Script
e quando acesso á ppagina ele me dá este erro

"http://url.com/page.html" with a comma between the different naam => url's (see example) This will give the page url.com/thispage.php?page=namepage It also works when you use other variables in the url as url.com/thispage.php?page=index&test=525 . Then it adds the extra variable (test=525) also to the base url (http://url.com/test/page/ becomes http://url.com/test/page/?test=525) */ $url = array( "index" => "http://yourdomain.org/mainpage.php", "news" => "http://yourdomain.org/news.php?p=4", "test" => "http://yourdomain.org/test/", ); //Other options $title="My Page"; //Enter the page title $keywords="personal, webpage, html, CV"; //Enter the page keywords $description="My personal webpage: come and see it!"; //Enter the site description // Do not edit below if (array_key_exists($page,$url)){} else {$page="index";} if ($page=="") {$page="index";} $templink="page=$page&"; $tempurl1=str_replace ($templink, "", "$QUERY_STRING"); $templink="&page=$page"; $tempurl2=str_replace ($templink, "", "$tempurl1"); if ($tempurl2=="page=$page") {$tempurl2=""; $vraag="";} else {if ($tempurl2=="") {$vraag="";} else{ $vraag="?";} } $newurl="$url[$page]$vraag$tempurl2"; ?> "> "> " name="page" frameborder="0" framespacing="0" border="0">

que se passa?




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq