return to tranceaddict TranceAddict Forums Archive > Main Forums > Chill Out Room

Pages: 1 [2] 3 
Php (pg. 2)
View this Thread in Original format
St_Andrew
quote:
Originally posted by Turbonium
Does WinXP not get PHP? I'm trying this tutorial stuff and none of it seems to be coming out properly in the browser. I just get the code I typed in as the output, instead of the stuff the code is coding for...


PHP is server based so you have to set up your own web server (apache, iis, xitami) to get it work. You also have to install the PHP "plugin" (www.php.net) to get the code to work with the server.
k.k.d.
quote:
I agree, I wouldn't call php programming either. Yes, its a very useful simple scripting language but let's not get carried away.


That's because you never programmed a complex commercial site for a big national client :p
igottaknow
quote:
Originally posted by k.k.d.
That's because you never programmed a complex commercial site for a big national client :p


For complex commercial site the professional way would be to use 3-Tier development approach where the actual programming would reside on the server in the form of compiled application. Call me in a couple of years when you get there. :p
Turbonium
quote:
Originally posted by St_Andrew
PHP is server based so you have to set up your own web server (apache, iis, xitami) to get it work. You also have to install the PHP "plugin" (www.php.net) to get the code to work with the server.


Yeah I figured, I'm setting up a Red Hat server with my old machine...
Nadi
You guys keep saying php is ultra powerful, but I dont really know _what_ exactly it can do. Someone give some examples?
igottaknow
quote:
Originally posted by Nadi
You guys keep saying php is ultra powerful, but I dont really know _what_ exactly it can do. Someone give some examples?

check out this cool site http://www.tranceaddict.com
It uses php and has really great forum, go to the chillout room, i hang out there a lot. :toothless
k.k.d.
quote:
For complex commercial site the professional way would be to use 3-Tier development approach where the actual programming would reside on the server in the form of compiled application. Call me in a couple of years when you get there.


Complex commercial site != one that will get mad traffic... Two different things, my friend. :p

So yeah... Call me when you'll gonna break your neck trying to program a flexible but complex site using C over CGI, mister programming expert :(
Intense_Sounds
quote:
Originally posted by Nadi
You guys keep saying php is ultra powerful, but I dont really know _what_ exactly it can do. Someone give some examples?



it is powerful for creating dynamic webpage content.

take this forum for example.
each thread has at least the following values:

thread_name
thread_starter
number_of_replies
number_of_views
last_poster

the server-side database stores this stuff in a table.
conceptually, it looks something like this:
____________________________________________________________________
|id#___th-name___th-starter___num-replies___num-views___last_poster|
|__________________________________________________________________|
|#1______foo_______someone______322343________898989______somebody_|
|#2______bar_______smack________929383________809090______crazyass_|
|#3______jaz_______dishsoap_____998989________998989______crazyass_|

now lets say i want all threads whose "last_poster" is crazyass.
in my php file all i have to do is query the database as follows:

"SELECT * FROM thread_table WHERE last_poster='crazyass'"

this should return all rows in the thread_table where the "last_poster" is crazyass.

after i got this info, all i need to do is echo (print out) some html within the php file with the values returned above.

hope this helps.
may be it confused ya some more :happy2:
Spad
I'd choose Dreamweaver over Frontpage any day.
DJ Chrono
I currently use dreamweaver 4 (..lol havnt bothered to update yet) and I think its a great program. easy to use.

I'm also getting into designing flash webpages, they are alot more interesting to make in my opinion, and provide very nice finished results. some actionscripting gets alittle complicated, but there are tons of tutorials and help forums around.

igottaknow
quote:
Originally posted by Intense_Sounds
|#1______foo_______
|#2______bar_______


omg there's my old friend Foo Bar
Turbonium
Too much to learn, too little time. Damn it. I need time.
CLICK TO RETURN TO TOP OF PAGE
Pages: 1 [2] 3 
Privacy Statement