Search

I’m in the middle of developing an event filter which requires the ip address of the user, and it just dawned on me that I don’t know if I can get it.

So, my question is, to those PHP peeps out there…

When Symphony gets to process event filters, would $_SERVER['REMOTE_ADDR']; still return the users IP? This is probably the most stupid question of the day, but I’m still getting my head around class inheritance and Symphony too.

When Symphony gets to process event filters, would $_SERVER[‘REMOTE_ADDR’]; still return the users IP?

Yes.

Cheers Brendo.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details