|
|
|
| You are here : HOME > PHP |
 |
 |
MySQL and PHP: An Introduction with Real World MySQL Examples
Price : Click to see price
Average
Customer Rating : Not
yet rated |
|
Editorial Review :
This is an introduction to MySQL and PHP and how to use them to write web applications Comes with complete source code including all code to a working web application.
Learn how to create tables, insert data, update data, delete data, write PHP code to access your MySQL data, access POST and GET data via PHP and more. This is in no way a complete PHP or MySQL book but it will show you enough to get started.
Now with Real-World MySQL examples. Joins, Sub-queries, Exists, Gouping and more!
Customer Review :
No review yet |
 |
Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))
Price : $14.99 $7.48
Average
Customer Rating : Not
yet rated |
|
Editorial Review :
This handy little book offers programmers a complete overview of the syntax and semantics of regular expressions that are at the heart of every text-processing application. Ideal as a quick reference, Regular Expression Pocket Reference covers the regular expression APIs for Perl 5.8, Ruby (including some upcoming 1.9 features), Java, PHP, .NET and C#, Python, vi, JavaScript, and the PCRE regular expression libraries.
This concise and easy-to-use reference puts a very powerful tool for manipulating text and data right at your fingertips. Composed of a mixture of symbols and text, regular expressions can be an outlet for creativity, for brilliant programming, and for the elegant solution. Regular Expression Pocket Reference offers an introduction to regular expressions, pattern matching, metacharacters, modes and constructs, and then provides separate sections for each of the language APIs, with complete regex listings including: - Supported metacharacters for each language API
- Regular expression classes and interfaces for Ruby, Java, .NET, and C#
- Regular expression operators for Perl 5.8
- Regular expression module objects and functions for Python
- Pattern-matching functions for PHP and the vi editor
- Pattern-matching methods and objects for JavaScript
- Unicode Support for each of the languages
With plenty of examples and other resources, Regular Expression Pocket Reference summarizes the complex rules for performing this critical text-processing function, and presents this often-confusing topic in a friendly and well-organized format. This guide makes an ideal on-the-job companion.
Customer Review :
No review yet |
 |
Agile Web Application Development with Yii 1.1 and PHP5
Price : $39.99 $33.94
Average
Customer Rating : Not
yet rated |
|
Editorial Review :
This is a step-by-step tutorial for developing web applications using Yii. This book follows the test-first, incremental, and iterative approach to software development while developing a project task management application called "TrackStar". If you are a PHP programmer with knowledge of object oriented programming and want to rapidly develop modern, sophisticated web applications, then this book is for you. No prior knowledge of Yii is required to read this book.
Customer Review :
No review yet |
 |
Easy PHP Websites with the Zend Framework
Price : $22.99
Average
Customer Rating : Not
yet rated |
|
Editorial Review :
In this comprehensive introduction to the powerful Zend Framework, I'll show you how to use all of the features you'll actually want to use within your own websites, including how to effectively manage your configuration data, build rock-solid model-based web forms, take advantage of the powerful Doctrine 2 ORM, send e-mails through your website using Zend_Mail, manage user registrations, logins, and recover forgotten passwords.
We'll start right at the beginning, showing you how to use the ZF command-line tool to create your first Zend Framework project, build actions, controllers, and models, and effectively manage your project views and layouts. From there you'll be provided with a comprehensive introduction to all of the framework's most important features (in addition to insight into key best practices such as unit testing and deployment), including:
- Effectively manage your Zend Framework layouts and views, and create view helpers which can be reused throughout your website
- Integrate Doctrine 2 into your Zend Framework application
- Manage configuration data using the Zend Framework's Zend_Config component
- Build model-driven forms which can easily be tested using PHPUnit and Zend_Test
- Mine the Amazon.com product catalog using the Amazon Product Advertising API
- Test your website using PHPUnit and Zend_Test
- Deploy your website quickly and conveniently using Capistrano
- Write PHP-driven CLI scripts which can take advantage of Zend Framework components
- And much, much, much more!
Companion Project
All readers of the Kindle version are provided with a special download code which allows you to download *all* of the source code to the GameNomad companion project, a social networking website for the video gaming community!
Customer Review :
No review yet |
 |
PHP Object-Oriented Solutions
Price : $36.99 $22.27
Average
Customer Rating : Not
yet rated |
|
Editorial Review :
With the surge of popularity of PHP 5, object-oriented programming is now an important consideration for PHP developers. This version-neutral book is a gentle introduction to object-oriented programming (OOP) that won't overburden you with complex theory. It teaches you the essential basics of OOP that you'll need to know before moving onto a more advanced level, and includes a series of prepackaged scripts that you can incorporate into your existing sites with the minimum of effort. It shows how object-oriented programming can be used to create reusable and portable code by walking you through a series of simple projects. The projects feature the sorts of things developers run up against every day, and include a validator for filtering user input, a simple Date class that avoids the need to remember all the esoteric format codes in PHP, and an XML generator. - Teaches the fundamentals of OOP
- Simple projects show how OOP concepts work in the real world
- Prepackaged scripts can easily be added to your own projects
What you’ll learn- PHP features, such as the Standard PHP Library (SPL), that are poorly documented or ignored by existing books
- How to develop classes of their own
- OOP in easy-to-understand language without getting bogged down in dense theory
- Solid foundations for developers wishing to delve more deeply into OOP
- How to leverage the strengths of OOP as a means for creating reusable code that can be used successfully within a procedural context
- How to code for both PHP 5 and 6
Who this book is for This book is aimed at intermediate-level PHP developers who want to take their skills to the next level by exploring object-oriented programming as a way of creating reusable code for a everyday website tasks. A typical reader would be someone who has read one of the author's previous titles, such as PHP Solutions, or one of the PHP books for Dreamweaver and feels ready to tackle something a little more challenging.
Customer Review :
No review yet |
|
More
Results : [First] [Prev] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 [Next] [Last]
Quick Link : 40 | 60 | 80 | 100 | 120 | 140 | 160 | 180 | 200 | 220
|
|
Questions & Answers
Question : How to enhance my PHP development skill and also start learning .NET to get into it as well?
I am in the PHP development with basic development skill. I want to enhance my skill to master level and also want to start learning .NET to become good .NET developer too. What are the good ways, available resources, good books and other thing that you can suggest me to start with?
Answer:
There is no subtitute of HARD WORK.As you said have basic development skill in PHP (Personal Home Page) Skill. you mau buyt Unleashed PHP (Sams publication) practice it for month or so and do a project. After that you may buy Mastering PHP (Sams Publication) and gain mastery in PHP.for .NET learning, its not advisable to learn 2 language of diff type at one go. fist finish PHP then try for .NET.for .NET fist use MSDN...buy Learns 21 days in .NETUnleased .NET (ASP, C# and VB.NET)Then go for Master series for each of this language.you MUST DO Certification in these language.Good Luck.
|
Question : How to get a PHP file to be included across files in different directories?
Currently I have created some php based webpages and uploaded them to my web hosting server.It has a PHP 5.1.6installed.With this I am able to include files only that are in the same directory(they work well using require() fn).If not an error message displaying some "no such file" in directory appears in the page.I would like to use them to be included in different direcetories.What should I do?
Answer:
create the directories and include the names when using the require() function.example :your index.php is in the root directory/index.phpand you have a directory with your other php files in/lib/other.phpso in index.php you will haverequire("lib/other.php");
|
Question : How is the career of a php developer in financial perspective?
Say as in my case I am only pure science(non-IT) science graduate who passed out long back. I have been to mainly sales job but now i resigned from that job & want to get into s/w or web development.So just I want to know what is the growth prospect & obstacles in the path of a php developer?I am 33 yrs old single man from India.
Answer:
It really depends on what part of the world you are in. I know that the freelance developer jobs are quickly on the rise in Asia because of the lower cost of developer work when compared to the cost of paying some one from Europe or North America. That said those same developers also have a bad reputation for low quality of work and/or unreadable/messy code. You get what you pay for I guess. That is not to say that good work doesn't come from those regions, but there is certainly a disproportionate amount of sloppy work.If you are living in the United States then it will still depend on what region you are in as to how much you will get paid and how much work is available. For example there is not a lot of PHP work in the Kansas City area. There is a shortage of qualified PHP programmers there too, but the pay is considerably lower when compared to other major cities around the country.The same can be said of any kind of software or web development really. But programming still pays better in most cases than the vast majority of jobs that don't require a masters degree or higher. You will need some experience first before you can land a decent job. Learn yourself up and volunteer to do some projects for some non-profit organizations to build up your portfolio.
|
Question : How can i run a php or mysql script automatically every month, quarter or year?
I have a script for a MySQL Database that adds up all of the numbers in a column and sets it back to zero (its pretty much like an adjusting entry). I don't want to clear the contents completely because I need them for reporting purposes. I want either PHP or MySQL to run a script to do this automatically so I don't forget to do it. What is the best way in going about doing this?
Answer:
Have you hosted this on a Linux cPanel Server.. If es.. then you might have heard of Cron Jobs.. Cron jobs are scheduled tasks that take place at predefined times or intervals on the server.. This feature is available on cPanel servers.. Check the below link for details :http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/CronJobs
|
Question : How can I learn php & mysql with the most efficiency?
I can edit php/mysql but I have a hard time writing it. I know there are php tutorial web sites and what not but what is the most efficient? I can not spend any money and am needing something that is to the point.Thanks a lot.
Answer:
W3Schools generally has good tutorials:http://www.w3schools.com/php/php_syntax.aspFor a more thorough approach, see the php.net language reference:http://www.php.net/manual/en/langref.phpOnce you have learned the basics, the php.net function reference is invaluable:http://www.php.net/manual/en/funcref.php
|
Question : What PHP function do you use to get a specific number of items from an array in PHP?
You want to only get the first 5 items from an array, but if there only exists less than 5 items in the array, you still want to get them all.The result would be an array variable containing at most 5 items.Is there a single PHP function that can do this? (I want to avoid using any loop or if statement)Many thanks to you all.
Answer:
use this function array_slice(array, offset, length, preservekeys) in your case the function call will be like this$result_array = array_slice($your_array, 0, 5 );
|
Question : What is the php regular expression to get everything before a certain character?
For instance, I have the following string:table:columnI need to get "table" as the result of the php regular expression.So, I need everything before the ":" symbolAfter that regular expression is performed, I would also like to get everything after the ":" symbol, or "column" as well.
Answer:
If you only have one ":" symbol in the string, you can use this:$string = explode(":", $string);This puts the two halves into an array. So:$table = $string[0];$column = $string[1];
|
Question : How to direct values from php textboxes in a form to a email account?
I have a web form at designed in php. Can you provide me with a simple code to connect a textbox to an email account.
Answer:
here all you have to do is require_once('whateveryounamemyfile');$MyMail=new MyMail($To="Email address", $Subject="Subject", $Msg=Message or body, $From="From email address", $ReplyTo="reply to email address.or use from email address");/***********************CLASS :: MYMail************************/class MyMail{ var $To; var $Subject; var $Msg; var $Headers; var $From; var $ReplyTo;/* $headers = 'From: webmaster@example.com' . "\r\n" .'Reply-To: webmaster@example.com' . "\r\n" .'X-Mailer: PHP/' . phpversion();mail($to, $subject, $message, $headers);***&&&&&*******For HTML Mail'MIME-Version: 1.0' . "\r\n";$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";*/ function MyMail($To, $Subject, $Msg, $From, $ReplyTo){ $this->To=(empty($To)) ? "0" : $To; $this->Subject=(empty($Subject)) ? "0" : $Subject; $this->Msg=(empty($Msg)) ? "0" : $Msg; $this->From=(empty($From)) ? "0" : $From; $this->ReplyTo=(empty($ReplyTo)) ? "0" : $ReplyTo; $this->Headers="MIME-Version: 1.0" . "\r\n" . "Content-type: text/html; charset=iso-8859-1" . "\r\n" . "From:" . $this->From . "\r\n" . "Reply-To:" . $this->ReplyTo . "\r\n" . "X-Mailer: PHP/" . phpversion(); $SetMail=array('To'=> $this->To,'Subject'=> $this->Subject,'Msg'=> $this->Msg,'Headers'=> $this->Headers,'From'=> $this->From,'ReplyTo'=> $this->ReplyTo ); if(in_array("0",$SetMail)){ echo "Something wrong with the mail! Please make sure all fields are filled in! "; return; } else{ if(!mail($SetMail['To'], $SetMail['Subject'], $SetMail['Msg'], $SetMail['Headers'])){ $this->Errors="SYS"; echo ""; } } }}?>$MyMail=new MyMail($To="Email address", $Subject="Subject", $Msg=Message or body, $From="From email address", $ReplyTo="reply to email address.or use from email address");
|
Question : PHP: How to store system configurations on a database and use them as constants?
I'd like to have constants in PHP which are retrieved from a database. Essentially, I'd like to create a page that can update this database table so the next time I load the site, it will use these newly updated constants which are again retrieved from the database.I'm looking for things that can be changed directly by the admin without needing to go into the source code and manually changing the hardcoded constants file.
Answer:
Make a settings file and put this in it (settings.php)Now just put this in any file that needs to access the databaseinclude ("settings.php");$link = mysql_connect("$cfg_server","$cfg_username","$cfg_password")or die("error ");mysql_select_db ("$cfg_database", $link)or die("error ");
|
Question : How to write a PHP coding to list out all files and directories as links to them?
How to write a PHP coding to list out all files and directories as links to them?This is somewhat similar to some index pages. When new file or folder is added to the directory, HTML page should display the newly created file/folder together with previous ones after it is being refreshed. (prefer in alphabatical order)How to achieve this sort of functionality in PHP? Please provide sample coding as well. (and any references)Thanks.
Answer:
// get array of all files and directories in the current directory (it is sorted alphabetically by default)$dir_entries = scandir(dirname(__FILE__)); // for PHP 5.3+, use __DIR__ instead of dirname(__FILE__)// split the array of files and directories into two arrays, one containing files and the other directories$dir_files = array();$dir_directories = array();foreach($dir_entries as $dir_entry) { if(is_dir($dir_entry)) { array_push($dir_directories, $dir_entry); } else { array_push($dir_files, $dir_entry); }}// print directoriesforeach($dir_directories as $dir_directory) { // don't print current and parent directories if($dir_directory == '.' or $dir_directory == '..') { continue; } echo "" . htmlspecialchars($dir_directory) . " \n";}// print filesforeach($dir_files as $dir_file) { echo "" . htmlspecialchars($dir_file) . " \n";}
|
Powered by Yahoo! Answers
|
|