Hello.
i have seen the tutorial "Exploring system" from PTGigi.
I understand it, but i have a problem.
When i put "hello" (for example) in the article content, the pages works fine and show "hello".
But when i try to put a map, the pages become white D: and don't work!
I have been all night trying to fix, but i can't :S
Please can you help me? thanks
i have seen the tutorial "Exploring system" from PTGigi.
I understand it, but i have a problem.
When i put "hello" (for example) in the article content, the pages works fine and show "hello".
PHP:
$act = $_GET["act"];
$act = preg_replace("/[^a-zA-Z0-9\\040.]/", "", $act);
$act = secure($act);
$num = $_GET["num"];
$num = preg_replace("/[^a-zA-Z0-9\\040.]/", "", $num);
$num = secure($num);
if ($act == ""){
$article_title = "Magical Forest!";
$article_content = "Hello";
}
But when i try to put a map, the pages become white D: and don't work!
PHP:
$act = $_GET["act"];
$act = preg_replace("/[^a-zA-Z0-9\\040.]/", "", $act);
$act = secure($act);
$num = $_GET["num"];
$num = preg_replace("/[^a-zA-Z0-9\\040.]/", "", $num);
$num = secure($num);
if ($act == ""){
$article_title = "Magical Forest!";
$article_content = "
<html>
<head>
</head>
<body>
<map name="mapa1">
<area alt="Pulsa para conocer mi trabajo" shape="rect" coords="419,93,448,121" href="www.digiforos.net">
<area alt="Pulsa para ver la página de mis amigos" shape="rect" coords="64,32,96,64" href="www.digiforos.net">
<area alt="Pulsa para ver mi novia" shape="rect" coords="450,37,480,67" href="www.digiforos.net">
<area alt="Pulsa para conocer a mi Familia" shape="ret" coords="129,158,164,190" href="www.digiforos.net">
<area alt="Pulsa para conocer mi trabajo" shape="rect" coords="481,195,510,223" href="www.digiforos.net">
<area alt="Pulsa para conocer mi trabajo" shape="rect" coords="353,256,386,288" href="www.digiforos.net">
</map>
<img src="www.digiforos.net/digiadoptables/historia/ciudad.png"alt="Mapa de imágenes. Pulsa en cada una de los círculos." border="0" usemap="mapa1">
</body>
</html>";
}
I have been all night trying to fix, but i can't :S
Please can you help me? thanks
Last edited: