Log in

No account? Create an account
...:::.::. .::...:..
Moon Phase

February 2018
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28

Bruce [userpic]
I Fiddle Too Much

Well, I won't say it's finished, but the MySpace page is at least now not a complete embarrassment. I've even managed to make the page background over-busy!

If you feel like it, check it out - even become my fwend. I need all the fwends I can get.

But I also generally appreciate constructive criticism on layout, blurb content, that sort of stuff - as well as any recommendations of what I might be able to do with the blasted thing.

And that's been pretty much the only progress since my last post. I got to Trader Joe's, and bought a couple of things, but Costco had closed by the time I got up there.

In the process of adding the link data to my webpage, I discovered a bug, of sorts - an odd little dance between Apache's .htaccess and PHP. Essentially, I've been using .htaccess to separate out a different area of my website for korkaraoke.com - namely, the subdirectory "karaoke".

So if you type in "http://korkaraoke.com", it will actually give you the contents of "http://korkaraoke.com/karaoke/". Somewhere in the archives I ranted about the pain I went through to not make that cycle.

In general, I don't want the user to see that subdirectory name.

However, a couple of my contact pages use PHP header() redirects to load a different page in the case of success or error. The redirect requires an absolute address, and one way to keep things relative (and flexible), is to read the host and directory info from PHP's parameters. Unfortunately, they include that subdirectory.

It's not a huge deal - after all, I hadn't even noticed it, before - but if you send me, say, a contact message, all subsequent pages will be displayed as http://korkaraoke.com/karaoke/..., and there's not a lot to be done about that.

I may just put directory/host info in a file header somewhere - it's less flexible (and given the restrictions on putting out headers, very slightly tricky), but it's certainly better than hard-coding the domain-name into the scripts.

And now I think I've bored myself enough with that lecture that I can go to bed...

Current Location: The Duplex
Mood: blahblah
As an FYI...

The address for your MySpace page is http://www.myspace.com/korkaraoke, rather than the http://www.myspace.com/korkaraoke.com that your link is currently sending us to...

Re: As an FYI...



This is going to be sooo much fun...