Ask a little doubt about a PHP installer

Ask a PHP installer for minor problems I write a PHP installer that wants to generate the database directly from this page I assign the SQL statements to the array separately. $sql []= "CREATE Table A ..."; $sql []= "CREATE table B ..."; $sql []=

PHP double for subtraction

PHP double do subtraction I have a variable $temp=42540528736698570378174246518995812352,gettype get the type is float, I want to reduce it by 1, but use $temp-1 or $temp-1= The resulting value is still 42540528736698570378174246518995812352. How do

Websites are always hacked

Website is always black There is a station is written with DEDECMS, version show old, a few years ago. It is always black. I used to upload ASP files, and I shut down the ASP files in IIS. But now the hacker can still change the home page file, I

HttpQueryInfo error, how to deal with it

HttpQueryInfo Error file1.php PHP Code $file = "D:\\readfileto.txt"; $handle = fopen ($file, ' R '); $sContent = "; while (false! = ($a = fread ($handle, 8080))) {//returns false to indicate that a $sContent has been read

String into a two-dimensional array

String to a two-dimensional array $str = Array (' Digest ' + ',), 1 = = Array (' Digest ' + ',), 2 = = Array (' Digest ' = ' 2010 ', ), 3 = = Array (' Digest ' = ', '), 4 = = Array (' Digest ' + '), 5 = = Array (' Digest ' = ' 200 7 ',),);?> Need

How to implement all word substitution in a namespace

How to implement all word substitutions in a namespace DataCleaner.inc.php: PHP Code "Shortsighted", "moronic" = "unreasonable", "insane" and "illogical"

CURL Analog ftp down file

CURL Analog FTP upload file CURL Analog FTP upload file Author: M qq:251171960 $url = "ftp://61.54.28.3/". Mt_rand (99,999). ". TXT "; $file = "20090829.txt"; $fp = fopen ($file, "R"); $ch = Curl_init (); curl_setopt ($ch, Curlopt_verbose, 1);

PHP get Baidu Latest Event

PHP get Baidu Latest Event function Getbaiduhotkeyword () { $templateRss = file_get_contents (' http://top.baidu.com/rss_xml.php?p= Shijian '); If (Preg_match ('/ (. *) /is ', $templateRss, $_description)) { $templateRss =

SQL discourse, inserted into the third table based on the same fields of the two tables

SQL statements, inserted into the third table based on the same fields of the two tables I now have two tables, A and B. Now there is a field in a table: Zhanghao,b field has a field is also: Zhanghao, I now want to put the table of data and B table

PHP Common algorithm "bubble sort, quick sort, insert sort, trade-offs, binary search,."

PHP Common algorithm "bubble sort, quick sort, insert sort, select Sort, binary search, ... 】 Bubble sort function Bubblesort ($arr) { for ($i =0, $j =count ($arr); $i $i; $k-) { if ($arr [$k] Quick Sort function Quicksort ($arr) {

How to anti-post machine to send spam information

How to send spam messages to anti-posting machine Recently I made a local portal, but there is always a post machine to publish spam information, I used a few ways are not, such as modify the submission table field, modify the path of the submission,

Questions about the value of system logins in PHP

The value of system login in PHP I would like to ask, I log on a PHP system, how to change the user's user name and password, because I in another page need to query the database based on this user name to fetch the other values of this user, and

Ask a smarty template technology related issues

Ask a question about smarty template technology Ask the following function how to show in Smarty template? Thank you. for ($i =1; $i $TTT = GetTitle (rand (0, $TC)); ?> . html "target=" _blank ">

Apache server does not work PHP

Apache Server cannot run PHP System: RHEL6 Lamp Construction Completed Apache starts normally But unable to run PHP files, in the browser directly display the PHP code! ------Solution-------------------- Phpinfo (); ?> So

How to do the background Rights Management module

How to do the background Rights Management module Need to do a CMS site, Php+mysql, the site background to have different roles of different administrative rights, such as the Super administrator has all the administrative rights, editors can only

Can I ask you a regular expression

Ask for a regular expression "," Bdsourcename ":" "," Bdfrompagetitleprefix ":" "," token ":" 8095 "},{" Thumburl ":" http://t2.baidu.com/it/u= 2984778172,1478112097&fm=0&gp=0.jpg "," Middleurl ":" http://t2.baidu.com/it/u=2984778172,1478112097& Fm=5

The PHP file is not successfully transmitted

PHP File Upload not successful PHP Code Print_r ($_files); $name =date ("Ymd_his_"). Rand (100,999). ". TXT "; $path =dirname (__file__). " /upload/". $name; $result =move_uploaded_file ($_files["File" ["Tmp_name"],

Multiple users, please allow only one user to access a page

Multi-user, please allow only one user to access a page. I ajax to access the a.php page, but there will be many people will call to this Ajax to visit this a.php page, ask. How to ensure that at some time, only one user is allowed to access the

After the Web site development, whether to write the process, ideas

After the Web site development, is not to write process, ideas I made a small test site, the boss asked me to write a process, thinking what. I do not know what to write, is not to write a description ah. General development after the program has

Memcache Assembly not successful

Memcache Installation not successful I put the memcache.exe in the C drive. And the-D insall and-D start are executed in CMD. Telnet and stats are also normal, PHP.ini also added the Extension=php_memcache.dll. And put this file in the Ext folder.

Total Pages: 5208 1 .... 4959 4960 4961 4962 4963 .... 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.