1. how do I make a search page in order for someone to be able to search my site and get results of pages on the site?
2. I want to have a php page that sets a cookie for a user, so when he/she comes back they get redirected to another page (they choose language, and the next time they come they go to the page with the language they chose last time)... I managed to set the cookie but I only know the header() function for redirecting which can't work with setting or checking cookie buz they both need to be first on the page.... please help.... I probably just need another redirecting function within something like "if cookie value ==english go to ... else go to..."
thanks for the help!
0 · ·