FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
PHP ?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> General Ramblings
View previous topic :: View next topic  
Author Message
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Sat Sep 27, 2003 4:53 pm    Post subject: PHP ? Reply with quote

Ok, I got a book on programming a site with PHP and MySQL. Its pretty damn good. I dont have a MySQL database though. So, would I be able to see whats going on - other than logining in or registering and other such database functions - with the PHP code? I cant dish out the money for a website right now but when I can Id like to use PHP for some stuff. But would I still be able to view the PHP source code? Will it work without a MySQL database - other than some functions as mentioned above?

Thanks,
<TVB>Potato-VS-
Back to top
View user's profile Send private message Send e-mail
DJ George
Server Admin
Server Admin


Joined: 25 Mar 2003
Location: Where the music is loudest
Posts: 1677

PostPosted: Sat Sep 27, 2003 8:09 pm    Post subject: Reply with quote

You could do it, but it would be like making a program with no variables what so ever. You could not even put them in with out getting an error with out the MySQL. You would not learn much since the whole point of php is to be database driven. You best bet is to get some web space and PHPnuke (http://phpnuke.org) and use that. It is a php website that is premade and fully customizable, you just upload the basic site to the host, set up the database, and upload any extras you find that you want or need. It has a nice admin page to activate, deactivate, and edit everything. You need no real knowlege of php (though having a basic understanding does help). I orginally tried to do things the way you are, and it was not worth it.
_________________
http://www.barbertonrhps.com - The offical Website for Barberton's West Theater Rocky Horror Picture Show in Ohio
http://russellsoundlab.com - Disk Jockeys
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Robert E. Lee
Registered User


Joined: 18 Jul 2001

Posts: 2904

PostPosted: Sat Sep 27, 2003 8:45 pm    Post subject: Reply with quote

If you wanna "website in a box" use Nuke. If you actually wanna learn how to code then do it yourself. Doing it yourself is much more rewarding. PHP can be used without a database, but it's less functional. There are other other PHP purposes besides MySql.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Sun Sep 28, 2003 6:30 am    Post subject: Reply with quote

Ok, I would like to learn how to code ( website in a box) and I already know most of HTML and JS/Java. I just wanna learn PHP now. Im probably going to be getting a website - my sister wants one again so I guess she can have a subdomain or something - for ASF and my general website. Thanks alot for the link though, Ill still read through the book but I guess I cant test any code yet.

<TVB>Potato-VS-
Back to top
View user's profile Send private message Send e-mail
ROOFCUTTER
Server Admin
Server Admin


Joined: 12 Aug 2001
Location: =USV=
Posts: 9271

PostPosted: Sun Sep 28, 2003 2:20 pm    Post subject: Reply with quote

Ok I'm going to jump right in with a knob qustion...or 7.

What is MySQL?

Is it for Web based applications?

Can it used to track sales, service, inventory or all at the same time?

Is it still a free download?

What is the best or what is used with it to make it work?

Do you have to know how to code (any) to use it?

If these questions are missing the mark what would describe it.
_________________
Only in America......do they have drive-up ATM machines with Braille lettering.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Sun Sep 28, 2003 3:04 pm    Post subject: Reply with quote

Ok, MySQL is a database of sorts. It is made for a webbased database - TV.org's forum and website probably run off one or more MySQL database(s). It requres a plug-in language - usually something such as PHP. It can track sales, inventory, etc - since its a database it will store things like that. It is free for download, however its to setup a MySQL database on your computer (therefore assuming you want to run your computer all the time for your website and use it as a server) - most commercial webhosts have PHP/MySQL support. They usually have atleast one - infinite mysql databases, however you pay more if you have alot of databases. There are several books out there on using MySQL and PHP together. Id recommend buying one - its really easy to learn and isnt as complex as using vectors and such. Or even calc in math - although it can be if you want.

Im sure others can give you a more technical description but I suppose this one covers most of the areas. I could be wrong and maybe someone will correct me.

Hope it helps roof,
<TVB>Potato-VS-
Back to top
View user's profile Send private message Send e-mail
ROOFCUTTER
Server Admin
Server Admin


Joined: 12 Aug 2001
Location: =USV=
Posts: 9271

PostPosted: Sun Sep 28, 2003 10:17 pm    Post subject: Reply with quote

Thank you Potato haha I cant believe I just thanked a potato Never thought a roof could talk either...
_________________
Only in America......do they have drive-up ATM machines with Braille lettering.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Mon Sep 29, 2003 3:07 pm    Post subject: Reply with quote

NP roof.

<TVB>Potato-VS-
Back to top
View user's profile Send private message Send e-mail
cstone
Registered User


Joined: 19 Jul 2001
Location: N. Carolina
Posts: 388

PostPosted: Mon Sep 29, 2003 4:58 pm    Post subject: Reply with quote

Have you thought about installing Apache+PHP+mySQL on your own computer? They're all free to download and use, and learning how they all work would really be benefical.
_________________
ctnstone.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> General Ramblings All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group