It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

Problem with include();

Moderator: Malcolm

Problem with include();

Postby flabbyrabbit on Sun Aug 17, 2008 4:12 pm

I am currently working on integrating my existing site with phpBB3. I have got the registration coding working perfectly, so i can add members to my forum. But when I insert this code into my registration page of my main site it throws up errors!!

I have narrowed down the problem to the includes. The script i'm using includes a few pages from phpBB, this then affects any code below it. Is there a way of including a file and then unincluding it? Or anything else similar?

Flabby Rabbit
Image
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England

Postby npsari on Mon Oct 13, 2008 5:30 pm

Why not use an iframe

Code: Select all
print"<iframe name=\"frame\" id=\"InlineFrame\" src=\"\" frameborder=\"0\"  style=\"width:100%;height:380px;z-index:0\" >Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>";


It will open two windows, but it will do the job
npsari
 
Posts: 19
Joined: Thu Mar 08, 2007 7:14 pm
Location: England


Who is online

Users browsing this forum: No registered users and 0 guests