ES2 and localhost

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
Locked
rizawerks
Posts: 5
Joined: Fri Oct 23, 2015 3:52 pm

ES2 and localhost

Post by rizawerks »

Hi, could anyone point me the right direction how to use ES2 and localhost?
I've tried ES2 with web and have no problem, but I'm scratching my head how to use ES2 with localhost..
I have download XAMPP, installed it and when I typed 'localhost' in browser, XAMPP panel popup so localhost running perfectly, created database and imported ES2 tables, but I have no idea where to put ES2.php in XAMPP so PHPMyAdmin could work..
Thanks in advance,
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: ES2 and localhost

Post by Joel »

Hi there,

ES2.php should be put in your web root (i.e. where your index.php is). You will also want to check that PHP is configured correctly and running.

Also in Unity, make sure that your URL still begins with http:// or https://, as this is required. i.e.

http://localhost/ES2.php

Unfortunately we can't help with specific setup of XAMPP (i.e. the specific folder of your web root on your computer, as this is specific to XAMPP), so you may be better off aiming questions like this to the Apache Friends support forum.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
rizawerks
Posts: 5
Joined: Fri Oct 23, 2015 3:52 pm

Re: ES2 and localhost

Post by rizawerks »

Ok, thanks Joel

update:
doh! actually i made a very simple error... :o
so for those who run the same problem with me (want to use localhost ):
- use xampp, very easy..
- set user name and password...just google how to do that...(if you lazy like me, for testing just use 'root' and a simple password :mrgreen: )
- create your database, name it whatever you like, then import ES2SQL
- modify your ES2.php in unity using notepad then change :
$db_user = "root"; - your MySQL User Name.
$db_password = "1234"; - your selected password
$db_name = " "; your database name

- after that, copy your ES2.php to xampp installed directory, in my case I use default folder: c:\xampp, then find htdocs folder where you can find index.php....Put this ES2.php there
- type localhost/ES2.php in your browser, you should see a message "ES2.php and MySQL database are working correctly."

thanks
Locked