
iGuest
Members-
Content Count
72,093 -
Joined
-
Last visited
-
Days Won
5
Everything posted by iGuest
-
Hey,I can pick up other Network systems on my wireless route...I was wondering can you hack the WPA Key of because they are all securedAnd im wondering if theres anyway to connect to them without using a pass?If there is please tell me it will be interesting to try it out :ph34r:Thanks
-
Hey, I need a logo made... Whatever design can be on it... BACKGROUND MUST BE BLACK! also please make it the size of http://forums.xisto.com/no_longer_exists/ On the image put RS2Cheaters please make it a good design Thank-you Im sorry i can't really pay for the logo, if you could give it me for free i would really like that!
-
Nice template... I wish i had it...How long did it take to create?
-
Hey...I need a javascript script(I think its java)What i want the script to do:You have 2 buttons on a page 1 is a enter a different part of the site the other one is a vote which brings up a pop-up page. i want the script to make it so you have to click the vote button before being able to click the enter button.If you can do it,Thanks. post the script here
-
Writing Functions In PHP Turn Your PHP Script Into A Reusable PHP Function
iGuest replied to vujsa's topic in Programming
Hey vujsa, I like the new look of HandyPHP.com, much better than what it was before. When designing functions, try to think of what purpose you want to use it for. Most functions I create are to eliminate the need to keep reusing the same piece of code over and over again, the less code we have the easier it is for us to maintain (so to speak), however it can get messy when we're jumping all over the place from function to function, in which you might be better off with enclosing it all inside it's own object (class), in which everything about that object is stored within itself which makes it even easier on us because we don't have to step through each piece of our code when we know it's all contained at one easy to navigate section. I notice that for vujsa, he's designing a function based on a script he already has in place, which should work as he's got it (haven't checked). What I do first is ensure that the code is simple and as clean as possible, so it's even easier to work with, I try to see areas that are just extra work when it could be eliminated sooner. So I'm just going to go over his code first, and look at areas we can clean up. He uses a comma separated string value as the input, the data we want to work with. Now, obviously he knows how this data comes about, and whether it would maintain this format or not, if you understand how your data is gotten, then you know exactly what you should be working with. He wants to turn it into an array using split, first of all, this is overkill if you know how your data is formatted. split() uses regular expression patterns which means a regular expression engine will be used to process this inbuilt function. We really should be using explode(). Next I see white spaces being removed by looping through an array, well if we had done: explode(', ', $a); We shouldn't have to worry about removing white spaces, again this depends on how the data is formatted. Everything else afterwards is quite fine yet needs to show you understand the code you're using, also there's the overuse of echo, should always limit the amount of times you call it, if possible try to cut it down. Also try to use the correct quotes (single and double). So here's a cleaned up version: <?php$input = 'bus, car, boat, caravan, jet fighter, horse, ox, skateboard, bicycle, motorbike';$vehicles = explode(', ', $input);sort($vehicles);$output = implode(', ', $vehicles);echo '<p>Input: ' . $input . '</p><p>Output: ' . $output . '</p>';?> Now if we to create a function for this, it's basic principle is to take our input and output it sorted. We could add additional parameters to the script for different outputs, but keep to the basics. You may have been thrown in the deep end, because you need to understand functions, and which one would be correct for your needs. Look at the cleaned up version, I use explode() and store it inside a variable, however I use sort() and have not assigned it a variable, now why is that? The reason is, the results that these functions return, or what these functions actually do is completely different. explode() returns an array, which is why I assign it to $vehicles, sort() returns a boolean value to suggest whether the function worked or not, so assigning the sort to a variable will only allow me to check whether the function actually worked but how is it useful and how does it sort? Well the thing with sort is, it takes the actual reference of the array you're passing it, meaning it will alter the array you pass to it, so basically it's altering $vehicles itself. I may have lost you here because I haven't explained it clearly but you should research into functions and try to understand the types of returns that you can do, so you can make effective and useful functions. So how would I code a function to sort my string? I'm not going to say, I think vujsa has provided enough information to at least create something basic to do just that, but remember, try to not do too many things at once, keep it simple. Cheers, MC -
Well, I don't see no solutions to what I suggested so I'll provide clues.To check if a form is actually the form you want to process, you need to make sure that the form resides where you've placed it. You can check that the form is actually coming from the server it's hosted on by checking it's referrer which should indicate either the server's domain or ip address.I prefer separating PHP from HTML, it's easier to read and to alter, though there will be times where you have to include PHP inside HTML to get what you need to happen, it's probably a lot better than on the fly re-writing.If using an unknown constant in an array, a warning will be produced, it will then check for a string, if that does not exist an error will be produced. That's it, there's no more it can do for you so just ensure it's correct so you don't have these problems. error_reporting should be turned on when testing scripts out so you can fix the problems before letting them loose on the internet.Since you wrote the form up, you know which variables should be there and you should know which variables to check. What you want to do first is eliminate all the characters and malformed exploit attempts you don't want to allow, rather than limiting what can be used. Every so often you should get use to checking your database, etc just to insure that you prevented what you didn't want to happen, if not, you have to rethink your script. After you've eliminated the characters you don't want, check if it's empty, check that it fits the type of information you're wanting, follows the format you wanted and after you're completely happy with it, store it in a variable. If for any reason you're not happy with it, append it in an error message, change a flag to ensure your script when it gets near the end, does not go through with the output, which could be, login or storing in database, etc. You then just present back on the form, the errors you gathered and tell them to fix them up before they proceed. I would suggest using Javascript to eliminate a lot of the simple checks, so your server isn't going to waste it's time (this does not mean avoid server checking of what the javascript does).Don't suggest using short tags, I'm still against this practice and am trying to have it removed in later PHP versions but this message needs to be spread more or else people will no longer know what's going on, it's a pity we can't rewrite the books that are out there that show this usage.When you're reusing a form to fill in data you've already received, insure the information is checked first and actually does exist to avoid warning messages.As for the regular expression, this is the hardest to explain without writing code, but I'm going to try!All emails should start with a letter from a to z in any case (I don't cater for anything other than English right now), afterwards you can have dashes, numbers, dots, letters, etc. It should then be followed by the @ symbol, next the format is harder to know. Usually I base it on domain formats, which some can contain numbers at the start, but not special characters, it can have many dots and the length does not need to be fixed though I try to limit what it can, after a dot however, should follow characters. There's also length restriction, but not so important as it's quite large but you should limit the minimum amount to at least 1 character and I think someone with an email address too long should change their email to something a lot easier, and you can tell them that in your form if you like. Overall, there's only 1 @ symbol allowed, a suitable max length would be about 255 characters. The ending bit should not be limited so allow for many dots and ensure characters follow afterwards and that the last dot, there's only 2 to 5 characters, unless you've discovered longer endings for domains (so far I haven't encountered it).I will provide coding solutions to help later on and hopefully show a cleaner way of presenting the form by separating the PHP from the HTML.Cheers,MC
-
About Ie Not Showing Pages That Work In Ff
iGuest replied to SilverFox1405241541's topic in Websites and Web Designing
In my experience, all CSS files end with the following IE Conditional Comment: <!--[if IE]><style>* html {display: crap; }</style><![endif]--> -
Symantec: Windows Is Most Secure Os
iGuest replied to xboxrulz1405241485's topic in Websites and Web Designing
It's quite sad that in this day and age, we still have to read between the lines, and people should be more accurate with their content, just recently a popular beverage that has been around for years, gave the impression their drink had 4 times the amount of Vitamin C than Oranges, but in their wording, they said Blackcurrants used in the drink have 4 times the amount of Vitamin C than Oranges, but university students discovered they only had 1.5 times the amount of Vitamin C than Oranges, but it's possible the Blackcurrants they used had 4 times the amount. It turns out that this drink has more sugar than Coca Cola (Coke).Fewest number of patches means, they need to get off their *bottom* more and fix it. The least things they fix, the least number of patches you'll see.Shortest patch development time means they probably left a semi-colon off a product and fixed it quicker than some with more serious problems. There's been some things Microsoft has chosen to ignore, like not fixing a known problem, because they felt it wasn't worth it, so I'm guessing they also hold the title for longest awaiting patch development too.As far as I can tell, this is just twisting the information to their advantage, Microsoft has done this quite a few times with twisting the information around to make them be on top, but what does count is comparing Operating System components themselves and not programs, also severe problems and not how long it took them to develop a patch, but how long it took them to make sure all their Operating Systems in use became patched. Another thing, everything would be judged on a default installation, how about a custom installation with minimal options or can't they do that because Windows no longer allows customisation, and you have to put up with what gets installed?Security seems to be a big issue, and it would be with Symantec, but what about Stability. I know a lot of the problems can be a result caused by programmers, but there really needs to be standards implied, otherwise programming is just one big fire with logs being thrown in just to keep it running.Either way, we'll never get to the truth, just people saying Windows is secure, Linux is secure, OS X is secure. May as well say everything is secure as long as you take the precautions to make sure no one can break into your home/office and steal your computer.Cheers,MC -
Hello Xisto! It's me, Imtay22 from Xisto! I just came here to see how everybody is! Well, hello guys!
-
Tyvm m8! I really like it =D
-
Tyvm (Hope ull make one today)
-
Hello!Id very much like to have a sig for all forums i visit But i cant do em myself...(im to noob)So can someone plz make me a sig?Id be very happy if you, the person reading this created one So if you have got some left over time, plz plz plz.The main name would be: Zeth007And id like it middleage. Some warrior, swords, axes, you know what i mean TyvmIf you don`t wanna do one it`s up to you lol
-
Main Signature Text: Zeth007Colour Scheme: Blueish, green and around those colours plz Grunge Type: Something with swords or axes or other middleage weapons.Animation: Nothing to sparkling Its ok if nothing is moving (would like something to move though)Characters/Objects: Some middleage warrior, a male plz.Tyvm for trying to make this for me Zeth/Sorry guys!Just saw that this topic just was for finding someone to make me one, not to do it here...lol...(pm me if you wannna make one)
-
%SYSTEMROOT% = C:\WINDOWS\SYSTEM32\ it's the System root directory, not the Windows root directory.As for the problem in event viewer, this may not be the cause of the rebooting, unless you can verify the time the reboot happened and that this error occured not long before it rebooted.Since you said you've done a reinstall, problems are more than likely incompatible drivers, you need to insure that the drivers you're using are uptodate and correct for your laptop, sometimes you can only rely on the laptop's vendor's drivers because of changes they needed to make to get it working.I would also disable any non-signed drivers if possible until you can eliminate the actual problematic hardware, if any exists.If still no luck, look into heating issues and also the memory including graphics.Cheers,MC
-
If you want automatic name insertion then why not ask?I haven't worked on this notice BBCode since the javascript problems were sorted here (though I did clean it up even more, just the latest results never saw it here and I only have that on backup now, which I must hunt or just rewrite it again).Without doing any serious PHP we can still grab the name, because IPB uses cookies, and stores the members name there and we can use javascript to grab it and insert it for us.That should point you all in the right direction, but you can also wait for me (probably be done when I am not so busy, or during my breaks) to release the newer Notice BBCode which I'll drop here too.Cheers,MC
-
A Try block can not stand alone, because you're using it to test if an exception is thrown and what to do to handle it. If an exception gets thrown it needs to know what to do with it when it's been caught. If you're not testing for an exception then there's no need to use a try/catch statement. e.g. int main() { try { throw 13; } catch(int exception) { cout << "An exception occured. Code: " << exception << endl; } return 0;} What this code does is throw an exception with an integer value of 13. The catch statement, caught this exception and does what I tell it to do when an exception occurs, which is to output a string to standard out, and display the exception value thrown. Cheers, MC
-
Ok, the rumor is started, Metzelder is gonna be the new defender of Real Madrid in june, plus after the depart of Ronaldo, Beckamp and Roberto Carlos are gonna go on june too, the brazilian defender said he doesnt gonna sing the new contract because people said that the reason for the elimination in the Champions League agains Bayern was his mistake in the 1st german goal by Makaay, the 10,5 seconds goal was after the bad pass of Gago to Roberto Carlos.
-
Well lets bring this topic back alive, this Season 2006-07 the main plot is like this, England have 3 teams in the next round; Man Utd (Wich Im a fan), Liverpool, And Chelsea, too bad that Alex denies Arsenal to be there too, Italy have 2; Roma who did a great match at France defeating 5 time champs Lyon, and Milan who was saved by a great goal from Kaká (The best player in the world in my humble opinion), Bayern, PSV and Valencia are also in this round.So what do you think would happen, could Liverpool could get the cup back after defeating defending champs Barcelona on away goals? or this could be the year for Super Chelsea and their multimilionare boss Abramovich?, maybe Valencia could be in their 3rd final and win it this time? or Man Utd wit the star C.Ronaldo would conquer Athens easy?share your opinion please...
-
I use avast anti-virus . It has all features like a paid one . Moreover its real time protection is very nice . It also updates automatically . Registration for home use is a simple process . Just give your name + some information and your email . You will receive a email with license key . It will be valid for a year . Within that year you get all program updates + av updates , then no problem register again after a year and get a new license key . Also it doesn't slow OS start up speed .
-
I Am Looking For A Free Mmorpg What are your suggestions?
iGuest replied to Anth2k7's topic in Computer Gaming
Visit Mini clip . They provide you free , online games without the necessity to download those games . As far graphics is concerned it is ok. Just go for a try. -
Introduction to RSS : RSS is technology that allows you to access web and blog content automatically. The expansion of RSS is "Really Simple Syndication. Once your browser or computer has an RSS reader on board, you can subscribe to any number of RSS "feeds." A feed is simply a way in which a reader may subscribe to website content - most commonly blogs or news sites. A news site, for example, may list their latest headlines or entire articles in their feed every time a new article is published. A blog would publish this feed as a series of recent posts. RSS Readers : Feed readers or RSS readers, are software programs that run on your computer and let you easily subscribe to feeds, and allow you to read through them efficiently. Some are relatively simple, showing the headline and summary. The fancier ones often work with (or in) your browser to make viewing the material look much like the source page. Once you have a reader on your computer, subscribing to a feed with is an easy click or drag from your browser. Sites that provide RSS feeds will usually have a button for that purpose. Benefits : 1. Users are informed about new updates to the site without the need to manually visit it. 2.It has a great advantage over newsletter because you need not give ur mail address to unknown persons and thereby reducing chances for spam mails. 3.Unsubscribbing is very very easy . Just delete the feed subscription. 4.There are a number of feed libraries from which you can subscribe to your interested topic. Conclusion : Hence , RSS is a step towards preventing spam mails and to avoid registering in each and every website to get their news letters.
-
This method can be used only on Windows XP Professional Edition. 1.Open the Group Policy Editor (Start > Run, type in “gpedit.msc” and press [Enter]). 2.Go to User Configuration > Administrative Templates> Windows Components > WindowsExplorer. 3.Here, you’ll find “Hide these specified drives in My Computer” and “Prevent access to drives from My Computer”. 4.The difference between the two settings is that “Prevent access” will allow the user to see the drive icon, but will give an error message when he tries to access it. 5.“Hide” will remove the icon so the user won’t see it, but the drive can still be accessed by using Start > Run and keying in the drive letter. 6.Under this setting, after you click the radio button next to “Enable”, you’ll see several options. Choose the one you want to apply, for example, “Restrict A and B drivesonly”. You’ll notice that the options here are restricted; you cannot, for example, choose to restrict drives A, B and D.
-
I recommend you to use Genie back up manager by Genie-soft . It's features are : 1. You can back up everything in your computer from emails to important registry files. 2.The back up task can be scheduled. 3.You can encrypt the back up data so that only you have the rights to restore it . Moreover the data can be back up to cd's , dvd's and also to remote servers through FTP 4.The installation and use is simple. You can download it from their home page Home Page