Not to sound like a newb...

Zdroyd

New Member
Messages
548
Reaction score
0
Points
0
Not to sound like a newb, but what exactly is PHP and MySql?
 

swantonbomb88

New Member
Messages
66
Reaction score
0
Points
0
Wikipedia said:
PHP:
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.[17] PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output. However, it can also be used for command-line scripting and client-side GUI applications. PHP can be deployed on most web servers and on almost every operating system and platform free of charge. The PHP Group also provides the complete source code for users to build, customize and extend for their own use.
PHP primarily acts as a filter.[18] The PHP program takes input from a file or stream containing text and special PHP instructions and outputs another stream of data for display.
From PHP 4, the PHP parser compiles input to produce bytecode for processing by the Zend Engine, giving improved performance over its interpreter predecessor.[19] PHP 5 uses the Zend Engine II.
MySQL:
MySQL is popular for web applications and acts as the database component of the LAMP, MAMP, and WAMP platforms (Linux/Mac/Windows-Apache-MySQL-PHP/Perl/Python), and for open-source bug tracking tools like Bugzilla. Its popularity for use with web applications is closely tied to the popularity of PHP and Ruby on Rails, which are often combined with MySQL. PHP and MySQL are essential components for running popular content management systems such as Joomla!, e107, WordPress, and Drupal. Wikipedia runs on MediaWiki software, which is written in PHP and uses a MySQL database.

hope i helped
 
Last edited:

Zdroyd

New Member
Messages
548
Reaction score
0
Points
0
... I still dont understand what you would use it for. Could you show me a site that uses eather?
 

WhiteOut

New Member
Messages
111
Reaction score
0
Points
0
PHP is a server side web coding. It allows uploading, editing etc. Its used for forums, comment systems, etc. Mysql is used to store databases, such as the posts in your forum, users, login information, etc.
 

TheOutfit

New Member
Messages
24
Reaction score
0
Points
0
PHP & MySql is basicly used for 80% on the web.

Any site that has a login/sign up forum - PHP!!!
Anysite witha forum - Odds are PHP!!!

php & Mysql is used for sending & storing data in a database
 

taekwondokid42

New Member
Messages
268
Reaction score
0
Points
0
Basically, PHP allows you to save files, edit files, and has many java-script-like functions.

The major difference is that php is server side. Do you know what that means?
 

HomerJ

New Member
Messages
181
Reaction score
0
Points
0

Banner

New Member
Messages
13
Reaction score
0
Points
0
What im trying to figure out is MySQL Database is not part of your web space??? Im guessing you can make unlimited MySQL Database but the size in limited to your "main" disk space??

http://www.dreamhost.com/hosting.html
http://www.hostgator.com/shared.shtml
http://www.site5.com/hosting/

-------------

I dont get it? (remember i am new to this)
This site (below) gives you 100, but 100 what?? mb? or database? If so then why is 1and1 the only site that has a file size next to their MySQL Database?

http://www.ixwebhosting.com/index.php/v2/pages.planBusinessPlus


Im looking for a hosting site, by the way.
 

LHVWB

New Member
Messages
1,308
Reaction score
0
Points
0
1) Yes the mysql data would be included in the web space size limit, otherwise there would be no limit to the amount of data you could store!

2) That would be 100 databases.
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
PHP is a server side code and MySQL is a type of database used on web pages, however, MySQL cannot be used alone; it must be presented using PHP so they must work together.

Hope this makes things a little more easier for you to understand and i know you say that you don't want to sound like a newb but anyone who hosts a website or something similar (as i am a web designer) should know these things. Ah well, i guess everyone's going to have to find out sooner or later :p.
 

technocrat

New Member
Messages
13
Reaction score
0
Points
0
actually , yeah .. they are different.

the database size reflects howmuch DATA you can store onto the database . The webspace size reflects howmany files you can store.

like example , if i upload a music file into my webspace , i wil be using my WEBSPACE size . meaning , if my host provided 2 GB of space , i am using that space to store that music file.

If i had a registration system in my size , and a new user is created , all the details of teh user are stored in the DATABASE . So , everytime a new user is registered , the size of the DATABASE is increased .

i hope you get this now :) ..

cheers
 

Banner

New Member
Messages
13
Reaction score
0
Points
0
i think i got it!! rep given to you all

edit: "You must spread Reputetion before given to sohailamir52 again"
 
Last edited:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
PHP is a server side code and MySQL is a type of database used on web pages, however, MySQL cannot be used alone; it must be presented using PHP so they must work together.

Hope this makes things a little more easier for you to understand and i know you say that you don't want to sound like a newb but anyone who hosts a website or something similar (as i am a web designer) should know these things. Ah well, i guess everyone's going to have to find out sooner or later :p.

ummm... ever heard of a "*.sql" file?

and look here for html, php, mysql, you name it..tuts.
 
Top