Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 23rd, 2003, 11:47 PM
Registered User
 
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to P.Y.sum Send a message via MSN to P.Y.sum
Default where to download php4?

i am new to this php4 and wanted to download this but just don know which is the correct one to download... i have went to this http://php4win.de/ but the page is not up yet for a very long time, i did also went to www.php.net but didnt know which is the correct source to download... hope there is someone who can direct me to the correct site and tell me which is the correct source to download. Thanks :)

 
Old October 24th, 2003, 12:18 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Those goofballs that wrote the book gave you farse information!

php.net is THE place to go. Anything and everything about php is there. Download the build that is suitable for your system. If you're on Windows there are Windows installers available from the PHP.net site that are just about idiot proof. Download the latest non-beta version which will be the most stable.

After installing come back to the p2p site and do some research on a PHP configuration directive called register_globals. You're going to need this information to do *most* of the examples in the book.

http://www.google.com/search?q=regis...e:p2p.wrox.com

There is also an error_reporting directive in the configuration file that is set to E_ALL, which you will also experience woes with when attempting the book's examples.

If you're on Windows the configuration file is called 'php.ini' and is located in the C:\Windows directory (or wherever the Windows directory is located). This file can be opened and edited in notepad. To get started you can reset the value of error_reporting to say the following:
error_reporting = E_ALL & ~E_NOTICE

and the register_globals directive to say the following:
register_globals = On

This will at least allow you to work a few examples. After you feel a little more confident with your undertanding of PHP I strongly urge you to reset these values back to their default state as this is not only the future of PHP, the register_globals directive is deprecated (meaning slated for deletion). You can find loads of information on p2p of exactly how to write your code to work with these.

Here's a list of URLs to get you started:
http://p2p.wrox.com/archive/beginnin...2002-11/17.asp
http://p2p.wrox.com/archive/beginnin...2002-09/63.asp
http://p2p.wrox.com/archive/beginning_php/2003-02/3.asp
http://p2p.wrox.com/topic.asp?TOPIC_ID=4017

: )
Rich


:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
 
Old October 24th, 2003, 07:27 AM
Registered User
 
Join Date: Oct 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to P.Y.sum Send a message via MSN to P.Y.sum
Default

thanks for the direction...






Similar Threads
Thread Thread Starter Forum Replies Last Post
logout in php4.2 rapraj PHP How-To 3 November 26th, 2007 05:24 AM
Smaller download/single download file available jminatel BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 November 21st, 2005 11:10 AM
php4 or php5 dreadzz BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 July 15th, 2005 04:58 AM
Professional PHP4 agarios All Other Wrox Books 6 January 14th, 2005 02:50 PM
Beginning PHP4 keithu1 Wrox Book Feedback 1 October 1st, 2003 07:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.