A variety of php related questions

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

Check out EditPlus (http://www.editplus.com). I develop in ASP, ASP.NET, and PHP, and it has line-numbering and syntax highlighting
which helps a great deal when I have fat-fingered something..

No - with ASP everything does not have to be in the root directory!
Inetpub is typically the root web directory and you can define as many subdirectories to serve as virtual directories as needed.

fv
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

how can you?!

do you program perfectly or something? without any errors?
did i say i did? no. i've always coded in notepad when it comes to php or html due to all the editors out there not working perfectly. no offense, but when i have to reload the editor in order JUST to change to a different php script without it crashing on me, i'd rather resort to notepad.

however, i'm getting ready to start using HS, so we'll see.
simflex
Forum Newbie
Posts: 14
Joined: Thu Nov 06, 2003 9:18 pm

Post by simflex »

right now I am perusing the link that was given to me.
I have so far found useful information.
By the way, what is freetds.conf?

Where can I find information about this, php or apache?
I am making great strides.
Right now, if I can configure php to talk to sql, the my job is done.
For testing purposes, my php resides on the same box as my apache and sql server.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

simflex
Forum Newbie
Posts: 14
Joined: Thu Nov 06, 2003 9:18 pm

Post by simflex »

I appreciate all the help I have gotten so far, I REALLY do.
I researched freeTDS.conf and discovered it does not apply to me.
It is for linux/unix - so I don't need it since I am working on windows box.
I also found out that only reason for copying ntwdblib.dll is for those connecting to a remote server.
Again, this does not apply to me because my php, apache and sql server are on the same box.
That still leaves me wondering why I cannot connect to sql server.
I have done all the configuration from the manuals I have found so far but I am still for my first error that says your connection to sql server is correct or incorrect.
Right now, this is the current error message that I got today:

Fatal error: Call to undefined function: mssql_connect() in C:\Apache\Apache2\htdocs\SQLAccess.php on line 8
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

if you want a good editor, i'd use Home Site. i just got it and it owns.

ps :
sorry i don't know much about mssql. i just use mysql..
Post Reply