Fang Talks

Sugoi programming onii-chan!

(Yes, Blogaversary Week is over. Sorry guys, but a bit of patience and quite a bit of effort from my side, and surprises will happen!)

I’m going to use PHP to manage the aforementioned guides on the guides subsite, and I’m wanting to use the include() function. Sadly, the php.ini file on the server my site is hosted on is set to “off”, so I can’t include any content from documents elsewhere on my server.
Eg, I’d have a navbar somewhere on the site. If I had to implement that on every page I’d have to write that piece of code over and over. It would be hell if I wanted to change the navbar’s content. Instead, I can use PHP to include an external document that has the navbar code. I can include the same document on every page, and get away with only changing one file to change it for every page.

This is, however, not possible. No worries though, I’m looking into ways to fix this. .htaccess may prove to be of help here, though I’m not quite sure yet. Meh, we’ll see.

I’ll be off, see you guys!
~ Fang

note: Also, looks like some of you have discovered the more weirder slogans in the slogan database. Injokes galore!

Comments

  • 30/01/2012 (6:08 AM)

    I can’t wait to see the results of your hard work.

  • 29/01/2012 (8:20 AM)

    this post was very confusing for me

  • 29/01/2012 (5:42 AM)

    Maintaining a site is quite the glorious headache sometimes.

  • 29/01/2012 (2:06 AM)

    So much codespeak.

Post a comment

Your email will stay hidden, required field are marked with a *.

Experimental anti-spam. You only have to do this once. (Hint: it's "Fang")