Welcome Guest, Not a member yet? Register   Sign In
URL has a # instead of a ?
#1

(This post was last modified: 11-01-2021, 06:44 PM by richb201.)

I am trying to get a URL  that has a # sign instead of a ?
PHP Code:
http://staging.researchonline.com:8181/index.php/Configure#access_token=eyJraWQiOiJ4Q3VXZFVIRDBSNlJU 
I am trying to get the access_token. I tried using $_GET['access_token'] but that fails. Is there any way that I can see the entire URL so that I can "cut it up" with parse_url() and get the access_token? 

Parse_url requires the url. Where can I get that from?

I tried using
$config['enable_query_strings'] = TRUE;
$config['access_token'] = '#';

But this results in access_token=NULL.
What am I doing wrong?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
URL has a # instead of a ? - by richb201 - 11-01-2021, 06:07 PM
RE: URL has a # instead of a ? - by John_Betong - 11-01-2021, 07:33 PM
RE: URL has a # instead of a ? - by richb201 - 11-01-2021, 08:07 PM
RE: URL has a # instead of a ? - by richb201 - 11-02-2021, 04:33 PM
RE: URL has a # instead of a ? - by includebeer - 11-02-2021, 04:50 PM
RE: URL has a # instead of a ? - by richb201 - 11-02-2021, 06:30 PM
RE: URL has a # instead of a ? - by includebeer - 11-02-2021, 06:58 PM
RE: URL has a # instead of a ? - by John_Betong - 11-02-2021, 07:05 PM
RE: URL has a # instead of a ? - by richb201 - 11-02-2021, 07:16 PM
RE: URL has a # instead of a ? - by richb201 - 11-03-2021, 11:56 AM
RE: URL has a # instead of a ? - by includebeer - 11-05-2021, 02:50 PM
RE: URL has a # instead of a ? - by richb201 - 11-05-2021, 02:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB