minnieadkins
Members-
Content Count
307 -
Joined
-
Last visited
Everything posted by minnieadkins
-
I agree, notepad is traditional, and it's good for simple stuff. It's nice to have syntax highlighting and good tabbing. Notepad ++ is what I use. I find it to be a very good free editor. Tabbing is great, has lots of extra features such as searching by using regular expressions. Syntax highlighting is good too. Help isn't so great on it, so you have to figure out stuff on your own. Which it's not too complicated to use the simple stuff. I use to use HTML kit, which you can get at download.com The tabbing was a bit weird but i found the preview to come in handy for standard html documents. As far as wysiwyg editors, I'd try dreamweaver. Haven't tried it, but I hear it's good. Cuts down on a lot of trivial coding I hear. Good Luck.
-
I ran out of space, so I started looking into external hard drives. They seem to be pretty good, but there are sepecific reasons that I need the hard drive for. I have a 120 gb, and it's fine for my home use of gaming/media/apps. Everything's good. But after several games and several apps I have no room for media. So I thought about it, and my wife has a 60 gb hard drive, and also has a lot of the same media. I thought, why not get an external hard drive, about 200 gb or so, and store all the media on a single drive then share it between both computers. First off, she has usb 1.1 and I have 2.0. I think you can buy a card for USB 2.0, so if I needed I could probably upgrade her pc and havea couple of ports. What I need to know is: Is this possible?Can both computers access the hard drive at the same time, and play the media at the same time?Can it be done w/o networking, but by plugging 2 usb cords into the same external hard drive?I've never done anything like this before. I've always had internal hard drives, Should I just buy a 200 gb hard drive for myself and add the 120 gb to her pc and leave the media file seperate. Just wondering if anyones tried soemthing like this. Seems kinda redundant to have the same media files on multiple computers on the same network. Any other ways of solving this problem are greatly appreciated.
-
I played half-life a few years back. I never got into it. So, since Half-Life 2 was out, I decided to beat half-life 1 and try out half-life 2. After a couple of weeks, I beat half-life 1. It's an amazing game. Very very good for it's time. Good story, great action. Everything was cool. I then started playing HL 2. Of course, the graphics were different. I went online and looked up a few images, and found comparisons from the characters of HL1 to HL2, and it showed what they looked like in each game. Amazing how far it's come. The graphics blew me away. Then started the gameplay. Thus far it's been exciting. There's been a lot more guards then aliens so far, but I'm only on level 4 or so. It's been pretty good thus far, and I can't wait to finish it. Hopefully I finish it . I would recommend that anyone who likes a good FPS to give it a go.
-
Lol, I agree, strange post. Anyways, I haven't played that one, I've only actually played the warrior within. Very difficult game, but visually stunning. A lot like Ninja Gaiden. I find it hard to get into these games like I do with some others, but they're fun to "mess around" with.
-
I think he's doing a fine job, and perhaps his comment of "ladies" sigs is a little off the mark, but what do you associate a "boy's" sig with. It's just typical to associate pink with ladies. Not all "ladies" like pink, but I would put my money on a larger majority of ladies like pink more than the majority of boys. It's not sexism, it's statistics. It's not as if he said, only the ladies can use these sigs. I'm sure he didn't mean it in anyway offensive. Don't take it to heart guys, he's just trying to be creative and learn at the same time. As for bandwidth perhaps he should just start linking his sigs rather than displaying them. I don't know about that one, but that seems logical. I noticed a lot of threads like this one, so I would assume that all those images would stack up. It was just a thought. As for the sigs, a little bolder font would make it look pretty nice in my opinion, but I'm no graphic designer.
-
PHP Script To Upload A File with password-protection.
minnieadkins replied to Vyoma's topic in Programming
According to his post, he can't use ftp because the cafe blocks it, or allows only the read permission. I would personally recommend using a pre-made script to upload files. You can find them floating around. ex. from hostscripts, it's freeware http://www.hotscripts.com/category/scripts/php/scripts-programs/file-manipulation/upload-systems/ I haven't looked at it, but it's probably self explanatory if you read the info's and readme's. Then I would just put an authorization on the top of the page and wrap everything in an if/else. If you're going to be the only user then I would use $_SERVER['PHP_AUTH..'] variables. Example: Modify the code for the upload script that you download header('WWW-Authenticate: Negotiate');//taken from php.netif($_SERVER['PHP_AUTH_USER']=='EXAMPLE' && $_SERVER['PHP_AUTH_PW']=='EXAMPLE'){/* validate login, someone correct me if these are wrong variables, variables taken from php.net, I think they work for most versions of php */ /*************here is where your codefrom the downloaded scriptto upload files will go*************/}else{//!End of if there's a valid login echo 'bad login';/* or use unauthorized page or w/e u want, redirect them to google! :P*/}//!End of if there's a bad loginYou would login by USING: EXAMPLE/EXAMPLE It's case sensitive of course. Now that would be a simple way of doing it, and probably wouldn't be too secure, and you would have to browse around to find a pre-made script with some functionality and probably modify it under the GPL or whatever agreement it has. Good luck with it. -
What Language Should I Use For My Game? Text based
minnieadkins replied to lonebyrd's topic in Programming
It depends. If you have an account at Xisto, I think they provide you with a your choice of MySQL or PostGresSQL, or both. All in all I have used both. I haven't designed any databases, but PostGresSQL seems to be somewhat better in some reguards. I don't personally know all the differences in it, but you should probably google it and do some research before you decide. One difference I've heard a lot about is inhertiance. I don't know if the new version of mysql offers it, but postgres does. So, depending on what game type you wanted, if you chose rpg you could create a table that holds fields like race, age, sex, name, etc. Simple characterstics that belong to all every class in your rpg. Then you could create other tables that inherit your previous table that have specific characteristics according to their class. In D&D types of games Orcs are obviously different than humans or elves, so you could probably think of a few characterstics that are different, probably to do with damage or something. Once you decide, either use Xisto (or other free web hosting or w/e you want) and start learning. You will have to install it if you want to do it locally, so I don't know what WAMP comes with, but probably php, apache, and mysql. You'll have to install PostGres manually more than likely. Just as mysql has phpMyAdmin, postgres has phpPgAdmin. I like them both, but one of my professors says that he likes phpMyAdmin better. It apparently has a lot more features. For me, I find them both adequate, but after using phpPgAdmin for awhile, it seems more logical the way it's layed out rather than phpMySql. Good luck, and if you need help installing it, you might find someone to supply you with the commands to add to your .ini's and .conf files in order to make postgres work with php by altering your WAMP configurations. That is if it's not installed already, I've never used WAMP. I don't know much about the pictures either, but you want to store pictures on your database? I've never done that but it sounds interesting. I personally just use an upload script and upload them then have the url's to each image written to the database. Can you actually encrypt the image and store it? Good Luck. -
I'm taking a general education course about history in the past 500 years. We were talking about columbus (1492), and about how the natives of North America were mistreated, how they responded, and their cultures. One of the tribes practiced cannibalism. They shared a similiar religion with another group of people whom I will name at the bottom of my post. They practiced cannibilism because they wanted to "take-in" all of the wisdom that their elders had obtained. They didn't do it for pure joy or anything, which is what this post pertains to, but they did it to become (or so they thought) more intelligent.They shared their beliefs with another religion. That religion was Christianity. It may sound strange, but it was a spinoff of it. Christians don't practice cannibalism, do they? Does the word communion mean anything? Don't get me wrong, I'm personally a Christian, but it's just a strange concept IMO.
-
Best Way To Learn Javascript I would very much like to know.
minnieadkins replied to Ayla1405241517's topic in Programming
As my professor always says. "The best way to learn programming, is to do it." Study the Document Object Model, and you'll get a basic understanding of how to access content via javascript. The language itself is very similiar to any other scripting language. Like mentioned before, PHP would probably be a better choice, but if you want Javascript for a reason, it's always good to know. I recommend looking at online tutorials and finding examples. The one thing about javascript is it's hard to debug. Mozilla Firefox has a javascript debugger that works alright, and firefox has the extension, but it's still aggrivating to debug. I definately suggest using firefox because it has the javascript console over internet explorer to develop javascript. Some places to find a good primer are http://www.htmlgoodies.com/ http://www.w3.org/TR/REC-html40/interact/scripts.html Just look into the DOM and event handlers. That plays a large role in javascript. As far as advanced Javascript, I have no idea. I would like to know myself. -
I watched something on MTV about a guy that played Smash Bros. It seems to be one of the most popular games for the GameCube. I don't personally play it, but it does look like an interesting game. Let us know how you do in the tournament.
-
How Much Would A Home Wireless Network Setup Cost ?
minnieadkins replied to SileZigns's topic in Computer Networks
Seems like everything is taken care of, but I'll tell you what I did. After consulting many people on the forum, I ended up with a Linksys 802.11g router. I bought a 802.11b card...my mistake there , but it was a nice card and works fine with my connection 1.2 mbps. Everything went smoothly except for my wired connections. I had some trouble with one of the computers finding the router. I think I had ICS on, because once it off everything went alright. The router was about $45, and the card was about $40. If you have a wired connection already, and you notebook (or desktop) has a wireless pci card already it'll just cost you the cost of your router. Expect about $40-$60. I saw a nice card for about $20, I probably would have been better off with it, but since it was my first time networking, I didn't know what to expect at the distance I wanted to broadcast the signal. I get about 1/2 the signal strength and so far no complications.Already Had: A few cat5 cablesParts: Router, CardTotal costs: $90Outcome wired 2 desktop pc's and 1 wireless desktop pc. -
I still use IE, but I use firefox as well. Tabbed browsing is great, and I prefer firefox. I guess I use IE out of habit. I'm beginning to dislike IE though. IE 7 is introducing an authenticating mechanism to use IE 7. Which is fine for some like windows, but authenticating a web browser. I like both, but recently I've been trying to use firefox more, especially in web development. Javascript errors are easier to correct in firefox, and all the extensions available are just great. IE7 looks like it's going to have tab browsing and pretty much everything that firefox has. We'll just have to see if it brings anything else to the table.
-
I've just recently started "designing" my own websites. I found templates to be very elegent, but limited to what you can do with them. Of course you can always add more links/content, but with a graphic intense template I found it hard to replicate the design flow. I'm not very good with photoshop/gimp either so, I went wtih a CMS. A CMS is great, but yet again I encountered templates (skins) for the different CMS's. I love the way that everything is integrated into the database, and how it operates smoothely with a lot of content. Content is great, but it supplies a lot of content. So much stuff, that I disabled most of it.After that I wanted some practice so I ended up designing my own site. It's not the greatest, and I used snippets of free code for certain features (shoutbox, dhtml menu) but I'm proud of it. It gives me a "self-satisfaction" feeling even if it's not all that great. Learning CSS seems to be challenging. It's simple to change minor things with it, but using it to design you're entire site is very complex. I ended up using tables to layout my site, and it's probably full of bugs. I've looked at it on both firefox and IE, and it displays differently, but nothing major. I would have to say designing my own site on this one. Designing your own simple CMS is what I would prefer. If there are any good design tutorials about CSS and designing your own simple CMS pls post a link.
-
How To Get Two Web-forms To Work Together ?
minnieadkins replied to NewGuyinTown's topic in Websites and Web Designing
You could have all as one form. I don't think you can embed a form inside another form. I think it defaults back to the action of your first form. Although you can use javascript to change the action of your form, so one form would be sufficient. <form><div id="login"><!-- login module goes here -->LOGIN:<input's /><input type="submit" onclick="this.form.action='./login/validatelogin.php';" /></div><div id="content"><!-- main content of page goes here...which can be form items -->POLL:Choose option:<select><options></select><input type="submit" onclick="this.form.action='./content/votepoll.php';" /></div></form>Just requires a little clientside overhead, but everything should work just fine, might have a few variables hanging around that shouldn't be there in the $_POST or $_GET arrays. Was just a thought. -
Need Help Choosing Right Wireless PCI Card
minnieadkins replied to minnieadkins's topic in Computer Networks
I ordered both the items that I listed on here. I didn't pay enough attention to see if one was speedbooster and one not. Wish I would've read your post earlier, but I was wondering, what does speedbooster do? My connection will be 1.2, so would that really help in my case? Wouldn't it just increase the maximum capabilities of th router? Instead of 50 some mb/s, it doulbes it right? So, that means file-sharing would benefit from speedbooster, or maybe a faster broadband connection, but I don't see how it would help in my case. Someone please tell me if I'm wrong here because I'm don't know much about networking. Especially wireless. -
Need Help Choosing Right Wireless PCI Card
minnieadkins replied to minnieadkins's topic in Computer Networks
I appreciate your response. As far as security goes, it's not a big issue for me. I live in somewhat of a rural area, and my closest neighbor wouldn't know what a computer is, needless to say they don't have LINUX. I'm surprised if .05 % of the people that live here know what LINUX is. Now that security is out of the way, I'm sure that the most primitive encryption would suffice, but speed and distance is what i'm shooting for. Something that has a strong signal and decent speed. My connection will be 1.2 mbps (so it's not going to need a lot of speed to get the most out of the net). I wish they offered cable where I live, but my local ISP/telephone company has a monopoly on DSL broadband. $60/mo for 1.2 mbps. Go figure, anyways, like I said, if I could squeeze 1 mbps into my office from about 150 feet away that would be fine. I'm just curious on how the signal handles going through walls. The signal would have to pass through probably 3 or 4 walls. As for the OS, I will more than likely be using XP for most of it, although for my home computer, which will be wired, will have Linux on it. -
I have a small building that I keep a computer at to do some programming. Sort of my office you could say. It's about 150 ft away from my hours. I've been looking through all the wireless ethernet pci cards (for desktops) and I can't seem to find out what would be better. I"m getting a Linksys WRT54G Wireless-G router, and I was wondering what would be the better card to get? I'm looking to get a good signal and I didn't want to buy a cheap card, and since this is the first wireless network for me, I didn't know if linksys was incompatible with any cards. I'm looking for something in the $20-$40 range. Can someone point me in the right direction? One of the cards I was looking into: http://imptestrm.com/rg-erdr.php?_dnm=www.zipzoomfly.com&_cfrg=1&_drid=as-drid-2300300503455222
-
I was trying to use the \t to tab in Firefox 1.5.0.1. It works in IE 6. I haven't tried it in other other browser, but I was wondering if there's something I'm doing wrong. I tried a simple test page to see if it was my script, and the test page gave me the same results. It worked in IE6 but not Firefox. I also tried putting in " " for tabs instead of using the \t escape. Firefox just ignores the white space I guess. Any ideas on formatting it? I'll post the test I did: <HTML><HEAD><TITLE></TITLE><script type="text/JavaScript" language="JavaScript"><!--function test(){alert("\t\tCENTER!\t\t");}--></SCRIPT></HEAD><BODY onload="test();"></BODY></HTML>
-
Nice explanation. Sessions work a lot like Post or Get variables when you're setting or retrieving values from a variable. I was wondering do you have to put session_start() at every page? I'm pretty sure you do, but it seems kinda redundant. Once you set a session it should be there.Another function is session_name(), which can either return the name of the session or set it by passing a string or string variable as an argument.
-
Display Text If Line Not Empty In Config File
minnieadkins replied to nightfox1405241487's topic in Programming
Looks like it would work to me. If $announcement is not set then you don't display anything, if it is you do. You could also use if(!empty($announcement))or if($announcement)an item is considered set in the following circumstance $announcement = "";Kinda good to know I s'pose. -
Okay, sounds good. I didn't notice any particular question. Perhaps if you post some actual code, or ask a particular question we could help you a little better. If you're just using this as a design and asking if it will work, then it looks alright. Now you just need to code it up. If you pass the id via the querystring I don't see why you couldn't do it. All you need to do is limit how much of the story is actually shown on your main page ('index.php'). How are you going to do that? Just limit how many characters of the string are shown? Pull the entire string and cut off the last so many characters per entry of news?
-
I'm trying to pass a select list as an associative array, but evertime I do this the $key becomes numbered from 0 up like a normal array. I have an onchange on a select list that generates an addbox. The currentbox is loaded the first time the page is loaded by pulling from the database. I want to only pull that one time, and each time the select list generates new results for the add box, I want the data inside of the current box to be sent to itself. Here's a diagram of the layout: As you can see the arrows indicate that the items are to be moved from one list to the next, so it's basically a way to add new things to an object, or delete things from an object, but you can add several things to the object in different categories. When I want to change the categories of things to add I want the current list to remain intact. Can someone please tell me a better way to do this, or how to send an associative array. As I said, I can send the array successfully, but when I get it from my $_POST variables, it sets the index to numeric. I'm also using the HTML notation for array. e.g. 'currentbox[]' Help please
-
PHP File Upload Works... But Stupid IE
minnieadkins replied to romulo1405241517's topic in Programming
Good idea, I thought about that too, but I've never used that function. I don't even know how that thing works lol. Anyways if you can pass an real address rather than just relative to your upload function you could just build your URL. $uploaddir= 'http://' . $_SERVER['HTTP_HOST'] . '/photos/'; Sometimes you might not want the '//', I've read that somewhere and they used some kind of ternary operator to deal with that problem. In most cases I think something like that would work, as long as you kept the same structure. Perhaps that function realpath would be the better solution tho. Gl with it. -
PHP File Upload Works... But Stupid IE
minnieadkins replied to romulo1405241517's topic in Programming
Interesting. I'm sure someone will respond as to why this is happening, and why firefox interprets it differently, but it's obvious if you use $uploadfile as part of the href for the image...it will say http://yourdomain.com/photos because it's just a string and it's putting the text where you tell it to. I don't know if double quotes would make a difference here, but probably not. I personally was goin to try to write a bit of code that uploads images, but I haven't even started yet. Why are you displaying the picture on the same page? Is it just to verify that the image has been loaded and show it in action? As I said, I haven't tried this so if the '../photos/' is required rather than just 'photos/' then a simple fix would be to $uploadfile = substr($uploadfile, 3);Just cut out the first 3 (or 2 characters) in your string after you successfully upload. Then you should have a valid path to your image. I'm just curioius as to why firefox parses it. Anyone? -
I've heard Linksys makes the best wireless router. I searched on pricewatch and came up with this: http://imptestrm.com/rg-erdr.php?_dnm=www.zipzoomfly.com&_cfrg=1&_drid=as-drid-2300300503455222 Will someone tell me if this router is capable of what was discussed on this thread: http://forums.xisto.com/topic/88538-topic/?findpost=1064336759 This looks to me like it's one of the better wireless routers on the market. I think it's a G series. Someone please help me out if they know something I don't about this router, or this company that's selling it.