My site doesn´t work in localhost....only in the server..why???
Posted by: alfabeto (---.virtua.com.br)
Date: May 06, 2008 03:45PM

everything in wamp server is working (white), the port, the php, but my page shows me something like this:


foto)==""winking smiley { ?> foto; $pos = strpos($tab->foto,".gif"winking smiley; if ($pos>0) { $foto = substr($tab->foto,0,$pos) . "_p.gif"; } else { $pos = strpos($tab->foto,".jpg"winking smiley; if ($pos>0) { $foto = substr($tab->foto,0,$pos) . "_p.jpg"; } } ?> titulo ?>
tecnica ?>
dimensao ?> vendido=="S"winking smiley echo "
VENDIDO"; ?>


what can happening ???? please, anyone help me....!!!!!
Thanks

Options: ReplyQuote
Re: My site doesn´t work in localhost....only in the server..why???
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 06, 2008 03:47PM

are u sure u have <?php ?> tags in ur code?



and not <? ?>


to enable short open tags. left click wamp icon , goto php, php setteing , and tick "short open tag"

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: My site doesn´t work in localhost....only in the server..why???
Posted by: alfabeto (---.virtua.com.br)
Date: May 06, 2008 04:10PM

Everything in the code is ok...even so I set "short open tag"....but nothing has changed !!!...
I don´t known anymore what to do...!!!
Thanks

Options: ReplyQuote
Re: My site doesn´t work in localhost....only in the server..why???
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 06, 2008 04:16PM

the code cant be ok if the code isa showing up


post the code up here

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: My site doesn´t work in localhost....only in the server..why???
Posted by: alfabeto (---.virtua.com.br)
Date: May 06, 2008 04:18PM

Now I can get working only when I call by localhost...not in dreamweaver cs3...
thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.