var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
connecting to DB issue URGENT help (please)
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.
how do i connect to my HOME behind Verizon fios line Database.
$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
My host is 127.0.0.1:5432
Computer ip is 192.168.1.2
IPv4 DNS server 22.214.171.124 <--- 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
i just went to displaymyhostname.com and it shows
would i need to use this?
You need to forward the necessary ports on your router.