Hi,
Aber nur .php! Jetzt möchte ich auch bei .htm bzw. .html schauen, ob sie existieren!
Bisher hieß es:
if(!file_exists("././".$act.".php"))
was bringt'n das "././"?
if(!file_exists($act.".php") && !file_exists($act.".htm") && !file_exists($act.".html"))
Schöne Grüße
Julian
--
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook
http://derjulian.net