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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -