-
Posts
14,178 -
Joined
-
Last visited
-
Days Won
367
requinix last won the day on June 15
requinix had the most liked content!
About requinix

Profile Information
-
Gender
Not Telling
-
Location
America/Los_Angeles
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
requinix's Achievements
-
I don't understand why this is a question. Do you know what that setting is for?
-
Need critiques and "indexing-crawling" help
requinix replied to eaglehopes's topic in Website Critique
There's whitespace around the URLs. <loc> http://enginery.freecluster.eu/index.php </loc> It's a minor thing but could be a problem. -
Maybe content "with media"? Or maybe "supporting uploads", because you'd need to do that for images to be possible. But there aren't really any special words. Because supporting images and deleting posts/articles and such are simply the normal features you'd find in most CMSes. Not especially. There are definitely special terms for many different things, like I mentioned "roles" earlier, but that doesn't mean everything has special terms. Like "allowing users to register accounts" isn't a term. It's a description. And "inserting images and videos into posts" is also a description.
-
These are very broad questions that do not have a single answer. What you can do varies a lot. The word you need is "role", as in a user login system where each user can have a different role (ie, user role or admin role). That just sounds like a CMS. Use PHPMailer or Swift Mailer to send the emails. You configure them with your email server information, like if you want to use a Gmail account, and they do the rest of the work.
-
Finding out the actual truth instead of guessing is probably a good idea. For Apache, SSL_PROTOCOL is available if you enable that. https://httpd.apache.org/docs/current/mod/mod_ssl.html For nginx, I believe you can get $ssl_protocol as a variable, but you would need to pass that as an environment/CGI variable to php-fpm in the server/site config. https://nginx.org/en/docs/http/ngx_http_ssl_module.html
-
So let's take a step back. Are you using Apache or nginx? mod_php or FPM? What is the server setup?
-
Remove Post Title item from Breadcrumb trail on Archive/Search pages
requinix replied to Devon808's topic in PHP Coding Help
An optional parameter would be like public static function render($post, $withPost = true) { which will default to true if not provided. You would then use $withPost to decide whether to do that ->push or not. -
Because it's apples and oranges. Just running on the same server doesn't mean anything - PHP could no more see what nginx is doing than nginx see what PHP is doing. If gw1500se is right then what I said may already be in place for you. So print out the contents of $_SERVER and see if there's an SSL_PROTOCOL or similar you can reference (and what its value is).
-
PHP doesn't have access to that kind of information - it's all handled by the webserver automatically. As it should be. But you can potentially have the server inject the information into your runtime environment. For example, nginx has a $ssl_cipher variable that you could pass into the PHP environment.
-
One or more of those, yes. Impossible to say just with your description. Depends. No.
-
Oh dear. If you've got the money to buy Windows Server Datacenter then you've got the money to hire an IT person whose job it would be to deal with these matters.
-
Don't use a redirect. Half of the point of a 404 page is that it returns a 404, and using a redirect makes it do something different. Why not just change the 404.php to be this new page? Wouldn't that be easier?
-
Is your custom 404 page on some other site?
-
Doesn't quite answer my question. The very first rule you have RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L] says that anything that does not exist should go to index.php. If you want other things to apply first, other things that also do not exist, then those rules need to go before it.