I have a site that lets members sign-up and there info is stored in a db. The user_id starts at 1 and is incrimented by 1 every time a user signs up. For example first person to sign up is assigned user_id = 1 and the second member to sign up is assigned user_id = 2 ..... and so on. I want to redirect people to a diffrent url once user_id = 2000. The new url will state no new members can sign up.
Before your web server writes out to the page - do a call to the database , check the value - and then do a url redirect . Or alternatively , issue a different message to the users. What application environment are you using
Ok im kinda new to this but for example this is som php that checks if there affiliate id is in the url Than changes a forms css. I didnt include the css changes . whould I do somthing similar? So i need to check if user_Id<2000 if not redirect url. How would I do that? Im usuing dream weaver and phpmyadmin.
I'd recommend you post this on a PHP thread. The basic principle would be to connect to the database - grab the value - place in a variable - and create the logic to redirect.