[PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread elias
Maybe what you say about smallest refeerer length is true... but why don't you check via regexps the validity of the REFEERER format only if it was set? InéRcia Sensorial [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Is it possible? I am writing a

[PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread Inércia Sensorial
That's also something worth to be done, but first I need to know some possible variations of $HTTP_REFERER... I never saw one, when coming from another domain, without the 'http://'´part, so that's a regex to check, but I may be wrong... -- Julio Nobrega. One and One and One is Three

RE: [PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread scott [gts]
10:01 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: $HTTP_REFERER 10 That's also something worth to be done, but first I need to know some possible variations of $HTTP_REFERER... I never saw one, when coming from another domain, without the 'http://'´part, so that's a regex to check

Re: [PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread Inércia Sensorial
Thank you Scott for the various ideas. I am preventing an eventual 'no referer' situation with a default url provided by who opens an account. I am getting (and trying to give :)) help on this list, so I will ask first before doing... Is it normal to announce personal projects here? This one

RE: [PHP] Re: $HTTP_REFERER 10

2001-07-12 Thread scott [gts]
i know that i am always interested to see code posted on this list... even if i cannot personally use the code, i'm always curious to see how people write code. -Original Message- From: Inércia Sensorial [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Re: $HTTP_REFERER 10 Thank you