this heckuva moment!
actually, php4 HAD been working all right.
it was just because the guide book i had was a bit too old for php4 and its sample codes didn't fit. jesus.
get me back my days struggled for nothing!!
now i, a total amateur, can start programming.... terrible thing.