Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I configured authentication using Angular and PHP.
But if page is reloaded - user have to enter login and password again.
Because after reloading - angular's variable "IsLoggedIn" is set to false.
Is there a way how to pass session data from php side to angular without additional ajax request to server?
Because firstly php framework is loaded and then it shows a view with html and angular scripts.
you can do it by jwt or any other token base authentication.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a Page with ID: 1620295414849355
I need to generate Page Access Token.
Need Page access token to post content on FB page from my website.
First you need to generate app token in the debug tool and then select your page from drop down present in the right side of access token.Then you will get the page access token in the same input box.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I would like to now if there is a way to store in my database somes values displayed on twig ? the values was calculated with javascript/jason, and i dont want to do the same script on symfony or php ...
Thank you !
Like any other interaction with the client you must :
send a request to your symfony application
make a controller that can work on this request
make this controller store the data you sent within the request
For that two possibilities :
Use XHR to let Javascript send this request
Use javascript to fill a HTML form and let the user submit this form
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Can I post data with cURL to an iframe using PHP?
Note : Consider that php curl script and the page with iframe that contains the form, are both in my server. The iframe includes a form from a remote server.
You are confusing server side and client side here. Obviously you can use iframes and PHP/CURL. Just put your form code in the a page that renders to the iframe and when the user submits the form, process the form, send the curl request and the process the return as you normally would.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I was following the curl examples here to log into a wordpress site via curl:
- http://www.sitepoint.com/using-curl-for-remote-requests/
Here is what I need to do:
Log in wordpress
Redirect to form page
Post to form page
From the examples in the url I posted above, the curl does a post to login but I am unsure how to make it post again after it redirects to the form after logging in.
All from a script hosted somewhere else.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Im using a custom MVC built by me..
Im fairly new to this approach, and im having some trouble to understand all of this.
My website has a login system that allows the users to log in in any page(view).
What i want to do is:
After the user logs in, the controller will render the view he was on before the call to the controller login function.
So header is out of the options since i need to send a view to be rendered
Does anyone has a solution to do this?
Why don't you track the where the user came from in a session variable?
Session is always available.
Sessions are not accessable to anyone outside you're system.