Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
ecgoutlaw
New Member
New Member


Joined: Jun 23, 2006
Posts: 2

PostPosted: Sat Jun 24, 2006 6:32 am Reply with quote

I'm trying to make a block to display a webpage. Problem i'm having is the center block is too big and i want to resize it. here is the code i'm using:
Code:
<?php 


if (eregi("block-ogl.php", $_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}
$content = file_get_contents("http://www.worldogl.com/viewladder.php?compid=435");
?>


Where do i put in the width/height to make the block the right size?
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sat Jun 24, 2006 7:21 am Reply with quote

you cant simple put in some height and width somewhere...,this will never work.. Sad
and with file_get_contents you only get content,images and such wont show,and therefor missing..
i tried a few ways including frames but it trashes the site..

i suggest you contact the people from that site and ask for the file ..
 
View user's profile Send private message
ecgoutlaw
PostPosted: Sat Jun 24, 2006 7:23 am Reply with quote

thanx bud. i'll check on getting just the file from OGL.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©