When Apache is configured, index.php only displays the directory.

Hello everyone, my Apache and PHP configuration, localhost does not display the contents of index.php, but instead shows the list under the root directory, but I input localhost/phpinfo.php, but can display the content, this is what is the case, PHP

Using PHP to browse more methods, where can I use the source code?

On the internet for a long time, the resources are particularly small, and are not used up, PHP novice, more useless jquery, I am now very urgent, need this function, thank you. Reply to discussion (solution) Not sure what you're asking. Not

Query database data garbled to solve

Both 1.php and HTML are utf-8 2.convention.php inside the ' default_charset ' and ' utf-8 ', It's not 3.dbmysql.class.php $result [] = Auto_charset ($row, gb2312, UTF8) Automatic conversion character set supports array conversion function

WEBService Client (PHP)->server (JAVA)

Recently in doing WebService development, my side is to do the request side, to request the Java WebService, the question is as follows, $ViewProjectNumber [' Project '] = ' 1 '; $encodded = new Soapvar ($ViewProjectNumber, soap_enc_object);

Help! Who can give a short and long URL to each other to transfer the code or RELATED LINKS ~ ~

Web site length Ask the great God to give a code or link to the length of the URL It's going to be written in PHP. Do not use the database Similar functions encrypt the mutual transfer of First of all, thank you, big God. ^ ^ Reply to discussion

How to use a regular match for this Code

PHP Regular Reply to discussion (solution) Match what? All or part of it? What are the rules? Describe it in detail. WMatch what? All or part of it? What are the rules? Describe it in detail. I use Curl to crawl a Web page

"Tomorrow Graduation design reply, good nervous, beg each road moderator bless"

What I do is a graduation design topic system, now in the familiar code. I know which function is implemented by which code, but I am very vague about the specific meaning of the code. Looking for a master to help me in the next note in the rear ~ ~

PHP SQL Chinese garbled

First of all, the IE browser encoding format and database collation are set to "UTF-8". Again, it's okay to follow this print. However, the result is that the display is normal on the Web page, but the information in the inserted database is garbled.

Provincial and municipal three-level linkage database problems, no value found

Jquery+ajax+php do with the provinces and cities linkage, with $.post to initiate AJAX requests, the following is the database section, Header ("content-type:text/html; Charset=utf-8 "); Require ("./mysql.class.php"); /* Database connection class

Include a PHP file, often fail, what need to pay attention to?

Online says it's about PHP's starting terminator. 。 So let's talk about a few things, In the PHP that is include, 1. Have HTML before 2. Only script before 3. Have HTML after Master file, PHP is around 1.include 2.include Front is PHP 3.include

Login Page Verification ~ ~ ~ For help

PHP SQL if ($_post["admin"]!= "") {$admin =$_post["admin"]; $pwd =$_post["pwd"]; $conn = new COM ("ADODB. Connection "); $connstr = "Driver=microsoft Access DRIVER (*.mdb);D bq=". Realpath (". /.. /ychb85sad87/#YCHB85SAD87. mdb "); $conn->open

How do I execute Python script in PHP?

PHP Python SSH2 You want to SSH to the remote server via PHP, then execute a python file on the server, get the results, and print from PHP. My code is as follows: $connection = Ssh2_connect (' Remote-server ', $); Ssh2_auth_password

thinkphp session cannot get verification code

thinkphp Session Verification Code Query Verification Code function Checklogin () { $data =$_session[' Verifycode ']; Echo $data; } Generate Verification Code Public Function Verify () { Import ("@.org.image"); $image =new image

How to make the change gender drop-down box show the gender of the database

Gender: Man Woman Reply to discussion (solution) Sex sex is the field type tinyint, right? If 0 = male 1= female Man Woman Sex sex is the field type tinyint, right? If 0

CI paging class, how to display the number (page, next page, home, last) for the picture display it?

CI Paging CI paging class, how to display the number (page, next page, home, last) for the picture display it? For example, this form Reply to discussion (solution) Find text, change to IMG tag Find text, change to IMG tag Concrete How to

Issues with CMS development

CMS, Ci,smarty Smarty The company asked me and another colleague to develop a CMS out, because we are just graduating, there are a lot of will not, do not know where to start, we intend to use ci+smarty development, because it is intended to do like

PHP call WebService, ask God to help look down ~

' 1 ', ' outcount ' = ' + '); $ret = $client->latestnews ($param); if ($ret->return) { print_r ($ret->return) ;} else{ echo ' no user '; > Simple call to WebService, what's wrong with that? Seeking the guidance of the Great God ~ Reply

Detection system IP address display to make employment information

Detecting operating system and browser types Institutional sector IP Address Use people

Set cookie Issues

if (Isset ($_cookie[' history ")) {$history = explode (', ', $_cookie[' history '); Array_unshift ($history, $id); $history = Array_unique ($history); while (count ($history) > 5) { array_pop ($history); } Setcookie (' History '

Failed to execute a build table with Chinese characters in PHP

$conn = mysql_connect ("localhost", "root", ""); if ($conn) { mysql_select_db ("Test", $conn); $sql = "CREATE TABLE user ( ID int (5) NOT NULL Auto_increment primary key, Name Char (TEN) NOT null default ' ', Password char (a) NOT null default '

Total Pages: 5208 1 .... 2013 2014 2015 2016 2017 .... 5208 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.