Gossamer Forum
Quote Reply
PHP notice
I recently turned on displaying notices aswell as other errors in PHP. I started to get a notice that says

"Notice: Undefined index: blah blah blah"

It's telling me I have an undefined index for all of my variables that are transfered through the URL

eg.

www.where.com?page=1

Therefore, undefined index: page

"Notice: Use of undefined constant 1 - assumed '1'"

And so when I try to access these things I'm getting forbidden to access.

So the question is, how do I define these? or is it even worth wasting my time on?

Last edited by:

JoFrRi: Aug 21, 2005, 7:06 AM
Quote Reply
Re: [JoFrRi] PHP notice In reply to
As the saying goes.. "if it works, don't fix it!" .. I think this applies here <G> Unless there is a major problem with the script functioning (or another problem arising from the errors, which is more perminant).

I can't say I've ever had that problem :/

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!