Regarding to [url]http://www.linksandlaw.info/Impressumspflicht-18-oesterreich-impressum.html[/url], you just have to put there your name and where you live(town is enough).
Fuck germany. :|
Okay, 5px higher, I think il start on the content tommorow.
[IMG]http://i205.photobucket.com/albums/bb139/chrishind10/portfolio5.png[/IMG]
But it looks the same...
Looks like ass. no offence bro
[QUOTE=turb__;22540920]Looks like ass. no offence bro[/QUOTE]
Yeah but with a little effort it could look much better.
Ugh, photobucket is fucking around and cacheing deleted images again, il just FTP them onto my own server in future.
[QUOTE=chrishind10;22541444]Ugh, photobucket is fucking around and cacheing deleted images again, il just FTP them onto my own server in future.[/QUOTE]
How about you use [url]http://anyhub.net[/url] .
I just figured out that I block half of the links from being clickable with that header. :|
z-index isn't really working, so I guess there's no way around turning it into a sprite, which acts as a background for the header and navigation.
Edit: Fuck, that doesn't works too. FFFFFFFUUUUUUUUUUUUUUUU
Edit2: I shouldn't work on my site in the middle of the night, ofcourse it doesn't works when it's still positioned relative. -.-
Edit3: Now it does. :3:
[QUOTE=Torekk;22541564]I just figured out that I block half of the links from being clickable with that header. :|
z-index isn't really working, so I guess there's no way around turning it into a sprite, which acts as a background for the header and navigation.
Edit: Fuck, that doesn't works too. FFFFFFFUUUUUUUUUUUUUUUU
Edit2: I shouldn't work on my site in the middle of the night, ofcourse it doesn't works when it's still positioned relative. -.-[/QUOTE]
If you tell us what problem you're having I can help you.
You most likely want the header image over the content area, in which case you do
[code]
<div id="wrapper">
<div id="header"></div>
<did id="content">CONTENT GOES HERE</div>
</div>
[/code]
[code]
#wrapper{
margin:0 auto bla bla bla;
position:relative;
z-index:10;
}
#header{
background:top left url('path to image') no-repeat;
width:width of image px;
height:height of image px;
position:absolute;
top:0;left:0;
z-index:30;
}
#content{
position:absolute;
top:50px;left:0; /* mess with this */
z-index:20;
}
[/code]
or something.
Looks like Mod Outlet could be my last PHP development, been looking into Lua servers etc a lot recently, seems there are enough modules around to develop full websites in Lua, plus a sense of 'doing it all yourself' compared to PHP which comes with everything you need in a nice package.
Plus, the Lua syntax is rather sexy, as is it's metatable system. Then, of course, there's the huge speed increase (particularly with LuaJIT).
[QUOTE=Fizzadar;22548294]Looks like Mod Outlet could be my last PHP development, been looking into Lua servers etc a lot recently, seems there are enough modules around to develop full websites in Lua, plus a sense of 'doing it all yourself' compared to PHP which comes with everything you need in a nice package.
Plus, the Lua syntax is rather sexy, as is it's metatable system. Then, of course, there's the huge speed increase (particularly with LuaJIT).[/QUOTE]
I'm pretty sure thelinx did a webpage with lua already. (and I'd love to do so too :iia:)
€dit: Is the favicon on my site working? It won't show up for me :(
[QUOTE=The-Stone;22549518]€dit: Is the favicon on my site working? It won't show up for me :([/QUOTE]
Yes
[QUOTE=The-Stone;22549518]I'm pretty sure thelinx did a webpage with lua already.[/QUOTE]
More or less, yeah.
Anyone know of a good tool for benchmarking webservers? I wrote one myself a couple of years back, just wondering how it compares performance wise to something like Apache/lighttpd/nginx.
You could use a PHP script that measures the amount of time it takes to execute a function? perhaps Pi to 1000 decimal places or something.
EDIT : scratch that, PHP can only do Pi to 49 digits.
[code]
<?php
$precision = 49;
ini_set("precision", $precision);
echo pi(); //will output 3.141592653589793115997963468544185161590576171875
?>
[/code]
[QUOTE=chrishind10;22553063]EDIT : scratch that, PHP can only do Pi to 49 digits.[/QUOTE]
No shit sherlock, have you got a supercomputer to calculate PI to x digits every time you use the constant?
[QUOTE=sseug;22542127]stuff[/QUOTE]
I tried that, but wasn't working. What I now did was just adding the navigation background to the logo image, and then use it as a sprite.
Does anybody know how i can get linebreaks in syntaxhighlighter?
I'm loading the stuff from a database by the way, i've tried \n and <br />.
Here is a how it currently looks: [url]http://dylan.dedisrv.eu/arduino/1[/url].
[QUOTE=ddrl46;22554761]Does anybody know how i can get linebreaks in syntaxhighlighter?
I'm loading the stuff from a database by the way, i've tried \n and <br />.
Here is a how it currently looks: [url]http://dylan.dedisrv.eu/arduino/1[/url].[/QUOTE]
[code]&crlf;[/code]
?
Not working, it just prints &crlf;.
Working on an Xbox Live sig maker.
[URL]http://hogofwar.co.uk/experiment/xbox/drawing.php[/URL]
Current features include:
[LIST]
[*]Caching of avatar pictures (not the character things just the square thing)
[*]Country display (only a few supported
[*]3 recent games display
[*]Gamerscore
[*]Reputation meter (the green bar(need to mark it out))
[*]Current online/offline status
[*]Current gamer stance thsing (pro, underground, rec, family)
[*]Transparent background
[*]Black/white text choice
[/LIST]
Will soon be caching the games pictures
You can see the previous versions in the same folder as draw2.php and draw.php (to change the gamertag used just add ?gt=GAMERTAGHERE )
Another thing I am working on is FunkyPHP (a simple php framework) [URL]http://funkyphp.googlecode.com[/URL] Going to add on a database funk soon.
Ignore what i asked, i was stupid.
[QUOTE=turb__;22554064]No shit sherlock, have you got a supercomputer to calculate PI to x digits every time you use the constant?[/QUOTE]
[URL="http://www.apfloat.org/apfloat_java/applet/pi.html"]http://www.pisymbol.com/apps/picalc/[/URL]
1000 digits in 0.1 seconds. And FYI a Phenom II quad core is not a supercomputer.
[QUOTE=chrishind10;22555372][URL="http://www.apfloat.org/apfloat_java/applet/pi.html"]http://www.pisymbol.com/apps/picalc/[/URL]
1000 digits in 0.1 seconds. And FYI a Phenom II quad core is not a supercomputer.[/QUOTE]
[code]
Final value took 0.023 seconds
[/code]
:mmmsmug:
Damn, beaten! :)
I'm sure its because im running Dreamweaver, Skype, Steam, Filezilla, Winamp, GIMP, IE, MSN, Firefox and Chrome at the same time.... or is that a crap excuse?
[QUOTE=chrishind10;22555372][URL="http://www.apfloat.org/apfloat_java/applet/pi.html"]http://www.pisymbol.com/apps/picalc/[/URL]
1000 digits in 0.1 seconds. And FYI a Phenom II quad core is not a supercomputer.[/QUOTE]
100 ms delay for using pi? No thanks.
Its not as if its running a vital part of a website, its just a Benchark which is meant to put the server under strain and get statistics.
Besides, if the Pi() function has limitations like that, just write out an equation instead.
Best I could get is 0.03 seconds with shitload of programs running in the background (E8400 @ stock).
After closing few programs I managed to get 0.027s when using a precision of 1000.
After closing everything, mananged to get 0.015s.
Hey guys, this might be a stupid question, but how do I access files on my server that aren't in 'public_html/' using PHP?
I thought '/' would be the root folder that contains 'public_html/' but apparently it isn't, instead it's '/home/nullular/'. I can't see that directory when I use an FTP client and connect to my site. Is this because because I'm on a shared server?
So, where would I put a file that the public shouldn't be able to access, and how would I retrieve it with PHP (meaning, how to reference the directory)?
[editline]01:23PM[/editline]
Once again, sorry if it sounds stupid, but I'm a little confused.
[QUOTE=nullsquared;22558238]Hey guys, this might be a stupid question, but how do I access files on my server that aren't in 'public_html/' using PHP?[/QUOTE]
Edit the open_basedir setting.
Sorry, you need to Log In to post a reply to this thread.