Why no PHP

General Discussion

Suggested Topics


  • 1 Votes
    2 Posts
    2k Views

    Assuming that you use it as a reverse proxy, I think you can do something similar with NGINX by mixing these guides:

    Check the existence of a session (Nginx)

    I have two sessions in PHP: $_SESSION["session"]["key"] = md5 ($token . $userAgent . $ip); $_SESSION["session"]["timeout"] = time (); Just want to check that sessions with nginx, tried this code

    favicon

    Stack Overflow (stackoverflow.com)

    Nginx: Reject request if header is not present or wrong

    If I have the headers: X_HEADER1 & X_HEADER2, I want to reject all requests if either of these headers are not set or do not contain the correct values. What is the best way to do this? Thanks

    favicon

    Stack Overflow (stackoverflow.com)

    Nginx: moving site to new domain

    I have a site example.com that runs wordpress. Now I want to move this blog to subdomain blog.example.com, but also I want following: example.com --> static page (not wordpress) blog.example.c...

    favicon

    Stack Overflow (stackoverflow.com)

  • Translate PHP to Node.js

    General Discussion
    7
    0 Votes
    7 Posts
    2k Views

    @julian He abandoned me. Please tell me what to do step by step to get something similar. Thanks!

  • 0 Votes
    5 Posts
    2k Views

    @charles Are you a part of that community? If so, definitely put a good word in about NodeBB, and have them reach out to us! We'd be happy to discuss those questions with their forum admin one-on-one.

  • Posting from a PHP Form?

    General Discussion
    4
    0 Votes
    4 Posts
    2k Views

    @Shaun Thanks but unfortunately the RSS feed plugin seems to be having some issues (at least for me), particularly with not grabbing all posts and/or duplicating them.

    I'll keep my eye on the rss thread and see if it gets any updates.

  • PHP is terrible

    General Discussion
    3
    1 Votes
    3 Posts
    1k Views

    I feel you brother. Don't know much about Java, except to stay away from it. I know some PH though, just enough to realize that it has had it's day. It is time to move on.

    I kind of feel bad about PHP. I like it, in a nostalgic sort of way. I'm big on sentimentalism. I have a Remington model 5 typewriter around for sentimental reasons; I like it, the way it looks, the twang of keys as I try to write something with it. But I don't *actually *write anything substantial on it of course. Maybe an adress on an envelope or something, maybe once a year.

    That is sort of the way I feel about PHP: it was the bomb at one point. But it is becoming increasingly clear that node.js (and perhaps similar technologies) is the way forward. It makes me a little sad, because there is a lot of legacy tech out there, and a LOT to learn for those who just recently mastered PHP. Its like "Hey, I just got here! Do I really have to start *another * marathon right away?"

    Huh. I guess I do. I'm sure it will be a nice run, switching everything I know and have learned over the last decade to node and javascript (and angular I guess). But before I get started on that, I would like to just sit here for a bit and enjoy the view before I get started again, if you know what I mean?
    But I guess there's no time for that. I have to keep moving, keep moving... And in half a decade or so, when I have finally masted that node beast, when all the node.js things like this here forum software will have integers instead of floats as stable version numbers, something completely new and infinitely better will come along.... it will never end.