when you say the file doesn't work runnin git over the web what do you mean? Do you get any error messages? Or does nothing happen?If you get errors please post them, if nothing happens is there a function to check if $req is set or not (PHP equivelant isset()) If this is not being set properly you will not any further.