search
HomeBackend DevelopmentPHP TutorialNewbie learns PHP, Chinese name: Newbie learns to make pornographic films, haha, I don't know if it will be blocked, the first night, _PHP tutorial

Newbie learns PHP, Chinese name: Newbie learns to shoot pornographic films, haha, I don’t know if it will be blocked, on the first night,

Life is inevitably boring, for those who are about to graduate For me. Majoring in .net, it is very convenient to develop things with Microsoft, but the code also needs a change of taste, and it can add a brick to the resume. Rookie, you can yell. Mian. Changing the topic, let’s continue talking about PHP. Since we have the foundation for learning .net before, it is very simple to learn PHP to get started. The first thing you need to know is how to install the environment

1. Installation environment wamp (window Apache mysql php) is also an integrated environment. If you are a novice, the integrated development environment can be installed quickly. It will help you install and deploy the PHP environment, mysql, etc., so you don’t need to separate it. Of course, you can try it. Install Mysql separately. I haven't installed it separately yet~~. The WAMP integrated environment can be downloaded from Baidu in one click. The system is Windows. The integrated environment is easy to install. The next step will be ok, and then it will be ok. , don’t laugh, I’m a newbie. Then it will run directly, and a green icon will appear in the lower right corner. The first one is red: maybe mysql and Apache are not running yet, and then orange: maybe one of the mysql or Apache services is not running, and then I I checked that Apache is not running and cannot be started manually because the system occupies port 80. After searching for a long time, I still can't solve the problem because I installed VS and Sqlserver before, and then I used a dead end method to install IIS. , and then stop the IIS service (PS: I think everyone will despise me). In this way, a service of Sqlserver occupies port 80 and is stopped . Then find the Apache service (wampapache) and start it. If the mysql service is not started when detected, start this service (wampmysqlId), I don’t know if it is this, I don’t know Baidu~~ Then the icon turns green, haha

2. For novices, how to run the first program is extremely important, especially if you don’t know how to run it, haha.

In the installation directory (for example: D:/wamp/www/), there is a www folder, and there is an index.php file in it that you can try to run.

Open the browser and enter: localhost/index.php and you can see the effect. It seems that it can be case-insensitive. jsp seems to be case-sensitive

 

Actually, there’s not much to talk about. Let’s just write a new essay, and also have a Hello world and stickers

 

 

Isn’t it funny, because I don’t know how to write a blog, so just write a learning diary

The problem with port 80 of .net and wamp integrated environment: because .net and php run on the same port 80. Enemy?

Also, let me introduce a website where novices can learn coding online: MOOC.com, which is mainly free and allows you to learn PHP, Java, etc.

Of course, there is also a cute csdn class, but there are a lot of fees

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1106380.htmlTechArticleNewbies learn PHP, Chinese name: Newbies learn to make pornographic films, haha, I don’t know if it will be blocked, first That night, life is inevitably boring, for me who is about to graduate. Majoring in .net, micro...
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
玩转雾锁王国的秘籍给新手指引玩转雾锁王国的秘籍给新手指引Jan 28, 2024 pm 03:33 PM

雾锁王国是一款开放世界的游戏,玩家可以扮演火焰之子进行生存和探索。游戏融合了动作RPG挑战的特色娱乐,为玩家带来无尽的惊喜和欢乐。在游戏中,玩家可以探索资源、环境和武器等内容。对于一些新手玩家,可能会对如何上手游戏感到好奇。在这期的介绍和分享中,我们将为大家提供一些相关的入门指南。雾锁王国新手入门技巧被瘴气笼罩区域的危险等级不同在探索的过程中会逐渐解锁地图的新区域,并且能看到被瘴气笼罩区域的位置。地图上会以两种颜色来区分,蓝色区域是可以短时间进入的,根据角色能力等级高低,可停留的时间也会有所区别

php怎么把负数转为正整数php怎么把负数转为正整数Apr 19, 2022 pm 08:59 PM

php把负数转为正整数的方法:1、使用abs()函数将负数转为正数,使用intval()函数对正数取整,转为正整数,语法“intval(abs($number))”;2、利用“~”位运算符将负数取反加一,语法“~$number + 1”。

锚点降临新手十连角色推荐锚点降临新手十连角色推荐Feb 20, 2024 pm 02:30 PM

锚点降临是一款拥有高画质美少女二次元主题的3D回合卡牌游戏,提供了丰富角色的精彩组合可供玩家来探索和体验,拥有很多精品阵容的强力搭配,新人玩家也是好奇新手池有哪些强力角色推荐,下面来看看新手十连金的选择参考!锚点降临新手池强力角色推荐第一个十连选艾莉丝,她主要是一个单体雷系爆发角色,单体输出非常爆炸的,对新人的体验也会是非常的友好的,所以十分推荐选取。10抽必金建议选择“艾莉丝”+“羚角”的组合,艾莉丝是最值得选的金皮雷属性输出角色,比新手卡池中的另外2个角色要强得不是一星半点。艾莉丝可以通过特

学会利用批量缩进是PyCharm新手必须掌握的技能学会利用批量缩进是PyCharm新手必须掌握的技能Dec 30, 2023 pm 12:58 PM

PyCharm新手必备技能:掌握批量缩进的使用方法,需要具体代码示例概述:PyCharm是一款功能强大的Python集成开发环境(IDE),它提供了许多实用的工具和功能,帮助开发者提高效率。在日常的编码过程中,我们经常需要对代码进行缩进,保持代码的格式整齐美观。而PyCharm提供的批量缩进功能可以帮助我们快速对代码进行批量缩进,提高编码效率。本文将探讨Py

上古王冠新手攻略玩法介绍上古王冠新手攻略玩法介绍Feb 20, 2024 am 11:20 AM

上古王冠是一款以西方魔幻冒险为背景,高品质有策略的卡牌手游。游戏内秘境探险、遗迹大冒险、全民冠军赛等特色玩法等你来体验。那么对于新手玩家来说,想要快速上手这个游戏当然少不了新手攻略了,今天小编就给大家带来其相关的攻略,一起看看吧。上古王冠新手攻略玩法一览一、开区流派:1.攒钻流:一切以攒钻为主,出村后再发力。除了主要的神兵、三个飞轮活动等需要花钻,其他一概不管,主打一个摆烂,英雄挑战不必理会,能打多少就多少,不强求。优点:只需摆烂攒钻,出村后能有钻石快速接入最新活动,拿新系列硬件英雄,钻石断档概

C语言和C++:哪个更适合编程新手C语言和C++:哪个更适合编程新手Mar 19, 2024 am 08:30 AM

C语言和C++:哪个更适合编程新手在现代科技高速发展的时代,学习编程已经成为一个越来越受欢迎的选择,无论是作为职业发展的一部分,还是作为提高逻辑思维能力的方式。而在众多编程语言中,C语言和C++都是非常经典且具有代表性的语言,许多人对于如何选择C语言还是C++来作为入门编程语言存在疑惑。那么,究竟是C语言更适合编程新手,还是C++更适合呢?需要具体代码示例来

php怎么判断有没有小数点php怎么判断有没有小数点Apr 20, 2022 pm 08:12 PM

php判断有没有小数点的方法:1、使用“strpos(数字字符串,'.')”语法,如果返回小数点在字符串中第一次出现的位置,则有小数点;2、使用“strrpos(数字字符串,'.')”语句,如果返回小数点在字符串中最后一次出现的位置,则有。

php怎么设置implode没有分隔符php怎么设置implode没有分隔符Apr 18, 2022 pm 05:39 PM

在PHP中,可以利用implode()函数的第一个参数来设置没有分隔符,该函数的第一个参数用于规定数组元素之间放置的内容,默认是空字符串,也可将第一个参数设置为空,语法为“implode(数组)”或者“implode("",数组)”。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools