Wrox Programmer Forums
|
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 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 September 10th, 2004, 10:59 PM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Download of code - Failure

I tried to download code for this book. After unzipping it, all the code has wrapped up in the text file with all the weird characters in between. I need to seperate each and every line. Has anybody experienced the same problem? Thanks.

 
Old September 11th, 2004, 11:16 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Open the text files with a word processor such as Wordpad or a WYSIWYG like DW, not a text editor like Notepad.

-Snib <><
http://www.snibworks.com/
 
Old September 11th, 2004, 03:50 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default

humm I don't have much experience with php and I may be wrong but I don't think that opening the files on notepad creates any problem. The .php files are suppose to be no more than test files which are parsed by php which puts sense into it. I will say your file got corrupted or something.

Christian

Christian
 
Old September 11th, 2004, 04:43 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

If you tried it, you would see that, in the text files, in Notepad, there are many square characters that seem to represent escaped characters such as line breaks and tabs. Wordpad, however, interprets these characters correctly.

Strange that when I tried to post an example the characters were interpreted by the clipboard....

HTH

-Snib <><
http://www.snibworks.com/
 
Old September 11th, 2004, 06:14 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

You certainly don't want to use a Word processor though, those are a nightmare to code with. It's likely due to what characters are used for line endings. Just try a more advanced plain text editor.

AFAIK there is a whole appendix of recommended text editors in that book. Personally, I use Crimson Editor... http://www.crimsoneditor.com.

Here's a recent thread on the topic.
http://p2p.wrox.com/topic.asp?TOPIC_ID=15943

HTH!

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old September 11th, 2004, 08:14 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

By word processor I meant Wordpad or something, which can save into plain text format.

But yeah, coding in Word is difficult to say the least.

-Snib <><
http://www.snibworks.com/





Similar Threads
Thread Thread Starter Forum Replies Last Post
code download wap19820913 C# 0 April 23rd, 2008 09:09 PM
VBA code failure rgerald Access VBA 15 April 14th, 2008 07:40 PM
Need to download code!! bnsqght C# 0 November 21st, 2006 09:18 AM
Download Code won't download More_Toys BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 15 May 13th, 2006 10:49 AM





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