O'Reilly logo

Effortless E-Commerce with PHP and MySQL, Second Edition by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5. Managing Site Content

If you’re reading this book in order—and I certainly hope you are—then you’ve got a site where users can register, log in, change their password, and log out, but there’s nothing for them to look at! On the other hand, they haven’t paid anything yet either, so....

In this chapter, you’ll create the content management side of the equation, with two kinds of content: HTML pages and PDFs. I’ll explain how to write the code for creating and displaying the content.

But first, you’ll need to create an administrative user.

Creating an Administrator

Even though administrators will use the same login system and the same underlying users table as regular users, for security reasons you can’t create an administrator through the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required