Urgent php website, how to deal with it
urgent! ! ! PHP websiteHappy New Year to you guys, this is my first time building a PHP website. Please give me some guidance on how to install a PHP website on WindowsXP. The database is Oracle, how can I run the .php page It’s better to be more detailed Thank you! ! ! ——Solution——————– Go to Google and search for configuration tutorials. Who would write down the step-by-step process here?http://blog.csdn.net/zhangking/archive/2009/11/11/4799299. aspxhttp://tech.163.com/06/0206/11/299AMBLT0009159K.html ——Solution——————– Put the web page in htdocs/ in the apache directory, and then access it through the path corresponding to http://localhost/. For example, if your apache is in D:/apache, create a folder “test” under D:/apache/htdocs, and put the index.php file in the test folder, which can be opened and browsed. Server, enter: http://localhost/test/index.php in the address bar to visit As for how to configure apache to parse PHP files, there are many online tutorials, search it
php_memcache.dll configuration, how to deal with it
php_memcache.dll configurationHow to configure the caching function of php_memcache.dll in PHP!!! It is best to have diagrams, thank you very much for your support! ——Solution——————– Install memcache (double-click the memcache exe file to install), then enable the memcache extension in php and restart the web server (apache, iis) ——Solution——————– Here is the documentationhttp://download.csdn.net/down/3051378/nixiang2012
PHP simulates GMAIL, HOTMAIL (MSN), YAHOO, 163, 126 email login (original), how to deal with it
php simulates GMAIL, HOTMAIL (MSN), YAHOO, 163, 126 email login (original)I have been busy recently, and at the end of the National Day holiday, I published this article in order to make these source codes open source br />Of course these methods may not be advisable, but this should be the general direction, because we are currently building a UCHOME Hong Kong and Taiwan site We plan to change the friend invitation I didn’t pay much attention to the display inside at first, so I just said OK! When I did this, I discovered that this place in UCH was made using roaming mode, which was very confusing and nothing could be changed! Alas, since I agreed and said it was OK, now the actual situation is no longer possible, so I feel embarrassed. In order to quickly solve this problem, I searched on GOOGLE and Baidu. Once again, the result was unexpected again. There was only an open source example of 126 mailbox, and there was no other one. There was a brother who kept QQ and said he wanted other source codes. You can add QQ to buy it! No more comments for this person! I spent some…
PHPMVC framework, how to deal with it
PHP MVC FrameworkHello everyone! I am learning PHP MVC recently. I would like to ask everyone, what role does the model play? I’m new to MVC and it’s a bit fuzzy to learn. Please help me! ——Solution——————– 0. Eliminate zero answers and benefit mankind. 1. The model plays the role of business logic.2. The controller plays the role of global control and is used to call the business logic model and pass the call result to the view and finally display it to the user. 3. View plays the role of display, generally using templates. class MyModel{ funcation Logic(){ //Business logic part, such as 1+ What is 2 equal to? echo 1+2; }} Create a new model in the controller and call the business logic of Logic, and then pass the result $result to the view. ——Solution——————– QeePHP API official reference manualhttp://qeephp.com/docs/qeephp-api
php connects to mysql error: Fatalerror: Calltoundefinedfunctionmysql_connect(), how to deal with it
php connection mysql error: Fatal error: Call to undefined function mysql_connect()php php connection mysql error: Fatal error: Call to undefined function mysql_connect() . phpinfo configuration is as follows: http://blog.csdn.net/attop/article/details/6906539 Please tell me how to solve it, thank you! ——Solution——————–http://taichi.blogbus.com/logs/6786608.html. If you are new to it, it feels better to use an integrated package such as wamp to compare prices. Don’t spend too much time on configuration. ——Solution——————–That Is mysqlnd an upgraded product of mysql? ——Solution——————– Discussion Quote:Is mysql installed? The mysql extension is not turned on, only mysqli and pdo are turned on Mysql is installed and started Not just Will –with-mysqli=mysqlnd –with-pdo-mysql=mysqlnd be enough? The manual says that the mysqli extension can replace the mysql extension, and it is recommended to use the mysqli extension ——Solution——————–Yes The mysql extension is not enabled. Enable it and restart apache
PHP time format, how to deal with it
PHP time formatThe time I save in the mysql database is 2012-08-07 13:30:00;I want to output it on the page: 2012/08/07 13:30How Do it? ——Solution——————– select date_format(time,”%Y/%m/%d %H:%i”) from tt; ——Solution——————– Discuss select date_format(time,”%Y/%m/%d %H:%i”) from tt;
phpQQ login session[‘state’] has not been able to find a solution, how to deal with it?
php QQ login session[‘state’] has not been able to find a solutionThe virtual space of Yilian host (I don’t know if it has anything to do with this) Use QQsdk php to do QQ login Follow the steps to set up the config and session filesEnd with only one //session.php code <?php/** * PHP SDK for QQ login OpenAPI * * @version 1.2 * @author connect@qq .com * @copyright © 2011, Tencent Corporation. All rights reserved. */ /** * @brief Set session configuration */ /** * CREATE TABLE `tbl_session` ( * `session_id` varchar(255) binary NOT NULL default ”, * `session_expires` int(10) unsigned NOT NULL default ‘0’, * `session_data` text, * PRIMARY KEY (`session_id`) * ) ENGINE=MyISAM; /> */ class Session { //MySQL host address const db_host = “localhost”; //A third party is required to specify the ip address /> //Database user name const db_user = “ibrat”; //The third party needs to specify its own user name //Database password const db_pwd = “ibrat”; //The third party needs to specify its own database password //Database const db_name = “ibrat”; //The third party needs to specify the database //Database table const db_table = “ghb_session”; //Requires a third party to specify the data table…
PHP regular expression output result filtering, how to deal with it
PHP regular expression output result filtering PHP code <?php $url="http://117.36.53.122:9082/wfcx/query.do?actiOntype=vioSurveil&hpzl=02&hphm=AP808P&tj=SYR&tj_val=%E5%8F%B1%E4%B8%BA%E5%9F%8E"; $s=file_get_contents($url); preg_match_all('/]+>(.*) /isU’,$s,$m); for ($i=0; $i<count($m[0]); $i++) { echo "”.$m[1][$i].”\n”; } ?> Query output to get the results HTML code Number plate types Small car Plate number ax098 Chinese brand Shanghai Polo Vehicle model SVW7144CLi Vehicle type Car Body color Blue Inspection validity expires 2013-01-31 Mandatory scrapping period 2099-12-31 Motor vehicle status Illegal violations not dealt with Motor vehicle owner XX/td> Plate number Number plate types Illegal time Illegal location Illegal behavior Discover the agency Information source ax098 Small car 2012-05-15 13:48:12.0 Jiangong Road Electronic Police] Motor vehicles violate signs and markings Xincheng Brigade No. 5 Squadron (Changle Road Squadron) Electronic Police
PHP code obfuscator version 2.0.0 download, how to deal with it
Download php code obfuscator version 2.0.0php code obfuscator version 2.0.0 After searching on the Internet, there are many JS obfuscators and the effect is very good, but none of them obfuscates PHP code. Tool of. In order to obfuscate PHP code, I struggled online for a while. I have debugged several foreign obfuscation tools, but none of them support Chinese. It took me a while to write this simple PHP code obfuscation tool, from traversing the php folder to analyzing the characteristics of the PHP code, and then to string obfuscation. The method is stupid, but the obfuscation effect is pretty good. It can confuse PHP variables, functions, and classes with JS variables, functions, and classes, and compress the mixed code of PHP, JS, and HTML into one line, thus reducing the size of the PHP file. The size makes the code of the PHP file more difficult to read and understand. The open source address of this method is: http://code.google.com/p/omcode/downloads/detail?name=php%E4%BB%A3 %E7%A0%81%E6%B7%B7%E6%B7%86%E5%99%A82.0.0.rar&can=2&q=#makechanges The version is php code obfuscator 2.0.0 Version. If you use this method, or rewrite some part of the method, you can discuss it in QQ group 37304662, or leave a comment at the end of this article.…
Looking for guidance from PHP programming experts, how to deal with it?
Looking for guidance from PHP programming expertsI am from Chengdu and now I need to find someone to collaborate on a PHP project. I would like to find a local Chengdu person who understands PHP to work togetherIf you have any questions, please leave your contact information ( QQ, etc.) ——Solution——————– Why are you looking for a local one? . Lianyungang qq 93131408