What are php Functions? Why do we have to use it? How do we use it?
Functions are a very necessary component of php as a matter of fact not just php every programming language. They are amazing, time saving, efficient, fast and gorgeous (heh a bit cheesy? maybe.) Using functions within your code also tends to impress others if you are using the correct syntax for the function and write clean code.
I’ve made a diagram of how a function works so here it is, click on the image to enlarge it.

Continue reading ‘Php Functions - The Basics.’
Let me briefly say whats in my mind in four words. I Don’t Get It. I read the FAQ of the technorati website itself but heck that doesn’t even explain what most users would be looking for.
Authority system is basically another way of saying Blog Popularity. Which is totally BS. Here is why: The smaller blogs, such as this or another will almost never recognized and its authorities will remain low..and perhaps get lower.. while Other blogs are getting more and more authority.
How do these ‘Other Blogs’ get authority? well its simple, According to the info I read, The more people are talking about your site basically giving out reactions and the more blog have your blog under link Blogroll then you will surely get some good reputation.
This is an unfair deal because according to technorati’s search engine it will only display search results with the most authorities then the other blogs who could probably have better content then the newer blogs.
They seriously need to get rid of that shit. Why couldnt they do it like digg.com, atleast then people’s blog popularity/content would be evenly distributed. We are here working on codes to submit good content to search engines, develop the blog more and write more articles so why should we have to fight over some authority that we probably don’t even want.
You fail technorati. You pissed me off enough.
Update: Haha, As I finished writing this article and submitted it. Technorati pinged my blog and I now have one authority lol. Thanks goes to Lori’s blog link ;).
This is a beginners level article for those who have recently started web development. If you are already pretty good at including pages to another then this article isn’t for you you can skip it :).
What we are about to learn here can also be done in HTML frames, but Frames generally a not-so-good reputation in the web development world. Not that frame is bad, it just isn’t as efficient. Frames basically connect two pages together, put them together and then print them out to the user. Also the code for frame is longer, and complicated as compare to what I am going to cover here. <hi>
The reason to why I wrote this article is because I have been questioned a lot lately regarding how to reduce the stress of writing all those html codes in web pages. Therefore a great way of doing is using a simple php code. PHP (Hypertext Preprocessor) is a scripting language that gives programmers the ability to write dynamic pages as well as dynamic content for a website. Ofcourse to use PHP code your host/server must have php installed (Not a big problem now adays, almost a lot of host comes with php installed).
Lets say you have a Header.html that covers the header content of the web page, such as banner, top navigation and perhaps ads. And you have Footer.html that is basically your navigation menus and footer notes. The best method to use is the simple php code. You do not need the knowledge of PHP to do the following, I’ll explain how the code works but it is not required, as long as you use it properly.
-
-
<?php
-
include ("Header.html");
-
?>
-
Your Page content here.
-
-
<?php
-
include ("Footer.html");
-
?>
Then if you view your page, it will automatically show the header and footer files. If you want this work you must save your pages as .php file not .html.
What the code above does is it uses a php function called include which basically includes the content of another file within the current file. It takes one parameter and that is a string of the file’s path. If the header file was inside a folder it would be something like this: incldude (”FolderName/Header.html”); and remember to put the brackets as well as the semicolon. And end the php script tag with ?> so the program can understand your code.
Sometimes you need to chat with someone for an important matter, for entertainment, for anything but your access to the internet and the computer you are on is limited so what do you do? You don’t know.
Previously If I was to use any sort of messenger applications while I am on the go it would normally be Msn Web Messenger, but due to the hype MSN has most schools and faculties ban this website from their laboratory which I find really irritating.
And then I ran into Meebo.com via some search queries on google. The second I saw the main page I said to myself ‘Oh Sh**’ because rather then just MSN meebo gives you the ability to Instant Message with: Aim, Yahoo, Gtalk, Meebo and MSN.

Continue reading ‘Web Instant Messaging.’
I’ve been hearing rumours about a gPhone, a phone that is made by google. I put this on the side and do not plan on looking deeper into until today I ran into a gPhone video demonstration on youtube.
First of all, I like to break it to everyone that calls it a gPhone..that it actually is not called a gPhone. It goes by the name of Android and the creators of android is Google who started the project then partnered with LG, Mobile Handset Maker Deal Chart and I am certain a few more companies are involved. Also to break it you guys who think its a phone, its actually an Open Source Operating System. So what does this mean? It means it will do much more then an average would have the ability to do.
Think of Windows XP, that is an operating system and within this operating system you can install many applications, make your applications or download/purchase applications which is the one thing you cannot do so easily in phones. In mobile phones you either stick with the applications that your cell phone came with or do some research unless you already know how to and if your phone is compatible to install..lets say java applications for examples.
Continue reading ‘There is no gPhone’
Mininova.org, a famous Torrent indexer website has recently launched a new feature to their website, actually to their new website ‘bitlet’ :). BitLet is similar to a torrent downloader application but its web-based, and its best feature currently is that you can listen to music torrents rather then having to download the torrent on your computer.

Above this text is a screenshot of how the new Streaming music looks like on mininova.org at this moment. Not all torrents hold this feature, the embedded green layer saying “Stream this music”, but no worries you can still listen to the songs you want even if it doesn’t look like that.
How does it work? well this is quite simple. “The torrent must contain ogg vorbis or mp3 files.” - Bitlet.org. In other words, as long as your torrent file (.torrent) contains a set or just an .mp3 or ogg vorbis file then it will auto detect it for you and list down the songs for you. Here is how my list of songs look lik, all I have to do is click on one and it will play it for me.

So, check it out on your own, experiment with it. The founders of mininova said that they are working on enabling users to Video Stream in torrents..so music and video streaming.
Good effort Mininova.