Subscribe to rss rss

  • PHP error on bind_param over 2 SQL Selects

    PHP error on bind_param over 2 SQL Selects

    PHP has done it again, another fatal error that took me awhile to debug and it was rightly so. The scenario was this. select all records from a database and insert into a collection. select all related records related to a specific relation of the collection. Thus...

    Read More
  • WampServer httpd not a valid Win32 Application

    WampServer httpd not a valid Win32 Application

    Recently downloaded the latest WampServer 2.5. Prior to this version, all installations were magnificent and installed correctly. There were no issues whatsoever other than some hiccups. WAMP having mysqld error WampServer forbidden no permission Well,...

    Read More
  • Writing objects in PHP

    Writing objects in PHP

    It is now nearly 4 years on this time of writing since actively been using PHP in most of my web developments in my current workplace. Some old habits do not die as I am still inclined to writing codes sans Java. class Customer { private String...

    Read More
  • Code Assist Missing from PHP Eclipse

    Code Assist Missing from PHP Eclipse

    This happened just recently. After upgrading from the old PHP Eclipse into Eclipse Luna PHP version, my code assist got screwed up. Searching online has also been a headache. As the projects were brought in using subversion (SVN), code assist did not...

    Read More
  • Join 3 tables in DBF using SQL

    Join 3 tables in DBF using SQL

    Old school programs and databases, they just cannot get enough of it. Here is this scenario where Clippers is still in the industry. As migration to new systems do take time, this is where a temporary solution was needed by the internal staff to do some...

    Read More
  • Connect to FTP using Browser

    Connect to FTP using Browser

    Do you want to get some files from a FTP site or location? This is something TechieDan faces where the place that he is working at blocks outside files being transferred from any FTP applications. Even proxy addresses were blocked (for those not sure...

    Read More
  • WAMP Forbidden You don’t have permission

    WAMP Forbidden You don’t have permission

    After installing WampServer 2.4, it seems that all is done and it is time to put your application or website online for the public only to face this issue. Forbidden : You don’t have permission to access on this server What? Well, looking it all...

    Read More
  • How to Remove Nuffnang Footer Logo

    How to Remove Nuffnang Footer Logo

    I just had a conversation with someone in the blogging line regarding some hack for their ads display on their blog. You know, those ads that have the logo of the company at the footer of the advertise blocks, the question was there any way to remove...

    Read More
  • PHP Tricky Ternary Operators

    PHP Tricky Ternary Operators

    PHP is indeed a simple language one can learn over the months or even weeks or even days. As a programmer, we will know about writing if…else statements that will check if the condition is met. What about ternary operators in PHP? Here is an example $term...

    Read More
  • Cannot Format SD Card Write-Protected

    Cannot Format SD Card Write-Protected

    “I cannot format my SD Card, my SD is infected by a virus. Even when I push the lock to unlock, it still does not allow me to format it” This case happened to my colleague. Surprisingly this commotion happened as his SD Card was infected...

    Read More

PHP error on bind_param over 2 SQL Selects

Posted by : | On : 10-01-2016 | Comments (0)
PHP error on bind_param over 2 SQL Selects
PHP has done it again, another fatal error that took me awhile to debug and it was rightly so. The scenario was this. select all records from a database and insert into a collection. select all related records related to a specific relation of the collection. Thus by doing so, that means that there will be 2 SQL queries to be done. In Java, I will usually continue with the next sql query after the first is done to combine my results into an object. PHP has that limitations. It looks like it would...

WampServer httpd not a valid Win32 Application

Posted by : | On : 15-10-2015 | Comments (0)
WampServer httpd not a valid Win32 Application
Recently downloaded the latest WampServer 2.5. Prior to this version, all installations were magnificent and installed correctly. There were no issues whatsoever other than some hiccups. WAMP having mysqld error WampServer forbidden no permission Well, this time the error was httpd is not a valid Win32 Application It looks like another case of Microsoft obsoleting the old Windows tactic once again. Why? The installation was done on a Windows XP Service Pack 3. Reason for this issue Apache/MySQL/PHP...

PayPal Identification Malaysia

Posted by : | On : 25-09-2015 | Comments (0)
PayPal Identification Malaysia
PayPal has a new policy for Malaysians. Rather it is a practice to identify your identity if you have reached a certain condition in their policy. One of them is when you have reached a certain amount in your PayPal and that is where your action is required. In short, if you have reached the milestone with an account balance of 5,000 MYR, your identity needs to be confirmed. Failing to do so would likewise limit your account. If you’re not sure what will happen when your account is limited,...

Writing objects in PHP

Posted by : | On : 11-06-2015 | Comments (0)
Writing objects in PHP
It is now nearly 4 years on this time of writing since actively been using PHP in most of my web developments in my current workplace. Some old habits do not die as I am still inclined to writing codes sans Java. class Customer { private String name; private int age; public void setName(String name) { this.name = name; } public String getName() { return name; } // same can be done for age } The above is how we write in Java. Well when I first started PHP and when...

Code Assist Missing from PHP Eclipse

Posted by : | On : 15-04-2015 | Comments (0)
Code Assist Missing from PHP Eclipse
This happened just recently. After upgrading from the old PHP Eclipse into Eclipse Luna PHP version, my code assist got screwed up. Searching online has also been a headache. As the projects were brought in using subversion (SVN), code assist did not exist in those projects. Here were some solutions mentioned One have to create a new PHP Project first then only import from SVN to enable the code assist. Tedious. The process of import and backup those not in the project scope. Some mentioned to enable...