PDA

View Full Version : ODBC


bob1122
27.08.2005, 03:55
Hey,

The deal is my server is not at my house and i have a website that is at another location, i would like my website to be able to be used as a regpage for the server but i dont know how to connect via ODBC. On my website pc i have pear and php installed on a apache web server. I also am unable to connect to the database from my computer... I dont know very much about it and if anyone could help me i would be very grate full ...

Thanks PP
Sincerly bob

Flamestrike
27.08.2005, 17:45
Search the forums for the instalation guide again. It's all explained there.

bob1122
27.08.2005, 17:52
Search the forums for the instalation guide again. It's all explained there.

Yes, I usually do search before i post and i did this time, Do you have a Search Topic in mind, or a Post in mind

Flamestrike
27.08.2005, 17:55
No i mean look again at the tutorial how to setup the webby you need.
You are mistaking somewhere.

nepsquare
27.08.2005, 18:11
Jup, check the guides, btw: Install PEAR DB..

bob1122
27.08.2005, 18:28
No i mean look again at the tutorial how to setup the webby you need.
You are mistaking somewhere.

Ok, But forgot about the website i cant even connect to it via Entrpise manager or Query Anazlyzer from my computer to it.... and my website server is on unix (there fore its not hosting the lineage 2 server )

am i not understanding you guys ?

Flamestrike
27.08.2005, 18:49
What's this has to do with it?
Just install win xp with all the requiered stuff and you`ll be just fine.
Btw did you installed IIS ? :D

bob1122
27.08.2005, 19:38
What's this has to do with it?
Just install win xp with all the requiered stuff and you`ll be just fine.
Btw did you installed IIS ? :D

On the unix system (Website) i cannot install IIS, but on the other pc yes i do have it installed... i think i figured it out. Ill post guide also when im finished

Professor F
27.08.2005, 22:20
I think that your pc's mssql, you ned to make reg page on a same pc, as mssql, at least it would be much easier!

rodier
28.08.2005, 09:24
if you have opened ports to MS SQL from remote.. that is bad mistake..
any script kiddie can attack that SQL and control whole computer remotely

hr
28.08.2005, 13:07
if you have opened ports to MS SQL from remote.. that is bad mistake..
any script kiddie can attack that SQL and control whole computer remotely Just open this port for a specific IP (of your webserver). Then create mssql-user with writeonly-rights to rows used during registration and then use it to connect to SQL through PHP.

MoSs
28.08.2005, 13:25
Generaly is a VERY bad idea to leave any kind of MSSQL access open remotely I would strongly suggest NOT to do something like this...

Its best to setup an Apache/PHP (win32) on the same machine as the mssql is running, this is what I am doing and runs just fine. ( I hate IIS and ASP btw )

bob1122
28.08.2005, 19:22
Ahh ! Ok , sorry noobish question follows, but how can i close these ports, ? P.S. im using w2k 2003 server

BiGBoY
29.08.2005, 02:20
Ahh ! Ok , sorry noobish question follows, but how can i close these ports, ? P.S. im using w2k 2003 server
The secret answer is: Group policy edit

try with: press START/Run and fill in gpedit.msc
set new IP security Policy on Local Computer under "Computer Configuration/Security Setting". Set New filters and u r almost done.

And please dont ask for details. Its way too much to explain.