15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Wordpress' PHP Header/footer

Page  Page 2 of 2:  « Previous  1  2  
Author Guest_Rik
#16 | Posted: 9 Mar 2007 06:46 
X-Powered-By: PHP/5.1.6 Content-type: text/html

remove X-Powered-By: PHP/5.1.6 Content-type: text/html

do not show X-Powered-By: PHP/5.1.6 Content-type: text/html


Non of them had a result I could do something with.
Finally I solved it by using substr (I guess that's a really bad solution)

Author Paul
Lead Developer
#17 | Posted: 9 Mar 2007 07:52 
I see now.

Don't know where you've got a knowledge to enter specific phrases in search - I would recommend to enter a common phrase, containing as more specific words as possible, without the words "do", "not" etc... PHP version may differ as well. If you'd enter for example "hide X-Powered-By Content-type: text/html" you will find the same page.

But I'm not really supposed to give a teaching in search :-)

Though I didn't understand how "substr" is involved here.

Author Guest_Rik
#18 | Posted: 9 Mar 2007 09:59 
Instead of returning $res i use substr($res, 48) in the function.
I know it's a real bad solution but it was all I could get up with at the time :)

Don't mind the search lesson. I'll keep it in mind. :-)
I feel stupid now that I didn't come up with hide

Author Paul
Lead Developer
#19 | Posted: 9 Mar 2007 10:55 
By substr - do you mean PHP function? I can't understand HOW could you apply PHP function to the output generated by Apache. It's useless. Or are you making ob_start() / ob_end_fliush() some way?

Author Guest_Rik
#20 | Posted: 9 Mar 2007 11:55 
Yeah the function.
I was also surprised it worked but it does work.

I didn't do anything else than change $res in substr($res, 48)

Author Paul
Lead Developer
#21 | Posted: 14 Mar 2007 05:01 
Ok it still seems not very clear for me, but glad you've fixed it.

Page  Page 2 of 2:  « Previous  1  2 
Specific miniBB Support Forums / Specific / Wordpress' PHP Header/footer Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB