php

Rumors: Hewlett-Packard will release Android-tablets and smartphones

Refusing webOS, Hewlett-Packard still try again to prove itself in the promising market of tablets and smartphones. According to ReadWrite, soon American manufacturer announced one of the first Android-tablet hardware platform NVIDIA Tegra 4. As reported ReadWrite, the corporation is considering the smartphones running Android. The final decision is still pending and if HP still(…)

PHP fork

Last June 8, Robert Eisele launched a new forked PHP version that he derived from PHP 5.3.6. It is the result of merging several changes that he wanted to make to PHP, on which he has been working for the last 3 years. This PHP fork version code is available on GitHub for anybody to download or even fork(…)

Basic Programming Operators in Java, PHP,C, C++ and more

1. if The if statement evaluates an expression. If that expression is true, then a statement is executed. If an else clause is given and if the expression is false, then the else’s statement is executed. Syntax: if( expression ) statement1; or if( expression ) statement1; else statement2 ; Examples: if(loop<3) counter++; if(x==y) x++; else(…)

Insert Current DateTime into Database, PHP

Current DateTime to be inserted into the database? It’s Easy!!!!!!! 🙂 <?php $date=date(‘Y-m-d H:i:s’); $sql=”insert into register(fname,lname,status,date) values(‘$fname’,’$lname’,’$status’,’$date‘)”; mysql_query($sql); ?>

Cannot modify header information – headers already sent by :

I was tired of encountering the following error when I was working on one of my PHP project Cannot modify header information – headers already sent by (output started at……. I did resolve it after all, the thing I was doing wrong was that I had left a lot of blank lines & spaces between(…)

Send simple Mail

To simply just send an email with subject & message you just need to use the following code mail($to,$subject,$message,$headers); where $headers  = ‘MIME-Version: 1.0’ . “\r\n”; $headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”; $headers .= ‘From: Me <my@example.com>’ . “\r\n”; $headers .= ‘Cc: andyou@example.com’ . “\r\n”; $headers .= ‘Bcc: someone@example.com’ . “\r\n”; You need to change the ini settings for the mail setting in the PHP.ini file [mail function] ; For Win32 only. SMTP = localhost //change this to your(…)

Warning/Fatal Error/….

Warning: require_once(../config.php) [function.require-once]: failed to open stream: No such file or directory in<path of website>\wwwroot\library\category-functions.php on line 2 Fatal error: require_once() [function.require]: Failed opening required ‘../config.php’ (include_path=’.;C:\PHP-Pear\pear’) in <path of website>\wwwroot\library\category-functions.php on line 2 Finding a solution. will get back on this shortly!!

what to learn in php?

Yes ofcourse that was the big question when I got interested in PHP. The whats & how was troubling alot.Now I kinda know PHP – Still learning but that is always PHP steps to understanding Section 1  Formulation of a Plan of Project what site, content, target audience, reason of making site, functions, uniqueness, extent,(…)