Thanks for hanging in there to see this through to a solution. CliveAtkins sorry just noticed i got a reply, what i am trying to do is lock the link, which means if the user enters index.php, i want it to be redirected to the above link, and if user enters an empty GET variable 'sec' also i want to redirect, and finally if the user enters a variable not equal to 'wnews' or 'pol' or 'tech' or 'sci' or. And for security reasons, I don't want to redirect a new Buyer or Seller directly to their respective account page without having them use their new credentials to login to their accounts the first time. But the manual, dual-login approach will not work. The Seller could login to the Buyer Account, as well as their own.Īll this seems to be saying that the PHP redirect code is not working, or I am applying it incorrectly. A Buyer could login to the Seller Account, as well as their own. Note: If multiple variables are supplied, then this function will return true only if all of the variables are set. This function returns true if the variable exists and is not NULL, otherwise it returns false. The reason to avoid the two-login-pages solution is that when I tested it with a Buyer and Seller, both with accounts. Definition and Usage The isset () function checks whether a variable is set, which means that it has to be declared and is not NULL. Then, if I create a "Login -Seller" Page with the correct redirection in a shortcode to the My Account Page, it works! Problem is this means I have to have two Login Pages: Login-Seller and Login Buyer, which I am trying to avoid. It should be the new Seller's My Account Page. Entering the Seller Credentials just created, I was send to a post/page that showed only the correct referrer form in the URL - only other thing on the post/page was the title Login. I was sent to a page giving me the options to login, or a "Forgot My Password" link.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |