! optimize some methods+ add method send_header, replace header('Location:... with new method+ if header send failed you get a manuell redirected link, so script don't break
! optimize some methods
+ add method send_header, replace header('Location:... with new method
+ if header send failed you get a manuell redirected link, so script don't break