In Bearbeitung

twig php authenticated user (simple 1 minute job)

Make this solution work Twig Template AUD$10.00 is all yours.

I want something simple like this to be applied globally to my twig/php setup.

I'm having the biggest blank moment here and I know it will literally take you guys/girls 1 minute to give me the solution.

{% if [login to view URL] %}

You are logged in...

{% else %}

You are logged out...

{% endif %}

My current php only version setup

<?php if(isset($_SESSION['userid'])) {

echo '<p>You are logged in!</p>';

}

else {

echo '<p>You are logged out!</p>';

}

?>

Simply provide me the php code to make this work in a twig template:

{% if [login to view URL] %}

You are logged in...

{% else %}

You are logged out...

{% endif %}

Thankyou everyone

Fähigkeiten: PHP

Mehr darüber simple presentations win job free, php ldap user group, php paypal checkout simple implementation, secure php mysql user registration, php nuke user map project, php restrict user, php creating user profile script, php database user friendly, php text user registration, php formmail script simple, php search user, php connection mysql simple project, php page design simple, php irc user list, simple php calendar user accounts attendance, simple php paypal user system, simple php mysql user system

Über den Arbeitgeber:
( 0 Bewertungen ) DERBY, Australia

Projekt-ID: #21061017

Vergeben an:

inbox95aisu

Dear, Sir. How are you? I have read explanation for your project in details. I have been building website for 4+ years. During that period, I have ever developed platform, online-store and e-commerce site. I'm mast Mehr

$10 AUD in 1 Tag
(4 Bewertungen)
2.9

9 Freelancer bieten im Durchschnitt $19 für diesen Job

tdcteam2016

c Greetings joshuastack, I think I can help you for this project. Please let us know convenient time to connect online, we are very much interested to discuss your requirement in detail

$30 AUD in 3 Tagen
(404 Bewertungen)
7.6
ferozstk

Hello, After reading your project details I believe I'm suitable for this project. As I'm expert on it with more than 7 years experience. Please feel free to contact me. I am looking forward to hear from you. Mehr

$30 AUD in 2 Tagen
(113 Bewertungen)
6.5
ishpreet11

I have more than 8 years of experience and I have provided and will always provide the best quality of work in the industry. I WILL FIX IT RIGHT AWAY I posses the proficient skills which are required in your project a Mehr

$20 AUD in 1 Tag
(93 Bewertungen)
6.4
kyleevert

Dear Client! I am very happy to see your project detail. I think it is just my project. :) As you can see in my profile, (my review: https://www.freelancer.com/u/kyleevert?w=f) I have much experience with your job. I t Mehr

$20 AUD in 7 Tagen
(18 Bewertungen)
5.9
AliSafder

Hi, My name is Ali and I can work on it with immediate availability. Let's have quick discussion so I can finish it.

$15 AUD in 1 Tag
(14 Bewertungen)
5.1
dunglexuan2018

Hi, I'm Alex here, I have checked your request, so I think I can help you on this project.. Please contact me so i can help you. Thank you so much. Best regards

$15 AUD in 1 Tag
(45 Bewertungen)
5.1
sujae815

@ Dear Client. (24/7) I am very interested in your project. I have 7+ years experience in web & mobile development. I am well versed with HTML,CSS,JavaScript,Angular,PHP, Wordpress, Laravel, Mogodb,MySQL,Firebase..etc, Mehr

$20 AUD in 7 Tagen
(2 Bewertungen)
1.5
Zohaib748

Hello Dear...! Alert: I will give you 20% discount on my bid rate also give on my All Services. So grabs this special offer is limited. Let’s get to the point. I came to know that your Looking a developer which Mehr

$10 AUD in 1 Tag
(1 Bewertung)
0.2