-
Content Count
437 -
Joined
-
Last visited
Everything posted by leiaah
-
Wow! from what you guys are saying I suddenly wish I'm Irish or have descendants from Ireland. I'm from the Philippines, you see. Happy Saint Patricks' Day!
-
Thanks Mike! I'll try out the code! I figured I can make archives with these.
-
I've been planning to put up a blog on my site but I'm having trouble with how I should do it. I don't really know how blogs are made. Is it a database or a flat file? I know how to write to a file using PHP but I still don't know how to put the last entry on the top of the file. That's a big issue in the shoutbox I made for my site. If you look at it, the shouts keep appending at the end of the file and I want it to be on top.Can anyone help me please? It would be nice if you'd give me detailed instructions on how to put it up, with files or with MySQL.
-
Https I think are those pages that are secured or had been secured. I think I've read about it on article regarding Secured Socket Layer. It's suppose to keep the pages secure especially when you have on online business that conducts transactions that require secured pages. But then again I might be wrong. Try looking it up on web development sites.
-
Okay...I have a problem setting the location of the JInternalFrames on the center screen. I have this code that works well with JFrame and sets the location of that frame to the center of the desktop screen. The code:frame.setLocationRelativeTo( null );Does anyone know how to do it with JInternalFrame? Thanks in advance.
-
Actually I just created the script for the blog. It's just a text file and I didn't use any MySQL mainly because I don't know much about it yet. Is it okay if it's just a flat text file, not database?
-
Intel Celeron 1.something GHz512 DDR15 " Sampo MonitorSome generic speakers56K ModemAsus 52x AOpen 52x 24x 52x HP 3___ printerWindows XP ProI know...I'm planning to buy a new set when I have the money. I won't junk this though. It still works fine and I don't play games so I guess it's relatively not bad.
-
I'm not very poetic but I like it. It's nice and sweet. Do you like poems by Pablo Nerruda? Our class had an analysis of his works last semester and at first I couln't quite understand them and it took awhile before the meaning sinked in but they're nice. But I guess you've heard of them. Nice work!
-
I have always been interested in the Internet and the World Wide Web ever since my brother introduced it to me a few years back. I liked the fact that you can be easily transported to another place while looking at visually appealing web sites. I didn?t know it then but that incident eventually lead me to my course in college. After school hours in high school I was always going to a local internet caf? and I would spend hours doing nothing but surfing and chatting. Eventually after that I started to design web sites. It was harder then because I didn?t have a computer of my own and I had to rely on computers of internet cafes to do all my designs and publishing. I had indeed published web pages during those times but as I look at them now I realize that they really weren?t something that I can be proud of. They looked perfectly okay before but once you see other designs you sort of know that others had done something far better than what you did. I?m not saying that I do great designs now but somehow I think I have improved in more ways than one.So I?m in college. I currently have a vague picture of myself and what I?d do years after graduation. There isn?t something that I particularly plan on doing in the near future but I do consider a possible career in systems development. I am not closing my doors on anything at the present and if I can make a career out of my web design skills then that would be more than nice for me because I find developing web sites easier and more liberating than developing system softwares.Oh I'm rambling on...the story doesn't end here but I might regret saying too much here so...I'm out!
-
The book I recommend is Java How to Program Third Edition by Deitel and Deitel.I like it a lot because it's very detailed and it has sample programs that are easy to understand. Also, it's very substantial and it covers most of the topics that you need to learn in Java. Trust me on this one. It's a good buy. Good luck!
-
My First Sig From A Long Time Ago about 2 1/2 years... lol.
leiaah replied to Good Grief Graphics's topic in Art & Creativity
It doesn't look that bad. Mine looked a lot worse when I startes. -
Isn't it annoying when occasionally you find yourself staring at a blank adobe photoshop document and nothing that remotely resembles an inspiration comes to your head? It's as if your creative mind has gone on a hiatus and you are left with a brain that's gone dry.What do you do? Drink coffee? Rest awhile? Jog around your block?
-
How do you mean submit? Are you a member already of Xisto? If you are then you can try uploading your pages using ftp if not using the file manager in your cpanel. I don't quite know what you mean but I hope I helped...or did I complicate it more?
-
Simple Shoutbox? I only know the echo part of php...
leiaah replied to Joshthegreat's topic in Programming
here's the code I use in mine.I DON'T KNOW IF THIS IS THE EASIEST CODE OUT THERE BUT IT MIGHT HELP. //FORMS PAGE / SHOUT BOX ENTRY<html><head><title>shoutbox</title><script><!--/* clears default values from input boxes */function clearText(thefield){if (thefield.defaultValue==thefield.value)thefield.value = ""}//--> </SCRIPT></head><body bgcolor="#B1BB96"><form action="goguest.php" method=post> <table border=0 style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0" width="89"><tr> <td width="112" align="left"> <p align="center"><font face="Trebuchet MS" size="1" color="#B9C49C"> <input type="text" name="name" onfocus=clearText(this) size=20 maxlength= 30 style="border-style:solid; border-width:1; font-family: Trebuchet MS; font-size:8pt; padding-left:4; padding-right:4; padding-top:1; padding-bottom:1; background-color:#B9C49C" value="your name"></font></td></tr><tr> <td width="112" align="left"> <p align="center"><font face="Trebuchet MS" size="1"> <input type="text" name="message" onfocus=clearText(this) size=20 maxlength= 100 style="border-style:solid; border-width:1; font-family: Trebuchet MS; font-size:8pt; padding-left:4; padding-right:4; padding-top:1; padding-bottom:1; background-color:#B9C49C" value="your message"></font></td></tr><tr> <td width="112" align="left"> <p align="center"><font face="Trebuchet MS" size="1"> <input type="text" name="url" onfocus=clearText(this) size=20 maxlength= 100 style="border-style:solid; border-width:1; font-family: Trebuchet MS; font-size:8pt; padding-left:4; padding-right:4; padding-top:1; padding-bottom:1; background-color:#B9C49C" value="http://www.your-url.com/;</tr><tr><td align=left width="96"><font size="1" face="Trebuchet MS"> <INPUT class=button type=submit value="shout" name=Submit style="float: left; font-family:Trebuchet MS; font-size:8pt"> <INPUT class=button type=reset value="reset" name=Submit2 style="float: left; font-family:Trebuchet MS; font-size:8pt"></font></td></tr></table> </form> </body></html>//PROCESS ENTRY FROM THE FORMS PAGE<?php //create short variable names $msg = $HTTP_POST_VARS['message']; $nme = $HTTP_POST_VARS['name']; $url = $HTTP_POST_VARS['url']; $DOCUMENT_ROOT = $HTTP_SERVER_VARS['DOCUMENT_ROOT'];?><html><head> <title>GuestBook Results</title></head><body bgcolor="b1bc94" "><?php $date = date('H:i, jS F'); if( $nme == "" || $msg == "") { echo '<p><font face="Trebuchet MS" size="2">You did not fill in all the fields!</font></p>'; echo '<p><font face="Trebuchet MS" size="2"><a href="guestbook.htm">back</a></font></p>'; } else { $outputstring = '<i><font color="#A9300D"><a target="_blank" style="text-decoration: none" href="forums.xisto.com'.$url.': ".'</font>'.$msg."\n"; // open file for appending $fp = fopen("guest.txt", 'a'); flock($fp, LOCK_EX); if (!$fp) { echo '<p><font face="trebuchet ms" size="2">The message could not be processed at this time. ' .'Please try again later.</font></p></body></html>'; exit; } fwrite($fp, $outputstring); flock($fp, LOCK_UN); fclose($fp); echo '<p><font face="trebuchet ms" size="2">Thank you...Please reload your browser to see your addition</font></p>'; }?></body></html>//VIEW ENTRIES<?php //create short variable name $DOCUMENT_ROOT = $HTTP_SERVER_VARS['DOCUMENT_ROOT'];?><html><head> <title>Guestbook</title></head><body leftmargin="5" bgcolor="#B1BB96" vlink="#535353" link="#535353"><style><!--body{scrollbar-face-color: #B9C3A0;scrollbar-shadow-color: #B9C3A0;scrollbar-highlight-color: #b1bc94;scrollbar-3dlight-color: #B1BC94;scrollbar-darkshadow-color: #B9C3A0;scrollbar-track-color: #B1BC94;scrollbar-arrow-color: #000000; }--></style><?php@ $fp = fopen("guest.txt", 'r'); if (!$fp) { echo '<p><font face="trebuchet ms" size="1">No guests yet.</font></p>'; exit; } while (!feof($fp)) { $guests= fgets($fp, 999); echo '<font face="Trebuchet MS" size="1">'.$guests.'</font><br />'; } fclose($fp);?></body></html> -
Anyone Around To Challenge Me? Ha I Guess Not. I am Canute.
leiaah replied to canute24's topic in Introductions
it's 3 am here in my country. you migt be the most active member here but i think i qualify for one of the most umm...dedicated? hehe! 8 hours? that's a lifetime! -
I'm sorry about your brother. I have a brother too and we don't see eye to eye on certain things and there are times when he just annoys the crap out of me but I sort of feel lucky that he is not in the same situation with your brother. I wish he would come to his senses and come back home. Hopefully then he'd agree to get some treatment. I know that doctors don't always advise patients to go to an actual rehab. Sometimes they just offer some therapy and counseling so it might not be that scary for him...but then again I don't really know how deep his dependence is. If you say it's only been 2 months then it might not be that bad.I hope things turn out for the best.
-
I survived 12 years without knowing the internet and 16 years without a cellphone so i think I'll manage just fine. I agree with Canute24. If it would really happen it won't take very long for man to restore it or replace it. By then I'll just have to wait and see what these geeks come up with since I'm not too handy when it comes to computers.
-
And what a vent that was Spathi! I feel sorry for you. There are a lot of benefits going to a real school. I went to a Catholic private school in high school and I made a lot of friends. You don't feel as confined as being at home. Does your brother do home-schooling too? About your brother bit, I don't always like mine but we shouldn't be wishing for something bad to happen to them like getting stabbed or shot. Just a suggestion.Hope things turn out for the best for you.
-
I don't like 50 cent too. His muscles don't look real. It's as if it's full of air or something. I am not trying to be mean or anything but I don't like his music too. Hip hop tends to be a bit FORMULAIC at times. They talk about the same things over and over again like sex and women, bling bling, being shot, dissing. I mean it's pretty much about the same thing. How many times have I heard the line 'As I walk in the valley of the shadow of death' (or something like that). I'm not saying I don't like all of them because there are those who still stand out and are different but come on they stress about the same things.Was Eminem's song toy soldiers about the Ja rule - 50 cent feud?
-
What Are You Listening To? yeah I am surprised it isnt up here
leiaah replied to spawn_syxx9's topic in Art & Creativity
When I'm having a last song syndrome, these usually are in my head:The Killers - Mr. BrightsideThe Strokes - 12:51Jewel - What's simple is true Liz Phair - Why can't I? -
I have four. One for different software programs, another for my mediocre creations, one for my school projects and another for games. Roughly around 10GB per partition.
-
Instead of pop-ups why not Google Adsense? I think its the same principle. You get money if visitors from your site click the link and purchase something. Amazon and Ebay does the same thing too, I think. They're not as annoying as pop-ups.
-
A friend gave me this code and I'm yet to try it. She said this only works for audio files. <EMBED src = "SONG.MP3" width = "145" height = "25" LOOP = "true" AUTOSTART = "true">Do you know any codes for putting a media player on a page to view videos?
-
I really love the <IFRAME> tag. I use it a lot in my website especially for shoutboxes. I use to wonder how it's done and I thought you use a lot of frames for it but it's actually quite simple. You may paste this code in a table/cell and then just change the values of the width and height. <IFRAME name= main src="main.htm" frameBorder=0 width="334" height="311" marginwidth="0" marginheight="0"> <font size="1">Please get Netscape 6.0 or Internet Explorer 5+ to view this page</font></IFRAME> It would look nicer if you have changed the color of the scrollbar. Message from snlildude87: leiaah, please put all code in the code () tags for better readability.
-
Talk About Favorite Online Games GunBound is a free, multiplayer game
leiaah replied to gunbound's topic in Computer Gaming
I used to play flash games from nickelodeon.com . Gun bound is pretty big here in the Philippines. Also Ragnarok and MU. I don't know if you guys heard of them but my classmates are willing to skip school to play. gunbound are you Pinoy?!!