Penang PHP Workshop

Q1: How to become a Professional Webmaster?
A professional webmaster must always maintain a good coding style, the use of graphic resolution, and complete the browser compatibility checking before a website is publish.

Q2: A PHP variable can store up to how many characters?
In comparison to .NET programming, variable and text string is two different things. However, in PHP a variable can use to DEFINE a value, variable and also be use to store a long string text.
More about string functions: http://www.php.net/manual/en/ref.strings.php

Q3: When to use ‘For’ loop, ‘While’ loop, ‘Do-While’ loop?
In computer science a ‘For’ loop, ‘While’ loop, ‘Do-While’ loop is a programming language statement which allows code to be repeatedly executed. In some cases, which LOOP should I decide to use? Here you go: http://mathbits.com/mathbits/compsci/looping/whichloop.htm

Q4: PHP Reserve Words
A list of predefined identifiers in PHP should not be used as identifiers in any of your scripts. These lists include keywords and predefined variable, constant, and class names.
More detail information at: http://php.net/manual/en/reserved.php

Q5: Multidimensional Arrays
Array does not have to be a simple list of keys and values; each array element can contain another array as a value, which in turn can hold other arrays as well. In such a way you can create two-dimensional or three-dimensional array.
Read more: http://www.webcheatsheet.com/php/multidimensional_arrays.php

Q6: Date – Format a local time/date
Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given. In other words, timestamp is optional and defaults to the value of time().
Read more: http://php.net/manual/en/function.date.php

Google allow user to setup gmail to receive email from other account. Eg: you can receive your company email (user@mycompany.com) using gmail. You can setup maximum of 5 others email account in gmail.

To setup gmail to receive other email, follow the steps below:

If you are not sure what to do next? Please follow the step-by-step guide below:

Gmail PPO3 Accounts

Gmail PPO3 Accounts

Gmail PPO3 Accounts

Gmail PPO3 Accounts

Gmail PPO3 Accounts

Gmail PPO3 Accounts

Now you should check your mailbox to confirm your request by clicking on the provided link as screenshot below:

Gmail PPO3 Accounts

Source: [Techie Corner]

You use it everyday for everything. You can’t spend a minute without it. It’s everywhere, on your phone, on your laptop, iPods, Televisions, you bedroom, toilet, everywhere! It’s the internet. But, if you’ve ever thought how it reaches you scroll down to pictures to know how huge chunks of internet data are transferred millions of kilometers here and there, in just seconds.

Not everything is wireless, most of it’s still under water and under ground even though we are growing fast. Have a look in this PDF document.

Source: [Etiole]

In Programming, “nothing is impossible”. I like this statement :)

When a problem raise it always have many different solutions that you can think off.

What i can see, a programmer doesn’t mean he/she is good in data manipulation.
How to store the data, and use it effectively will need to put some concern into the speed, integrity and security into your solutions.

Here is common MySQL queries that i found it’s very interesting a programmer..
=> http://www.artfulsoftware.com/infotree/queries.php?&bw=1366

I’ve received dozens of emails asking how to restore the show desktop icon once you’ve deleted it, so I have a solution for everybody: I’ve zipped up a copy of the shortcut, and you can download it here.

To put it back into the Quick Launch folder, open up explorer and then type in the following into the address bar:

shell:Quick Launch

Now just unzip the file and copy it into the folder, and you’ll have the show desktop shortcut back (the one with the real icon)

Note that I have no idea if this will work for 64-bit Windows, or if you have Vista installed somewhere other than your C: drive. Please let me know if it doesn’t.

Download Show Desktop Icon for Windows Vista

Source: [howtogeek]

** Download ANY video from YouTube.com using just your web browser (works only on Firefox & Chrome).

First-time Users:
1. Ensure your browser’s Bookmark toolbar is enabled.
2. Drag our Bookmarklet (top-right) into your Bookmark toolbar.
3. You should see a new “Keep It!” link on your Bookmark toolbar.

How to Download YouTube Videos:
1. Go to YouTube.com & play the video you wish to download.
2. Click “Keep It!” on your browser’s Bookmark toolbar.
3. You’ll be redirected to Downloader9.com for the download links.
4. Right-click on the link & select “Save As…” to download.

Note: You need an FLV player to watch on your PC.

Source: [Downloader9]

To be able to display language specific characters in Squirrelmail webmail client, you need to do the following:

  1. Login to your webmail using Squirrelmail by going to http://www.yourdomain.com/webmail/ (replace “yourdomain” with your own domain name)
  2. On the top menu, click “Options”
  3. Inside the Options page, click “Display Preferences” on the right column.
  4. Inside “Options-Display Preferences” page, click the “Language” drop-down menu in the “General Display Option” section.
  5. On the drop-down menu, choose your language or choice. For example, Chinese Simp
  6. Click “Submit” button on the lower part of the page to save your settings.

To all our valued customers,

At Maple Software Creation (MSC), our premium customer care does not stop when you purchase a hosting service from us. We are passionate in providing the best services to you, because quality is what we strive for, and passion is what keeps us going.

After a month since we have completed our last batch of data center migration exercise at end of Feb 2010, we would like to express our greatest appreciation for your patience with us throughout the past 3 months of data center migration period. We have been monitoring the network performance throughout the recent month to ensure everything runs smooth. We do appreciate hearing from our customers such as you, as your comments/feedback are vital for us to continue improving our services.

We will be having another round of upgrade be done across our shared hosting servers throughout April and May such as cPanel update to the latest version, Windows scheduled update, etc. We have blasted out an announcement for some of these planned maintenance during the last week and this week.

Last but not least, we are pleased and proud that you have chosen Maple Software Creation as your premium web services partner. Once again, thank you for taking the time to let us know how you feel. We truly want to make your experience as pleasant as possible and we look forward to your valuable feedback which will inspire us to improve tremendously!

Best Regards,

Jim Tan
…………………………………………
Managing Director

MAPLE SOFTWARE CREATION
URL: http://www.maplecreation.com

If you administer a Page on Facebook and you want to send a message to all your fans, there is no obvious method of doing it. In order to do it, you’ll have to dig inside the “Edit Page” button on the sidebar.

  1. Log into Facebook
  2. Visit your Page. Eg: Tech Spikes
  3. On the left sidebar, there is an “Edit Page” button. Click it.
  4. On the right, look for a box saying “Promote your page”.
  5. Click “Send an update to Fans”.
  6. Type in your message and off it goes!
  7. Check the “Target this update” box to choose the kind of audience you want to reach with this update.

And that’s it, you’re done!
Source: [Tech Spikes]

keep looking »