Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353

Notice: Undefined index: AverageRating in /home/webpro/public_html/library/common-functions.php on line 341

Notice: Undefined index: TotalReviews in /home/webpro/public_html/library/common-functions.php on line 342

Notice: Undefined index: TotalReviewPages in /home/webpro/public_html/library/common-functions.php on line 343

Notice: Undefined index: Review in /home/webpro/public_html/library/common-functions.php on line 353
Setting up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together (Transcend Technique) - PHP
 
You are here : HOME > PHP
Outsource your projects to thousands of programmers at ScriptLance.com
Setting up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together (Transcend Technique) Setting up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together (Transcend Technique)
Price : $34.99

Average Customer Rating : Not yet rated

Editorial Review :

You could think of Setting Up LAMP as four books in one, but it's actually something much more valuable: a single volume that presents the open-source technologies known collectively as LAMP—Linux, Apache, MySQL, and PHP—as tightly dovetailed components of today's most affordable and effective platform for building dynamic web-based applications.

Each technology has uses outside of this context, of course, but within it they form something greater than the sum of their parts. This book shows you how to take full advantage of this power, walking you through all the steps required to lay your Linux foundation, install and configure your Apache web server, and then begin using PHP to access content stored in MySQL. Here are a few of the specific topics you'll find covered inside:

  • Installing and configuring qmail with support for IMAP, POP3, SMTP, virtual domains, spam filtering, and antivirus
  • Managing system users and groups
  • Configuring your network
  • Creating a custom firewall script using IP tables
  • Recognizing when a system is in distress
  • Handling MySQL database replication
  • Configuring virtual domains
  • Writing a basic PHP script that integrates with MySQL

If you're new to all of this, you'll quickly get to where you need to be to start developing and deploying the higher-level pieces of your web application. Even if you have experience with one or all of these technologies, this book—including its quick-start installation appendix—is a resource you'll want close by whenever you're setting up or fine-tuning your LAMP system.

Customer Review :

No review yet

PHP and MongoDB Web Development Beginner's Guide PHP and MongoDB Web Development Beginner's Guide
Price : $26.99

Average Customer Rating : Not yet rated

Editorial Review :

The book follows a "Code first, explain later" approach, using practical examples in PHP to demonstrate unique features of MongoDB. This book is packed with step-by-step instructions and practical examples, along with challenges to test and improve your knowledge. This book assumes that you are experienced in web application development using PHP, HTML, and CSS. Having working knowledge of using a relational database system such as MySQL will help you grasp some of the concepts quicker, but it is not strictly mandatory. No prior knowledge of MongoDB is required.

Customer Review :

No review yet

Professional PHP Design Patterns (Wrox Programmer to Programmer) Professional PHP Design Patterns (Wrox Programmer to Programmer)
Price : $44.99 $23.87

Average Customer Rating : Not yet rated

Editorial Review :

This guide helps PHP developers take advantage of the stability and features of design patterns

Design patterns are the cornerstones of building solid, stable, flexible, and feature-rich Web applications. This guide enables PHP developers to take advantage of everything they offer.

If you are unfamiliar with design patterns, this book explains what you need to know. Both novice and veteran PHP developers will benefit from the alphabetical list of design patterns and code examples showing how to implement each pattern in PHP. Step-by-step instructions for a sample contact management system will help you understand real-world applications for the information.

  • Gets PHP developers who have not used design patterns up to speed on the technology
  • Shows programmers who are familiar with design patterns in other languages how to apply the techniques to PHP
  • Includes examples of ordinary code used in everyday development and how to modify it for one of the design patterns discussed
  • Provides an alphabetical list of common design patterns, with code examples showing how each can be implemented in PHP
  • Uses a case study of a contact management system to analyze and demonstrate the step-by-step process of applying design patterns

With its single focus on applying design patterns to PHP development, PHP Design Patterns helps both new and veteran PHP programmers improve their applications and their career prospects.

Customer Review :

No review yet

Sams Teach Yourself PHP, MySQL and Apache All in One (5th Edition) Sams Teach Yourself PHP, MySQL and Apache All in One (5th Edition)
Price : $39.99 $25.85

Average Customer Rating : Not yet rated

Editorial Review :

In just a short time, you can learn how to use PHP, MySQL, and Apache together to create dynamic, interactive websites and applications using the three leading open-source web development technologies. Using a straightforward, step-by-step approach, each lesson in this book builds on the previous ones, enabling you to learn the essentials of PHP scripting, MySQL databases, and the Apache web server from the ground up.

 

Regardless of whether you run Linux, Windows, or Mac OS X, the enclosed CD includes a complete starter kit that lets you install all the software you need to set up a stable environment for learning, testing, and production.

 

Julie C. Meloni is a technical consultant who has been developing web-based applications since the Web first saw the light of day. She has authored numerous books and articles on web application development and HTML/CSS, and you can find translations of her work in 18 different languages.

 

Learn how to…

 

• Install, configure, and set up the PHP scripting language, the MySQL database system, and the Apache Web server

• Get these technologies to work together to create a dynamic, database-backed website

• Interact with MySQL using PHP

• Work with forms and files

• Create a web-based discussion forum or mailing list

• Add a storefront and shopping cart to your site

• Optimize your MySQL databases

• Fine-tune the Apache server’s performance

• Restrict access to your applications

• Set up a secure web server

 

 

CD-ROM Includes

A complete PHP, MySQL, and
Apache starter kit for Windows®, Linux®, or Mac® OS X.

 

 

Customer Review :

No review yet

Teach Yourself PHP with MySQL Teach Yourself PHP with MySQL
Price : $5.99

Average Customer Rating : Not yet rated

Editorial Review :

PHP with MySQL is a comprehensive introduction to this programming language. It focusses on the essential structures and techniques to get you up and running quickly and confidently. With a step-by-step approach, clear illustrations and sample code for practice, you'll learn how to download and install the PHP software, design and work with databases, embed PHP into HTML and convert code from ASP to PHP using free tools.
Nat McBride was an IT consultant and author who created large-scale dynamic websites and database-driven applications for corporate and media clients.

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 : 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 do I use php code from a different domain?
Here's what I'm trying to do: I have a php page I created on one domain, that stores information in a database. Next, I have another web page (This page is html NOT php) on a Different domain that I call this php page using Javascript, and would like to return a variable from the php page. How is this possible? I know it is, so don't say that it isn't! (10 points for the person that finally answers this question!)

Answer:
Ok, this makes marginally more sense. So, you want your PHP to return a variable to the JavaScript? Try a hidden field:and the js: var value = document.getElementById('myHiddenField').value;if that is not the case, if you are trying to get a JS variable into PHP, that cannot be done.PHP is a server side language, which means the code is DONE by the time the web page is displayed. JavaScript is a client side language, which means the code is executed ONCE THE PAGE IS LOADED. Communication between client-side and server-side languages is limited, and one way (server-side->client-side via hidden field [crude]). I suggest you rethink your method...

 

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 do I upload a php site in dreamweaver properly?
I loaded a pre-built site into dreamweaver. Half of the pages were built in php format. I built a new page to add to the site with new links and pictures. But when I uploaded the site to the web, neither the pictures nor the links worked. Any ideas what might have caused this? Or something I missed that would prevent a newly added page from working? Settings etc? I'm using Dreamweaver CS4. Thanks in advance.

Answer:
Try using the FTP protocol to upload the files manually. Your host most probably supports FTP so all you need to do is download a client like FileZilla and then you can upload the files directly to your website.

 

Question : How do i create a php page that will automatically redirect & login to a password protected directory?
How do i create a php page that will automatically redirect & login to a password protected directory on my website, so that the user doesn't have to input the user & password to access the site.

Answer:
it involves the use of $_COOKIE. I would not recommend you automatically redirecting someone to "protected" content.Thumb through my script and use what you need. Reference the link below because yahoo will truncate my answer.login_form();}//End function//Just a simple login formfunction login_form(){echo "
User Name:Password:
";}//End Functionfunction validate_user($UserInput){//my chosen user name and password pattern$this->user_name_pattern = ("^[a-zA-Z0-9]{5,15}$");$this->password_pattern = ("^[a-zA-Z0-9\!\@\#\$\%\^\&\*\`\~\_]{5,15}$");//JavaScript History -1$this->go_back = (Go Back);$this->success_login_redirect = "http://dzsoundnirvana.com/";switch($UserInput){case ($UserInput['FLU'] == "" || !ereg($this->user_name_pattern,$UserInput['FLU'])):$this->login_form();echo "
Invalid user name. Try again or $this->go_back!
";$this->login_error == false; break;case ($UserInput['FLP'] == "" || !ereg($this->password_pattern,$UserInput['FLP'])):$this->login_form();echo "
Invalid password. Try again or $this->go_back!
";$this->login_error == false;break;}if($this->login_error === false){//Or you can redirect to a "Forgot password/user name" page or leave it alone. This will kill the script. No output after though!exit;}else{//Now we go to the Database and validate the user$this->db();$this->query_string = "SELECT * FROM users WHERE user_name='$UserInput[FLU]'&& password='" . md5($UserInput['password']) . "'";$this->query = mysql_query($this->query_string);//Error check the queryif(!$this->query){echo "System error! Contact the system administrator!
or
$this->go_back";//use this for debugging (below), Delete the // at the beginning//echo mysql_error();}else{//Need to check if more than 1 user exists if so....throw HACKING error (not supported here)..another class$this->num_rows = mysql_num_rows($this->query);if($this->num_rows > 1){echo "Hacking warning";exit;}else{//Get the user information and set into the $_SESSION and then redirect to the directed page$this->user_information = mysql_fetch_assoc($this->query);//Put all user data into $_SESSIONforeach($this->user_information as $key => $value){$_SESSION[$key] = $value;//Now we redirect to the page specifiedecho "";echo "If you are not redirected success_login_redirect\" target=\"_parent\">Click here to continue";}}}//else}//if($this->login_error === false)/else{}//End functionfunction db(){$this->db_link = mysql_connect("data_base_host","data_base_user","data_base_password]);//Select the DB$this->db_select = mysql_select_db("data_base_name");}}//End Class?>

 

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 : 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 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 connect a textbox to a database in php using ms access?
I have an order form desined in php. To use it I need to connect it to a database. I use Yahoo hosting service. My website is www.ibexstudents.com. It has no support for asp but supports php, javascript and perl. Any other innovative approaches are welcomed.Please give me the full procedure as I am not very good at programming. Thank you.

Answer:
Assuming you have odbc driver , and dsn registered on your webserver, this is how you do it.Now let us assume you want to update your database with something that user inputs in your text box, lets say his Display name on your website, and password.Lets assume textbox for name is txtname and for password (type="password" for asterics) is txtpass.When user clicks on submit (name btnsubmit), lets say this info should be updated in a table called User in your database $db. Also assume form method is post and action is on same page (example newuser.php)}Ofcourse this code dont handle any errors/exceptions and if u want to fetch data from database. u can use method$recordset=odbc_exec($conn,$query);odbc_fetch_row($recordset);where query could be something like select * from User.Good Luck!

 

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

 

Powered by Yahoo! Answers

 

 

Sitemaps: ASP, ActiveX, Ajax, CSS, Cold Fusion, DHTML, General, General AAS, Java Server Pages, JavaScript, Linux Web, PHP, SQL, XHTML, XML, XSL


Returns Policy | Privacy Policy

Copyright © 2008 - 2012 Web Programming & Scripting Books

|