Hi there.
I am skilled asp programmer and database admin. so a friend of mine asked me for help, but PHP is not the language i worked with a lot.
he sent me a code fragment, which wont work, since his provider turned on "safe mode" on the server, and he also told him that the "IF" statement has to be changed therefore.
My question now, how should the "IF" statement should look like, to work within safe mode.
here the not working one:
#################################################
if (file_exists ($bild))
{
if ($format == "T-Shirt" or $format == "Crewneck" or $format == "Hooded Sweat")
{
echo "<a href='javascript:details(\"$interpret\", \"$titel2\", \"$format\", \"$artikelnr\", \"$seid\")'>";
echo "<img src='covers/siehedetails.gif' width='69' height='69' border=0>";
echo "</a>";
}
else
{
echo "<a href='javascript:details(\"$interpret\", \"$titel2\", \"$format\", \"$artikelnr\", \"$seid\")'>";
echo "<img src='".$bild."' width='69' height='69' border=0>";
echo "</a>";
####################################################
thank for help in advance.
regards
Vienna