शुक्रवार, 9 जनवरी 2015

Friday's PHP World Submissions: On The Job Training Time Monitoring System

visual basic, vb, active server pages (ASP),java, javscript,c, c++, c__ , vbscript,active server pages, ASP, vbscript,SQL, database, informix, oracle, SQL Server,Perl, CGI,Delphi, PHP,source code, code, sample, samples, program, programs, help, tutorial,tutorials, routine, routines, jobs, listserve, mailinglist, bulletin board, bulletin boards, programming,  snippet, snippets, control, controls, class, classes, module, script, Scripts, applet , email , mp3, reference, windows,  modules, file, files, subroutine, subroutines, function, functions, sub, Microsoft, Sun,  downloads, winapi, directx, msaccess, ocx, vbx, ado, dao, odbc, rdo,  vbscript, vba, game programming, dcom, ole, com, dna, jet, dll, win api, winapi,  dbgrid, database front end, certify, decompiling, decompiler, visual basic for applications,  va  riable, constants, data type, byte, boolean, integer, long, single,  double, currency, date, object, string, variant, sub, function, free, 01/09/2015

Learn a little more about PHP World each day, with www.Planet-Source-Code.com's Code of the Day!

Current # of subscribers: 5,993


Make 9 cents to $300 per game playing Dollar Candy. The better you get, the more you make. Click for more info.

=================================================================
Would you like access to thousands of lines of source code instantly from your desktop? Then check out the Planet Source Code CD...hundreds of amazing programs at your fingertips with no online wait!
Click Here!

  



Code of the Day: (
What is the code of the day?
)
1) On The Job Training Time Monitoring System

Submissions Since Yesterday:

2) PHPExcel_Reader_excel2007 not found in IOFactory.php
3) On The Job Training Time Monitoring System
4) Prime Number Generator
5) Post data using curl

 





1)On The Job Training Time Monitoring System


Category: Databases
Level: Beginner

Description: Here is a simple time management system that I wrote in PHP and MySQL to monitor the total number of hour rendered by the student in their on the job training in a company I called this program on the job training time monitoring system written in PHP and MySQL. The advantage of this system it will notify the supervisor or the person in charge to the student if the student has already reached the number of hours of their on the job training in the company. I hope you will find my work useful and beneficial if you have some questions please send me an email at jakerpomperada@yahoo.com and jakerpomperada@gmail.com. People here in the Philippines who wish to contact me can reach me at my mobile number 09173084360. Thank you very much and Happy Programming.

Compatibility: PHP 3.0
Submitted on 1/8/2015 4:22:01 AM and accessed 20 times.

     Back to Top





2)PHPExcel_Reader_excel2007 not found in IOFactory.php


Category: Debugging and Error Handling
Level: Intermediate

Description: Fatal error: Class PHPExcel_Reader_excel2007 not found in IOFactory.php Solution may found here also. http://agalaxycode.blogspot.in/2015/01/fatal-error-class-php-excel-readerexcel-2007.html Problem: While working with PHPExcel you can get the following error: Fatal error: Class 'PHPExcel_Reader_excel2007' not found in IOFactory.php Solution: The main reason is you are using "excel2007" or "excel5" you need to use "Excel2007" or "Excel5" instead of "excel2007" or "excel5" Example: Use as below: $objReader = PHPExcel_IOFactory::createReader('Excel2007');//Excel2007 or Excel5

Compatibility: PHP 5.0
Submitted on 1/8/2015 12:28:44 AM and accessed 25 times.

     Back to Top





3)On The Job Training Time Monitoring System


Category: Databases
Level: Beginner

Description: Here is a simple time management system that I wrote in PHP and MySQL to monitor the total number of hour rendered by the student in their on the job training in a company I called this program on the job training time monitoring system written in PHP and MySQL. The advantage of this system it will notify the supervisor or the person in charge to the student if the student has already reached the number of hours of their on the job training in the company. I hope you will find my work useful and beneficial if you have some questions please send me an email at jakerpomperada@yahoo.com and jakerpomperada@gmail.com. People here in the Philippines who wish to contact me can reach me at my mobile number 09173084360. Thank you very much and Happy Programming.

Compatibility: PHP 3.0,PHP 4.0,PHP 5.0
Submitted on 1/8/2015 4:22:01 AM and accessed 20 times.

     Back to Top





4)Prime Number Generator


Category: Math
Level: Beginner

Description: As a programmer I always learns how to apply my previous knowledge in other programming language before I wrote a program that will generate prime numbers in C and C++ programming language. The program works perfectly in my programming class. Recently I am more involved in wed design and development my main primarily language of choice in PHP so I have decide why not rewrote my code from C/C++ into its PHP equivalent here is it a prime number generator written in PHP. As we know a prime number is a number that is divisible by one and only itself example of prime numbers are 2,3,5.7,11,13 and 17 etc. In this sample program I make a form which the user can enter a number and then their are two buttons the first one will check if the number is a prime number or not and the other button will clear the text box and the results in our webpage. I also incorporate autofocus as a function in my program this function is available in HTML 5 to make the cursor focus in our text field. My program will also display the list of numbers that are not prime in terms of their values. I hope you will find my work useful and beneficial if you have some questions please send me an email at jakerpomperada@yahoo.com and jakerpomperada@gmail.com. People here in the Philippines who wish to contact me can reach me at my mobile number 09173084360. Thank you very much and Happy Programming.

Compatibility: PHP 3.0,PHP 4.0
Submitted on 1/8/2015 4:06:11 AM and accessed 14 times.

     Back to Top





5)Post data using curl


Category: Coding Standards
Level: Intermediate

Description: Se here: http://agalaxycode.blogspot.in/2015/01/post-data-using-curl.html Problem: How to post data using curl in php? Solution: You need to use POST method in curl. Example: $str_to_post = "login=mylogin&pass=mypass"; $crl = curl_init('http://localhost/mysite/dologin'); curl_setopt($crl, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($crl, CURLOPT_POSTFIELDS,$str_to_post ); curl_setopt($crl, CURLOPT_RETURNTRANSFER, true); $ans = curl_exec($crl); Other example is: $postdata = array( 'login' => 'mylogin', 'pass' => 'mypass', 'logintype' => '1' ); $crl = curl_init(); curl_setopt($crl, CURLOPT_URL, "http://localhost/mysite/dologin"); curl_setopt($crl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($crl, CURLOPT_POST, true); curl_setopt($crl, CURLOPT_POSTFIELDS, $postdata); $ans = curl_exec($crl);

Compatibility: PHP 5.0

कोई टिप्पणी नहीं:

एक टिप्पणी भेजें

fly