Web Programming-2(PHP)

Total Page:16

File Type:pdf, Size:1020Kb

Web Programming-2(PHP) Web Programming-2(PHP) Chapter 02: Getting Ready to Work with PHP Task for You! Get Familiar with Telnet, HTTP, and Port Numbers 2 What You Need for a Local Test Environment A web server: this is a piece of software that displays webpages, not a separate computer. PHP MySQL and a web-based front end for MySQL called phpMyAdmin, which are required in order to work with a database Individual Programs or an All-in-one Package? You can download and install PHP, MySQL and Apache individually or you can use some package such as XAMPP, WAMP or MAMP that contains all the in one package. XAMPP XAMPP is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database and interpreters for scripts written in the PHP and Perl programming languages. 5 XAMPP (Cont.) XAMPP's name is an acronym for: – X (meaning cross-platform) – Apache HTTP Server – MySQL – PHP – Perl 6 Download Links Xampp for Linux – http://www.apachefriends.org/en/xampp-linux.html Xampp for Windows – http://www.apachefriends.org/en/xampp-windows.html Xampp for Mac OS X – http://www.apachefriends.org/en/xampp-macosx.html Xampp for Solaris – http://www.apachefriends.org/en/xampp-solaris.html 7 Alternative Options WampServer EsayPHP UwAmp Server AMPPS MAMP For more information visit: https://merabheja.com/alternatives-of-xampp-server/ Installation Stop Skype or Disable: Use port 80 and 443 as alternatives for incoming connections in your skype. For latest installation visit: https://www.wikihow.com/Install-XAMPP-for-Windows 9 Installation 1 2 3 10 Installation 4 5 6 11 Now, fire up your favorite browser and in the address bar, enter http://localhost or http://127.0.0.1 and afterward select your language To continue. 12 Job Done! 13 Click on STATUS in the left column to confirm what’s running and what’s not. 14 Where to Locate Your PHP Files? You need to create your files in a location where the web server can process them. Normally, this means that the files should be in the server’s document root or in a subfolder of the document root. The default location of the document root for the XAMPP will be: C:\xampp\htdocs To view a PHP page, you need to load it in a browser using a URL. The URL for a page in web server’s document root in your local testing environment is: http://localhost/page_name.php Security Anyone that knows your IP address can easily breach your server and change details in such a way that prevents your accessing it yourself and delete any websites you may have created. But not to worry, we will rectify this, go to: http://localhost/security/xamppsecurity.php You will be redirected to a new page that will allow you to: setup a password for MySQL setup a username and password for your XAMPP directory. 16 What is MySQL? MySQL is a database server MySQL is ideal for both small and large applications MySQL supports standard SQL MySQL compiles on a number of platforms MySQL is free to download and use 17 Running and Stopping MySQL – On Windows 18 – On Linux change to /etc/rc.d/init.d/ directory – Mysql start 19 Basic operations 20 21 22 23 Questions ??? 24.
Recommended publications
  • Installing AMPPS to Run Wordpress on Windows PC
    The Customize Windows Technology Blog http://thecustomizewindows.com Installing AMPPS to Run WordPress on Windows PC Author : Abhishek Installing AMPPS to Run WordPress on Windows PC has the advantage of getting a Control Panel somewhat like cPanel plus itself is a good resource of LAMP CMS. AMPPS is actually a software stack of Apache, Mysql, PHP, Perl, Python and proprietary Softaculous auto installer with a GUI for your desktops and servers. I repeat - for Servers too. Its Free. Installing AMPPS to Run WordPress is really more easier than we had with age old XAMPP we used to install WordPress with. Installing AMPPS to Run WordPress : Forewords Right now we will be installing AMPPS to Run WordPress on Windows PC. At today night we will install AMPPS to Run WordPress on LAMP server! The urls of the resources for AMPPS are mentioned here : You need to download AMPPS following this URL for Installing AMPPS to Run WordPress on Windows PC Some Basics on LAMP Server AMPPS can run on Mac too. There is a separate version. Steps for Installing AMPPS to Run WordPress on Windows PC Download AMPPS and Install on Windows. Its easy. When you run AMPPS for the first time make sure your Internet connection is active. You will get an Serverside panel like this : 1 / 3 The Customize Windows Technology Blog http://thecustomizewindows.com You need MySQL, PHP, Apache to run. This is not your control panel to install WordPress. You will get the control panel at : http://localhost/ampps-admin You can basically install WordPress in two ways : 1.
    [Show full text]
  • License Agreement for MAMP and MAMP PRO ––––––––––––––––––––––––––––––––––––––––––––––––––
    License Agreement for MAMP and MAMP PRO –––––––––––––––––––––––––––––––––––––––––––––––––– License Agreement for MAMP MAMP combines free software packages (like a Linux distribution). MAMP is totally free of charge. You can copy it under the terms of the GNU General Public License. But only the compilation of MAMP and the MAMP program itself is published under the GPL. The contained products may have different licences. Please check every single licence to get a summary of what is allowed and what not. GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
    [Show full text]
  • XAMPP-Chapter
    The following is a sample chapter from the upcoming Understanding MySQL and MariaDB, coming in 2020 from Andrew Comeau and Comeau Software Solutions. If you enjoy this preview, please check back at ComeauSoftware.com for more details and updates on anticipated release dates. https://www.comeausoftware.com/understanding-mysql-and-mariadb/ All material, Copyright 2019 – Andrew Comeau 3 Installing MariaDB with XAMPP Using MariaDB as part of a suite of web development tools In This Lesson … • Understand the purpose of an Apache - MySQL - PHP (AMP) software stack • Recognize the variations in AMP stack packages available for download • Install an AMP stack for use in developing databases and hosting web applications What is an AMP Stack? As powerful as MySQL is, it's rarely used on its own. Most developers will want additional tools such as programming languages and interface tools to escape the tedium of working on the command line all the time. This is one of the reasons that MySQL is often used in combination with other tools that will enable the design of user-friendly sites. This means either creating or downloading a ready-made AMP stack. AMP usually stands for "Apache-MySQL-PHP" although the P might also stand for Perl or Python. In general, it simply refers to one or more programming languages that are included with the software stack. An AMP stack is called a stack because each tool within it addresses a different aspect of database and web development and helps support the others. • Apache is a web server - software that can respond to requests for pages and other content within a website.
    [Show full text]
  • Mamp – Apache, Mysql & Php
    WordPress MAMP – APACHE, MYSQL & PHP. Atli Thor wpskolinn.is http://wpskolinn.is [email protected] Efnisyfirlit. MAMP - Apache, MySQL og PHP. ................................................................................................ 3 Inngangur. ...................................................................................................................................... 3 MAMP - Uppsetning. ..................................................................................................................... 4 MAMP - Stjórnborð. ...................................................................................................................... 6 MAMP - “Ports” og “Web Server”. ................................................................................................. 7 MAMP - “Ports” spjaldið. ............................................................................................................... 8 MAMP - “Web Server” spjaldið. ..................................................................................................... 9 MAMP - “Start Servers”. .............................................................................................................. 10 Númer porta, localhost, TLD... Sitt lítið af hverju. ....................................................................... 11 phpMyAdmin – Gagnagrunnar. ................................................................................................ 11 phpMyAdmin – “Databases”. .....................................................................................................
    [Show full text]
  • Wordpress for Conservation & Land Trusts
    WORDPRESS FOR CONSERVATION & LAND TRUSTS Leveraging the leading CMS for your Trust’s website September 2, 2015 WORDPRESS FOR CONSERVATION & LAND TRUSTS About the Author .................................................................................................................... 5 Preface ........................................................................................................................................ 5 Introduction ............................................................................................................................. 6 Why Wordpress? ....................................................................................................................................................... 6 Stop editing HTML, Start focusing on your content ................................................................................. 7 Enable more contributors, retain control ..................................................................................................... 7 Respond to each visitor’s screen size and device capabilities .............................................................. 8 Getting started ......................................................................................................................... 9 It’s about the audience ........................................................................................................................................... 9 Marketing and Search Engine Optimization .............................................................................................
    [Show full text]
  • EOP ASSIST 5.0 Installation Manual
    EOP ASSIST 5.0 A Software Application for K-12 Public and Nonpublic Schools, School Districts, Regional Education Agencies, and State Agencies Installation Manual Updated August 2019 EOP ASSIST 5.0 Installation Manual Contents Chapter 1: Overview .............................................................................................................. 3 Chapter 2: Technical Requirements ........................................................................................ 5 Expertise Requirements of IT Personnel ..................................................................................... 5 Server Requirements ................................................................................................................... 5 Configuration Requirements ....................................................................................................... 8 Connectivity ............................................................................................................................... 12 Chapter 3: Installation Instructions ...................................................................................... 13 Set Up Server Environment ....................................................................................................... 13 Set Up a Database and Privileged User ..................................................................................... 13 Download EOP ASSIST Files ....................................................................................................... 14 Configure EOP
    [Show full text]
  • Download (1MB)
    МІНІСТЕРСТВО ОСВІТИ І НАУКИ УКРАЇНИ ОДЕСЬКИЙ ДЕРЖАВНИЙ ЕКОЛОГІЧНИЙ УНІВЕРСИТЕТ Факультет Магістерської підготовки_ Кафедра Інформаційних технологій__ МАГІСТЕРСЬКА КВАЛІФІКАЦІЙНА РОБОТА на тему: Розробка хелпдеск для моніторингу результатів аудиту ІС_ Виконав студент 2 курсу групи МІС-19_ спеціальності 122 Комп’ютерні науки_ ____________________________________ Кульчицький Ярослав Олександрович__ Керівник д.т.н., професор______________ Казакова Надія Феліксівна________________ Рецензент регіональний координатор Програми EGAP Копиченко Іван Юрийович Одеса 2020 2 МІНІСТЕРСТВО ОСВІТИ І НАУКИ УКРАЇНИ ОДЕСЬКИЙ ДЕРЖАВНИЙ ЕКОЛОГІЧНИЙ УНІВЕРСИТЕТ Факультет _Магістерської підготовки__________________________________ Кафедра _Інформаційних технологій_____________________________________ Рівень вищої освіти _магістр________________________________________________________ Спеціальність 122 Комп’ютерні науки_____________________________________ (шифр і назва) ЗАТВЕРДЖУЮ Завідувач кафедри__________________ ____________________________ “ 26 ” жовтня 2020 р. З А В Д А Н Н Я НА МАГІСТЕРСЬКУ КВАЛІФІКАЦІЙНУ РОБОТУ СТУДЕНТУ ___________________________Кульчицького Ярослава Олександровича________________ (прізвище, ім’я, по батькові) 1. Тема роботи __« Розробка хелпдеск для моніторингу результатів аудиту ІС»_ керівник роботи __Казакова Надія Феліксівна, д.т.н., професор_________________, ( прізвище, ім’я, по батькові, науковий ступінь, вчене звання) затверджені наказом закладу вищої освіти від “ 16 ” жовтня № 194 «с» 2. Строк подання студентом роботи 7 грудня
    [Show full text]
  • Wordpress Essentials Techniques for Beginners
    Imprint Published in November 2011 Smashing Media GmbH, Freiburg, Germany Cover Design: Ricardo Gimenes Editing: Andrew Rogerson, Talita Telma Proofreading: Andrew Lobo, Iris Ljesnjanin Idea and Concept: Sven Lennartz, Vitaly Friedman Founded in September 2006, Smashing Magazine delivers useful and innovative information to Web designers and developers. Smashing Magazine is a well-respected international online publication for professional Web designers and developers. Our main goal is to support the Web design community with useful and valuable articles and resources, written and created by experienced designers and developers. ISBN: 9783943075168 Version: December 16, 2011 Smashing eBook #10│WordPress Essentials │ 2 Table of Contents Preface Building WordPress !emes You Can Sell Developing WordPress Locally With MAMP !e Developer’s Guide To Conflict-Free JavaScript And CSS In WordPress Interacting With !e WordPress Database How To Create A WordPress Plugin How To Integrate Facebook With WordPress How To Use AJAX In WordPress Be"er Image Management With WordPress Using HTML5 To Transform WordPress’ TwentyTen !eme !e Authors Smashing eBook #10│WordPress Essentials │ 3 Preface The advanced flexibility of WordPress is one of the main reasons for its popularity among online publishers as it is considered as the number one blogging tool in its category. With its latest releases, it has extended its potential well beyond blogging, moving toward an even more advanced, robust and very powerful content management solution, and so much more. However, where it falls short, there are a wealth of plugins, widgets and themes that extend its limitations. This Smashing eBook #10: WordPress Essentials is created to help Web developers as well as designers how to extend the functionality of WordPress with plugins and introduce techniques and methods for customizing themes.
    [Show full text]
  • Setting up a Local Installation of Wordpress: a Stage Presence Marketing Tutorial
    stage presence marketing local wordpress installation tutorial Setting Up a Local Installation of WordPress: A Stage Presence Marketing Tutorial So, you want to work with WordPress without revealing your efforts on the web for the world to see? Well, you’re in luck, sunshine. Annie’s here to help walk you through the process of setting up a local installation of WordPress on your own computer, tucked securely away from the web’s prying eyes, on which you can experiment and play to your heart’s content. And I bring visual aids! Overview of the Whole Process Here’s where we’re going over the next half-hour or so: 1. Install MAMP to get your local server up and running. 2. Create a new database, using MAMP, to support your WordPress install. 3. Download and unzip the WordPress files to your local directory. 4. Install WordPress. That’s it! Sounds ridiculously easy, right? Well. It sort of ... is. Which is not to say mistakes can’t happen. So, let’s go slow and avoid those altogether, m’kay? page 1 of 12 http://anniesisk.com stage presence marketing local wordpress installation tutorial Step One: Installing MAMP Let’s get started by opening your browser and going to the MAMP website. Click the MAMP “download now” link on the left and save the DMG file to your Downloads folder. page 2 of 12 http://anniesisk.com stage presence marketing local wordpress installation tutorial MAMP, by the way, stands for “Mac Apache MySQL PHP.” This is the application that gives you access to the programs you’ll need to install WordPress on your computer.
    [Show full text]
  • Installer Crack Pkg
    Installer crack pkg click here to download but i want to install the game: i am alive. but its an pkg file and i cant . The retail PKG files will install but the Cracked PKG files fail to install. Restarting in Target Disk Mode If you want to install NewMac's bundled and type: $ /Volumes/Mac OS X Install Disc 1/System/Installation/Packages/ Note that . 5 days ago DownloadDirectX End-User Runtime Web Installer · Close windowDirectX End- User Runtime Web Installer. Skype for Business on Mac. Details. Download the installer files based on the download methods available for your product. Click www.doorway.ru and follow the prompts to continue. Image of the. All packages available in the latest release of Anaconda are listed on the pages linked below. These packages may be installed with the command conda install. The individual Unity installers are provided www.doorway.ru files, which can be installed the option is presented as Torrent download (Win+Mac) in the Downloads. Ubuntu packages. Ubuntu comes with darktable packages. You can install them with. sudo apt-get install darktable. If you need a newer version than what is. Learn www.doorway.ru files and view a list of programs that open them. A PKG file is a package of compressed installer files used to install a software program. Get Involved. If you want to help out with developing and testing, grab a daily build. Our GitHub project is here and the issue tracker for the server here. , Windows Installer (EXE) · Mac Package Installer (PKG) · AS Package, n/a, n/a Please refer to our documentation for install/uninstall instructions.
    [Show full text]
  • Web Programming.Indd
    Why Enroll? Course Schedule The Bureau of Labor Statistics projects an estimated HTML (WPHTML) 27 percent employment growth for web developers Tue. 5:30pm-7:40pm; 6/8-8/3 (9 sess.) by 2024. Web development is listed as #4 in Best Technology Jobs. With these stats in mind, Intermediate Cascading Style Sheets (WPCSS) the Certifi cate In Web Programming at Hunter’s Fri. 6:00pm-8:00pm; 6/25-7/30 (6 sess.) Continuing Education arms students with a range of tools for web development- from developing the Advanced Cascading Style Sheets (WPCSSA) simplest static single page of plain text to the most complex web-based internet applications. Introduction to Python and Data Science If you’re interested in preparing yourself with the (INPYTHON) Web ability to use the World Wide Web or other Web- Sat. 9:30am-12:15pm; 6/5-8/14 (10 sess.) Skips 7/3 enabled software, such as Microblogging clients and Programming RSS readers to reach end-users, the Certifi cate In Structured Query Language (STRQUE) Web Programming will prepare you for your career Wed. 5:35- 8:00pm; 6/2-8/4 (10 sess.) as a: Programming With Java (PRJAVA) This certifi cate prepares you to create • Web Developer Mon. 7:40-9:40pm; 6/7-8/16 (10 sess.) digital and web designs which translate into • Web Designer applicable job skills you can add to your • Web Application Security Engineer resume. • Information Security Engineer PHP (PHP) • Technical Email Manager • Software Developer • Programmer JavaScript (WPJASCR) Thu. 5:30pm- 8:30pm; 6/3-8/5 (10 sess.) Summer 2021 at CEP: Summer semester runs from June 1- August 15.
    [Show full text]
  • XAMPP Etymology Requirements and Features
    XAMPP _____________________________________________________________________________________________________ Developer(s) Apache Friends Stable release 1.8.3-3 / February 18, 2014 Operating Cross-platform (Linux, Windows, Solaris, Mac OS system X) Type WAMP, MAMP, SAMP, LAMP License GNU GPL Website www.apachefriends.org/en/xampp.html XAMPP is a free and open source cross-platform web server solution stack package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages. Etymology XAMPP's name is an acronym for: • X (to be read as "cross", meaning cross-platform) • Apache HTTP Server • MySQL • PHP • Perl Requirements and features XAMPP requires only one zip, tar, 7z, or exe file to be downloaded and run, and little or no configuration of the various components that make up the web server is required. XAMPP is regularly updated to incorporate the latest releases of Apache, MySQL, PHP and Perl. It also comes with a number of other modules including OpenSSL and phpMyAdmin. Self-contained, multiple instances of XAMPP can exist on a single computer, and any given instance can be copied from one computer to another. It is offered in both a full, standard version and a smaller version. Use Officially, XAMPP's designers intended it for use only as a development tool, to allow website designers and programmers to test their work on their own computers without any access to the Internet. To make this as easy as possible, many important security features are disabled by default.[2] In practice, however, XAMPP is sometimes used to actually serve web pages on the World Wide Web.
    [Show full text]