Viewers: in countries Watching now:
An important but little-understood concept in dynamic web development is that of role-based logins, which allow different types of users to access different parts of the site. In this course Adobe Certified Expert Candyce Mairs shows how to use Dreamweaver's features to create role-based logins, restrict page access, build an administrator area, and test everything to make sure it works. Plus, see how to set up a development environment and work with a database from within Dreamweaver. Along the way, build your skills in areas like working with PHP, adding form validation, using server behaviors, and much more.
We are now going to take a look at installing XAMPP. And this is for the Windows side. So if you are on the Mac operating system you are going to want to go over to the installed MAMP movie. That installation is quite different from this one. So I created two separate movies depending upon the operating system you're working in. Right now we're going to install XAMPP. Now, I do want to show you in my resources page on my website, I do have some information about XAMPP. And that's in the servers area under XAMPP.
And this is just a work of caution. As of this moment in time, when this course is being created, Windows 7 and XAMPP 1.7.4, which is the most current version as of right now. The two don't get along real well. There is a bug in 1.7.4, the XAMPP version. And if you try and install it, you will have trouble with the Apache Server and trying to start it. So what I have done is let you here, so that you can download from my site, the prior version.
So XAMPP 1.7.3 Is what I recommend you download at this point in time. Now once that bug has been corrected, or there's a later version of XAMPP, it's not a problem. You don't have to use this exact version. Many versions ago, XAMPP came together, and it contains all the files you need. Even dating back to much older versions. So go ahead and select that link and download 1.7.3. I already have this downloaded to my desktop.
So what I would do is go ahead and turn this on. Let's go ahead and install this file. I'm going to click run to turn this on and we'll go through this. Now I simply click this Install button, use the default location to install the file. I'll click Install. If you're on Windows 7 or the Vista Operating System, you will need to confirm the User Account Control. Now XAMPP is installing all kinds of different files.
There are a lot of different features built into this, and put together. It's going to install our Apache Web Server. It's going to install the PHP environment, which is the server-side language we will be working in. It's going to install my SQL, and that database. And all the files need to run the database. You can see as this goes through and extracts the files there's a lot of different libraries being pulled into this single installation environment.
We won't be working in all of these. But all of the basics are here that we need and as you can see this just rolls right along all by itself. Single install and we're set. Now once XAMPP in installed on your C drive you will find a folder called XAMPP. And that is where all the files are installed when we install XAMPP. And inside that folder is where we're going to be putting our website files for this course. And the name of our website is Scuba to you.
It's a Scuba Diving Tour Company and we will be installing that into the ht dax folder. We are almost done with this installation. As you can see it does take a little bit. There's a lot of files being installed all in one spot. Now in 1.7.3 at the end of this, you will see pop up a Command Line Interface and that tends to be the piece that confuses people. So there's only three or four things you need to do.
And here is our Command Line Installation. Should I add short cuts to the desktop? Yes. By default this is the letter y so I simply hit enter. Should I locate the paths correctly? Absolutely, yes or the letter y is default so I just hit Enter again. This is not what we want, the letter N. We want to install this as a separate install of XAMPP, not connected with our Windows Registry or Operating System. And that's what this question is asking you.
So you want to change this one to y, and hit Enter. We want it as a portable XAMPP. XAMPP is ready to go. So I'll hit Enter and this is going to pick up on whatever timezone you're in at the time you install XAMPP. So, I will just hit Return or Enter. Now I am going to start the Control panel. So I'm going to hit Number one. And hit Enter and there is my Control panel. I can exit out of this by hitting the letter X and Enter.
And there is our Control panel for XAMPP. Now to turn on our web server I click this Start button. To turn on our database I click this, The My Sequel start button. But there's one issue you can run into in your installation process if you have Skype installed. So I've done up a screen here to show you how you can fix that issue. So if you go to Click Apache and it does not want to start. Now I know this is running because I get a green running button.
Well its sort of a button. And if I click My Sequel. Mine is running. If you have Skype installed in the default installation. Skype will get in the way of Apache starting. There's a port issue and it's very easy to fix this as long as you are aware of it. Within these Skype options, so once Skype is open go to tools, Options, and go down to the Advanced Settings area. So the wheel that says, Advanced is where we are going to go. Click on that.
It opens up and you have three options. A Connection option is the one we want and simply uncheck this box. That will take care of any Skype issues. So uncheck this box, click Save. Skype will work perfectly from that point on. It doesn't interfere with Skype and your XAMPP Apache Server. And My SQL environment will work perfectly as well. I know a lot of people use Skype nowadays, and I want to make sure that, that doesn't block anything for you. Now the last piece we need to do, is just to the right of Apache, now that it's running.
I'm going to click this Admin button. And that should open up this interface for you. I'll click English as the language and you can see I have successfully installed XAMPP. So we are all set to go to install our website and get our information communicating to this web server and the database within Dreamweaver. So XAMPP is all set. You can see it's a fairly easy installation.
And in order to stop the process should you wish to, you click these buttons. And you'll see running disappears and it turns to a Start button. Now for this course my assumption is. That Apache in my sequel will always be turned on. We did not set this to start up when Windows starts. So you will need to double-click your Control panel. The icon we put on the desktop. And click these buttons manually. Now, if you have any trouble with doing that with regards to permissions. What you can do is right-click the icon and say Run As Administrator. So if you have any trouble running XAMPP in just the standard mode. You can always right-click and say Run As Administrator and that should eliminate any permission issues you might have.
So we now have XAMPP installed, we have our web server, our database, and PHP all set to go. Let's move on, to getting our Course files installed, and getting Dreamweaver communicating with the new server environment we just installed.
There are currently no FAQs about Dynamic Dreamweaver Websites: Creating Login Areas.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.