?

Log in

No account? Create an account
I've made a few p1mpt4st1c improvements to Muricated over the… - The Veritable TechNinja [entries|archive|friends|userinfo]
The Veritable TechNinja

[ website | ~/public_html ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jul. 21st, 2003|11:55 am]
The Veritable TechNinja
[status |geekygeeky]

I've made a few p1mpt4st1c improvements to Muricated over the weekend, I now support direct logins to the webmail server, plus I have neatokeen transparent GIFs and a background image.
Question: anyone know how to append the "@muricated.net" to the input from the text entry box automagically, so that the user can just type their username in the box, and the script will append the rest before it passes it to login.php?

In other news, I had a dream that I shot two cops last night, woke up when I was trying to hide the bodies unsuccessfully. Yeesh. Normally, my dreams consist of relatively boring social etudes, like being on a submarine with people from my grade school. Abnormality in dreams (in the context of abnormal dreams, not abnormal in terms of the real world) is rare for me.
linkReply

Comments:
[User Picture]From: shawboy
2003-07-21 10:00 am (UTC)
Well, if it was Perl, you could do something like:

$Username = $Username . "\@muricated.net";

or

$Username = join("", $Username, "\@muricated.net");

or

$Username = "$Username\@muricated.net";

Given that the variable $Username is the one the user entered in. I know it looks like your doing this in Phyon, but I figured it might give you a direction since langauges usually share commands and such...
(Reply) (Thread)
[User Picture]From: arcsine
2003-07-21 10:09 am (UTC)
I'd love to do it directly in PHP, but I'm code-dumb. I found some preformed Javascript that does the job, you can see it in the source of http://www.muricated.net/index.html . I've gotten it to default the host portion of the address in to the box, but I'd ultimately like to hide that to streamline logins and cut down on confusion.
(Reply) (Parent) (Thread)
[User Picture]From: arcsine
2003-07-21 10:24 am (UTC)
Err, make that URL http://www.muricated.net/index_html. Wow, Zope is weird.
(Reply) (Parent) (Thread)
[User Picture]From: angelopercieval
2003-07-24 05:11 pm (UTC)
I love messed up dreams where you shoot people. Actually, I seem to have loads of dreams where I get shot. Then again I keep having dreams about stuffed animals. Must quit smoking de crack before bed.

Angelo (Into de crack)

P.S.: Sushi, when?
(Reply) (Thread)