Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jeffreader

  • Rank
  1. I see that you did not help me so I had to type this: localhost/welcome.php that came out what it showed from the book on page 240 (. I will have to figure this out on page 242 later. I am moving on Chapter 9 this week.
  2. I am on page 240 (Chapter 8). My Login Form said that my email address and a password is not correct - I have to go back and try it again. So, what is the problem? (A) The login form... is fine. (C ) Login Form error is fine. (D) I don't see the result like "Welcome to the J.D. Salinger Fan Club!" due the email and password are not correct.
  3. For the footer.html: <!-- Script 8.12 - footer.html --> <!-- END CHANGEABLE CONTENT. --> </main> <foot container class="siteFooter"> <p>Design uses <a href="http://concisecss.com/">ConciseCSS Framework</a></p> <p class="float-right"><?php // Print the current data and time... // Set the timezone: date_default_timezone_set('America/New_York'); // Now print the date and time: print date('g:i a l F j'); ?></p> </footer>
  4. Larry, I fixed my problem on page 234 and 235 because I put the Script 8.11 and 8.12 together in 8.11 (even in the past pages) that was not supposed to be that way. Now, these scripts are separated now. The result for the books.php looks good and proper setting (margins) except "Design uses Concise CSS Framework" and the date are still on the zero margin on the left side page. I cannot figure it out. I did not understand you which one should I execute the file such as login.php, register.php ,or index.php. You did not mention the books.php on page 236 which I finally found the righ
  5. I restarted my iMac today. My program for the register (8.9) seems to be working fine. I don't know why that happened. I am sorry that you do not have an iMac. I am kind of wish that you could test on both machines so that it would save our time and move on other programs. On page 231, I typed the incorrect email address on the Email Address box, and it showed me the red color box that tell me that I have to correct it. "Please enter an email address." That is good one. (It will not show "Please try it again.") So, I entered my own email address. Am I expecting to get the ema
  6. Administrator, On page 231 for the Registration Form, why it added for the password? This does not make a sense to me. 2nd question, I submitted the form on my Firefox browser (iMac). I do not receive the registration email in my email box after the submission. Then, I changed the address from admin@example.com to my email address in the source code (register.php). I did not get that registration email, too. The result came out with no error as the exact result on page 226 (not 231). In short, I ran the XAMPP as a server.
  7. Perfect! Many thanks! It's too bad that my CodeRunner does not show me the different color for the error statement if you know what I mean. I do not have a Sublime Text if it would show me the color error. Beside, I am not familiar with other software. i.e. Atom, Coda, etc. I have to protect my eyes from looking at the monitor for too long.
  8. I finally found the problem with a T_STRING. It's really really small error into a big error. Like this: Source: <?php// Script 8.9 - register.php /* This page lets people register for the site (in theory). */ It should be like this: <?php // Script 8.9 - register.php ( Space between <?php // ) OMG! Now, I have a question that might be easy for you to answer my problem. (Note: I forgot to add the email in code for the form so I added it.) On the screen form, there is a missing text box for Email Address:. Here is my source. Thanks.
  9. http://localhost/practice/forlogin/register.php My browser says with an error statement: "Parse error: syntax error, unexpected 'define' (T_STRING) in /Applications/XAMPP/xamppfiles/htdocs/practice/forlogin/register.php on line 5." My line for number 5: define('TITLE', 'Register'); Parse error means there is a problem with omission of semicolon or an imbalance of quotation marks, braces, or parentheses. (On page 65.) On the error statement, What is T_STRING? --------------------------------- Here is the source: <?php// Script 8.9 - register.php /* This pag
  10. On page 227, it says, "Save the file as register.php, place it in the proper directory on your PHP-enabled server, and test it in your browser (D) and (E). my iMac runs on XAMPP 7.0.13-1. Is that part of the PHP-enabled server? My Firefox browser stated, " Parse error: syntax error, unexpected 'define' (T_STRING) in /Applications/XAMPP/xamppfiles/htdocs/practice/forlogin/register.php on line 5." Am I supposed to put my files on a hosting website in order to activate the register.php? Line number 5 on my register.php is: "define('TITLE', 'Register'); Now, I'm lost.
  11. Where did you get the concise.min.css and masthead.css? Look on page 205 and read the number 12.
  12. Hi Larry, I created the folders like this. Does it look right to you? index/index.php index/css/template.html index/templates/footer.html index/templates/headers.html
  13. My template file: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-with,inital-scale=1.0"> <mega name="HandheldfFriendly" content="True"> <title>Raise High the Roof Beam!</title> <link rel="stylesheet" type="text/css" media="screen" href="css/concise.min.css" /> <link rel="stylesheet" type="text/css" media="screen" href="css/masthead.css" /> </head&g
  14. On page 205, my website does not look the same design as yours. What is the problem with mine?
  15. I can't fresh my mind. The var1 to var3 have different and also empty(). It is same thing for isset(). Actually, I thought that there is only one var that something to clear out for one example but it has three examples (i.e. var1, var2, var3). I am not sure why do I have to know about them.
  • Create New...