Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-14-2002, 06:13 PM   #1
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,806
What is PHP and MySQL?

I've been thinking about setting up a website with a forum (kind of like this one :wink: ). I've noticed that the forums need PHP and/or MySQL. What exactly are they, what do they do, and what are they for?
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
Force Flow is offline   Reply With Quote
Old 11-14-2002, 06:21 PM   #2
aym
Registered User
 
aym's Avatar
 
Join Date: Nov 2001
Posts: 1,965
PHP is a programming lanuage used to program dynamic web pages, like forums, webmail sites...
MySQL is a database server, used to store and query information.
Let's say you want to program a forum, so you use MySQL to store user info, threads... and use PHP to store and get info from MySQL, and to show it to the user.
aym is offline   Reply With Quote
Old 11-14-2002, 07:15 PM   #3
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
MySQL is a database like MS Access http://www.mysql.com/
PHP is the next best thing since sliced bread : http://www.php.net
Statica is offline   Reply With Quote
Old 11-14-2002, 09:53 PM   #4
Member (10 bit)
 
Christoph's Avatar
 
Join Date: Jun 1999
Location: Denver, Colorado / USA
Posts: 545
MySQL and PHP are also free to use - you do not have to pay for this. PHP is a very fast scripting language that runs on Windows and Linux.

Christoph
__________________
Life is a journey, not a guided tour.
Christoph is offline   Reply With Quote
Old 11-15-2002, 04:52 AM   #5
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally posted by Statica
MySQL is a database like MS Access
I just never thought that I would hear something like that from you. Access is a wimpy database that works pretty good on the local machine. MySQL would compare more to MS SQL Server, although better and several hundred $ cheaper.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 11-15-2002, 05:39 AM   #6
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Talking

Ohh that is hitting below the belt!! Where's a moderator when you really need one!!!

Its true though, that is the closest analogy to people who are in the pay-for-software end of things. And even though MySQL and server have become synonymous .. it is still a database not a server. A MySQL server is one type of SQL (and probably the best type of it all); MySQL is an implementation of SQL (structured query language), to access a database.

And if you want an argument on whether Access is wimpy .. you know my stand on it

Quote:
Originally posted by mairving

I just never thought that I would hear something like that from you. Access is a wimpy database that works pretty good on the local machine. MySQL would compare more to MS SQL Server, although better and several hundred $ cheaper.
Statica is offline   Reply With Quote
Old 11-15-2002, 08:54 AM   #7
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
mairving, now I am curious: why do you think MySQL is better than SQL Server? The current lack of stored procedures is a problem, in my opinion, though future versions with them should eliminate that major problem.
doctorgonzo is offline   Reply With Quote
Old 11-15-2002, 09:13 AM   #8
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Some links for your enjoyment

MySQL comparisons: http://www.eweek.com/article2/0,3959,293,00.asp
http://www.mysql.com/information/crash-me.php
http://www.skippingdot.net/2002/01/30
http://www.mysql.com/information/benchmarks.html (check out the performance of MS SQL)
Statica is offline   Reply With Quote
Old 11-15-2002, 09:28 AM   #9
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally posted by doctorgonzo
mairving, now I am curious: why do you think MySQL is better than SQL Server? The current lack of stored procedures is a problem, in my opinion, though future versions with them should eliminate that major problem.
Better as in performance. Better as in cheaper. Better as in more stable. Certainly PHP/MySQL web performance is better than ASP/SQL Server web perfomance. SQL Server is in my opinion like most things that MS has done, massively bloated proprietary code.
mairving is offline   Reply With Quote
Old 11-15-2002, 09:43 AM   #10
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Don't get me wrong, mairving. I like MySQL, and find it quite stable and pretty easy to use when I fool around with it. For web development, PHP/MySQL certainly wins hands down when compared to ASP/SQL Server. I just think that no product is perfect for every application, and sometimes the things you can do with other products that you can't do with MySQL are more important. Just my 2¢.
doctorgonzo is offline   Reply With Quote
Old 11-15-2002, 10:15 AM   #11
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
No doubt, SQL Server has it's usefulness. I have one running here at work that runs the church database. Not much choice about that one.

The original question was about a combo for the web, which I commented on. One of my first learning experiences of how not to run a web-site and/or a company involved a company that I worked for that was trying to become a dot.com. They used a combination of Cold Fusion and Access for their ecommerce site. It was designed by a guy that had no idea about Cold Fusion and very little database experience nor did he care. Here is an actual conversation that I had with him; "Greg, I just received a web order that didn't have a name, address or any other contact information from the web-site but it was charged to their account". Pause on the other end of the phone, then "Yeah, so". Me "Well it kind of makes it hard to get it to this person and indictates a problem". Him; "It is a Cybercash problem not mine", hangs up. After calling his boss, the problem was then fix. Of course, the perfomance was also terrible.

Ever since them I haven't been able to stomach Access, Cold Fusion or guys named Greg.
mairving is offline   Reply With Quote
Old 11-16-2002, 08:51 PM   #12
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,806
Thanks, guys! This gives me a place to start.
Force Flow is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -5. The time now is 02:32 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.1