 |
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
|
|
|
|

September 10th, 2004, 10:59 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

September 11th, 2004, 11:16 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
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/
|
|

September 11th, 2004, 03:50 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2004
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

September 11th, 2004, 04:43 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
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/
|
|

September 11th, 2004, 06:14 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
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
|
|

September 11th, 2004, 08:14 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
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/
|
|
 |