I am using Yii to do a simple small blog, in the background when the login verification, there are bugs,
Do not prompt login error message, I do is account, password, verification code can not be empty.
And it does not match the database. I have
It seems that it is troublesome to do PHP without framework. Basically I interview people will be in the shortest possible time to fix the site, do not learn the framework.
But in the PHP framework, that's a relatively high-efficiency operation.
I configured the IIS Web site and the Apache Web site in the form of a dual LAN IP on the server, respectively.
such as IIS using IP is 192.168.3.114:80,apache using IP is 192.168.3.115:80
Then I want to use Apache reverse proxy to enable users to
I just built a centos6.0 platform.
I'm a yum installer.
Yum-y Install httpd
Yum-y Install php*
Yum-y Install mysql*
After I send the website, I want to modify the point bug in the CentOS platform
I use Vim to modify the PHP, modified to save,
$url = "show.php catid=". ($row [' catid ']);
When this code executes, does it automatically invoke the contents of show.php??? The middle of this? Catid= can be written casually, such as written $url = "show.php?topic=". ($row [' catid ']);
How to write the transfer speed of the server to the client?
I wrote the app client PHP server made a request and then the server sent a 100kb picture to the client for 2 seconds ... My home speed is 4 trillion ah I'm depressed I want to write the
I set up a apache+mysql+php environment on the VPS, and then install Phpcms, in the fifth step of the account settings, with the creation of the user and data, the "Unable to connect to the database server, please check the configuration."
Then I
$query = "SELECT OrderID from Orders where CustomerID = $customerid and amount >". $_session[' Total_price ']. " -.001 and//What do you mean by this sentence? amount
Reply to discussion
That's what I'm doing now. I only have the student's number, now I want to use the list to display these numbers, names, gender, professional information.
Of course, the information is there, in our base library. I'm going to query the data using
Wrote a simple DB class with two methods to return the query array, respectively.
The problem is that in index, instantiate the DB class, call these two methods, print them separately, but only show the result of one method,
It is either to
ID Hot
1 1
2 9,10,11
3 30
4 19,20,30
5 1,30
6 11
8 10,20,30
9 1,9,20
How do I find out if hot contains 1 of the data?
Final effect:
ID Hot
1 1
5 1,30
9 1,9,20
Reply to discussion (solution)
SELECT * from Tbl_name where Find_in_set (' 1 ',
Linux under Install xampp How to modify Apache port
Reply to discussion (solution)
The Apache configuration file is in the/etc/httpd.conf file. Locate the Listen line. Change it.
The Apache configuration file is in the/etc/httpd.conf file.
There was an error saving the file when using Ueditor, in the Uploader.class.php file
if ($this->stateinfo = = $this->statemap[0]) { if (!move_uploaded_file ($file ["Tmp_name"], $this->full Name) { $this->stateinfo =
I use the phpinfo () function to view the PHP configuration environment, the directory hints about the configuration file (php.ini) are as follows:
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\\php\php.ini
May I ask
I am my own shopping cart, this PayPal how to quote to my own page, my idea is that the shopping cart in the order number and price, the number of things sent to PayPal, want to know PayPal has no examples can reference, PayPal mainly contains those
A project that uses multiple cookies to jointly determine the user state
The background is as follows
UserID Usercode username
Three cookies, if they exist, determine if there is a session or delete the cookie prompting the user to log back in
Open source code, rapid build station of those I know, but recently there is a project need to build PHP framework to develop, not familiar with the development of PHP, heard what thinkphp, but also the framework of jquery, but the specific what,
Long ago forgot where to copy, always use, but upgrade to PHP5.5 is not good with the warning
The server can not modify php.ini had to try to write with mysqli, but has not written out please expert advice!!
Thank you
function connect_db ()
Online said: First install PHP5, plus--maintainer-zts
Then install Pthreads
cd/usr/local/src/
wget http://pecl.php.net/get/pthreads-2.0.5.tgz
Tar zxvf pthreads-2.0.5.tgz
CD
The admin in this:: In which file is defined?
Reply to discussion (solution)
From the writing point of view, the admin should be a class. The U method is his method of fetching the URL believe you should know, is in no way, you can
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