
Ifyoureallywanttoredirecttoanewpage,header('Location:<yournewURL>')isaboutassimpleasitgets.However,youcouldjustwriteyourPHPsuchthatthesamepagedoesdifferentthingsdependingoniftheuserisfoundornot.Thisisespeciallyusefulifwhateverdatabaseinteractionyouaredoingisexpensive,andyou'drathernotrepeatitmorethannecessary.Inaddition,someothercommentsmentionedthatyouarevulnerabletoSQLinjecti...

Dec.4-5,2013RedwoodCity,CATicketsonSaleNowPHP‘screatorRasmusLerdorfdidnotintendtocreateanentirelynewprogramminglanguage.Over20yearsago,theDanishsoftwareengineerwaslookingforabetterwaytofixwhathedescribedasa“youngproblem.”ThePHPprojectkickedoffin1995andwouldeventuallybecomeaserver-sidescriptinglanguageandgeneral-purposeprogramminglanguageusedbytechgiantslikeFac...