You are viewing our Forum Archives. To view or take place in current topics click here.
PHP/JavaScript question
Posted:

PHP/JavaScript questionPosted:

MarcGoone
  • Resident Elite
Status: Offline
Joined: Mar 23, 201311Year Member
Posts: 216
Reputation Power: 8
Status: Offline
Joined: Mar 23, 201311Year Member
Posts: 216
Reputation Power: 8
Hello, so i have a question..maybe a stupid one cause i have no practice in those two..yet..But, are PHP and JavaScript both server side? I wanted to make a chatbox for example, but i made it right..but i cant see when i sign in, type in it, who's online ,etc.
Do I need a hoster(go daddy) before I even start with anything PHP/Javascript? I do have two PHP's in my website directory, but, they aren't working for some reason ..which makes me think it's something i should be doing server side
#2. Posted:
Kalooma
  • Junior Member
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
No PHP is serverside, and javascriptt is for styling.
#3. Posted:
MarcGoone
  • Resident Elite
Status: Offline
Joined: Mar 23, 201311Year Member
Posts: 216
Reputation Power: 8
Status: Offline
Joined: Mar 23, 201311Year Member
Posts: 216
Reputation Power: 8
ohh, well, so I cant really mess with PHP until I get a server/host (godaddy for example)
#4. Posted:
Kalooma
  • Junior Member
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
LockandLoad wrote ohh, well, so I cant really mess with PHP until I get a server/host (godaddy for example)

Yes you can, just download xampp and setup it up correctly and you can test php and whatever web developing languages you want.
#5. Posted:
var
  • TTG Senior
Status: Offline
Joined: Dec 24, 201211Year Member
Posts: 1,498
Reputation Power: 79
Status: Offline
Joined: Dec 24, 201211Year Member
Posts: 1,498
Reputation Power: 79
PHP is more server side. With PHP you can store information in beyond just cookies. In JavaScript you make your page a bit more interactive, with animations, etc. PHP is a full blown coding language.

PHP can handle payment processing on its own, and it can connect with services like PayPal and Google Checkout. PHP can store and load images from a database or a file system and give you the ability to log users in and out as well as control what they see throughout your application. Add in MySQL, and you can store your users names, addresses, billing data, and even their preferences regarding the color of their own personal landing page. MySQL can store just a few bits of data, a few thousand lines of data, or every page access by every user who ever logs into your application. And, of course, PHP can easily connect to MySQL. PHP can do everything from grabbing a user name based on a user ID to storing the details about financial transactions to actually creating tables and updating their structures, and MySQL can back-end all that work and store that data
#6. Posted:
Kalooma
  • Junior Member
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
Status: Offline
Joined: Sep 04, 201310Year Member
Posts: 66
Reputation Power: 2
RHH wrote PHP is more server side. With PHP you can store information in beyond just cookies. In JavaScript you make your page a bit more interactive, with animations, etc. PHP is a full blown coding language.

PHP can handle payment processing on its own, and it can connect with services like PayPal and Google Checkout. PHP can store and load images from a database or a file system and give you the ability to log users in and out as well as control what they see throughout your application. Add in MySQL, and you can store your users names, addresses, billing data, and even their preferences regarding the color of their own personal landing page. MySQL can store just a few bits of data, a few thousand lines of data, or every page access by every user who ever logs into your application. And, of course, PHP can easily connect to MySQL. PHP can do everything from grabbing a user name based on a user ID to storing the details about financial transactions to actually creating tables and updating their structures, and MySQL can back-end all that work and store that data

Great explanation man, hopefully this guy gets the difference between them.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.