Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Aug 2002, 10:43
Powerless Powerless is offline
 
Join Date: Aug 2002
Unhappy How do i add this php code to headers

How do add this Php code to headers in other to read from a file, thanx in advance


<?php
$fp = fopen ("/home/theplacement/public_html/forum/storepl.cpl", "r");
$bytes = 900000;
$buffer = fread($fp, $bytes);
fclose ($fp);
print $buffer;


?>
Reply With Quote
  #2  
Old 08 Aug 2002, 11:32
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Powerless, please go to this page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

[email protected]
Reply With Quote
  #3  
Old 08 Aug 2002, 17:08
cybrcyfr cybrcyfr is offline
 
Join Date: Aug 2002
I have the same issue... And I am a registered user...

I recently purchased vB and have the same issue!

I need to have a conditional statement in the header...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Help!
Reply With Quote
  #4  
Old 08 Aug 2002, 17:47
cybrcyfr cybrcyfr is offline
 
Join Date: Aug 2002
That was a pain!

Ok, got it working after a few hours.

Had to do everything in the "PHP Parsed Code", and create a bunch of string variables and write them out to the headers. It doesn't really follow the development style of the site, but I guess it works...

Parsed Code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Header Code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple code for Welcome headers Gsmdenis vBulletin 3.6 Add-ons 6 19 Mar 2007 17:41



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:43.

Layout Options | Width: Wide Color: