Jump to content

Letterbomb05

Members
  • Posts

    55
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Letterbomb05's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, I'm looking to write a script that would limit access to certain computers or such using an IP whitelist or access list, or at least something along those lines. However, I am aware that IP addresses for most people are always changing, which would be a bit of a problem. Has anyone written one of these before or have knowledge on how this can be achieved? I'm not asking anyone to write one for me, just guidance on how to go about creating it Cheers.
  2. Hi, Before I start, this isn't strictly about the code itself so if this thread is in the wrong place, I'd be much appreciative if a moderator could move it. I've just been thinking about what would be more server-efficient (use less bandwidth etc) for use in a website when it comes to systems that I would usually use PHP to retrieve the info from a database, for example a news system. Usually I would have the users view the page and each time the page loads the information would be retrieved from the database... Now I'm not entirely clued up on how server intensive it would be to have these sort of systems where the information is constantly being retrieved from the database over and over for thousands of users, but I was thinking about if an XML system would work better for server-efficiency. Let's take the news system idea for example, I'd have an XML file looking something like this... <title>This is my news title!</title> <body>The main news!</body> <poster>This is who posted the news!</poster> Okay so you get the idea, PHP retrieves info from the file rather than the DB... I'm not sure if this would actually be worth it, hence why I'm doing the research Thanks for any replies, much appreciated! - Aaron.
  3. Hi, I'm having some trouble creating this list navigation that I want. I was just creating the main frame for the menu with ugly background colours etc. I'd rather not use tables, not sure if this will work though. <ul> <li class="MainHeader">Main</li> <li> <ul> <li class="link"><a href="">Link 1</a></li> <li class="link"><a href="">Link 2</a></li> </ul> </li> </ul> <br /> <ul> <li class="MainHeader">Main Header</li> <li> <ul> <li class="link"><a href="">Link 1</a></li> <li class="link"><a href="">Link 2</a></li> <li class="link"><a href="">Link 3</a></li> <li class="link"><a href="">Link 4</a></li> </ul> </li> </ul> <ul> <li class="MainHeader">Main Header</li> <li> <ul> <li class="link"><a href="">Link 1</a></li> <li class="link"><a href="">Link 2</a></li> <li class="link"><a href="">Link 3</a></li> <li class="link"><a href="">Link 4</a></li> </ul> </li> </ul> The problem is clear when seen in the Demo (Full CSS is found there). I'm working in XHTML Strict. I need to get the lists appearing below each other so I have the Header, the links below, then the 2nd header with the other links below that, no gaps. Feel free to ask questions if I havn't been clear enough, thanks in advance for any help! ~Letterbomb05.
  4. Thanks, I wouldn't use absolute positioning anyway; I've been there and done that along time ago. I'll use your advice and try and get things working, thanks for the help! ~Letterbomb05
  5. What your looking to do is to parse the news from http://www.runescape.com to display it on your website. For this you need PHP; not HTML. I assume you at least know the basics of PHP since your on PHPFreaks.com already.
  6. I am trying to achieve this sort of layout:
  7. Hi, I'm wondering if anyone has a solution to using divs like tables. Of course, I HAVE Googled this before posting, and the most popular result isn't really cross browser compatible; if I used the technique of display:table and display:table-row etc, my design would be screwed in even slightly older browsers. Thanks in advance for any help. ~Letterbomb05.
  8. Hi, I'm currently messing around with using PHP to use dynamic sigs for forums and such, however I've come across a bit of a problem using one of my images. <?php header('Content-type: image/png'); class sig { public function sig() { $image = imagecreatefrompng("sigs/blue_proto.png");; imagepng($image); imagedestroy($image); } } new sig; ?> Here is the image I am trying to use: And here is what happens when I use it in PHP: As you can see, for some reason the left size of my image gets cut off, and the transparency at the bottom seems to fail. This is my first time working with images in PHP, sorry if there is an obvious solution Thanks, Letterbomb05.
  9. Thanks alot, makes sense now I read it
  10. inline CSS was temporary, yeah tables was only method I had >_<
  11. Hi, I'm trying to find a decent way of creating a banner that will stretch, for compatibility with different screen resolutions. I have come up with the following HTML, however it doesn't work in IE, the middle repeating image tries to repeat on the y-axis aswell as x-axis, and therefore looks pretty bad. You can pretty much see what I'm trying to do from the source. <table style="width:100%;padding:0;border-collapse:collapse;margin:0;text-align:left;"> <tr> <td style="width:18px;height:170px;background:url('graphics/head_left.png') no-repeat;padding:0;border-collapse:collapse;margin:0;"></td> <td style="height:170px;background:url('graphics/head_center.png');"> </td> <td style="height:170px;width:13px;background:url('graphics/head_right.png') no-repeat;"></td> </tr> </table> If anyone has any ideas on how to fix this, or has a much better method, please share! Thanks.
  12. Hi, I'm currently trying to make this menu work the way I want it. It's a DHTML goodies menu, I'm just trying to get it to work in a way I want . The menu is made up of HTML, CSS and JavaScript. www.team-recoil.com/testing/menu.htm If you take a look at the page (all source code is there) I have the menu, which slides nicely, but the div that is to the right is below it, and moves with the menu. All I want is for that div to be at the same level as the menu, and not move when the menu is used. Basically I'd just like to have the menu work on its own without effecting anything else. Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.