Jump to content

[SOLVED] Have problem at start to study! Please help me..


Recommended Posts

well, it is a server-side code, which means it can only be run in a server-side enviroment.

 

what i do is upload it to my domain and test it online...

 

or you can download 2 programs and run it on http://localhost/ but i dont bother.

 

search the forums for apache server

<?php echo "hello"; ?>

 

first off your missing the terminating semicolon

 

 

It's get me same problem.. but thanks, I forget that must use semicolon..

 

Are you sure your host supports PHP (if your using a host)? If you want to do it from your computer, you can download a package such as XAMPP or WAMP.

 

yeah, I think I'm the host because I create it.. But I don't understand the package.. What's function of package?

 

well, it is a server-side code, which means it can only be run in a server-side enviroment.

 

what i do is upload it to my domain and test it online...

 

or you can download 2 programs and run it on http://localhost/ but i dont bother.

 

search the forums for apache server

 

I already have apache server on my computer, but I don't understand how to make it server and how to upload my php files to that apache server..

 

I see my apache server just monitoring, but no option to upload my files.. please help about this, maybe this is the way..

you wont be able to do anything if your apache server does not have PHP and MYSQL installed

 

http://www.php-mysql-tutorial.com/install-apache-php-mysql.php

 

Yeah it works!! Thank you darkfreaks! Thank you very much!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.