Php Form Builder - Help file for include and other paths

PHP Version

Your PHP Version is 8.2.26

Solve Error 500

The correct include statement to include Form.php is the following:

include_once rtrim($_SERVER['DOCUMENT_ROOT'], DIRECTORY_SEPARATOR) . '/phpformbuilder/Form.php';

This is the default path used in all templates. You've got nothing to change.

Don't forget to revert true to false Line 15 to protect this file against unauthorized access

The variables below provide some useful debugging information about your server configuration

$plugins_path
/var/www/vhosts/anpagrossmarket.com/public_html/phpformbuilder/plugins/
$_SERVER['SCRIPT_NAME']
/phpformbuilder/server.php
$_SERVER['SCRIPT_FILENAME']
/var/www/vhosts/anpagrossmarket.com/public_html/phpformbuilder/server.php
$root_path
/var/www/vhosts/anpagrossmarket.com/public_html
$real_root_path
/var/www/vhosts/anpagrossmarket.com/public_html
$form_class_path
/var/www/vhosts/anpagrossmarket.com/public_html/phpformbuilder
$real_root_path
/var/www/vhosts/anpagrossmarket.com/public_html
$plugins_url
https://anpagrossmarket.com/phpformbuilder/plugins/