INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: PHP - Does It Work?  (Read 1881 times)

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
PHP - Does It Work?
« on: January 18, 2005, 01:34:44 pm »

I think I finaly Got PHP to Work

If someone could test this for me

www.spartasoft.com/phpinfo.php

it should bring up a php info sheet

it seems to work here localy

====================================

1. Now that I got PHP working What can I do with it?

2. How Can I use this to make plug-ins or pages to help promote the plug-ins i made for media center, my site and Media Center?.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: PHP - Does It Work?
« Reply #1 on: January 18, 2005, 01:38:07 pm »

I saw the info sheet...

j

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: PHP - Does It Work?
« Reply #2 on: January 18, 2005, 01:43:12 pm »

I saw it, too.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: PHP - Does It Work?
« Reply #3 on: January 18, 2005, 01:47:15 pm »

Thanks Jim\Gateley!

Oh my god!! (I don't really have one, only used because i am shocked)

it only took two years

I got the info from

http://www.thesitewizard.com/php/index.shtml

they broke it down to my level (3rd grade)

now only if i could find something on "MySQL'

i think i may need to look for some PHP scripts and see what i can do with it.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Robert Taylor

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 646
  • Living in a Smokeless Zone...
Re: PHP - Does It Work?
« Reply #4 on: January 18, 2005, 01:50:32 pm »

King,

Yes your PHPInfo page works fine!

One of the things that you can use PHP for is to dynamically generate web pages containing content extracted from databases (like MySQL). The data extraction and formatting is done on the server, and the generated webpage is displayed on the client. That is why PHP is called a server-side language. You cannot view the PHP content of the pages from a web client. You only see the results output by the PHP script.

There are a huge number of things which can done with PHP. I'd suggest you get a book on the subject (there's heaps) like I did.

If all you want to do is create static pages for your website, I would stick to tools like Dreamweaver, Frontpage or any of a number of freeware HTML authoring apps.
Logged
Cheers
Rob

slikvik

  • Regular Member
  • World Citizen
  • ***
  • Posts: 183
Re: PHP - Does It Work?
« Reply #5 on: January 18, 2005, 02:03:32 pm »

Hi King,

Did you get my info on mySQL. Obviously the first thing to do is get it installed. You can then create a database (such as your lyrics and coverart info.)

Once you've got your database you can extract this info for us over the web by using a SQL query such as:

SELECT * FROM CoverArtDB WHERE AlbumName = 'The White Album'

Its these queries that you can put inside PHP or ASP and then generate a HTML or XML file with the results on it. I tend to use ASP as it does the same job as PHP (i.e. they are both server side,) it is already running on Windows web servers and it's based on VB (VB Script.)

Let me know if you have any questions (personally I'd love it if this leads to searching on Various Artists Albums.)

Regards

Vic
Logged

Mysticeti

  • Regular Member
  • World Citizen
  • ***
  • Posts: 224
  • music, SCUBA, movies, VR, multimedia, PCs
Re: PHP - Does It Work?
« Reply #6 on: January 18, 2005, 03:36:18 pm »

*snip*
If all you want to do is create static pages for your website, I would stick to tools like Dreamweaver, Frontpage or any of a number of freeware HTML authoring apps.

FWIW, Dreamweaver isn't just for static pages.  It can automagically generate PHP pages that access MySQL.
Logged
"And the men who hold high places. Must be the ones who start... to mold a new reality. Closer to the Heart."

CDvd

  • Regular Member
  • World Citizen
  • ***
  • Posts: 208
What to do with PHP/MySQL?
« Reply #7 on: January 19, 2005, 08:35:01 am »

Could I Suggest you to try a CMS (Content Management System) like SPIP? (http://www.spip.net/en)

Creating a web site from A to Z is a time consuming task, a tool like this one could be interesting.

It requires PHP and MySQL, and once installed,and configured on your web server, it allows you to easyly manage your site.

Feel free to play with it here :
       http://mario.bross.free.fr/SPIP/spip_login.php3?lang=en&var_login=-1
       with user : "CDvd" &  "password" : 123456"

Some SPIP powered sites :
      - http://www.mactouch.com/
      - http://www.abc-netmarketing.com/
      - http://www.a-o-f.org/accueil/
      - http://mondediplo.com/
      - http://www.livres-online.com/


There are other CMS like Mambo, PhpNuke that should do the job too, but I never tested them.

David.
Logged
A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard.

IlPadrino

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 496
Re: PHP - Does It Work?
« Reply #8 on: January 19, 2005, 09:40:34 am »

King,

Lots of advice here for you...  how about I add to the list?

I don't know what you use for your web server, but I found my life got much simpler when I decided to use WAMP.  WAMP stands for Windows, Apache, MySQL, and PHP.  It lets you install (and configure) all three applications at once and it installs the programs under a single base directory.  I went with WAMPSERVER (http://www.wampserver.com/en/index.php) and I haven't looked back since.

PHP and MySQL are the foundation for most open-source web applications.  I just did a quick count and came up with six applications that I use - and five of them are built on PHP and MySQL.
Logged
Pages: [1]   Go Up