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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates