Jump to content
xisto Community

truefusion

Members
  • Content Count

    3,324
  • Joined

  • Last visited

Everything posted by truefusion

  1. My account shows PHP 5.2.9 and MySQL 5.0.91. I wouldn't expect paid hosting accounts to be any lower than this. I don't really require MySQL for my site, but some of my scripts require at least PHP 5.2, and they work fine on my account. If anyone were to experience any problem while installing WordPress, i wouldn't expect it to be due to failure of meeting the PHP and MySQL minimum version requirement.
  2. Avant browser is based on the Trident engine, the engine that Internet Explorer uses; good luck trying to get it to run on Linux. People have trouble running Internet Explorer through Wine, i can only expect the same trouble with Avant.
  3. The footer is a lot better now. Now all that needs work is the header and navigation. I noticed the design on digyourpc.com has better fonts than the one you're working on, not only the families but the sizes as well as the colors. But the footer font is better on your rough draft. You can help avoid some confusion when designing websites if you learn HTML. If you were to ever find something to be "off," knowing HTML and perhaps some CSS will help you to understand how things work and therefore allow you to easily adjust things to your liking. Programming is on a different level than this kind of design. It is not surprising to see programmers create incredibly complex programs while the UI is horrible or lacking (Linux is an example of this). This is why the user interface is often left to others. Unless the web designer specializes on popular CMS scripts, then they don't require to know more than HTML and CSS. I avoid all WYSIWYG editors because they tend to do more damage than good to my code. Instead i just look for text editors with a lot of syntax features. If you are looking to learn HTML and CSS, i would recommend using a WYSIWYG editor so that you can get a general idea of HTML. The way i first learned HTML was by visiting a random website and working in reverse. If i wanted to know how they accomplished something, i would find the text that is within the desired element and then find that text within the source code and then look at the surrounding HTML. CSS was a bit more difficult to figure out in this way, but i managed. If you can understand something as simple as BB code, then you'll eventually come to understand HTML.
  4. I'm a fan of warm colors and colors that compliment each other. The colors you have currently do not seem to work entirely together. The only colors i see that work well together that you are currently using is the dark red, the content area's background color and the border color. Here is a few color schemes you could try out or take colors from: 1046780 784438 638860 920640
  5. The first can be easily explained by hitting the back or forward arrows and then rotating the view towards the pole. The second one, however, cannot be so easily explained. I won't say that this is any clear sign or evidence of my faith, but i would nevertheless like to note that the second emphasis is founded in just about every distance before reaching the tunnel. If you hit the back or forward arrows and rotate the view towards the sky, you'll notice the same blurred image is shown in just about every distance. If it is a problem with the equipment, then we wouldn't expect the image to get larger as you get closer to the tunnel. If it were a problem with the angle of the camera, then we wouldn't expect the image to still remain when making use of the forward or back arrows (as seen with the light poll).The second image does not seem to be getting any bigger when moving back or forward. When you reach the tunnel you can still see a silhouette of the image at the top part of the enterance. Since i'm not going to continue clicking the arrow till "i" am out of the tunnel to see if the image is still there, you might as well conclude it is a problem of the panoramic camera view. The blurred image starts at the edge of the image where it makes the panoramic connection, implying malformation of the images.
  6. For settings that the public can safely look at, i store in a file that uses the INI format. I have a class that i made that saves to this format; i don't need an INI parser since PHP provides one for me, but i couldn't find one that converts arrays into INI-formatted text in PHP, so i made my own. If my script deals with a database, then i'll store valuable, private information in there. If it doesn't use a database, then i'll store that information statically within my script's controller if needed. I do not save any debugging values within any configuration. Instead i have a static method handle that for me, perhaps with the name enableDebugging(). The user doesn't need to be bothered with debugging messages, especially since it is the job of the developer to ensure code stability for their script. The only errors the user should be bothered with are those that are not caused by the script or errors that are out of the script's control. Using a static method instead of storing any value within the configuration helps limit things more to developers. I would much rather include "forgiveness" within my script than to perhaps confuse the user with errors they need not worry about.
  7. What URL are you trying to access exactly? By the sound of it, it appears to be one of two things: either the server isn't running or you tried to access a location that doesn't exist. If you tried to access LOCALHOST/, then that implies the server wasn't (isn't) running. If that URL works, then you tried to access a location that doesn't exist.
  8. The code you posted shows how to retrieve the template code from the database in the following lines: mysql_connect("your.hostaddress.com", "username", "password") or die(mysql_error()); mysql_select_db("Database_Name") or die(mysql_error()); $coding = mysql_query("SELECT * FROM template") or die(mysql_error()); $template = mysql_fetch_array( $coding );$text = mysql_query("SELECT * FROM content WHERE content_id =1") or die(mysql_error()); $content = mysql_fetch_array( $text ); The code you posted shows how to display the template code in the following lines: print $template['Head_Open']; print $content['title']; print $template['Head_Close'];print $content['body']; print $template['Page_End'];As you have already figured out, include() and require() will not work, because these two functions do not concern any database but files in the file system. There is really not much use in storing a template inside a database, though. To me, that just increases the complexity of the template system. If you store the template code in regular text files, then include() and require() will work, and the template system would be easier to manage.
  9. If your Mac has a built-in microphone, then does it also have built-in speakers? If it doesn't have any green and red holes anywhere, not even ones with a microphone and speaker icon on top of it, then it would appear to me that you are forced to use software to get what you want. So, you can pretty much scratch the 3.5mm cord idea if that's the case. "Stereo Mix" is a common label for your primary output device. It is the common output device that the operating system routes all sound to so you can hear sound through your speakers or head set. "Stereo Mix" can also generally be found under input devices. Therefore if you tell audio recording programs to record from "Stereo Mix," you would record all sound that you would hear coming out of your speakers. Note that this label is mostly used under Windows; on other operating systems they may use more complex labels. You may find the lables "Internal Audio Stereo" and "Internal Audio Microphone" or a variation of these labels in other operating systems. When you open Skype's Preferences window and choose "Audio" from the category list, what are all the options you have for "Audio Input"? If you are given more than one option, then you may have the ability to switch between output devices and input devices for "Audio Input" via Skype. Otherwise you may get lucky messing around with the operating system's audio settings. Link
  10. Please read the pinned topic to see your requirement(s) in Request Free Sig Or Banner section. Click here In the mean time please improve your post quality and continue to contribute quality posts.
  11. Please read the pinned topic to see your requirement(s) in Request Free Sig Or Banner section. Click here In the mean time please improve your post quality and continue to contribute quality posts.
  12. Whether this is possible through the use of software alone would depend mostly on two things: whether or not Skype has the ability to choose what device you want for input and whether or not the system will allow it to switch devices in such a fashion (i.e. e.g. redirecting the Stereo Mix output device to the Microphone input device). If the core audio API of the Mac operating system does not allow for Skype to do this, then a hack may be required or an audio control utility that forces this change on other programs. I do not own a Mac, nor have i messed with one to this extent, so i cannot recommend you any programs. If this were Linux i would direct you to PulseAudio's device tools; if this were Windows XP or later, i'd be able to help too. If you are unable to find anything, then you may have to do what Baniboy suggested and get one of those cords with a 3.5mm jack on each end (i used to use one way back when before i figured out about Stereo Mix recording). Using this cord would be simple if your computer has ports on each end of the computer (i.e. front and back). You'd plug your headset in the back and the other cord in the front (assuming the system doesn't take input from only one source). If the system does not take input from multiple sources, then you may be finding yourself unplugging and plugging your head set quite often.
  13. Just finished installing it through the internet. Start-up time seems slightly quicker and start-up overall seems more stable, but i don't entirely remember the 10.04 fresh-install speed. Default X11 ATI drivers are still buggy (and i don't expect them to be stable for any later versions of Ubuntu). The KDE desktop effects cause the system to freeze with the default X11 ATI drivers. Haven't tried the proprietary ones yet (need to restart first), but the proprietary ones tend to fail to load on start-up. Hopefully, that problem isn't still present with this version.My interest with this version concerns mostly the development packages, specifically the Qt library. Qt Creator 2 is in the repos with Qt 4.7. 4.7 introduces a declarative UI framework that i am interested in trying out.
  14. I do not know your current code, but from what i can derive from the current scenario, your login page is letting people get through without the user providing a username. If this is not the case, then i cannot provide you with a solution. Either way, i wouldn't have relied on the $_GET variable to store a username (i would have considered $_COOKIE).
  15. According to the code logic, isset($username) returned false, therefore $user does not contain the resource that would have otherwise been given by mysql_query(). Since there is nothing in the code to fill $user with a resource when the "username not received," mysql_fetch_array() notices that no resource was provided, and so the error you receive.
  16. Please read the pinned topic to see your requirement(s) in Request Free Sig Or Banner section. Click here In the mean time please improve your post quality and continue to contribute quality posts.
  17. This would be a wasted effort on those who decide to take on such a mission. This, also, would not help to promote the use of solar energy; if a field of solar panels do not cause others to yield towards solar energy, then neither will ships that cover the same amount of ground on sea that have solar panels on board. Financially, it would be more beneficial for a company to stick to land than to sea, as there is more to manage out at sea than there is on land. Also, it is unlikely for any boat to travel enough distance to keep up with the rotation and revolution of the Earth—if that is what was intended of the ship. So long as there is a way to obtain energy in larger amounts, whether in a dangerous fashion, people will consider it over the methods that are "less efficient."
  18. The only possible coincidence is caused by the emphasis placed on who is in the ambulence and who died at the bus queue; however, this emphasis is placed for no apparent reason, therefore meaningless, non-sequitur. Nevertheless, it is possible that the reason why the brother was at the bus queue was because he lacked transportation to the hospital and that he was not allowed to ride in the ambulence. In other words, the incident that the one in the ambulence was involved in happened near the bus queue. Well, then, you'll have to quote more, 'cause what you have quoted does not show that the environment is considered for the species' evolution. Rather, the quote you provided talks about the land undergoing climate change, not the creatures undergoing any change, for there is no mention of this climate change causing the animals to evolve. In fact, it even mentions, "independently of the change of climate itself." Anything further mentioned does not provide any information on environmental changes causing biological changes in the inhabitants. If we are to use terms like "natural selection," then we must use authoritative sources that explicitly define what they mean. In this case, we have Darwin. If you have other sources that explicitly define "natural selection" in accordance to what we know today, where "natural selection" is not simply mentioned as if it assumes that we should already know what it means, then you should post these sources. Until then, there is no other reason to assume anything further than what Darwin himself wrote.
  19. An image will be removed if found to violate the rules of the forums. I believe the rules, at least a general form of them, are already in place for the gallery. If you are not allowed to post them in the forums, then it should be obvious that the same rules apply for the gallery.That being said, there is no need to be rude to the topic starter simply because he was courageous enough to post his thoughts on a certain image.
  20. If you want a topic to be removed or deleted, use the report button found at the bottom left of your post. Fill out the form telling us that you would like your topic removed. We'll get to the report as soon as we can.
  21. If Z is the result of Y, and Y the result of X, and X the result of V, and so on, then it cannot be said it is due to coincidence. As mentioned before, coincidence cannot prove a relationship. Therefore what you state to be "coincidences" are not so. Therefore my statement, that coincidence cannot be an excuse for something's existence, would still stand. The definition for natural selection as given by Charles Darwin in chapter 4 of his book, the Origin of Species, entails a process that does not consider the environment, the creature's well being, et cetera. It is a process that does not bear any relation to anything external of the organism. Arguably, neither does it bear any relation to anything internal to the creature. For the process is defined as something that can generate something either desirable or undesirable to the creaturethis may imply something conscious doing the decision making, but "mother nature" can be taken as unconscious. Since it can be either desirable or undesirable, the deciding process therefore is not deterministic (showing no relation; coincidental). It is easy to try and argue for a process that shows desirable traits (though, by the definition of natural selection, that is futile), but for those that show undesirable traits, what would it matter if the creature will eventually die 'cause of it? Science needs there to be a relation in order to further understand and to link things together, so it is no wonder why anyone would try to argue for a relation. The only problem i see is that you do not seem to understand my explanation.
  22. Somehow i have missed dasmeaty's reply to my post several months back, but, though i do have a response to his post, since it is several months old, i'll avoid responding to it for now. I am having trouble seeing why i cannot state what i have currently as my custom member-title from what i have said several months back. If coincidence bears no relation with anything, it follows that it cannot follow from anything, and so it cannot (logically) prove anything. If it cannot prove anything, it follows that coincidence cannot be an excuse for something's existence. If coincidence, something that does not form a relationship, cannot be used, then we are left with something that requires there be a relation. Stating a reason for something implies a relationship, therefore everything that exists requires a reason for their existence. I merely mention "except if they are eternal" to imply what i mean for "everything," for it is obvious that anything that does not have a beginning cannot have a reason for its existence. Concerning this topic, natural selection is dependent on (or its basis is) coincidence, and so my statement contradicts natural selection. While it may be safe to assume that if something is illogical, that it does not exist, i did not say that coincidence did not exist, i merely said that it was illogical. Nevertheless, coincidence deals with unrelated events which people form a relation to when there is none. However, the analogy that you give to try and show coincidence, does indeed show relation bewteen two events. While it may be the case that you staring down at your dead watch is not related to your dead watch displaying the current time, it is, however, relational that your dead watch is displaying the current time. We know that something is not related when we drop one of them and are still left with the other. And we know that something is relational when we drop one and the other falls along with it, and so are left with nothing. Therefore it is not possible to drop the event of the current time and still be left with the event of your dead watch displaying the current time. What makes coincidence illogical? Coincidence shows no relation to anything and (therefore) it cannot prove a relationship. Something logical is something that shows a relationship between two or more things. Therefore coincidence is illogical.
  23. As a correction to the list provided, Opera 10.62 does indeed pass the acid test 100%. I also find interesting that the listed results show that Safari didn't pass the test and Chrome did though they both use Webkit. I suppose Google has made some changes to the Webkit engine for their browser. I will have to check this out the next time i'm in Windows.
  24. Near the upper right corner of practically every page of these forums, you will find the link labeled "Welcome - Start here! - Free Web Hosting." Upon being directed to that page, look for the heading, "Benefits & Rewards." In the context under it, you'll find enlarged the word (question) "How?" This is a link. Click it, and you'll be directed to the topic about myCENTs. Follow the steps 1 through 3 within that topic (in your case, you only need to follow step number 2).
  25. I would assume the reason why your str_replace code does not work is because it doesn't find "<br>" and that the content of the text file actually contains "<br/>". By default the second parameter of nl2br is always "true" unless otherwise specified. This tells PHP to translate new lines to "<br/>" since it is XHTML compatible. You are better off using something like preg_replace to search for both <br> and <br/> in the content of the text file.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.