-
Content Count
1,210 -
Joined
-
Last visited
Everything posted by pyost
-
How Many Think You Get To Few Credits Here? Just post it
pyost replied to Eclipse1405241548's topic in General Discussion
There are no problems - Eclipse just thought that the amount you get for each post doesn't change, but is always 0.5 credits. I just hope everybody knows how wrong that is - credits are calculated by checking your post length, allowing you to earn even 10 credits for one post! -
It's far too early to expect that Microsoft is working on the next operating system. After all, aren't the users eagerly waiting the numerous system packs?
-
I was really fascinated by the good use AJAX has been put to. However, while it definitely eases image search, I was slightly put out with the hover effect. Something like Vista, Live Image Search is quite resource demanding when it comes to JavaScript effects, which I don't like at all. It's not about it not running smoothly on my computer, but the fact that it was unnecessary and maybe even unprofessional. But it's still a good, modern search engine.
-
Logo Design Photography logo design
pyost replied to Free Website Designing's topic in Graphics, Design & Animation
The member hasn't visited the Xisto forums for nearly two months. I doubt he is need for any help at the moment, and therefore can't see the point of people replying to his request -
I guess it has caused a lot of mistrust among all the users, but as far as I am concerned, they can collect any data they want. It's not like they examine each and every user's data! Then just have a script that collects information (to what all of us have probably agreed, as I am sure it is part of the Terms Of Service) and then forms charts and statistical data - or at least that's how I would expect Google to do it. When looked at from that angle, I am glad to be a part of improving their services
-
Prevent Specific Applications From Connecting To The Internet
pyost replied to dserban's topic in Websites and Web Designing
Definitely ZoneAlarm. I have been using it for a few years now, and the interface for blocking Internet access is extremely simple. The first time a program tries to access a network (doesn't have to be the Internet) you are asked whether to permit it to do so or no. That way you don't even have to add every single program - you will know as soon as it tries something out of the ordinary -
My First C++ Program: Area, Volume Etc. Calculator My first program
pyost replied to Simba49's topic in Programming
I agree with the above statement. While GOTO statements can be very useful, they aren't appreciated by full-fledged programmers. As a matter a fact, mine programming teacher has forbidden us to use them during one of the first classes :PAs for the rest of the program, it is far to complicated. With all those IF statements you leave the impression of the program not having a mind of its own. What I am trying to say is that it is possible to create such a program that would deal with the same problem, yet with far less lines of code. I do not claim I could do it, but I am absolutely sure it is possible with all C++ has to offer -
C was created prior to C++, as you might have expected, and thus has lesser capabilities. More precisely, C++ is an object-oriented programming language, while C isn't. Therefore, it would be logical for C++ to be able to do everything C can, but add more functionality at the same time.Now, I am not acquainted with either of these, but I can say with a great amount of certainty that classes are what make C++ an object-oriented language. A majority of languages used today are object-oriented, so C++ has an obvious advantage to C.
-
Centering A Div without having to center the content in it
pyost replied to MediYama's topic in Websites and Web Designing
It is (almost) always possible to create such code that will behave the same in both Internet Explorer and Firefox. What's more, when these two display the same thing, you can count on Opera doing so, too. When I am coding a HTML/CSS template, I use Firefox for preview, only. When I am completely satisfied with the outcome, I turn to tweaking the code for other browsers. For beginners, this will probably be a useless method, but once you learn how Internet Explorer deals with different code, you will start avoiding automatically, which will leave little to be altered when you fire up Internet Explorer -
@OpaQueI suppose it does introduce some browser compatibility problems, and that's why we shouldn't use it. I just pointed out that the system is great for those that can use it
-
There is no way to notify the user as soon as something happens, but checking it in equal intervals with AJAX seems like the best solution. You just need to create a JavaScript function that would check if there is anything, and then call itself again in let's say 15 seconds.As for the "Last Active" problem, one way is to check it when any script is accessed. For example, User1 closes his/her browser, and then there is not activity on the web site whatsoever - nothing is deleted. However, when User2 requests a certain page (doesn't matter which one), you first run the "last active" script, in order to clear user that left, and then display the page User2 requested.I think it might also be possible to achieve this with cron jobs, but I have never used them, so can't tell you with certainity.
-
The current theme does provide better acessibility and easier control. However, it does not make it nice to look at Before cPanel 11, I was all for the default them (non-RV one), but the newest version has introduced an even better theme with a redesigned File Manager, including a fair amount of AJAX, which I am very fond of
-
I might have expressed my opinion a bit confusingly I love music, too, and listen to it whenever possible. I just don't need a screen because I transfer only those songs that I like at the moment. Therefore, having "shuffle" constantly on (though you can enable regular play) is not a problem, because I enjoy every song. Even if I do run into one that annoys me, I will just move on Again, the same thing is above. I know all the songs I put on the player, so there is no problem with this. I guess I should point out that I don't use the auto-fill option, since I have too many songs I don't listen to at all amongst four thousand tunes
-
Centering A Div without having to center the content in it
pyost replied to MediYama's topic in Websites and Web Designing
What was mentioned above is the best solution to the problem, but it doesn't work in all browsers - to be more precise, it doesn't work in Internet Explorer. In order to overcome this, you must have a div with text-align: center around the div you want to center. Using only this wouldn't work in Firefox or Opera, but Internet Explorer has no problem with it. However, this would make the text in the main div centered, so you have to use text-align: left in that one -
Creative MuVo V200, 512MB (white) Two years ago I found it appropriate to finally buy an MP3 player, as a replacement for my ancient Grundig CD player. Being very old, it didn't support MP3 disc, and kept skipping small bits when moved. Pay attention to the word I used - not bumped, not shaken, but moved. And I needed music the most while walking/travelling, i.e. away from home. So, an MP3 player was the logical choice. So, in the summer 2005, I bought Creative MuVo V200, with 512MB of storage. It has no connection to the iPod in the title whatsoever, but I found it appropriate to explain why I turned to an iPod after all. As you can see from the pictures provided below, this player has an interesting design, being manufactured in two parts - one contains the battery (1xAAA) and a female USB connector, and the other one is used for storing data, as well as controlling playback (with the use of the display). Unfortunately, this makes it somewhat bulky, and the force necessary to separate the two parts is considerable, therefore creating the slight change to damage the device. And as it always is (according to the Murhpy's Law ), after year and a half of usage, I managed to open the storage part (not willingly, of course), and all the buttons fell out The accident itself didn't cause many problems, as I was able to glue it all together (and it looked OK!), but soon enough another problem appeared, which I believe to be connected with the former. If the temperature of the player is below about 20 degrees celsius, it will turn off imediately after being turned on. This made it impossible to use during the autumn, winter and spring, and during the summer it had to be held in a warm place for some time in order to work. And I just couldn't live with it. But besides this mishap, MuVo V200 has great functions: MP3/WMA/WAV etc, player, FM tuner, voice recorder, equaliser with severel presets, a separate flash storage device, long battery life (somewhat over 15 hours, from my experience) and so on. However, it is not for people who like outdoor activities (because of its size) nor for those who aren't careful with their gadgets. I was as much as it was possible, but it didn't seem to be enough. iPod Shuffle Second Generation "Clamshell", 1GB (silver) So, once again, two weeks ago, I set of on an "expedition" to find a player with more endurance, more space (my needs have increased during the span of two years), and less volume. The first and the third condition are tightly connected to my passion for bicycles and the fact that the summer is the perfect time to ride them Furthermore, I wanted something the I knew would last even if I dropped it every now and then. Also, having more space was a logical step - why would I want to have 512MB again, when it is "below the standard" nowadays? I read many reviews and opinions about the iPod Shuffle before I bought it, as I wanted to be sure it has everything I need, along with high quality. During some tests, it proved to be very strong and even waterproof (it's not in the player's description, so don't try it), but almost everyone complained about a small hiss during silent song parts. Personally, I haven't noticed it, and I doubt that anyone concentrated on doing something else will. After buying it (took me three days to find a shop that has it), I was faced with a ginormous (gigantic + enormous, I found out several days ago that this word was inserted in one of the most appreciated English dictionaries in the world ) of opening the package. The Apple company wasn't satisfied with packing their iPod in just the standard plastic wrapping, but they also included a see-through box (I am not quite sure whether it is glass or plastic, I am not very good with material recognition. That's why I decided to include some directions on how to open it successfully and fast (took me about 30 minutes). First of all, you need to remover the plastic around the box. The fastest way of doing the is to take a scalpel and cut out the rear part. This will allow you to extract the box, which you might have damaged during the process - really not a big deal, since there was nothing inside it to damage (if you used the scalpel on the edge). You will probably, as I did, thing that now comes the easy part, but if you don't know what to do, it isn't easy at all. You will notice that the box opens easily, and will be revealed that the iPod is somehow connected to the part separating it from the manual and the dock. This part, however, is not connected to the outer box, and all you need to do to remove it (along with the iPod) is to separate the box a bit from it with your hands. This job might seem like something you ought to do careful, but don't worry much about breaking the box. It will bend enough to allow you to do what is necessary. With this done, you are on your own, since it is quite obvious what needs to be done. As soon as I managed to complete this complex operation, I connected it to my computer, and encountered some problems (the player wasn't recognized), which were solved by plugging it into another USB port. After that, it all went really nice, though iTunes is somewhat confusing for first-time users. Note that you aren't supplied with it in the package, so you will have to download it. It charged for four hours, as stated in the manual, and was ready for use (with songs being transfered to the device, of course)! All the commands are really simple, as there is not much you can do, so it took my only 10 minutes to understand everything and be able to use the iPod completely. When it comes to the battery, it has an in-built one which can't be replaced. This leads to the fact that you will be able to use it less and less after every charge, and end up not be able to use it at all, when the battery dies completely. Of course, it still leaves you with a 1GB flash disk - or that's what I think happens I expect it to last two or three years with my rate of usage, and that is a sensible amount of time for any MP3 player. I did not find the lack of display important at all, and the clip is so strong that it allows you to attach the iPod to your clothes flawlessly. It is so small that you might be scared of breaking it, but with the aluminium case, it is completely safe. With that being exactly what I need, I am extremely satisfied with what this player has to offer. The general impression Creative MuVo v200 Pros: A large number of functions, the battery part isn't necessary if you are using it as a flash disk Cons: Rather big for an MP3 player, can easily be damaged when the storage part is being pulled out of its socket iPod Shuffle "Clamshell" Pros: Light, small, has an in-built clip, made from aluminium which makes it very strong Cons: No display, and therefore little control over what song is played next, has a special dock you have to use for connecting, no FM tuner or voice recording In the end, you can easily see that both players have something to praise, as well as something to criticise. It basically depends on the type of person you are. People leading a calm life with long walks and other "quite" activities will probably find MuVo better, because of its numerous function and the fact that it can be easily used as a flash disk. On the other hand, those who are constantly on the move and don't want anything to bother them will choose the iPod. You can clip it anywhere you like without having to worry about it falling of, and then enjoy approximately 240 songs played in no particular order. It's for people who listen to music as a side activity, not those who concentrate only on doing so. From my experience, this iPod is exactly what I needed, as I never spend time searching for the one song a like listening to at the moment. To me, music is just a background sound easening the other things I do.
-
The simplest way to deal with this would be to select the entry with the highest ID (SELECT id FROM table ORDER BY id DESC LIMIT 1), and set the current auto_increment value to that ID number plus one. However, I am not sure whether this is possible, but common sense tells me it should be
-
Yeah, this definitely wouldn't work with $_GET, as the data is sent through POST. I overlooked this, my bad Also, instead of echoing a piece of JavaScript code for redirecting to the ThankYou page, you can also use the PHP header function. if !( mail( $to, $subject, $message ) ) { echo 'Mail not sent!';}else { header('Location: http://http://ww38.yoursite.com/thankyou.php&%2339;&;;} Bare in mind that this will not work if you have already printed out something on the page.
-
If you want to make a high-quality shoutbox, the techniques you must be good at are HTML/CSS (for the design, obviously), PHP/MySQL (for saving and displaying shouts) and AJAX (or better to say Javascript - to avoid refreshing the page all the time). With all these, it is quite simple. Make a PHP script that saves shouts to the MySQL database, and send data to it through AJAX. Make another one for displaying shouts, and again use AJAX for communication with the server - you will probably want to refresh the shoutbox every 15 seconds or so, so that's another AJAX function. Of course, don't forget to keep security in mind! Make those script so that they can't be abused in any way.
-
No matter whether it works or not (and it might depending on the browser being used), it is always good practice to close each and every one of the tags. It is a W3C standard, after all. What you should change, however, is the drop-down box code. Instead of <select name="Reason"><option>Feedback</option><option>Complaint</option><option>Idea</option><option>Rare Value Suggestion</option><option>Help Me</option><option>Other</option></select> use <select name="Reason"><option value="Feedback">Feedback</option><option value="Complaint">Complaint</option><option value="Idea">Idea</option><option value="Rare Value Suggestion">Rare Value Suggestion</option><option value="Help Me">Help Me</option><option value="Other">Other</option></select> This way you define values to be sent to the PHP file. As for the PHP code, with slight alterations to the one Sten provided, it should mail you properly. <?php$to = 'someone@example.com';$subject = 'Contact e-mail';$user_name = $_GET['Name'];$user_email = $_GET['Email'];$user_message = $_GET['Message'];$user_reason = $_GET['Reason'];$message = "Name: $user_name \n E-mail: $user_email \n\n $user_message \n\n Reason: $user_reason";if !( mail( $to, $subject, $message ) ) { echo 'Mail not sent!';}?> The first two variable should be edited to contain you e-mail address and the message subject you want to use. The next four rows insert all the sent data into four variables, which are then joined to for the mail body. I hope that the only thing you might find confusing is "\n" - it defines a new line in the message body. With that in mind, you would receive an e-mail like this: The last several lines send the e-mail, and failure to do so results in a "Mail not sent" message. Be sure to inform me of any problems you encounter.
-
I would recommend downloading Free Hi-Q Recorder. It is not completely free, though, and you have to buy the full version in order to record in bit rates higher than 96kbps. It offers several input types, one of them being "Stereo Mix" (which is used for recording sound directly from computer), while there is also an option to use the microphone as the input device. As far as I know, there is no time limit whatsoever (I've recorded a two-hour long tape, myself), and the maximum bit rate (96kbps) provides surprisingly good quality when combined with the mp3 file type. The program does look a bit old-fashioned, but that's a drawback not many consider when looking for a piece of software, especially when it is very detailed with a lot of options (like this one).
-
Unable To Connect To Ftp Address. cant resolve host name
pyost replied to MediYama's topic in Websites and Web Designing
Maybe a slight modification of the host name would help? For example mediyama.astahost.com -
Newer versions of Mozilla Firefox don't need the moz-opacity attribute - they are already set up to use opacity instead (which is, of course, a good thing).
-
My bets are on this being an image file, and Firefox misinterpreting (or not interpreting at all) the headers. Nothing to worry about
-
I would rather say that it is played by million of people in east Asia every day But the fact remains that this number is huge. What's more, Starcraft is a part of many important world tournaments, and that has to mean something
-
With just some minor modifications, it should work. Here's how I would do it. $var = 'It worked';$row = mysql_fetch_array(mysql_query('SELECT * FROM example WHERE id=5'));$output = $row['content'] . $var;echo $output; 1. No parenthesis 2. If the ID field is numerical, there is no need for quotes 3. Besides the data extracted from the database, we need to output the variable, too 4. Again, no parenthesis I've also used single quotes instead of double quotes - both are possible, but it's just a habit