JS version:
Total_page: Total pages//boundary: Page threshold value//front_range: Number of pages in front//mid_range: Number of page numbers in the middle show//rear_range the number of page numbers in the rear section//page_ Size: Number of
Just contact PHP for a long time, these two days start looking at the frame. Yii is the first frame I use, but from my own write to now use Yii difference is too big, not to deceive everyone, I except yii own generated that interface, the other did
Domain Access: http://www.123.com
IP access: Http://123.123.123.123/hei
Ask how not to work with the domain name or IP access can get the correct root directory. $_server[' http_host '] with domain name can, but with IP is wrong
Reply to
The condition is: ParentID equals 1 of all columns, I want to tune out, do not know how to write AH
I write this:
{pc:content action= "category" Parentid= "1" num= "siteid=" $siteid "order=" Listorder ASC "}
{Loop $data $r}
{$r [catname]}
A website has multiple background a,b,c, I am now in a login, then the session has been generated, I enter B or C when, is not required to login, this How to separate, let B or C also need to log in to enter, rather than log on a after, B and C will
Self-made employee management system database name: Empsys It contains two tables: EMP and admin
The following code is available:
Please advise you what is wrong! Why is the value not being taken?
Reply to discussion (solution)
You know $_session[' http_referer ' can get the source address of the last connection of the current link, that is, the URL of the previous page linked to the current page, can do anti-theft chain action, only click the hyperlink (that is) open the
Write to the Android call interface how to ensure the installation, to prevent attacks, and some said to use oauth2.0 to check the information about oauth2.0 do not understand how I use to ask you to guide
Reply to discussion (solution)
Micro
After many tests, No.
Encapsulation class file: Model_forum_thread in the direct write value, such as $about=> ' 123 ', is can be entered
But using $about=> $this-$param [' about '] in Model_forum_thread
Add value in post_thread.php
$params ['
What is the approximate flow? Solving.
Reply to discussion (solution)
is the API interface
Write an excuse for the class is good ah, the data with Json_encode processing back
I use SQL to add a set of data to the table, and date is evaluated by now ().
The code is as follows:
INSERT into ' inputtest ' (' IDs ', ' uid ', ' content ', ' Date ') VALUES ("", "Leo", "Hello", "Now ()")
Code to run:
8 Leo Hello 0000-00-00 00:00:
I understand the pseudo-static function, such as to access the a.php you just input a.html can go to a.php page
My doubts now are
If there is a hyperlink to jump to a.php that address bar is written a.php or write a.html?
or 2, all right?
I
In the virtual machine using XAMPP to build MediaWiki environment, the virtual machine access is normal, but in the local use IP address to access the page is not normal, but access to xampp home is normal, is not able to explain PHP no problem.
Do
Error:you has an error in your SQL syntax; Check the manual-corresponds to your MySQL server version for the right syntax-to-use ") ' at line 2
Reply to discussion (solution)
Are there two error hints?Echo $sql; Post the results and see.
The code is as follows:
if ($webstate!== "Y" or $webstate!== "N") {echo ""; exit;}
My idea is: $ only two cases, one is Y, the other is n, if there is a third case, the error.
I now if only one condition, it is normal, if plus or more one
Current server Time January 4, 15 17 o'clock 29, why Echo (date (' ymdhis ')); show 150104102900, this should be 10 point 29 meaning, how bad 7 hours? Is there a setting such as time zone?
Reply to discussion (solution)
You should be php.ini
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