Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 37
Search took 0.01 seconds.
Search: Posts Made By: jason.gerner
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 June 16th, 2005, 03:50 PM
Replies: 2
Views: 1,937
Posted By jason.gerner
It sounds like you're trying to create the movie...

It sounds like you're trying to create the movie databases/tables, when they already exist in MySQL. Either don't try to recreate them, or drop them and start over.
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 June 16th, 2005, 03:47 PM
Replies: 3
Views: 2,570
Posted By jason.gerner
Actually, it does. SQL_CALC_FOUND_ROWS was...

Actually, it does.
SQL_CALC_FOUND_ROWS was introduced in MySQL 4.0.0: http://dev.mysql.com/doc/mysql/en/information-functions.html
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 June 16th, 2005, 03:44 PM
Replies: 4
Views: 2,286
Posted By jason.gerner
Don't sweat it, everyone makes typos, no matter...

Don't sweat it, everyone makes typos, no matter how experienced. At any given time there's maybe 9 different keys near the tip of a finger--chances are good that sometimes we miss. :D
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 June 16th, 2005, 03:41 PM
Replies: 2
Views: 1,730
Posted By jason.gerner
IE does that sometimes when a form has been...

IE does that sometimes when a form has been submitted via POST. It's not necessarily a code/PHP issue, as I've seen it on many different setups (PHP, ASP, .NET). Try it in Firefox and see if you get...
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 June 6th, 2005, 10:26 AM
Replies: 4
Views: 2,286
Posted By jason.gerner
You've got a typo in your admin_login.php code...

You've got a typo in your admin_login.php code near:

Invalid Username and/or Password<br><br>
<form action="admin_login.php method="post">

You're missing the trailing quote around the form...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 3rd, 2005, 10:31 PM
Replies: 2
Views: 2,447
Posted By jason.gerner
Good catch! That line should actually read: ...

Good catch!

That line should actually read:
<strong><?php echo $image_caption; ?></strong><br>

(Actually if you look at the later revision where those lines were deleted, it actually does use...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 3rd, 2005, 10:09 PM
Replies: 2
Views: 1,304
Posted By jason.gerner
Sorry about that guys & gals--been rather...

Sorry about that guys & gals--been rather inundated with work lately; I'll do my best to poke my head in when I get chances. :)
Forum: BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 June 3rd, 2005, 09:51 PM
Replies: 1
Views: 1,357
Posted By jason.gerner
It's checking to see if the $_GET query string...

It's checking to see if the $_GET query string variable "do" is set. If not, It's displaying a link to either delete the item, or return to the index. Notice in the href attribute of the link, "do"...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 January 28th, 2005, 05:00 PM
Replies: 2
Views: 1,977
Posted By jason.gerner
for is like a while().. loop, but with a...

for is like a while().. loop, but with a predetermined number of cycles.

broken down, this example,

$i=0; (start with $i equal to zero)
$i<$review_rating (loop until $i is equal to or...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 January 20th, 2005, 04:20 PM
Replies: 2
Views: 1,294
Posted By jason.gerner
Unzip the zip file to a location of your...

Unzip the zip file to a location of your choosing, then just double click the php_manual_en.chm file.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 October 11th, 2004, 08:56 AM
Replies: 1
Views: 1,112
Posted By jason.gerner
Check your session.save_path in your php.ini....

Check your session.save_path in your php.ini. Looks like you're missing a colon after the "C"
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 30th, 2004, 07:59 AM
Replies: 1
Views: 877
Posted By jason.gerner
[/s] Well, that's most likely where the...

[/s]

Well, that's most likely where the problem lies.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 28th, 2004, 08:44 AM
Replies: 1
Views: 1,532
Posted By jason.gerner
Looks like you need to change the session paths...

Looks like you need to change the session paths in your php.ini

http://p2p.wrox.com/topic.asp?TOPIC_ID=14957&SearchTerms=tmp
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 7th, 2004, 08:31 AM
Replies: 1
Views: 1,512
Posted By jason.gerner
Actually, it's correct using the assignment...

Actually, it's correct using the assignment operator. In this case, we aren't comparing statements. What happens is, each time the loop+conditional is run, $tmp is assigned the return value of the...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 3rd, 2004, 08:49 AM
Replies: 3
Views: 1,991
Posted By jason.gerner
One thing to look at: check your php.ini file to...

One thing to look at: check your php.ini file to see if register_globals is enabled. If so, disable them.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 3rd, 2004, 08:47 AM
Replies: 1
Views: 1,127
Posted By jason.gerner
Those are simply ID attributes, which do not...

Those are simply ID attributes, which do not always imply stylesheet association. (One can use IDs as in-document anchor targets or in JavaScript).

If I remember correctly, those are there in case...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 3rd, 2004, 08:41 AM
Replies: 1
Views: 1,159
Posted By jason.gerner
This should probably be a sticky: ...

This should probably be a sticky:

http://p2p.wrox.com/topic.asp?TOPIC_ID=14449
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 3rd, 2004, 08:36 AM
Replies: 3
Views: 854
Posted By jason.gerner
Well, let me know what you end up with. The *nix...

Well, let me know what you end up with. The *nix instructions in Appendix I are general enough that they should work with all/most linux, bsd, OSX, etc...

Also, I don't know what version they're...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 September 1st, 2004, 08:48 AM
Replies: 3
Views: 854
Posted By jason.gerner
Have you looked at any of the Appendices at all?...

Have you looked at any of the Appendices at all? I *know* there's linux install instructions in there.

Check Appendix I, about page 672.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 August 11th, 2004, 09:33 AM
Replies: 8
Views: 1,469
Posted By jason.gerner
Line 45 should probably read "PRIMARY KEY...

Line 45 should probably read "PRIMARY KEY (people_id)" --missing an "R" in primary.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 August 6th, 2004, 08:59 AM
Replies: 1
Views: 1,865
Posted By jason.gerner
There's no need to declare anything in the...

There's no need to declare anything in the $_SERVER array as global. By default it's global. Same goes for $_GET, $_POST, etc...
Looks like an error in the code in the book.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 27th, 2004, 09:16 AM
Replies: 16
Views: 3,988
Posted By jason.gerner
Just FYI, I'll take a look at this evening if I...

Just FYI, I'll take a look at this evening if I can.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 1st, 2004, 02:56 PM
Replies: 7
Views: 1,603
Posted By jason.gerner
http://us3.php.net/manual/en/language.types.string...

http://us3.php.net/manual/en/language.types.string.php#language.types.string.parsing

Note the 4th example under arrays.

You can do:

echo "The values of Style is {$_POST['style_name']}";
...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 29th, 2004, 08:10 AM
Replies: 13
Views: 1,724
Posted By jason.gerner
Well, you shouldn't be using php4apache2.dll with...

Well, you shouldn't be using php4apache2.dll with Apache 1.3.x anyway (thats what php4apache.dll is for)
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 17th, 2004, 08:49 AM
Replies: 3
Views: 2,500
Posted By jason.gerner
What does your php.ini look like. Sounds like a...

What does your php.ini look like. Sounds like a server/php installation error.
Showing results 1 to 25 of 37

 


All times are GMT -4. The time now is 10:40 PM.


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