xampp

Submission form won't stay on same page

我只是一个虾纸丫 提交于 2019-12-02 04:34:40
Here is my form: <form action="#" method="post"> <input type="text" size="25" name="firstname" placeholder="First Name" value="<?php echo $fn; ?>"/> <input type="text" size="25" name="lastname" placeholder="Last Name" value="<?php echo $ln; ?>"/> <input type="text" size="25" name="username" placeholder="Username" value="<?php echo $un; ?>"/> <input type="text" size="25" name="email" placeholder="Email" value="<?php echo $em; ?>"> <input type="text" size="25" name="email2" placeholder="Repeat Email" value="<?php echo $em2; ?>"/> <input type="password" size="32" name="password" placeholder=

xampp mysql 忘记密码的解决方案

送分小仙女□ 提交于 2019-12-02 04:25:43
mysql忘记密码,但是由于里面有很多重要的数据库,所以我采取以下方法解决: 在另外一个电脑上安装xampp,在安装目录c:\xampp\mysql\data\mysql下找到 user.frm user.MYD user.MYI 这三个文件,并且覆盖掉出问题的xampp上安装目录下的这三个同名文件,重启mysql服务器就回复到刚装xampp时候的用户权限了! 来源: CSDN 作者: wangyang2698341 链接: https://blog.csdn.net/wangyang2698341/article/details/6680212

XAMPP “module 'mysqli' already loaded” error?

爷,独闯天下 提交于 2019-12-02 04:13:56
问题 Had XAMPP configured and running properly, was able to access phpmyadmin and execute php code on the local server. This morning after starting XAMPP and starting Apache, I get a message saying: "module 'mysqli' already loaded." I can't log into phpmyadmin- I see the login page, but when I click "go" I simply get a blank page. I was practicing submitting forms into a DB, everything was working fine, now after submitting the form a message comes back: "connect failed with: (2002) A connection

XAMPP missing php_eaccelerator_ts.dll

孤人 提交于 2019-12-02 03:44:43
问题 In php.ini there's this line zend_extension = "C:\xampp\php\ext\php_eaccelerator_ts.dll" and following this guide at XAMPP on Win7 too slow it says uncommenting that line makes XAMPP faster, but what's the point if the file wasn't even installed with latest Windows XAMPP installer. So I snatched the file from Google and put in the dir, but now when starting servers Apache and the rest it gives this error: http://i.stack.imgur.com/ajQmg.jpg (not enough rep to post pics yet). 回答1: You should

How to connect sql server with php using xampp?

倾然丶 夕夏残阳落幕 提交于 2019-12-02 03:31:36
I am trying to connect my SQL server with PHP using Xampp. I have already uploaded dll files in the ext folder but I am unable to connect it. My PHP version is 7.2.6. Uploaded dll files are - php_pdo_sqlsrv_72_ts.dll, php_sqlsrv_72_ts.dll. I have written this code to connect my SQL database with PHP- <?php $serverName = "INDO-SERV\SQLEXPRESS,1443"; $uid = "sa"; $pwd = "XXXXXX"; $databaseName = "web"; $connectionInfo = array("UID" => $uid, "PWD" => $pwd, "Database"=>$databaseName); $conn = sqlsrv_connect( $serverName, $connectionInfo); if( $conn ) { echo "Connection established.\n"; } else {

Unable to Edit config.inc.php

[亡魂溺海] 提交于 2019-12-02 03:14:02
Running: macOS High Sierra Version 10.13.3, zsh w/ iTerm2 Trying to set up a local environment with xampp , which has worked just fine for me in the past. However, I'm now unable to access phpmyadmin after changing the root password via the phpmyadmin UI. The tutorial I am following (which suggested doing this) pointed me to the config.inc.php file, where the password variable would also need to be updated. Unfortunately, I am unable to edit this file. I've seen other users in Stack Overflow complain of the same issue, but the answer that comes back always seems to involve editing via vi or

Is there easy way to install SSH in xampp for windows?

别来无恙 提交于 2019-12-02 02:06:13
Is there easy way to install SSH in xampp for windows ? I don't believe so. Even if you could, you wouldn't have seamless access to apache and mysql as you'd expect on a *nix box. If you are dead-set, the best bet will be to just install openssh server ( http://sshwindows.sourceforge.net/ ) and make sure the tools you want to use are in the path. I've always found ssh on a windows machine more trouble than it's worth, though. You may install OpenSSH for Windows or OpenSSH via Cygwin. Your choice. 来源: https://stackoverflow.com/questions/3485925/is-there-easy-way-to-install-ssh-in-xampp-for

XAMPP missing php_eaccelerator_ts.dll

谁都会走 提交于 2019-12-02 00:38:44
In php.ini there's this line zend_extension = "C:\xampp\php\ext\php_eaccelerator_ts.dll" and following this guide at XAMPP on Win7 too slow it says uncommenting that line makes XAMPP faster, but what's the point if the file wasn't even installed with latest Windows XAMPP installer. So I snatched the file from Google and put in the dir, but now when starting servers Apache and the rest it gives this error: http://i.stack.imgur.com/ajQmg.jpg (not enough rep to post pics yet). You should download and use one of the complied dll's below. It should match your PHP version. PHP 5.3.XX VC9: http://eac

xampp 1.7.4 + winxp + eclipse

前提是你 提交于 2019-12-02 00:31:36
I downloaded the latest Xampp version (1.7.4), installed it under windows XP, disabled the firewall and configured both php.ini and eclipse acording to eclipse installing instructions. When running phpinfo() function both inside and outside eclipse I see Xdebug loaded but when I try to run debug mode in eclipse it freezes at 57% (waiting for xdebug connection). In xdebug log I have: Log opened at 2011-06-20 19:38:30 -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/xampp/htdocs/test/test.php" language="PHP" protocol_version="1.0" appid=

Enable directory/file listing in XAMPP

▼魔方 西西 提交于 2019-12-02 00:25:58
How to enable directory and file listing in XAMPP ? In WAMP it is by default enabled. m_evangelista My Xampp httpd.conf already had the Indexes option under the xampp directory entry Removing all the default #comment lines, it looks like this: <Directory "C:/xampp/htdocs"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> But, I have my local root mapped to a different directory, outside of 'htdocs', (as per this post Make XAMPP/Apache serve file outside of htdocs ) so to enable this for all directories, I had to find the entry just