Mini Statistics
Join Date
07-13-2006
Last Activity
Yesterday 10:18 PM
Blog Entries
25
Avatar
John's Avatar
Join Groups 2 Permission Groups
Recent Visitors
The last 10 visitor(s) to this page were:
  1.  abdul.gafur
  2.  Chronic
  3.  DarkAngel
  4.  Guest
  5.  hasvn
  6.  James.H
  7.  lor
  8.  thegamemaker
  9.  uengin
  10.  Vince
This page has had 6,163 visits
Tab Content
Visitor Messages
About Me
Friends
Blog

  1. hasvn
    Hi John,

    Can you help me on this topic ?
    http://forum.codecall.net/java-tutor...tml#post243599


    Thanks you :]
  2. lor
    Haha, really? No one has ever really told me that before...
    Thank youuu!
  3. lor
    I am tired (5.30am wake up, wa)... and excited... :-))
  4. lor
    How are you, John...
  5. lor
    16 will get you 20? What?
  6. phpforfun
    John.. just remember.... 16 will get ya 20..
  7. lor
    Hello John.....
  8. James.H
    Hey John, how's things going ?
  9. Guest
    I like your Sierpinski triangle avatar!
  10. dancetherapy
    I need help with "IonFiles" on Joomla. Can you help or tell me who can? [Problem] Some of the files are downloading and showing 0 bytes. In other words the zipped file downloads empty. This wasn't happening before and not will all files. here is my site http://www.dancetherapystudios.com/i...iles&Itemid=13 [Some of the files you need to registered to see. Is there any way you or someone can help me fix this problem? Reall appreciate it. My webdesigner is away and my customers are complaining...
Showing Visitor Messages 1 to 10 of 23
Page 1 of 3
1 2 3 LastLast
Page 1 of 3
1 2 3 LastLast

About John

Basic Information

Signature

Contact

Statistics

Total Posts
Total Posts
5,882
Posts Per Day
4.39
Last Post
Kernals And Barebones Yesterday 12:00 AM
Visitor Messages
Total Messages
23
Most Recent Message
03-11-2010
Blog
Total Entries
25
Last Blog Entry
Illogical PHP Logic 07-17-2009 05:53 PM
General Information
Last Activity
Yesterday 10:18 PM
Join Date
07-13-2006
Referrals
21

75 Friends

Showing Friends 1 to 10 of 75
Page 1 of 8
1 2 3 ... LastLast

 View John's Blog

Illogical PHP Logic

by John on 07-17-2009 at 05:53 PM
In algebra, after we learn the basic distributive, commutative, and associative properties, the transitive property of equality is usually next in the curriculum. For those of you who do not recall the terminology, the transitive property of equality says if $a == $b and $b == $n then $a == $n. Using this age old logic, you can prove FALSE == TRUE and 0 == 1 in PHP. Here is how:

Code:
$a 0;
$b "Hooray for PHP logic and dynamic type casting?";
var_dump(((FALSE == 

Read More

Categories
Uncategorized

PHP6 - ifsetor() :?

by John on 02-16-2009 at 02:07 AM
Web developers are constantly validating data, either through JavaScript or through a server side programming language such as PHP. If you have done any PHP development, I am sure you have been in the situation where, if a request variable is set, you want want to use that value, if it is not set, you would like it to default to a specific value. The most common and logical method to accomplish this is to use an if/else block.
Code:
if(isset($_GET['foo'])) {
    
$bar $_GET['foo']; 

Read More

Categories
Uncategorized

1-2-3-4-5-6-7-8-9-0

by John on 02-13-2009 at 09:13 PM
Today, February 13, 2009 at 6:31 EST, the Unix time reached 1234567890. That is, 1,234,567,890 seconds since the Unix epoch (January 1, 1970).
Categories
Uncategorized

D Link DNS 323 NAS

by John on 01-16-2009 at 11:00 PM
A few days ago I purchased a D-Link DNS 323 and a 1TB Western Digital hard drive to go along with it. I must say, I am thoroughly impressed. The initial setup took five minutes. I simply took off the front cover of the NAS, inserted the drive (no cables), plugged in the RJ-45 and power cables, and it was all set.


The purpose of a NAS is to provide network storage. The D-Link NAS 323 extends beyond this default requirement and offers an abundance of applications such as a built in FTP

Read More

Categories
Uncategorized

Tidy up your HTML

by John on 12-17-2008 at 11:00 PM
If you are a php programmer, you should be aware of the annoyances brought upon by html. I am not saying html is annoying, but when you combine php and html in the same document, it becomes a head ach.  Even if you separate your presentation logic from your business logic and data, your html source code will most likely look like crap. Sure you might spend a few minutes properly indenting your php source, but once that php executes and sends the response to the browser, at the very least, there

Read More

Categories
Uncategorized