• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

PHP GD output

RampantAndroid

Diamond Member
OK, so I'm coding something for a friend to use on a forum (display something in his signature) that is generated every time it is viewed. Thing is, the forum he wants to use this for only displays certain image types inside the bbcode img tags...but it won't display a .php file. How can I get my script to display in there?

One option someone proposed was this:
AddType application/x-httpd-php .php .png

For the apache web server...but then it executes ALL png files...which he won't want.

Any clues?

Thanks!
 
How would I go about that?

What would the htaccess file need to contain?

For testing, I just set my allowoverride to all in my http.conf file...is that all I need to allow this?

Thanks.
 
If you just put the line you listed into a file called .htaccess (you can do it with any text editor), then put it into a folder along with the php file, it will work. You don't need it in the conf.
 
Yeah, but that doesn't work...from what I've read, for the htaccess files to work you need to set what they are allowed to do in the http.conf file?
 
Back
Top