Empty Post Data

14
March 14, 2019, at 10:20 PM

So I'm working on a PHP project. Today wanted to start working on it again. It looks like there is a redirect which causes the loss of the post data.

I tried to run it on a domain which has no SSL, but there is the same issue.

virtual host file:

<VirtualHost  *:80>
  ServerAdmin localhost
  DocumentRoot /var/www/app
  ServerName my.domain.com
</VirtualHost>

.htaccess:

Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/+(assets|cms|texframework)/?
RewriteCond %{REQUEST_URI} !(\..{2,4})$
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)$ index.php?navpage=$1&%1 [L]
RewriteRule ^(.*)/$ index.php?navpage=$1&%1 [L]
# Extra Security Headers
<IfModule mod_headers.c>
    Header set X-XSS-Protection "1; mode=block"
    Header always append X-Frame-Options SAMEORIGIN
    Header set X-Content-Type-Options nosniff
</IfModule>

Trying since like 4h to fix that.. maybe anyone has a solution/idea.

READ ALSO
why i am getting SMTP connect failed error in PHPMailer?

why i am getting SMTP connect failed error in PHPMailer?

I really don't know what's wrong in my codeI am creating contact us form by which user can send email to me

18
Use MacPorts PHP-FPM instead of from build

Use MacPorts PHP-FPM instead of from build

I've used MacPorts to install apache2, php73 and php73-fpm on MacOS MojaveI've updated by

34
Reduce memory usage for big database calls php

Reduce memory usage for big database calls php

I am using this script to cross reference data so that I can retrieve the right data from the database which requires 3 checks of which 2 are run within a for loop

46
Trying to Create WP Category Archive on Site the Uses Timber and AJAX Load More Plugin

Trying to Create WP Category Archive on Site the Uses Timber and AJAX Load More Plugin

I inherited a Wordpress website that uses the Timber templating engineI'm not overly familiar with Timber, but I've been able to learn enough to make simple edits to this point

12