使用XAMPP的Php-MySQL-Apache [英] Php-MySQL-Apache with XAMPP

查看:53
本文介绍了使用XAMPP的Php-MySQL-Apache的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

当我们使用XAMPP时,我们应该编写php脚本以及我们应该在哪里运行它?

请尽快告诉我..... ..

Hi friends,
when we are using XAMPP, where we should write php scripts and where we should run it?
Please tell me soon.......

推荐答案

将它们写入htdocs并从localhost运行
Write them in htdocs and run them from localhost


欢迎yasmine!


我不太明白你想要什么,但我会尝试。


XAMPP是适用于Linux,Solaris,Windows和Mac OS X的Apache发行版。该软件包包括Apache Web服务器,MySQL,PHP,Perl,FTP服务器和phpMyAdmin。我假设您已经在自己的PC上安装了此软件包。


当您想要运行PHP脚本时,首先必须在客户端开发它们(编写它们)你选择的编辑。然后你上传它们或将它们放在服务器根目录下的某个位置并通过浏览器运行它们,服务器URL就是http:// localhost。因此,当您将脚本TEST.PHP放在名为TEST_FOLDER的文件夹(位于Web根目录下)中时,您可以通过键入
Welcome yasmine!

I don''t quite understand what you want, but I''ll try.

XAMPP is an Apache Distribution for Linux, Solaris, Windows and Mac OS X. The package includes the Apache web server, MySQL, PHP, Perl, a FTP server and phpMyAdmin. I assume you have installed this package at your own PC.

When you want to run PHP scripts, you''ll first have to develop them (write them) at your client in an editor of your choice. Then you ''upload'' them or place them somewhere under the root of your server and run them via your browser, whereby the server url is http://localhost. So when you place your script TEST.PHP in a folder (under the web root) named TEST_FOLDER, you run your script by typing
展开 | 选择 | 换行 | 行号


任何人都可以提供从输入文件中随机分割数值的代码.....
can any one give a code for spilitting a numerical value randomly from a input file.....


这篇关于使用XAMPP的Php-MySQL-Apache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆