Jump to content

Help


phphelpme

Recommended Posts

alright , do you know how to get the section from the url , the token part and turn that into a variable ? example would be like this

 

 

 

they instert the url here <form action="list.php" method="post">

<input name="token" type="text" style="width:200px;"/>

<input type="submit" class="btn btn btn-info btn-mini" value="Login" />

</form>

 

 

 

and then on list.php it seperates the token and makes it a variable

 

the url looks like this

http://localhost/instalike/code.php#access_token=263222910.4d15ef2.0b42098ba3b845b9940af5b46i just need the access_token i just need the access_token

 

each access token will be different

Link to comment
https://forums.phpfreaks.com/topic/271765-help/
Share on other sites

I'm not really sure why a # is used in the URL. Change it to a question mark and then you can use

 

$access_token = $_GET['access_token'];

 

Perhaps you can even do it anyways with a #, I am actually not sure. But either way, it's not the standard way to do it even if you can.

Link to comment
https://forums.phpfreaks.com/topic/271765-help/#findComment-1398296
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.