xampp

Submitting a form. Using php to store information in a database [closed]

前提是你 提交于 2019-11-30 16:34:21
I'm quite new to PHP and have an assignment where I have to make a html form, which is fine. I'm required to have the data submitted to a database and stored in a table. This table should allow the user to view edit and delete entries in the table. I'm not asking for any code or for somebody to do this for me or anything like that, I want to learn the language myself. I would appreciate it greatly if somebody could just outline the steps required? At the moment I have a simple html form, which is linked to a php document called process.php that echos the inputted values to the screen. I'm

XAMPP don't know how to restart

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 16:26:24
问题 I want to restart it because I made some changes in the php.ini to adjust the max_file_size . I need to restart it so that it will take effect however I can't find the command in the XAMPP control panel. I tried to search in Google I can't find the right answer. By the way, I am using XAMPP 1.7.4 in Windows Vista. 回答1: In the version I am using, from the control panel just click the stop button for the given app and then the start button. 回答2: You don't need to scrap XAMPP over this issue.

How to get Django to work with MySQL in XAMPP?

久未见 提交于 2019-11-30 16:07:17
I installed XAMPP on my Mac (Snow Leopard) and installed Django. How do I tell Django to use this and when I fire up python manage.py runserver I get this error: ... _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)") How do I tell Django to use this instead? /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock Put that in the HOST entry for the database in the settings. simple solution is that just install Django Stack for Xampp. Not need to configure any thing every thing is configured already https:/

Symfony on virtual host (document root problem)

99封情书 提交于 2019-11-30 15:54:44
I'm developing an application in Symfony and on localhost (XAMPP) I want to simulate the same conditions as on the webserver. The web server is configured as follows: /www => mydomain.com /foo => foo.mydomain.com /bar => bar.mydomain.com ... I'm going to put my Symfony application into /www direcotry so there'll be: /www /www/apps /www/apps/frontend /www/apps/frontend/... /www/apps/backend /www/apps/backend/... /www/cache /www/config ... and so on... /www/web The thing is that the document root is still set to the /www directory but Symfony expects it in the /www/web . Of course it will work

Installing a perl module from CPAN on XAMPP for Windows

痞子三分冷 提交于 2019-11-30 15:42:34
I'm pretty rusty with Perl and I don't think it's helping that I'm running it in Windows. I'd like to install this module. I tried the instructions here to install a CPAN module, but it fails trying to install App::cpanminus (the very first step.) I tried just running cpan Config::Simple and it didn't work either. In both situations, it fails with this error message: Unwrapping had some problem, won't try again without force Had problems unarchiving. Please build manually Running make test Make had some problems, won't test Running make install Make had some problems, won't install Does CPAN

xampp localhost phpmyadmin Access denied for user 'root'@'localhost' (using password: YES)

北战南征 提交于 2019-11-30 13:55:19
I am getting two errors when I try to go to my phpmyadmin localhost Access denied for user 'root'@'localhost' (using password: YES) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server. I don't know what I am doing wrong...here is my config code... $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ /* * Servers configuration */ $i = 0; /* * First server */ $i++; /*

XAMPP - Apache could not start - Attempting to start Apache service

感情迁移 提交于 2019-11-30 13:45:36
While trying to start Apache using XAMPP, I was receiving - "Attempting to start Apache service..." message in XAMPP UI. No further details were available. Where can I see the logs (I was running XAMPP as Admin) ? IF PORT 80 IS NOT THE ISSUE! Check to see if the port 80 is in use first as this can be an issue. You can do this by typing "netstat -an" into cmd. The look for 0.0.0.0:80 under Local Address, if you find this is in use then follow the solution from @Karthik. However, I had a similar issue but my port 80 was not in use. My XAMPP had wrong paths locations, steps to fix this: 1.Find

XAMPP - Mysql stopped working on OS X Yosemite (10.10)

二次信任 提交于 2019-11-30 13:38:43
I Installed XAMPP 1.8.3-1 on OS X Maverick and all was well, until I upgraded to Yosemite last night, Now when I try to start MySQL in the manager it won't start. Activity monitor shows no other MySQL processes running. While in the error log I find this message: 2014-08-06 17:19:04 5277 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql dyld: Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData Expected in: /Applications/XAMPP/xamppfiles/lib/libsqlite3.dylib in /System/Library

I changed mysql port in xampp, now how do I listen to the new port?

人走茶凉 提交于 2019-11-30 13:01:33
问题 I have installed the latest xampp with mysql version 14.14 Distrib 5.6.21, the problem is in my computer, I already have a mysql database installed by other program that I am using. So I configure the xampp mysql port to 3307 (default is 3306) inside the my.ini file. However, now my localhost/phpmyadmin seems to read the database installed by the other program, not the one in xampp, and also when I test using some php files, it shows that I am connected to the database even though xampp is

How to transfer my MySQL database to another computer?

风流意气都作罢 提交于 2019-11-30 12:09:27
问题 I am using XAMPP package in my own desktop with Window 7 as OS. That means I'm using MySQL DB and Apache server. Now I would like to copy/migrate my whole MySQL DB to my friend's desktop, which is also with Window as OS, and also using XAMPP package. Is there any way for me to do that? 回答1: Copy database files from MySQL folder (under old xampp folder) except share , bin , and script folder see attached image to see which files need copy (only files with in green box) and replace all these