Results 1 to 2 of 2
Thread: Chapter 3 page 110
Aug 25, 2011, 12:33 #1
- Join Date
- Aug 2011
- 0 Post(s)
- 0 Thread(s)
Chapter 3 page 110
I am learning PHP from Kevin Yank's book Build your own Database Driven Web Site using PHP & MYSQL.
my question is when I do step 5
i get an error function.include failed to open stream (file not found)
I am reading the directions and I cannot find anywhere in the chapter that tells me to create this file 'welcome.html.php'.
I have created all the 'welcome 1-8' and they all seem to work except for this last one.
Am I missing something?
can someone help me on this?
Aug 26, 2011, 12:30 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 112 Post(s)
- 1 Thread(s)
Hi magdam1, welcome to the forums,
The book is a bit out of sync. The author didn't figure on someone wanting to try it before they read the explanation of what the code is doing.
If you look on page 112 you'll see:
All thatís left is to write the welcome.html.php template. Here it is:
Thatís it! Fire up your browser and point it at http://localhost/welcome/ (or
http://localhost:8080/welcome/ or similar if you need to specify a port number for
your web server). Youíll be prompted for your name, and when you submit the
form, youíll see the appropriate welcome message. The URL should stay the same
throughout this process.10 Rules for Driving Traffic Using Forums | Ultimate SEO Checklist
External links are nofollow
How to be a Great Online Community Member
Member of the Month for December 2013
Free SitePoint book - Thinking Web: Voices Of The Community
The 2013 SitePoint Awards - Nominations closed - Voting to begin soon
Introducing the new Code Review Forum