Jump to content

Help


phphelpme
 Share

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

Edited by phphelpme
Link to comment
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
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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.