Skip to main content

comp.lang.php FAQ

It's really fascinating to contribute to the FAQ compilation in c.l.php. Once I wanted and compiled few questions and answers, but lost some stuff in poor CD — even I intentionally deleted, as I wasn't convinced about the quality.

The recent compilation work kicked off by John Dunlop and Chung Leong is really evolving. My contribution is now trivial and wishes to contribute more questions—but badly need someone to correct my sluggish English:-( By contributing some questions, I've benefited by readers' feedbacks.

Progress/status bar for file uploading

I'd thought implementing pure PHP progress bar for file uploading (without patch hack or Perl hack) is impossible. But, Chung Leong proved that PHP CLI can be used for the progress bar and hence the pure PHP progress bar is achievable. This is really cool.

Links

Comments

Popular posts from this blog

Zac Brown Band rocks...

When I was doing UG, my super-senior friend Ronald introduced me to MLTR and I was totally taken away by the music then. About 15-years later, I'm feeling same ecstasy when listening to Zac Brown Band 's Whatever It Is and Highway 20 Ride . The voice and music are amazingly cool.

Storing unicode texts in MySQL with phpMyAdmin

Today, I've received a personal mail/request from Sivanantham Hemamalini, working for IT leisure in Singapore. Since I was in company when received the mail, I couldn't answer immediately. If I understand the question right, it is about inputting Unicode texts especially Tamil in phpMyAdmin. PhpMyAdmin 's default characterset is iso-8859-1 and so if we enter anything in the form, browser will convert it into numerical html entities. Say for example, if we enter தமிà®´் and submit the form, it will convert it to & #2980;& #2990;& #3007;& #2996;& #3021; . Because of this browser's behavior, it will be difficult to store the Unicode text as it is. Solutions Immediate solution I could think of is changing or forcing the browser's character encoding into utf-8. In Mozilla Firefox, it can be set via View -> Character Encoding -> Unicode (UTF-8) Another elegant solution might be changing the phpMyAdmin configurations so that it send...

Work avoiders on the rise

roughly 80% of the effects come from 20% of the causes --  80–20 rule / Pareto principle One popular store (that is known for its less selling price, 6-storied air-conditioned showroom) is situated to close to our home. But, Heleena is allergic to it. Reason? Even though there are at least 50 sales people per floor, only 1 or 2 people will be working and responding to the customers' queries. In another shop, I even noticed that the owner was serving customer when many staffs were cleverly avoiding the show! I'm finding the same problem everywhere. Who're affected here? Obviously the people who're actually working--they will have to handle more work that the clever people have avoided. Two common gestures/characteristics I have noted in these clever people: 1. They'll pretend to be absolute ignorant (These people's agenda are merely to avoid works, but not to take credits.), 2. They'll create politics on anything (These people's agenda ar...