could be, but from this
if url == "www.123.com" then print "hello";
i thought it needs to be changable - not just the URL minus the www. and the .com and stuff.
Type: Posts; User: killerchutney; Keyword(s):
could be, but from this
if url == "www.123.com" then print "hello";
i thought it needs to be changable - not just the URL minus the www. and the .com and stuff.
Ok, not 100% sure if this will work, but im 99% ;)
The below code needs to be in the place of your title:
<title>
<?php
function getpage() {
$this_page = $_SERVER['PHP_SELF'];
ah!!! thank you very much. this just made it work!! (after changing a few things another forum said would work better). Thank you again thetestingsite and twey :D
I know how to make a bootable CD, as in a streamlined XP disk (with SP2 ready there). or do you want to make a bootable CD with your own content?
would that make any difference? I have heard that it might not work on some PHP installations, but everything in the header shows fine.
I have tried changing
$this_page = $_SERVER['PHP_SELF'];
to $_SERVER['REQUEST_URI'];
but the same result.
EDIT: after looking up REQUEST_URI on the php documentation, I think PHP_SELF...
footer.php gives me the same error.
but I have made an online example.
http://www.killerchutney.com/lol.php (aptly named :p) heres the page I need to detect through header.php.
heres the...
yes, thats it pretty much - but I need to use the output from that in footer.php
EDIT: ok, solved but came into a new problem...
lol.php (the file name I need to detect). header.php is included. header.php contains the script, and it needs to be here for asthetical reasons,...
hey all, I am trying to make a simple script that detects the URL, and changes some CSS attributes accordingly. I have done all the script, but I have encountered a problem. I could call the function...
http://img223.imageshack.us/img223/3175/errormessagebm7.png
I am writing this from a ubuntu live cd. I was just about to install xp on a second hard drive when the xp installer said that C: needs formating to continue the install. I tried to boot into vista...
http://tredosoft.com/Multiple_IE
Quite cool idea for multi IE version testing.
Why? My site is XHTML, and it renders fine in all browsers I have tested in. That includes IE6. I thought XHTML was a newer language, and W3C's reccomendation.
Solved! I found an IE hack.
From http://mcflied.piczo.com:
Just wanted to say that you are asking too much, and nobody will accept.
What you are asking is like a part time job - for an advert on a free hosted site.
Cool, I will use this for my games site, if its alright with you js.
Hi, I am using a CSS menu on my site, and my menu works fine - in every browser except IE6.(http://beta.killerchutney.com/indexnew.html)
For some reason it increases the top border size by 5px....
I have just finished my new design, no tables and CSS based. Looks perfect in every browser exept IE6.
IE6 completely destroys the layout and I have no idea why.
heres what its supposed to...
wow, what a sneaky attempt to boost google rankings. I could never have guessed if it wasn't for my 70 years of detective work.
Yes, pretty much. Theres no tutorial though :(
I
I have a movie clip on the stage that is dragable. Is it possible to blur the movieclip in the direction of movement when it moves?
So if I move it left fast, it would blur horisontaly..
...
erm...
Is the only one I know, did you forget the semi-colon?
The only other way I can think of is a spacer graphic, not the best solution I know but it should work. You can just...
If you want another, I'd be happy to make you one.
After all, I have beaten Blizzard - the flash master of DD. http://www.dynamicdrive.com/forums/showthread.php?t=17142 :P
No problem :)
erm... I'm sure you mean Firefox.
That would be Mozilla Firefox.