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
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
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
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);
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
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
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 ~ ~
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.
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
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
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
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
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
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
' 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
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