On 10/5/2010 1:35 PM, harryos wrote:
> The user can enter a website address which will be tracked by the
> program for certain info and then a message is sent to the user's
> mail.The user can enter many such addresses.The problem is that he
> may accidently enter different variations of the
Part of your problem will be that there is no way to consistently
determine whether the addresses are duplicate. In most cases, yes,
www.example.com and example.com are the same site -- but in some
they're not. Ditto for index.html, index.php, etc. (yes, I've seen
sites where index.html and
The user can enter a website address which will be tracked by the
program for certain info and then a message is sent to the user's
mail.The user can enter many such addresses.The problem is that he
may accidently enter different variations of the url..and if I don't
validate it for duplicates
Is this for request routing, or for data input processing?
On Oct 5, 12:17 pm, harryos wrote:
> hi
> I am trying out a web app where it needs to process user given website
> addresses .My problem is that ,I need to treat
> http://mysite.com,www.mysite.com,
>
What about www.mysite.com/default.asp? It might be helpful if you could
give us a little more insight into the real requirement here, rather
than a technical question based on some interpretation of the requirement.
regards
Steve
On 10/5/2010 12:57 PM, Alec Shaner wrote:
> Definitely sounds
Definitely sounds like a regular expression is what you need.
Not sure what you mean by etcare you saying any variation of a web
address for mysite.com, i.e., with or without www prefix, with our
without protocol http://, and with our without the index page, which
itself could be any
Why not redirect all variants to http://mysite.com/?
Nginx could do the job for you ;)
Best regards.
On 5 out, 13:17, harryos wrote:
> hi
> I am trying out a web app where it needs to process user given website
> addresses .My problem is that ,I need to treat
>
hi
I am trying out a web app where it needs to process user given website
addresses .My problem is that ,I need to treat
http://mysite.com ,
www.mysite.com,
mysite.com,
www.mysite.com/index.html,
www.mysite.com/index.php ...etc as the same and not different urls.How
can I do the validation in
8 matches
Mail list logo