[Ubuntu]

[Ubuntu] $ ch = cur_init (); Execution error, prompt PHP Fatal error: Call to undefined function cur_init (); But php5 php5-curl php-cli curl has been installed # Curl-V Curl 7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4

An error occurred while adding the php database.

An error occurred while adding the php database to the database. If ($ fun = 3) {$ row = mysql_fetch_array (mysql_query ("SELECT * FROM production order by proNo desc limit 0, 30 ")); $ num = $ row ['prono']; $ num ++; $ nums = $ num * 10 + 3;

PHP 5 + standard function library observer implementation

PHP 5 + standard function library observer implementation PHP Observer design mode implementation is relatively simple, but PHP5 + version already has support for standard library class libraries, we only need to simply inherit and implement it.

Random percentage allocation based on number of people

The requirement for random percentage allocation is as follows. the variable parameter $ people is used to randomly assign a percentage to each person, provided that the number of people is limited to 3 Write a simple assignment, but the last

Small regular expressions

Regular expression string with minor issues $ Str = '[ol5FeByKjdWCdTRjZAuF] 1 @ 2012-06-19 20:46:44 '; I want to get Content in [] ] And @ @ Content How to write regular expressions ...... All the lessons learned in the school are returned to the

Secondary development of dede!

Secondary development of dede! The foreground result of the query function is: the name of the gallery created in the background is the user name, and the attributes of this gallery are added with a field, that is, the password of the gallery. When

Ajax cannot be submitted to the background

Ajax cannot submit a text message for verification in the background PHP. ajax does not respond after it is submitted. // 002. return the verification code based on the mobile phone number. function getnum () {if ($ ("# tel "). val () = "" | $ ("#

Batch insert content into html

Batch insert content to html. websites have many html pages. Now mobile adaptation is required.Insert a JS reference line in, Insert

Speed of reading mysql from php

The speed of php reading mysql is a database with about 10 thousand records. Select id, old_id, iid, title1, page_type from mayi_news where page_type = 'test' The speed is 32 milliseconds. Select id, old_id, iid, title1, page_type from mayi_

How to encrypt PHP source code? Instead of using MD5 to encrypt characters, it encrypts the code of the entire system.

How to encrypt PHP source code? Instead of using MD5 to encrypt characters, how does one encrypt the PHP source code for the entire system code? Instead of using MD5 to encrypt characters, it encrypts the code of the entire system. Reply to

Unable to insert data into mysql

Unable to insert data to mysql register. php registration Insert title here RegisterProc. php Post processing code Insert title here Prepare ($ SQL); $ Something-> execute (array ($ username, $ password, $

Php uses a trielement function to determine the parity of numbers. how can this problem be solved?

Php uses a trielement function to determine the parity error of numbers. how can I solve Parse error: syntax error, unexpected 'echo '(T_ECHO) in F: \ xampp \ htdocs \ test \ test02.php on line 26 this is an error description, The source code is

The data and of each region in a time period are not added together.

During a period of time, the data and duplicate regions are not added to two tables. The first table is f_city (field: city_id and field city_name) The second table is f_chengjiao (field: id, city_id, area, taoshu, fang_time) The associated field is

How does php back up mssql databases?

How does php back up the mssql database? do not use bak. back up the database to an SQL statement. how can this problem be solved !!!!!!!!!! Reply to discussion (solution) You 'd better use navicat, which is very simple. Find the database to

Ajax code, php in the background

The ajax code is used to obtain the name, age, and sex of the php form content in the background. the insert () method submitted to index. php in the background is post. I can't ask for detailed code. Reply to discussion (solution) It is

Want to implement real-time communication

To interconnect a real-time communication website with an APP (Android and IOS), you can send a message to the APP on the website in a timely manner. What technology is better to use? please give me some advice. Reply to discussion (solution)

Problems with installing the PHPmemcache module in linux

There are three methods to solve the problem of installing the PHPmemcache module in linux: First Yum install php-pecl-memcache Second Tar vxzf memcache-2.2.1.tgz Cd memcache-2.2.1 /Usr/local/php/bin/phpize ./Configure -- enable-memcache --

Why do I write regular expressions like this?

Why do I need to write regular expressions like $ trade [subject]? String, It should be written as follows: href = "[^"] *" However, I understand that writing like this is correct. href = [^ "] *" In my understanding, the first rule must start

Appserv: configure multiple sites

Appserv: configure multiple sites my website mobile domain m.xxx.com I want to direct this domain name to an m directory on my server, I added it to the httpd. conf configuration file. ServerName "m.xxx.com: 80" DocumentRoot "D: \ www \

PHP namespace problems

Namespace Addons \ Wdingzhi \ Controller; Use Home \ Controller \ AddonsController; Class BaseController extends AddonsController { I still don't understand why AddonsController is not a namespace. Reply to discussion (solution) Your

Total Pages: 12780 1 .... 11584 11585 11586 11587 11588 .... 12780 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.