My modular php web don't work on wamp...
Posted by: Evone (---.bk8-dsl.surnet.cl)
Date: September 12, 2006 05:32PM

Somebody help me??

Options: ReplyQuote
Re: My modular php web don't work on wamp...
Posted by: roms (---.w193-251.abo.wanadoo.fr)
Date: September 12, 2006 06:10PM

Give more info if you want some help.



Romain

Options: ReplyQuote
Re: My modular php web don't work on wamp...
Posted by: Evone (---.bk5-dsl.surnet.cl)
Date: September 13, 2006 07:51PM

don't work my modular site...
adresses like index.php?id=mod don't work
my code is good
whats the problem?

> Somebody help me??

Options: ReplyQuote
Re: My modular php web don't work on wamp...
Posted by: Evone (---.bk5-dsl.surnet.cl)
Date: September 13, 2006 09:58PM

this is the code

<table align="center" width="750" height="500" border="1"><tr>
<td border="1">Encabezado</td><tr>
<tr><td border="1"><div border="1">
<h1>
<?php
if(empty($id)){
if(file_exists("$id.php"winking smiley){
include("$id.php"winking smiley;}
else{ include("principal.php"winking smiley;}}
else{ die("No se puede accesar"winking smiley;}


?>


</h1>

</div></td></tr>
<tr><td border="1">footer</td></tr></table>

Options: ReplyQuote
Re: My modular php web don't work on wamp...
Posted by: roms (---.fbx.proxad.net)
Date: September 13, 2006 10:04PM

Use $_GET['id'] instead of $id (or put register_globals at On in the php.ini file).



Romain

Options: ReplyQuote


Sorry, only registered users may post in this forum.