Menu
  • HOME
  • TAGS

Admin page access using IP address

php,pdo,xampp

I see you're on a Mac: things are easier than on Windows. All you have to do is to open the "terminal" application and to type the command ifconfig (and, of course, ENTER). In the result, pretty similar to the screenshot above, you'll see a line like inet 10.1.1.2 netmask...

500 Internal Server Error on Xampp's Virtual Host

apache,.htaccess,mod-rewrite,xampp,virtualhost

These are very simple rules, but it should work fine for your case, and it should help you start building some more complex rewrite rules. RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(404|404\/)$ /404.html [L] # Make sure to avoid loops. # Ignore rewrite rules for the files and...

Installing PHP Project Dependencies with Composer

php,xampp,composer-php,nette

I think your composer PATH or shortcut/batch file is kind of broken, because it tries to read the php.exe file as a JSON file. Try to remove composer completely and start with a clean install Download and install composer using the automated installer. It sets up the PATH for you,...

Laravel 5.0's Route::post renders an empty page, why is this when Route::get works just fine

php,laravel,xampp

After checking the error logs (duh?!) I noticed the permissions for the storage/ directory were insufficient. After fixing this, I still needed to: add "illuminate/html": "5.0.*" to the composer.json file. add 'lluminate\Html\HtmlServiceProvider' to the providers array, and 'Form'=> 'Illuminate\Html\FormFacade', 'HTML'=> 'Illuminate\Html\HtmlFacade' to the aliases array in the config/app.php file. Add...

External PHP to post data in HTML

php,html,css,xampp,external

I was having trouble including files as well. Here is what I found. Includes in PHP can only pull files from the current directory <?php include('data.php'); ?> Or directories up the "ladder" One level <?php include('../data.php'); ?> Two levels <?php include('../../data.php'); ?> To my knowledge it's not possible to jump...

brew install php56-mongo Command Not working

php,osx,mongodb,xampp,homebrew

$ brew tap homebrew/php $ brew install php56-mongo ...

Rewrite Rules are not being picked up by the Server

php,regex,apache,mod-rewrite,xampp

From the logs: '^(dev_[^/]*)/justink/public_html/search/manufacturer/?(.*)$' to uri 'search/manufacturer/hewlett-packard' You have to much prefix information in your regex. As you can see the URL provided to your regex is only 'search/manufacturer/hewlett-packard' I believe you also want to redirect to a new HTTP location and not to a file, so that your mod_php...

MySQL I/O Performance in XAMPP

mysql,database,xampp,database-connection

XAMPP does not have a performance monitoring tool built in for Mysql, since it is a web server and just comes packaged with Mysql when installed. There are a number of free and paid ways to monitor I/O performance for Mysql. If you are on a linux server you can...

How can I set up a load balancer for multiple virtual hosts (apache)

apache,xampp,load-balancing,virtual-hosts

There many ways to accomplish this, but what you are trying to do it won't work. The /etc/hosts is a basic way of IP to host name mapping. If you want round-robin resolution you will have to use DNS server. Also, it doesn't make much sense to load balance on...

Correct source code, but I got parse error: syntax error, unexpected '}' [duplicate]

php,apache,xampp,syntax-error

This is likely because short_open_tag is disabled when you test locally. This setting controls whether or not <? ?> among other tags are interpreted as PHP during parsing. The result is that this block: <? $fields = array("email", "pass"); for ($i=0 ; $i<count($fields) ; $i++) { if ($form->Error($fields[$i]) != "")...

xampp not working, just installed

php,mysql,xampp

Check your server error logs under <XAMPP_INSTALLATION_PATH>/apache/logs/ directory. It will guide you if any port is already occupied. I agree with @ErasmoOliveira as most of the time I faced similar thing & exiting skype fixed this issue....

XAMPP MySQL Database won't run

mysql,osx,xampp

If the log shows an "XAMPPErrorDomain error 1" error, then its a permission problem. To solve this on OS X, try this: sudo chmod 600 /Applications/XAMPP/xamppfiles/etc/my.cnf ...

Xampp Config Files AWS

amazon-web-services,xampp,bitnami

Bitnami developer here, XAMPP includes MySQL and Apache. If you want to connect a remote MySQL, you need to follow this guide: https://wiki.bitnami.com/Components/MySQL#How_to_connect_to_the_MySQL_database_from_a_different_machine.3f But in your case, I think you want to migrate you XAMPP site to your AMI. This guide could help you with that purpose: https://www.apachefriends.org/docs/hosting-xampp-on-aws.html I hope...

dynamic css file won't load on web, works on xampp

php,css,xampp

Check the MIME type the server is returning your css with. https://developer.mozilla.org/en-US/docs/Incorrect_MIME_Type_for_CSS_Files Note: Even though you wil get it to work the way you want, you should double-check if the reduction in CSS file size makes up for the impossibility to cache the CSS client-side. Apart from that, the actual...

Error 2002 Connection refused on phpmyadmin using Ubuntu and XAMPP

ubuntu,phpmyadmin,xampp,kde

Apparently what I did wrong was giving my user access to the /opt folder which contains mysql without knowing that I am preventing the access from the root, and mysql needs root access. If you're facing the same issue try this: sudo chmod 755 /opt/lampp/etc/my.cnf sudo chmod -R 777 /opt/lampp/var/mysql...

How can I introduce Slim framework in XAMPP?

xampp,slim

SOLUTION: I just allocate the folder of Slim framework in C:\xampp\htdocs\project where project it's the folder of my app. It works properly.

How check if the sum of the values of two columns, in the same row have exactly 100 as result in mysql

mysql,sql,phpmyadmin,xampp,checksum

As already commented MySQL doesn't support CHECK constraint. Per MySQL Documentation it says: The CHECK clause is parsed but ignored by all storage engines You should rather use a BEFORE INSERT trigger as an alternative like below DELIMITER // CREATE TRIGGER sumcheck_before_insert BEFORE INSERT ON bla_table FOR EACH ROW BEGIN...

Configure Apache web server to perform SSL authentication

linux,apache,security,ssl,xampp

Bitnami developer here, In XAMPP the SSL configuration is located at /opt/lampp/etc/extras/httpd-ssl.conf file, where there is a default VirtualHost already configured in port 443, and you are trying to bind again the same port. Please, try to modify this file instead. You can check if there is any other process...

Uploading my site from XAMPP to Apache public host

php,mysql,mysqli,xampp

After some wondering around and splitting the problem in little subtasks, i believe I managed to understand that that little stupid extra comma in the list was preventig me to run the program, I copy pasted a syntax shared on-line and now everything seems to work... outcome: - check the...

How to Install PHP MongoDB Driver for XAMPP on OSX?

php,osx,mongodb,xampp

You need to start mongod brew update brew install mongodb mkdir -p /data/db mongod --dbpath /data/db Before running mongod for the first time, ensure that the user account running mongod has read and write permissions for the /data/db directory. Install MongoDB PHP driver brew install php56-mongo OR sudo pecl install...

XAMPP - “This webpage is not available”

php,apache,xampp

Try running control panel with admin rights. Right click on control panel icon and select "Run as administrator". Also it would help if you pasted here the messages that you get in control panel when you start apache (mysql is not needed to run your hello.php file since you don't...

Removing index.php from CodeIgniter URLs in Windows

php,.htaccess,codeigniter,url-rewriting,xampp

This .htaccess works for me: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] ...

Using PHP's mail() works from command line, not from Apache, any idea why?

php,osx,apache,email,xampp

Okay, I found the solution, for whatever reason the sendmail path in php.ini has to look like this for PHP's mail to work through Apache on OS X Yosemite: sendmail_path = "env -i /usr/sbin/sendmail -t -i" Thanks to everyone who tried to find an answer....

xampp showing folder empty in htdocs

php,xampp,localhost,htdocs

home.php is one of the default index page to show in apache settings. If you will check xampp/apache/httpd.conf file you will find the following code <IfModule dir_module> DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \ default.php default.pl default.cgi default.asp default.shtml default.html default.htm \ home.php home.pl home.cgi home.asp home.shtml home.html...

xampp control panel Apache port is not opening

php,mysql,xampp

For change port skype, you can choose menu Tools > options then choose advanced > Connection read it change port besides 80

How do I send an email of the current page using a button?

javascript,php,html,email,xampp

I figured it out using php and installing XAMPP. I used apache, mysql, and mercury in XAMPP. I followed the steps for mercury here. I also had to change some things in the php.ini file and sendmail.ini file. Those steps can be found here. Hope this helps cut down the...

Phalcone Mac and xampp

php,xampp,phalcon

After: git clone --depth=1 git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install I found phalcon.so in this location: /usr/local/Cellar/php56/5.6.8/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so so in my /Applications/XAMPP/etc/php.ini I added this: extension=/usr/local/Cellar/php56/5.6.8/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so and now seems to work fine....

Xampp apache won't run after previous Apache installation

php,apache,xampp

You need to un-install everything given from xampp previous installation. And why is there an Apache folder in the c:\ drive? Everything controlled by xampp will reside on c:\xampp directory. It contains mysql, php, ftp, apache and the entire bundle of software in xampp folder. Delete everything with the apache...

Change browser/system default localhost port (80) to custom

apache,xampp,localhost,wamp,wampserver

According to RFC2616, the default port for HTTP is 80, so browsers are designed to interpret a request without a defined port as a request to port 80. As far as I'm aware, there is no way to override this default (without some serious modification of the browser's code), either...

How can i solve the error when running xampp saying that the port/s are in use by another program?

xampp

Disable the FTP Server that is already running (most likely running via Windows Add/Remove Programs -> Windows Features). Otherwise, you will need to change the port in the FileZilla settings located at %APPDATA%/FileZilla

PHP OSX XAMPP - exec mount command

php,osx,apache,xampp

Ok, So i got it working. I just needed the web server (user daemon) to own a folder in which the share is mounted. EG. created a folder called "tempshare" that user daemon owns and is in the same folder as the php script (don't worry, it will be placed...

Wordpress and Xampp not open child pages

php,wordpress,xampp

By default, Xampp has FollowSymlinks disabled. See point 4 on how to enable mod rewrite (if not done already) set AllowOverride from none to all https://codex.wordpress.org/Using_Permalinks#Fixing_Permalink_Problems If AllowOverride is not set to all, permalinks will cause exactly these 404 errors you describe ("Not found" on existing pages). ...

Which directory should I locate the PHP project in to make it work with XAMPP?

php,mysql,xampp

In your xampp folder you will see the folder named htdocs.YOu can place your project in that htdocs folder. You can run that project by using localhost/yourproject_folder_name in your browser. Hope this will help....

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

php,mysql,apache,phpmyadmin,xampp

Goto xampp>phpMyAdmin Directory. Find config.inc.php file. Now change this line: $cfg['Servers'][$i]['host'] = '127.0.0.1'; To $cfg['Servers'][$i]['host'] = '127.0.0.1:3307'; Now, restart your server.

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

xampp

I realized it was a port issue since I was running IIS and other web servers in my machine. But I was more interested to see a detailed error message with the port number in the UI. Seems like it was not logged in the UI or log file (at...

Connecting to ldap securely for Dummies

php,ssl,active-directory,ldap,xampp

I have solved the problem, as there no replies here's how I went about it. Firstly and most importantly, if you're new to Active Directory, before reading up on any material download Active Directory Explorer. You would have far more context about every aspect of Active Directory while researching your...

Xampp - mysql doesn't return all records

php,mysqli,xampp

Your foreach loops are not correct, single loop is enough, it should be: while ($row = $result->fetch_row()) { //recupero singoli attributi della tabella 'libro' e li stampo print $count.". "; print " ".$row[0]. " - ".$row[1]." - ".$row[2]." - "; ... } Also, much better for readability and manageability is...

Local site redirecting to live site

apache,.htaccess,xampp

The lines below are causing the redirect: RewriteCond %{HTTP_HOST} !^www.baseballforbusypeople.com$ [NC] RewriteRule ^(.*)$ http://www.baseballforbusypeople.com/$1 [L,R=301] As such, requests to www.baseball.dev will redirect to www.baseballforbusypeople.com. On your dev server, comment the above lines and leave them uncommented on your production server. Also, be sure to clear your browser cache if you...

Installing Xamp apache failed because Oracle port

oracle,apache,oracle11g,xampp

Stop Apache if already running. Go to C:\xampp\apache\conf Open httpd.confusing notepad or any other editor. Change the listener to another port like Listen 80 to Listen 1234 Start The apache , it will work....

PHP file upload missing tmp_name

php,apache,xampp

If you notice in the ones where you do not get all the array occurances filled you do get all the uploaded files flagged with errors! [error] => Array ( [0] => 1 [1] => 1 [2] => 1 ) 1 = UPLOAD_ERR_INI_SIZE That will be why none of the...

How can I combine these two statements?

perl,xampp,cgi

You should read database manual. The query should be: $dbh->do("INSERT INTO $table(name,nametwo) VALUES ('".$enter."', '".$enter2."')"); ...

How to upload WordPress child theme to XAMPP + Bitnami + Mac OS?

wordpress,osx,xampp,themes,bitnami

I was able to change permissions through the Mac "Get Info" panel. Doh!! "Get Info" panel, unlocked See screencap....

SOLVED - How can I see phpmyadmin with XAMPP?

php,mysql,apache,phpmyadmin,xampp

Finally, I realized that I had installed Apache 2.4 in my real machine so the main page that I saw before and could see this: "It works" was from this Apache. I solved it uninstalling Apache, and now it works perfectly. Thanks all of you for your answers!...

Google Drive - How to List all Files in a specified folder

php,google-apps-script,google-api,google-drive-sdk,xampp

This is what I came up with, thanks to the help of the above code and some other code I found, put the two together and it does what I need. It may be useful for some one else. Thanks function listFilesInFolder() { var MAX_FILES = 2000; //use a safe...

Dreamweaver can't connect to localhost

browser,xampp,localhost,dreamweaver

This path "localhost/~user/mySite/index.htm does not look correct. Usually on XAMPP goes as follows. If I consider that your files are located in a "mySite" folder inside htdocs and an index.html exists then you can access them by typing on the browser localhost/mySite. Note: Turn on Apache, and MySQL if you...

Sending email - PHP XAMPP in MAC

php,osx,email,xampp

The thing is that mail() didn't work on Xampp before but since I updated to Xampp 5.6.3 (on mac) it suddenly did. But not all emails would receive it. My mail on gmx.net wouldn't accept the mails but my mail addresses connected to my webhotel did. But I use phpmailer...

XAMPP load blank screen on codeigniter

php,codeigniter,xampp,localhost

Blank page is likely due to PHP errors with directives to display errors turned off. Check your php.ini for display_errors, html_errors and error_reporting directives. Should be: display_errors = On html_errors = On error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT ...

unable to update data in db. jQuery, php

php,jquery,mysql,database,xampp

I found a problem in your php script. In your AJAX call you are declaring the HTTP request as post. But in your php script you are using the $_GET method to look for the variable. Use $_POST. In your PHP script: $name = $_GET['fullName'] turns into $name = $_POST['fullName'];...

Multiple VirtualHosts For XAMPP Not Working

wordpress,apache,xampp,virtualhost,virtual-hosts

Alright, finally figured it out. Here is my step-by-step guide: 1) Open up C:\xampp\apache\conf\extra\httpd-vhosts.conf, or wherever your httpd-vhosts.conf file is. Enter this first below the comments: <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs" ServerName localhost </VirtualHost> 2) Next enter the sites you want to be locally hosted. For example: <VirtualHost *:80> DocumentRoot "C:/sites/dev.mysite.org"...

How to use font-face on a local server (xampp)?

css,fonts,xampp,font-face

I am pretty sure you need origami_making.eot as well, and use relative urls. example @font-face { font-family: "Flaticon"; src: url("flaticon.eot"); src: url("flaticon.eot#iefix") format("embedded-opentype"), url("flaticon.woff") format("woff"), url("flaticon.ttf") format("truetype"), url("flaticon.svg") format("svg"); font-weight: normal; font-style: normal; } ...

Mysqldump generat empty file in php

php,mysql,xampp

$return_var = NULL; $output = NULL; $command = "mysqldump -u mysql-user -h your_host -pmysql-pass database_name > /directory_path/file.sql"; exec($command, $output, $return_var); or you can refer to this answer mysqldump via PHP...

How to make site without /index?

html,apache,dns,xampp,windows-server-2003

Just rename the file to index.html or index.htm or home.html or home.htm so it will show the page for your default uri

UAC error while installing Xampp 1.8.35 on windows 8

windows,xampp,localhost

Go to your xampp installation directory. Right click on "xampp-control" then choose "Run as administrator" If prompted, choose Yes You do not have to disable UAC. You are simply getting this message because the application was started with normal user rights, while the application needs administrator rights to be able...

How do i print all image in web page? (Printer)

javascript,php,xampp

The JavaScript print() function can be called to open the print dialog in the browser. You could try adding a script element to your page that calls print: <script type="text/javascript">print();</script> I'm not sure how the timing would work, but you might need to do it on the onload event instead...

What is the xampp localhost password to connect with putty?

linux,shell,xampp,server,putty

Putty is a Telnet and SSH client. You need to run a SSH or Telnet service for Putty to connect to. For example, an SSH service setup on localhost. Then, you create a user account for the SSH service and that's what you type into Putty. A better way to...

URL Rewriting with port number and root folder in PHP

php,linux,.htaccess,mod-rewrite,xampp

I have found the solution, issue was related to mod_rewrite function was disabled in apache in linux operating system. To find out mod_rewrite is enabled or disabled. just run php_info() and search for mod_rewrite. this is an easy technique, there are multiple ways to find out mod_rewrite. To enable mod_rewrite,...

How to upload wordpress theme to sub domain

wordpress,xampp,localhost,wordpress-theming,subdomain

I do blogging a bit. I found this video tutorial, I have used this one to successfully set up a new subdomain and install Wordpress sometimes ago. STEPS:: Use cpanel to create the subdomain Download the latest version of wordpress to your local drive Upload to subdomain folder on your...

Xampp redirects to /xampp

codeigniter,xampp

Rename index.php in your htdocs folder to index1.php, then try to access http://localhost, so now you will see Apache's default Directory listing instead of XAMPP homepage. If you somehow want to move back to the default XAMPP homepage, do rename index1.php to index.php...

How to apply Magento security patches in xampp for windows

magento,xampp,patch

1) My windows has sh.exe available and can run .sh files - just type it into the command line, git bash works fine too. UPDATE: my sh.exe was likely installed along with git. It is relatively easy to install though. 2) On windows machines you may need to edit the...

XAMPP - Windows - SSH2 - Failed to get banner

php,ssh,xampp

@Anshu already pointed out that you seem to have a Web server running on port 8880, so SSH cannot possibly be listening on the same port (and IP address). My best guesses are that either, you don't have SSH running on port 22, or that the Windows firewall blocks port...

Python Requests Library post requests failing on local development server?

php,python,post,xampp

$state = $_POST["state"]; You are sending the data as type application/json, but PHP won't auto de-serialize the string into json for you. Also Python Requests will not autoserialize: [ ('state','true'), ('humidity', 45), ('temperature',76) ] into json. What you will want to do is serialize the request for on the client...

Error:java.sql.SQLException: Access denied for user '[email protected]'@'localhost' (using password: YES)

java,mysql,database,netbeans,xampp

After you run your query you have to run FLUSH PRIVILEGES Your code is taking a space as password. Please change password =" " to password=""...

conversion from string to double is not valid

mysql,vb.net,xampp

This will implicitly attempt to convert to a Double to attempt to run the comparison: If TextBox1.Text = 0 Then MessageBox.Show("Please enter text") End If You may want to wrap it (and any other occurrence) in If Textbox1.Text <> "" Then If TextBox1.Text = 0 Then MessageBox.Show("Please enter text") End...

Facebook web app on XAMPP localhost - how to go through the review?

facebook,permissions,xampp,localhost,photos

Yes you need to host it so that they can access and check for the review process. Hosting in your local server won't help. Try something like Amazon services/Digital Ocean which helped me to get it reviewed for publish_actions permission. Review Guidelines are below from Facebook Guide...

Why CodeIgniter install error occur

php,codeigniter,ubuntu,frameworks,xampp

Unfortunately for me. The way I did the installation was 1. Create folder (htdocs/ci) 2. Unzip installer to downloads 3. Paste installer files from /downloads to ci. But when I did installation like 1. Unzip install archive 2. RENAME folder I get from archive to CI all begin woking fine!...

Catching requests made in xampp with fiddler

php,soap,xampp,fiddler

You can pass the proxy settings to the SoapClient class like this: $client = new SoapClient("request.wsdl", array('proxy_host' => "localhost", 'proxy_port' => 8888)); This assumes that fiddler is running on it's default port (8888). ...

Local database server available on local network?

java,mysql,apache,xampp

You were on the right track, but went down the wrong path somewhere along the way. Comment out the bind-address in your my.cnf/my.ini (depending on OS). Then restart mysql so that the changes to the my.cnf/my.ini file will take affect. You can read more here at DigitalOcean. Now, anyone will...

Picking up html and include into php page

javascript,php,jquery,xampp

Not sure exactly what your getting, an iframe might be more strait forward . Don't use this if you are just trying to get text or something else: <div id="mainContent"> <iframe src="built.html"></iframe> </div> php PHP, you may need to make sure the path is actually correct: include __DIR__ + '/built.html';...

XAMPP: apache won't start but already running in port 80?

apache,xampp

Probably you already installed LAMP. Check if Apche is installed: dpkg --get-selections | grep -v deinstal | grep apache You might get this: apache2 install apache2-bin install apache2-data install apache2-mpm-prefork install apache2-mpm-worker install libapache2-mod-fastcgi install libapache2-mod-php5 install ...

XAMPP for Windows - Apache not starting

apache,xampp

You need to close your default virtual host directive. <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs" ServerName localhost </VirtualHost> # <<< missing closing directiv!!! ...

object not found $_GET

php,url,xampp

http://localhost/lee.php&name=lee Is an incorrect URL altogether, it should be http://localhost/lee.php?name=lee ^ Now if you were to add a new parameter you would use an & only then. First one always comes after an ?, for example http://localhost/lee.php?name=lee&age=20 I was going to refer you to HTTP Specifications documents but since...

How to use MemcacheD instead of Memcache on PHP and Windows Xampp?

php,caching,xampp,memcached,amazon-elasticache

You're confusing the two. memcached is the Memcache daemon program (the d stands for daemon). This has to be running for you to use Memcache. This is NOT what you use inside PHP. You launch this inside Windows like you would any other program. The Memcache PECL library is how...

Xampp Starting properly but in browser localhost is not working

php,apache,xampp

Looks like you have the "Searchbase.exe" malware on your PC. Check your installed programs (Control Panel > Programs > Uninstall a program) for anything that resembles what you're seeing. It's probably hogging port 80. Might consider doing a virus scan. Don't type anything sensitive into that engine. Looks weird......

Fatal error: require_once() [function.require]: Failed opening required global.php

mysql,joomla,xampp,virtuemart

This Warning is not Failed opening required global.php. This warning says line number 104 of global.php have a statement for requiring a file named class.inputfilter.php But, failed to load it. This issue can occur in following cases : --> File does not exists. --> File exists but do not have...

NetBeans - button select database else if

java,mysql,netbeans,xampp

There are two major issues here: Strings in Java are objects, so they need to be compared with the equals method, not the == operator, which checks object identity, not equality. Calling ResultSet.next() will advance the cursor, so you should do it before the if-else structure. In the current code,...

Installation mysql for django with xampp on linux

python,mysql,django,database,xampp

Finally i was forced to create a new virtual machine and there is no problem anymore...

xampp apache couldn't be stopped

php,apache,xampp

Start Run Type "Services.msc" Find the "Apache" service Right click and stop

php artisan migrate throws PDOException

php,mysql,laravel,xampp

You must change .env File in Laravel Root Directory. Give proper credential and also make sure that given database name is exists in MYSQL. Then after modifying .env File , make changes to config/database.php here use env so that it will check for that variable in .env File.If not found...

Upgrade PHP on XAMPP 1.8.3 windows 7 installation

php,xampp

Download the package from following url: http://windows.php.net/download/. Make sure the “Thread Safe” zip file with around 20MB was downloaded. Extract and rename the folder to “php”. Rename the existing “php” folder to something and place the new bundle with folder name “php”. Then restart the apache server. It will...

Notice: Undefined index: variable

php,mysql,xampp

Instead of $name = $_POST['name']; if ($_POST['submit'] && $human == '4') { use $name = isset($_POST['name']) ? $_POST['name'] : ''; if (isset($_POST['submit']) && $human == '4') { ...

install mongobd on xampp

mongodb,xampp

This error occurs on older versions of xampp. Update it to a later version.

PHP parse int wrong in XAMPP windows

php,windows,xampp,parseint

Your Linux result is produced using 64-bit software. The Windows result comes from 32-bit software. The difference here is the maximum size of an integer, which in a 32-bit system is 2147483647. When you try to parse the string to an integer the value is too large for a 32-bit...

PHP file to direct search bar to database from an HTML webpage

php,html,pdo,xampp,virtual-machine

In order to do so, you will need to generate a with an to send the data and then collect it into your PHP file. HTML: <form action="submit.php" method="post"> <input type="text" name="search" /> <input type="submit" value="Submit" /> </form> PHP: <?php if(isset($_POST['search']){ //do database request here $db=mysql_connect ("servername", "<username>", "<password>") or...

PHP File Upload Response

php,cordova,file-upload,xampp,server

Thank you all for your response. i found the solution of my problem. i checked the php error log, it was showing the following error POST Content-Length of 4456596 bytes exceeds the limit of 3145728 bytes in Unknown on line 0 Then i check post_max_size value in php.ini file. it...

I update my xampp and i face this errors Notice: Undefined variable: session in

xampp,localhost

Put this at the end of your php.ini error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT Make that is right php.ini...

SQL result show empty results in phpmyadmin xampp [closed]

php,sql,phpmyadmin,xampp

Check for spelling errors in your Form and your SQL Statement. Also, consider making your username/email field/s non-nullable as a good practice.

Cant get Xampp to follow symlinks

php,windows,apache,xampp

I found the answer out. Kind of feel stupid, it was because I was pasting a shortcut and assumed that it was the same. I needed to use the windows "mklink" command. Didnt know they were different....

How to run flask socket.io on localhost (xampp)

python,flask,xampp,flask-socketio

Author of Flask-SocketIO here. Unfortunately this extension cannot work with a standard web server, you will not be able to host an app that uses it over apache/mod_wsgi. You need to use a gevent server, and not a generic one, but one that is customized for Socket.IO. That means that...

.htaccess rules work in XAMPP but not on IIS 6

.htaccess,iis,xampp

Apache (which is the web server in XAMPP) .htaccess (mod_rewrite) rules won't work on IIS6. You need to install a third party rewriter such as HeliconTech's ISAPI_Rewrite to achieve this. IIS7+ supports rewriting out of the box but the format is different....

Localhost, subdomain, using XAMPP

php,windows-7,xampp

When creating more than one virtual host on the same port, you must specify each host name. Otherwise you only have one site bound to port 80, and all localhost calls will direct to the folder you specified. Here is the missing code, add just before or after similar code...

XAMPP and Skype Port Conflict on Windows 8 [duplicate]

apache,xampp,skype

In skype >> Go to Tools -> Options -> Advanced -> Connections and uncheck the box "use port 80 and 443 as alternative". ...

XAMPP and Skype Port Conflict on Windows 10

apache,xampp,skype,ports,windows-10

How about unistalling Skype from Windows 10 and installing the desktop version? I'm not sure, because I don't own Win10, but in my Win8.1 I unistalled the Skype that comes with my PC and reinstalled the desktop version, then changed the ports in advanced settings. It worked for me. ^^