Re: Got it working finally [message #181581 is a reply to message #181580] |
Wed, 22 May 2013 17:01 |
|
richard
Messages: 213 Registered: June 2013
Karma:
|
Senior Member |
|
|
On Wed, 22 May 2013 14:12:24 +0000 (UTC), Denis McMahon wrote:
> On Wed, 22 May 2013 00:24:54 -0400, richard wrote:
>
>> www.mroldies.net
>>
>> At least it is functioanl as I want it.
>
> Well done, it's only taken a year.
>
> Not sure that this is supposed to happen though:
>
> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
> result resource in /home/richbull/public_html/mroldies.net/showtable.php
> on line 94
>
> See: http://www.sined.co.uk/tmp/rb/screen1.png
>
> Or this:
>
> Forbidden
>
> You don't have permission to access /showtable.php on this server.
>
> Additionally, a 404 Not Found error was encountered while trying to use
> an ErrorDocument to handle the request.
> Apache Server at mroldies.net Port 80
>
> See: http://www.sined.co.uk/tmp/rb/screen2.png
>
> This is by way of an object lesson in why you need to listen to people
> when they warn you about the need to validate and verify all user input.
Thanks for the pics.
Since you blocked off part of the URL, how am I to know what you entered to
get the desired result?
I entered 1970 as the year and got the first error message.
So ok, I need to have a check for a valid year.
Obviously, you played around with the values to get these results.
I think most people are NOT going to be doing this.
|
|
|