php form - script file.php

gilles.cloutier

New Member
hi,
i thought that that script file should begin with <?php
obviously i'm wrong...
HTTP ERROR 500

so, i tried
<?php
return;
HTTP ERROR 500
 
Where in the form are you trying to put this? If it is a php plugin and you are calling a php script file instread of placing the php inline, then yes, the file needs the <?php at the start.

Please provide more information on what it is you are trying to do.
 
yes, it is a php form plugin
we use it in a form as a plugin
before the form data is loaded
the script file php is in the plugin directory with dump.php and is selected in the plugin
the script file starts with <?php
HTTP ERROR 500

without <?php, the form displays all the script file in the form

i try to use php but i cant get there, i downloaded the last plugin form php to try, same result
perhaps this plugin form php cant run php from script file, what else?

...probably directory access...
 
Last edited:
I suggest turning your J! debug mode to Development and try again. This might give you an idea of what the problem is.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top