Using PHP/MySQL Software

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chvol
Forum Newbie
Posts: 20
Joined: Fri Apr 26, 2002 2:49 pm

Using PHP/MySQL Software

Post by chvol »

Using PHP/MySQL Software

1. If I write software using PHP and MySQL from PHPTriad, can other people use it on their PC without them also downloading PHPTriad? What do they need to be able to run my software?

2. How do I create a free website that runs my PHP/MySQL software (for example, on Angelfire)? What free sites can run it? Where can I read how to install and maintain it?

Charlie
chvol@aol.com
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

php is web based, like html, so one must have php installed on their comp to view it

and no, you must find a host that has php installed on their servers, you cant just install it yourself or make it and expect it to work
chvol
Forum Newbie
Posts: 20
Joined: Fri Apr 26, 2002 2:49 pm

Post by chvol »

hob_goblin wrote:php is web based, like html, so one must have php installed on their comp to view it

and no, you must find a host that has php installed on their servers, you cant just install it yourself or make it and expect it to work
A lot of good that does me. You didn't tell me a thing about getting it working on someone else's computer, how to find free hosts that can run it, how to install it, etc. Just typical Geek talk.

Charlie
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

getting it working on someone else's computer
php is a script-language. To run those scripts you need an interpreter (i.e. php.exe or php-cli.exe on win32). It's main use is as a plugin (cgi or module) for webserver (i.e. Apache, IIS). It gets a script for input, parses it and generates output. If installed as web-plugin the interpreter (server-side) is called with the script appropriate to the requested url. The output goes back to the calling browser (client) - and only the output. On the client-side there is no difference between a plain html-file and a php-generate html-file. But if you want to run a php-script locally, you have to install the interpreter.
there have been several post here on the topic how to install php.
i.e.
http://www.devnetwork.net/forums/viewtopic.php?t=572
evilwalrus win32 install guide
and of course the official manual
how to find free hosts that can run it
http://www.devnetwork.net/forums/viewtopic.php?t=70&start=0&postdays=0&postorder=asc

also take a look here
and so on and so on.......
(probably to be continued...... ;) )
Post Reply