hey i have a project and i am trying to run some php script on my website and connect it to my home postgis db.
I wanted to do this all locally first, but i could not get php running on my system locally.
So pleasee...
how do i connect to my HOME behind Verizon fios line Database.
<?php
$myServer = "localhost";
$myUser = "postgres";
$myPass = "your_password";
$myDB = "postgis";
if this is the standard connection for a database on a website, how would i edit it to connect to my home Desktop?
the site im trying to connect from with the script is
http://findariver.com/emergencyapp/index2.php
User postgress
pass blabla
port 5432
dbname postgis
My host is 127.0.0.1:5432
Computer ip is 192.168.1.2
IPv4 DNS server 71.243.0.12 <--- not sure if this is needed.
So how would i point the database to enter my network, and then the computer?
I have searched online but seem to find little on this, it should be quite simple. But i just need to finish this project by tomorrow and am really stuck.
if anyone knows please let me know asap