php - Instagram API dynamically login -


i have 2 pages allow user fetch images instagram index.php , home.php

in index.php, provided login button allow user login.

<?php $loginurl = $instagram->getloginurl(); echo "<a class='button' href='$loginurl'>sign in instagram</a>"; ?> 

in home.php, gets code return url index.php , images.

my problem is, dont want direct user login, wish 1 php page save login id , password inside , dynamically login , save image db using 1 page means combine index.php , home.php without using button.

how should this? new php , stuck in this. please , appreciate it. thanks!


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -