Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 23rd, 2003, 11:47 PM
Registered User
 
Join Date: Oct 2003
Location: , , .
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 :)

Reply With Quote
  #2 (permalink)  
Old October 24th, 2003, 12:18 AM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
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
:::::::::::::::::::::::::::::::::
Reply With Quote
  #3 (permalink)  
Old October 24th, 2003, 07:27 AM
Registered User
 
Join Date: Oct 2003
Location: , , .
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...

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:13 PM.


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