php - GEt data from url after # and insert in database? -
get data url after # , insert in database?
like : after auth web app, http://mywebsite.com/#acc=anycodes .. need anycodes , want save in database.
the hash in url doesn't server. there no way can access programming language on server side. however, may use parameter , access value on server side.
http://mywebsite.com/?acc=anycodes $code = isset($_get['acc']) ? $_get['acc'] : ''; // if acc set, value
Comments
Post a Comment