Author Topic: The PHP thread  (Read 7062 times)

Offline SideSwipe

  • Genin
  • *
  • Posts: 181
  • Chakra 0
  • Master of the Dark Arts
  • Referrals: 0
    • View Profile
    • Council of One
The PHP thread
« on: September 21, 2003, 02:14:23 PM »
We all know how important PHP is these days in web design. From simple PHP includes to forums, PHP is becoming more and more important. Hopefully, some of us can share information here. Anything from useful tidbits of code to how-to's would be well at home in this thread, so post away people!                    
Have you ever wished things just were?
Blog: Council of One

Carigamers

The PHP thread
« on: September 21, 2003, 02:14:23 PM »

Offline hiddenagenda

  • Jonin
  • ***
  • Posts: 791
  • Chakra -4
  • Referrals: 0
    • View Profile
The PHP thread
« Reply #1 on: September 21, 2003, 05:16:14 PM »
hmm
Nice thread side.
I'll post some stuff soon immc:)                    
My Xbox has been ressurected!

Offline SideSwipe

  • Genin
  • *
  • Posts: 181
  • Chakra 0
  • Master of the Dark Arts
  • Referrals: 0
    • View Profile
    • Council of One
The PHP thread
« Reply #2 on: September 21, 2003, 06:49:18 PM »
Thanks hidden.

I'll start the ball rolling here. I recently decided to start getting into PHP, so I'll be sharing some of the more useful things I learn here. The first bit of coding is probably the most useful on personal home pages and one of the most frequently used implementations of PHP. It allows you to include one page inside another. A good use is in a menubar, so when you add a new item to the menu, you don't need to update every page on your site - rather, you just update the menu page, and it is included into the others! Very much the same as what an SSI (Server Side Include) does with SHTML, but why use that when you can use PHP?

Now, the page to be included does not have the header tags, nor the <body> or <html> tags. It only has the code that you need included. So for instance, if you want to include a table into several pages of your site, the page with the table ONLY has the code for the table - nothing else.

Here is the code for the include:

<? include ("filename.php") ; ?>

When this code is placed into your page (as an example let's use index.php), the contents of filename.php will be included into index.php. Useful isn't it? Don't forget though, your filenames must have the .php extension, or your server will not process your PHP tags. Not all servers support PHP, so make sure yours does before making a website using PHP.                    
Have you ever wished things just were?
Blog: Council of One

Anonymous

  • Guest
The PHP thread
« Reply #3 on: September 22, 2003, 04:23:31 PM »
PHP is much better because everything is done on the server side..And the script will be harder to get,thus make a safer website....                    

Offline hiddenagenda

  • Jonin
  • ***
  • Posts: 791
  • Chakra -4
  • Referrals: 0
    • View Profile
The PHP thread
« Reply #4 on: September 22, 2003, 04:51:06 PM »
Yupz
Daz some thing nitrate teach my mc back in the day oui.
So basically the site interprets it as html?                    
My Xbox has been ressurected!

Carigamers

The PHP thread
« Reply #4 on: September 22, 2003, 04:51:06 PM »

Offline SideSwipe

  • Genin
  • *
  • Posts: 181
  • Chakra 0
  • Master of the Dark Arts
  • Referrals: 0
    • View Profile
    • Council of One
The PHP thread
« Reply #5 on: September 22, 2003, 07:37:34 PM »
Well, when you go to view the page, the server processes the PHP and outputs it in plain old HTML. If you check the source code of a website that uses PHP, you won't see the PHP tags because they have already been processed. For instance, all the includes have already been included into the HTML of the page you're viewing, instead of the include tag.                    
Have you ever wished things just were?
Blog: Council of One

Anonymous

  • Guest
The PHP thread
« Reply #6 on: September 22, 2003, 09:13:20 PM »
Yes you are right sideswipe,if you to see the html output,well basically you're looking at it now,just right click on the page and go View Source or View Page Source and you will see the html output the server generate.                    

Offline Guru

  • Chunin
  • **
  • Posts: 326
  • Country: tt
  • Chakra 5
  • Referrals: 3
    • View Profile
  • CPU: 2 x Intel Xeon Processor E5-2658A v3
  • GPU: EVGA Nvidia 1080 FE
  • RAM: 48 Gig Crucial DDR4
  • Broadband: TSTT
  • PSN: Gurukast
  • Steam: Gurukast
  • XBL: gurukast
The PHP thread
« Reply #7 on: October 04, 2003, 09:18:04 PM »
yup all of gatt runs off php :)  including gattopia and gattopia beyond                    

Offline hiddenagenda

  • Jonin
  • ***
  • Posts: 791
  • Chakra -4
  • Referrals: 0
    • View Profile
The PHP thread
« Reply #8 on: October 05, 2003, 10:47:25 AM »
Gattopia too?
hmm
/me gonna try out this gattopia on his own.
I find the opensource for it on sourceforge i belive it was...                    
My Xbox has been ressurected!

Offline unimatrix001

  • Genin
  • *
  • Posts: 211
  • Chakra 0
  • Referrals: 0
    • View Profile
    • http://
The PHP thread
« Reply #9 on: December 30, 2003, 12:09:10 PM »
i need tuh get into php oui... i still here using html an java. aye... btw anyone kno how to use vb forms in a webpage? there is a way.... i have seen it b4, but i cant remember where                    

Offline Evangelion_01

  • Jonin
  • ***
  • Posts: 633
  • Chakra 0
  • Referrals: 0
    • View Profile
    • http://
The PHP thread
« Reply #10 on: December 30, 2003, 04:09:57 PM »
Oh YES. Good thread here bring SS.

Was planning to start learning PHP this year anyway. Take notes now IMMC. I dun know very much about the whole programming aspect but post away. Notes and shading IWMC :)                    

Offline W1nTry

  • Administrator
  • Akatsuki
  • *****
  • Posts: 11329
  • Country: tt
  • Chakra 109
  • Referrals: 3
    • View Profile
  • CPU: Intel Core i7 3770
  • GPU: Gigabyte GTX 1070
  • RAM: 2x8GB HyperX DDR3 2166MHz
  • Broadband: FLOW
  • Steam: W1nTry
  • XBL: W1nTry
The PHP thread
« Reply #11 on: June 23, 2004, 02:03:14 PM »
The real power behind PHP is its ability to interface with DB such as MySQL, yes it acts like many other languages that we use C, C++, etc. and yes its virtually invisible to the client since everything is interpreted as HTML, for those interested in PHP i'd suggest downloading the PHP manual from online, it has all the functionality you could possibly ask for. Additionally in each new release of PHP they update the manual, so if you download PHP you already have it, have fun                    

Carigamers

The PHP thread
« Reply #11 on: June 23, 2004, 02:03:14 PM »

 


* ShoutBox

Refresh History
  • Crimson609: yea everything cool how are you?
    August 10, 2022, 07:26:15 AM
  • Pain_Killer: Good day, what's going on with you guys? Is everything Ok?
    February 21, 2021, 05:30:10 PM
  • Crimson609: BOOM covid-19
    August 15, 2020, 01:07:30 PM
  • Shinsoo: bwda 2020 shoutboxing. omg we are in the future and in the past at the same time!
    March 03, 2020, 06:42:47 AM
  • TriniXjin: Watch Black Clover Everyone!
    February 01, 2020, 06:30:00 PM
  • Crimson609: lol
    February 01, 2020, 05:05:53 PM
  • Skitz: So fellas how we go include listing for all dem parts for pc on we profile but doh have any place for motherboard?
    January 24, 2020, 09:11:33 PM
  • Crimson609: :ph34r:
    January 20, 2019, 09:23:28 PM
  • Crimson609: Big up ya whole slef
    January 20, 2019, 09:23:17 PM
  • protomanex: Gyul like Link
    January 20, 2019, 09:23:14 PM
  • protomanex: Man like Kitana
    January 20, 2019, 09:22:39 PM
  • protomanex: Man like Chappy
    January 20, 2019, 09:21:53 PM
  • protomanex: Gyul Like Minato
    January 20, 2019, 09:21:48 PM
  • protomanex: Gyul like XJin
    January 20, 2019, 09:19:53 PM
  • protomanex: Shout out to man like Crimson
    January 20, 2019, 09:19:44 PM
  • Crimson609: shout out to gyal like Corbie Gonta
    January 20, 2019, 09:19:06 PM
  • cold_187: Why allur don't make a discord or something?
    December 03, 2018, 06:17:38 PM
  • Red Paradox: https://www.twitch.tv/flippay1985 everyday from 6:00pm
    May 29, 2018, 09:40:09 AM
  • Red Paradox: anyone play EA Sports UFC 3.. Looking for a challenge. PSN: Flippay1985 :)
    May 09, 2018, 11:00:52 PM
  • cold_187: @TriniXjin not really, I may have something they need (ssd/ram/mb etc.), hence why I also said "trade" ;)
    February 05, 2018, 10:22:14 AM

SimplePortal 2.3.3 © 2008-2010, SimplePortal