PDA

View Full Version : bad hack


pstdgt
08-14-2002, 10:40 AM
VB URL: http://www.softnews.ro/forum
VB version: 2.2.2
PHP version: 4.2.1
MySQL version: 3.23.51
==============================
I am trying to include some information in the forum header using the phpinclude portion of the templates...
---
i did something like this in phpinclude:
include("/path/to/script.php");
---
that script sets a variable $COOLSTUFF which is displayed in the header template.
---
the information is properly displayed .. but after that it is impossble to send PM's...
i get a "please complete all the fields" error.
---
i also tried to include the script in the way suggested in phpinclude:

ob_start().. etc.. same problem..
-----
if i remove the include().. then all works ok so my script is the problem :( ... so . anybody? help? please? :D
==============================
the script can be found here http://www.softnews.ro/sorin/news4forum.zip

pstdgt
08-17-2002, 11:37 AM
nevermind i solved it myself...