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.
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 2 years ago.
Improve this question
I want to know the way to use my multiple homepage design in Laravel. And User can switch homepage design from site settings like wordpress. Can anyone help me to find the way to make laravel website with multiple home page system?
The question is quite general so I'll share my personal approach:
I create several template folders in my view directory with the same blade file structure inside.
Then from the Controller, I just change the call to the view according to the requested template:
return view($template_name . '.index');
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 am new to the Laravel5 framework , so that I have no idea about this.I want to fetch data from a website and store that in my database.can anyone provide a sample coding that will come under model , view , controller and route, so that I can understand it in better way.
everything except something's come under model controller view and routes.
start from the Tutorials docs and continue to The Basics
navigate in the left navigation from top to bottom
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'm creating a wordpress website, and I want that when I or an user make a post it gets automatically reposted to other sites.
I know that there is API for major websites, for example facebook and twitter. But what if I want to make a post in olx.com? they have no API. Is there a way to create a php function that logs into olx, post and logs out? It doesn't have to be a php function, i'm open to ideas.
There is a lot of reasons to not do that.
Better stay safe and play with the websites that have api, allow feeds or already implemented a way for you to post on their sites.
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 want my client to be able to log into their website, fill out a form and then have that webpage permanently have whatever they put into that form. Is there a way to use php to take whatever is submitted in that form and replace the html content with it? Im new to php, which functions could I use? And is it possible for php to permanently change anything on a site? Im not terribly concerned with security
Start with wordpress and if you don't like it, then there are other content management systems out there. Google can help you find one too.
Wordpress site
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 9 years ago.
Improve this question
I am currently working on a website built entirely using Twitter Bootstrap framework.Its a website that provides questions to the users of different engineering branches.However,is it possible that i took an input like "enginnering branch=user_engineering_branch" via registration form and redirect him to a page,after his successful login,that contains questions of his branch only instead showing up the entire questions.?
I coded the entire login/registration script using php so please provide the solution in php only.
Thanks.!
Something as simple as
if ($_POST['enginnering branch']=="user_engineering_branch") {
$redirectURL="address/to/your/branch";
header('Location: '.$redirectURL);
}