新手学PHP,中文名:新手学拍黄片,哈哈,不知道会不会被屏蔽,第一天晚上,
新手学PHP,中文名:新手学拍黄片,哈哈,不知道会不会被屏蔽,第一天晚上,
生活免不了无聊的,对于即将毕业的我来说。主修.net,微软开发东西很方便,只是代码也是要换换口味,顺便给简历添一块砖头。菜鸟,可以喷吆。勉。转移话题了,继续讲PHP吧,既然有前面.net学习的铺垫,学习一门入门来说很简单PHP,最先了解的怎么安装环境
一、安装环境 wamp(window Apache mysql php )也就是集成环境, 新手学的话,集成开发环境安装比较快速,会帮你安装部署PHP环境,mysql等,就不用分开了,当然,可以尝试将Mysql分开装咯,我还没分开安装过~~ ,WAMP集成环境 百度一下就可以下载到 ,系统是windows 的,集成环境安装起来很容易的,下一步下一步就ok了,然后然后就ok,别嘲笑,我是新手。然后会直接运行,在右下角会出现一个绿色图标,刚开始运行的是红色的:可能mysql和Apache都还没运行,然后橙色:可能是mysql或Apache服务其中一个没运行,然后我的检查到是Apache没有运行,手动也启动不了,因为是系统System占用了80端口,找了很久都没有解决问题,因为之前装VS和Sqlserver,之后就用了一个死办法,把IIS给装上,然后停止IIS的服务(PS: 估计都会鄙视我的),这样,就是Sqlserver的一个服务占用了80端口,就停掉了。然后再找到Apache服务(wampapache),启动就可以了。如果检测到时mysql服务没有启动,就启动这个服务(wampmysqlId),不知道是不是这个,不知道百度~~ 然后图标就变成绿色了,哈哈
二、关于新手来讲,怎么运行第一个程序极为重要,尤其是不知道怎么运行的,哈哈。
在安装目录下(例如:D:/wamp/www/),有一个www文件夹,里面有一个index.php 文件可以拿来试试运行的。
打开浏览器输入:localhost/index.php 就可以看见效果了,好像也可以不区分大小写的,jsp貌似区分大小写
其实也没什么好讲的,算是写个新的随笔吧,还来个Hello world ,贴图
是不是很逗比呢,因为也不知道怎么写博客,那就写学习日志好了
.net 和wamp集成环境的80端口的问题:为毛.net 和php 运行共用一个80端口。对头么?
还有,介绍一个新手可以在线学习敲代码的网站:慕课网,主要免费、学习php啊,java,等等都可以的
当然还有可爱csdn课堂,就是很多收费滴

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

To work on file upload we are going to use the form helper. Here, is an example for file upload.

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

CakePHP is an open source MVC framework. It makes developing, deploying and maintaining applications much easier. CakePHP has a number of libraries to reduce the overload of most common tasks.

A string is a sequence of characters, including letters, numbers, and symbols. This tutorial will learn how to calculate the number of vowels in a given string in PHP using different methods. The vowels in English are a, e, i, o, u, and they can be uppercase or lowercase. What is a vowel? Vowels are alphabetic characters that represent a specific pronunciation. There are five vowels in English, including uppercase and lowercase: a, e, i, o, u Example 1 Input: String = "Tutorialspoint" Output: 6 explain The vowels in the string "Tutorialspoint" are u, o, i, a, o, i. There are 6 yuan in total

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,
