Thứ Hai, 27 tháng 8, 2018

Auto news on Youtube Aug 27 2018

in this video

we learn about

the login and logout

system in php

here i am signing in with the

database previously created

i have logged in with

the user name admin and a plane password

after login it displays

welcome massage

and on logged out

it displays the login link

now we get back to the code

here

i am using

sublime text editor

now on this document

i have deleted all

php coding

now its an html login form

i hope you must know all

about html forms and its attributes

now start with

the <?php tag and close it with ?>

between these tags all php

coding will be written

at first start the session

session variable hold

the values stored for

specific variables for entire session

eg. to store a session

for blue color

$_SESSION['color'] ='blue'

i will discuss it in next videos

now connect to the database

using MySQLi query

i am using database

previously created

put three variables inside the mysqli_connect function

host name, user name,and the password

now keep in mind

every step shown here

must make habit to assign variable to each step

now $con hold the connection

now use it as connection in every mysqli_query

select database

mysqli_select_db(connection,db_name)

For more infomation >> Simplified Login Logout system|php mysqli| php session variable| - Duration: 12:13.

-------------------------------------------

How to change your PHP version - Plesk - Duration: 1:56.

Hi, welcome to this Pen Publishing Interactive PHP Video.

In this video I'm going to show you how to change the PHP version in Plesk.

Let's get started.

So I'm already logged into my Plesk environment where my website is hosted.

If you're familiar with Plesk, this interface should be fairly familiar.

Right now I don't see anywhere that I can change my PHP settings.

So I'm going to hit show more, and as you can see I get additional options.

So what I'm looking for is the PHP settings link here.

So I'm going to click on it.

Currently I'm on 7.0.31.

There's a drop down here and it's going to allow me to move it up all the way to the

7.2.8 which is the latest version as of this recording.

Now it's really easy to do, to change it, so I'm just going to hit this button and I

can just hit apply.

Now I've changed my version from 7.0 to 7.28.

Now a word of caution, if your website is a WordPress website and you have either a

premium theme or plugins, ect.

Be very cautious when you change the PHP version because there are themes and plugins that

can break because they don't support the latest and greatest.

So just a note on that, but that's how easy it is to change your PHP settings in the Plesk

environment.

Thank you for watching.

I hope you learned something.

For more information you can visit our website at penpublishing.com You can shoot us an email

at sales@penpublishing.com If you're on Facebook and Twitter, you wanna follow us there and

give us a like, we'd appreciate it.

You can also subscribe to our YouTube channel if you're watching this on YouTube.

Just hit the subscribe button, we'd greatly appreciate that as well.

Thank you and until next time.

Không có nhận xét nào:

Đăng nhận xét