Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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 · ·