Can any adult provide a free space that supports php+mysql:), how to solve it?
Can anyone give me a free space that supports php+mysql:)I recently planned to find a space to practice what I made online. After searching for a long time, there was no suitable one ——Solution——————–www.volit.com 1G free. . . Recommended by Computer News. ——Solution——————–www .volit.com ——Solution——————–Me Recommended, super good foreign space The address is http://ifastnet.com I made one, you can take a look: http://javadao.ifastnet.com/wp ——Solution——————–F. Points will be awarded for those who are above. This space is awesome, haha. It’s okay not to accept it. Take a look: iFastNet is a member of a large hosting organization, this gives us access to lots of high speed bandwidth and advanced hosting technologies. Using our large network of high specifaction servers, we are now providing you a specialized free web hosting service.
qeephp fuzzy query, how to solve it
qeephp fuzzy queryI now need to add a text to a paging list as a place to enter the search query. But this query button is not in the form, so the action cannot be taken when submitting. I don’t want to use ajax to submit. Do you have any good tips? ? And how to extract the value from text as query conditions? At the same time, how can the following paginated data be displayed in another page according to the query conditions? ? Give some tips ——Solution——————– The submit event of the form where the text is located is triggered when the button is clicked! How to get the value in text as query condition Use jsdocument.getElementById(‘text ‘).valueGet the content At the same time, how can the following paging data be displayed in a new page according to the query conditions?When the paging has parameters, modify the action of the form where the text is located. ——Solution——————– Add a hidden field in your form belowStart js when submitting the formPut the value of text into the hidden field in the form Then take the value in the hidden field and perform a fuzzy query
php online screenshot, how to solve it
PHP online screenshotIs there any way to achieve online screenshots of web pages in PHP? I don’t consider third-party plug-ins because I want to be compatible with multiple platforms such as LINUX WINDOWS. I found a section of DOM in the top section. I can take screenshots but it doesn’t feel very good. Does anyone know about it? DOM code$info = parse_url($url); $pic = empty($name) ? BF_ROOT.’/upload/’.$info[‘host’].’. jpg’ : $name; $browser = new COM(“InternetExplorer.Application”) or die(“Can’t start Internet Explorer”); try { $handle = $browser ->HWND; $browser->AddressBar = false; $browser->MenuBar = false; $browser->ToolBar = false; $browser->StatusBar = false; $browser->FullScreen = true; $browser->Visible = true; $browser->Silent = true; $browser->Navigate($url );//Your page while ($browser->Busy) { com_message_pump(4000); } } catch (com_exception $e) { echo $e; } $im = imagegrabwindow($handle, 0); imagepng($im, $pic); $browser->Quit(); ——Solution——————–jquery screenshot. What are the compatibility and incompatibilities of js? Haha ——Solution——————–COM Already a third party ——Solution——————–jquery It seems that there are many plug-ins that can achieve the front-end effect of screenshots, and it can be achieved by using PHP to process images. I have done it. ——Solution——————–Owner Use your com combined with coordinates to take a snapshot
Looking for experts, the PHP installed on Linux is missing modules, how to solve it?
Looking for experts, the PHP installed on Linux is missing modules, how to solve it? When I installed php, I added one less parameter “–enable-fpm” in ./configure,so the fpm module was not installed (fpm = FastCGI Process Management)Later I know that nginx requires this module to support PHP.–Now, how can I add this module? 1. If you want to uninstall and reinstall, how to uninstall? 2. Is it okay to directly configure, make, make install, and reinstall without uninstalling? 3. Can I add the fpm module separately without uninstalling or reinstalling? –php is installed from the source code, and the system uses SSH to log in, so please give me some advice on how to use the command, thank you~ — —Solution——————– Discuss Now, how can I add this module? 1. If you want to uninstall and reinstall, how to uninstall? 2. Is it okay to directly configure, make, make install, and reinstall without uninstalling? 3. Can I add the fpm module separately without uninstalling or reinstalling? ——Solution——————–make cleanAnd then re-./configure Write the configuration and then make && make install Try it! !
PHP basic programming small forum moderator application post, how to solve it
PHP basic programming small forum moderator application postThe effect of successfully becoming a moderator is obvious. 1. It can be proved that the moderator does not receive a salary in csdn2. It can be proved that the moderator is not directly proportional to the technical level3. It can be proved that you do not need to have many medals to be a moderator 4. It can reduce the appearance of advertisements, although there are already very few5. It can prove that being a moderator is indeed a hard job6. It can prove that everyone does not like being a moderator7 .It can prove that csdn does need moderators8. It can prove that the people who agree to me being a moderator are all with high IQs…I can’t explain why I suddenly want to apply. I want to help more people because I have been helped too. Nagging is the moderator, a person who has been able to persist for many years, and I am trying to find the answer. //=================Member ID: phpnewnew Application layout: Basic programming under php Small forum moderator Reason for applying as moderator: I love php and I hate advertising men. Eliminate 0 replies and form a…
Asking experts to explain WSKEY in PHP, how to solve it
Asking experts to answer WSKEY in PHP<?phpdefine(“db_host”,”localhost”);define(“db_user”,”chtt”);define(” db_pass”,”7o453″);define(“db_chtt”, “chtt”);define(“db_port”,”3306″);define(‘VGateWay’,’www .55777.com’); Can an expert explain the meaning of these two linesdefine(“WSkey”,”gjgu0284yt2jldsgu67″); Can an expert explain the meaning of these two lines, especially what does gjgu0284yt2jldsgu67 mean? ?> ——Solution—————- —- Discuss Well, I want to translate the KEY to see if it is a domain name or IP. What should I use to get it?
A warning from phpwordpress, how to solve it
A warning for php wordpressWarning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘importFile’ not found or invalid function name in /home/wwwroot/bocserver.bestv.cn/boc/wp-includes/ plugin.php on line 395 How to remove this warning, or how to set it not to be displayed. ——Solution——————–What have you changed? Find whether the first parameter ‘importFile’ in the call_user_func_array() function at line 395 is written incorrectly (uppercase or lowercase). ——Solution——————–Invalid Return value importFile function not found ——Solution——————– Discussion The problem is solved: The solution to the problem caused after php is upgraded to 5.4 is to find display_errors = Off in the php configuration file php.ini (change on It’s OK if it’s Off) ——Solution——————– Discuss This is indeed the case: In wordpress, you can use @ini_set(‘display_errors’,’Off’); to turn off error output . Much more convenient than in php.ini.
PHP page loads very slowly, how to solve it
The php page loads very slowlyThe background loading of the Dreamweaver website is very slow and it takes half a day to load. The php test page is also loading slowly. It was fine before and there was no problem, but today it has become like this. And After IIS is restarted, it will be better for a while, but then it will become very slow again. Have you ever encountered such a problem? Please give me some advice. . . ——Solution——————–Lazy loading is used ——Solution——————–Check Are there any queries that are being executed? Is the cpu abnormal? ——Solution——————–Me I’ve encountered this before, and it will get better after a while. I haven’t discovered anything yet, but mine is Apache, not the DreamWeaver system. You can see the post address by sliding over my avatar. ——Solution——————–Yes Isn’t the picture too big?
A PHP paging program reports an error, how to solve it
A PHP paging program, reporting an errorThis is a page turning program: PHP code include_once(‘conn.php’); if(isset($_GET[‘pclass’])) { $p_class=$_GET[‘pclass’]; } else { $p_class=”; } $respage = mysql_query(“SELECT COUNT(*) FROM product where p_class=’$p_class’;”); //$num is the total number of records that meet the conditions in the data table while($row = mysql_fetch_assoc($respage)) { $num = $row[0];//This line reports an error: Notice: Undefined offset: 0 in D:\setup\xampp\htdocs\products\showclass.php on line 88 } $recordnum =40; //How many records are displayed on each page? $pages = ceil($num/$recordnum); //How many pages are there in total? if (@$_GET[“page”]) // Get the parameter page in the url { //$pre and $next are the values of the connection parameter page for the previous and next pages. // If the parameter in the url is 1, set the current page to 1 and the previous page, $pre is also one, and $next is 2 if($_GET[“page”]==1) { $current = 1;//Current page $pre = 1; //$pre is from the previous page $next = 2; //$next is the next page } else { $current = $_GET[“page”]; $pre = $current-1; $next = $current+1; } // If the parameter in the url is not one (not the first page), the value of the current page is the…
PHP can connect to the database but cannot create database, how to solve it
PHP can connect to the database but cannot create database, how to solve it? Post the code first: PHP code <?php $con = mysql_connect("localhost"); if (!$con) { die('Could not connect: ' . mysql_errno()); } else { echo "success" . "”; } if (mysql_query(“CREATE DATABASE hello”, $con)) { echo “Database created”; } else { echo “ERROR”; } mysql_close($con); ?> I wrote this code under zend, the running environment is WAMP, and the running result issuccessERROR This means There is no problem connecting to the database, but an error occurs when executing CREATE DATABASE hello. I don’t understand what’s going on, please give me some advice. ——Solution——————– Check to see if you have permission to create a database ——Solution——————–You Change echo “ERROR”; to echo mysql_error(); There is no need for any “meaning”