-
Content Count
3,324 -
Joined
-
Last visited
Everything posted by truefusion
-
You are probably using the rich text editor. Go here and under Posting Settings, change the text editor from "rich text editor" to "standard editor" and save the settings.
-
Free Promotional Music? Music in the eye of a marketer
truefusion replied to Jonnyabc's topic in Business Forum
Is it the case that you already have a video but are missing music to it, or that you are looking for music which will inspire a video? If the former, then your quest may be never-ending. The latter, of course, should be much simpler. -
The case will either be dismissed or end up as a draw (which is probably why it would be dismissed). The reason for it is do to the agreement. Both the lawyer and the student must confess that there was an agreement and state or confirm the requirements of the agreement. The lawyer will obviously state that there was an agreement and the requirements of the agreement. And the story implies that the student will be willing to confirm the requirements and that there was an agreement, since the student believes it will end up as a win-win scenario for the student. After this, where then does the case go off to? Nowhere, for there is nothing else to be said, hence either a draw or dismissed—neither of which proves a winner or a loser. Saying "well, the lawyer didn't get anything out of it, so he lost, therefore the student has to pay," or, "well, the student didn't lose, so that means he won, so the student has to pay," is irrelevant since there is a middle position to this.
-
Joomla1.5 Admin joomla1.5 administration Control Panel
truefusion replied to swabhac's topic in Programming
This will only work if the directory that the file is in is itself chmod'd to 0777. Otherwise, the permissions of the directory will prevent chmod() from working. Therefore it is better to chmod either through FTP or through some kind of control panel that can change permissions of files. -
Study: Frequent Password Changes Are Useless
truefusion replied to Saint_Michael's topic in Security issues & Exploits
Then i'll do it for you. The topic title is the same as the Yahoo! news article's title, but it is not as bad as the original article's title (referenced as "Article #2"): "Please do not change your password." None of them provide a reference to the original study, but the Yahoo! article, perhaps do to time constraints, avoided to mention much of what would have otherwise allowed for a different conclusion, which some of it is mentioned in the Boston Globe article, but at least the Yahoo! article references the Boston Globe article. Now, let's look at the overall logic behind why they say not to do it: Tell me that the reason for this isn't non-sequitur, and i'll request that you tell me why it isn't. For in what way does the fact that the hijacker will not wait to use the password for their own gain justify not changing passwords (frequently)? And i would hate to think this is some form of social engineering by one of Microsoft's own researchers to help out hijackers. But now let us look at one of the reasons why this research may have been started: However, out of the two articles, only the Boston Globe article admits that the Microsoft researcher doesn't necessarily believe that passwords should not be changed, and if read, one would realize that the Boston Globe's article title does not necessarily reflect what is written in the article itself. Whether or not the Boston Globe is accurately, then, representing the study is beyond me, but while there is a lot of mention about financial loss, it seems the study may have dealt more with how much IT red tape is present when trying to increase security. -
What i like about them the most is the clarity of the signatures, specifically on this one: It's not too bright, nor too dim, and the colors are as vibrant as they can be and does not endanger the signature.
-
Storing An Array Into A Database not including serialize
truefusion replied to Rigaudon's topic in Programming
I would be more worried about calling stripslashes() too many times where it unescapes strings. htmlentities() doesn't convert slashes, and, by the sound of it, since this special code is generated by your script and does not contain any user input, there is less worry about other things, like MySQL comments (which htmlentities would not escape)?otherwise i would have to recommend something more complex than merely htmlentities() and html_entity_decode(). -
Storing An Array Into A Database not including serialize
truefusion replied to Rigaudon's topic in Programming
So what you are saying is that the serialized NPC code is too complex for htmlentities() and html_entity_decode() to be used on but addslashes() (or mysql_real_escape_string, or whatever method you are using to add slashes) and stripslashes() isn't? -
Storing An Array Into A Database not including serialize
truefusion replied to Rigaudon's topic in Programming
There are a lot of comments in the PHP manual that seem to work around your problem. But if quotes are mostly what you are having trouble with, why not encode them as HTML entities for when inserting into the database and then decode them after retrieving from the database? -
Images, CSS, JavaScript and web pages are generally cached by the browser. I get about 100 or so visitors to my site a month, and i rarely ever pass 200mbs for the month. Having just one database isn't necessarily a problem if you are allowed to prefix the tables within them, which i'm sure Drupal and Joomla does. Using one database for every script is merely for organization's sake (unless it concerns performance, but i doubt Joomla or Drupal would cause a significant impact), but is not necessary. Joomla and Drupal templates may contain a lot of images, but if you consider minimalist templates, you can reduce the amount of resources transferred. Personally, i would consider testing the waters by going with the decade plan, checking your bandwidth, and if you ever get close to surpassing your bandwidth limit, upgrade the bandwidth (or to a better plan) later on.
-
The method that you asked for, which andresf91 gave an example of, would put unnecessary stress on the server. I could not tell if this script would be placed on the same server or another one by your post, but in either case, this is the scenario that would occur: The script requests for entire page (i.e. the student page) to be rendered, the page gets the information from the database, parses the rest of the information and sends it to your script. Your script retrieves the information, parses the HTML searching for the information it wants, tossing out any information it doesn't need, and renders it. This process is multiplied by the number of students that are to be displayed. Having it on the same server would mean there is less time to wait to download the entire HTML page (i.e. more2.html?frn=<student number>), but the same amount of calls and processing power would be required. Say you wanted to show 15 students per page. That would be the equivalent of 15 people accessing the same student page from 15 different computers. You should not consider using this method.
-
I don't really see the point in following any company just to be informed of small things. It would be more interesting if these companies chose to make conversations within these social networks, not do things as if they were oblivious to their own fans and followers. For example, while i could contact support using some other method, if i had a query and decided to use one of these social networks to get a response, i should not be redirected to support else where?i should be given a desired response. From a business perspective, this can only be seen as a way of attracting more attention to themselves in hopes of increasing revenue. Perhaps if they gave away some information about the company that wasn't already known through these social networks, then it might be more worth it to follow them or "become a fan," but that is less likely to occur, i would say. Perhaps OpaQue can use this topic for the Xisto Facebook account.
-
That's only HTML and JavaScript; these alone cannot do any database work. We can only provide general responses to your specific situation, as we do not have any idea how the database is structured, if even a MySQL database is being used to store the information you want to retrieve (you didn't state what database the student records are stored in), et cetera. If that is all you can provide, then i am afraid that we won't be able to provide any specific solutions, if at all anymore information. We could attempt to provide you with solutions that make assumptions that may not be true, but since they may not be true, it may be work in vain.
-
If you can verify that the sub-domain links to your hosted account, then use the sub-domain till you can afford a domain. If you already have a domain and the sub-domain, and the sub-domain points to your hosted account, then park the domain you have to the sub-domain.
-
You can reduce the number of results using the MySQL LIMIT clause. Here is the syntax for the LIMIT clause: LIMIT {[offset,] row_count | row_count OFFSET offset} However, that is much simpler than it looks. Example: SELECT `username` FROM table_name LIMIT 0 , 100 You can replace 0 with the page number, minus 1, multiplied by the number of users you want and replace 100 with the number of users you want; just make sure they really are a number before making the query. For performance reasons, you should always try to limit the amount of database queries. Here's an example to retrieve the number of rows within a table: $sql = "SELECT COUNT(*) FROM table";$result = mysql_query($sql);$num_of_rows = mysql_result($result, 0);
-
The topic started by OpaQue about the new site name can be found here. I don't think Xisto.com will be let go by OpaQue but will be kept as a redirect. Even after making a complete switch to the new name, i don't think the old URL should or would be dropped. I recommend bookmarking the forum's index page if you don't want to run into the flash introduction of Xisto.
-
And to add on to your code, let us add a redirect to go back to the main site: <?php// $_REQUEST allows for both $_POST and $_GET methods to work$dir_name = str_replace("\n", "", $_REQUEST['dir_name']);// Strip any ending slashif ($dir_name[(strlen($dir_name)-1)] == "/") $dir_name[(strlen($dir_name)-1)] = "";// If location exists and is a directoryif (is_dir($dir_name)){ // Redirect the user to the directory header('Location: http://'. $_SERVER['SERVER_NAME'] .'/'. $dir_name .'/');}// Else send them back to the main siteelse{ header('Location: http://'. $_SERVER['SERVER_NAME'] .'/');} ?>anwiii, i know you want it to go back in history one level, but there is no 100% sure way to make that happen. Also, you may want to inform the user that the directory could not be found and so was redirected (to avoid confusion). Also note that since the header function is used, it must come before any output to the browser. Also note that this will only work with directories one level below public_html unless the user enters "dir1/dir2" as the directory path. And concerning security, i am unaware of any security flaws.
-
Compilers do this all the time when compiling programs, unless you explicitly tell the program to load the image file externally. This is why programs can have icons all over the place without having installed any of those icons on your computer. Of course, if the images are encoded (e.g. in PNG, JPEG, et cetera), then your program would require some way of decoding them. I haven't studied compilers, let alone how to make them embed files directly into the executable, so i cannot tell you how they do it, but they probably convert the image into object code (files) and then embed those files.
-
Recieving Email Of My Cpanal Information From Nobody
truefusion replied to web_designer's topic in Web Hosting Support
My website is hosted on the gamma server, and while the e-mail names would be better off being in a consistent form, it may be the case that each server has certain things configured differently. In fact, some servers are configured differently (as shown by the GFXtrap.com new template topic), though the difference may not be significant or matter at all. -
How To Post Pictures On A Website That Cannot Be Copied
truefusion replied to anwiii's topic in Websites and Web Designing
I wouldn't call it entirely impossible, since i've seen a website prevent images from being saved onto the computer (i.e. "Save Image As"). I am not exactly sure how they did it, but whenever i tried to save the image to my computer, i would end up downloading an HTML page instead. I'm sure you can tell the browser not to cache the image too. The website, however, i do not remember, but copying and pasting the image into an image editor would have been the obvious way around it. But if you're going to embed the image in an HTML page, use JavaScript to load the image and prevent right-clicking on image elements. That way, if they disable JavaScript, the image won't be shown.Perhaps you can use an .htaccess file to prevent access to a directory where the image is in (most likely the directory would be called "images"), so whenever someone tries to access the file directly they would be denied. Loading the image, then, in an HTML page may be tricky and may require some server-side scripting. -
Recieving Email Of My Cpanal Information From Nobody
truefusion replied to web_designer's topic in Web Hosting Support
Whenever your hosted account sends an e-mail from its mail server (e.g. through PHP's mail function), it is from this "nobody" (nobody is the user that the server sends random mail as). WordPress, whenever it is installed, sends an e-mail to the e-mail address you provided during the installation with the relative WordPress information. By the sound of it, you installed WordPress at least twice, therefore receiving practically the same e-mail twice. -
You should note that all of the options within the poll do not reflect the conclusion which you stated. Also, the terms "women only" and "men only" may come off as ambiguous. But i'm guessing you mean the ones that are labeled "women only" should only be chosen by women, and the ones labeled "men only" should only be chosen by men. Or is it that anyone can choose whichever? As for my stance, i can't say my stance is accurately reflected in the poll, so i will not vote in the poll. But i agree with your opinion except that i wouldn't just go with what is considered manly, but rather by whom it was made to be worn. Jewelry should be used in accordance with the decision of its (their) maker. If it was designed for men, let it be for men only; if it was designed for women, let it be for women only. The only unfortunate part is that not everyone labels things "just for men" or "just for women." Sometimes they are obvious, and sometimes other terms are used to differentiate between the two (e.g. perfume and cologne), and some may place them within the "men's section" of the store. But when there are no obvious signs, i wouldn't call it safe to assume that it is gender-neutral. I should mention, though, that one does not need to absolutely consider the maker's purpose for the jewelry. Rather, it should only be considered when one is seriously looking to buy jewelry for themselves. In this way, any designers who like to play around with terms and style where the jewelry obviously looks like it should have been in the men's section instead, or vice versa, but is labeled for the section it is in, can be avoided.
-
Why Windows Vista And 7 Take Up So Much Memory The truth revealed
truefusion replied to Rigaudon's topic in Operating Systems
Though i don't use or own Windows Vista and above, the SuperFetch feature sounds like something i would want disabled at all times. I don't mind having things take a while to load the first time i open them up, but they should take less time to open up every other time. Things i use the most i tend to have them open almost all the time anyway. I have enough RAM on my system to have many things opened all at once. If the SuperFetch feature causes the system to slow down while keeping other programs that it thinks you give a high priority to, then perhaps it is better if it is simply disabled. -
Yeah, most Qt development is done in C++, and some people use PyQt to start their Qt projects in to later convert them into C++ code, but much of what is done in C++ concerning Qt can be done in Python too. C++ used to be called "C with objects," it was what introduced object-oriented programming into C. However, since then C++ has grown a lot and has introduced other new things that are not found in C, but all C code is legal C++ code. It is not recommended to first learn C so that you may dive into C++. C is its own beast () and you may pick up habits from C that may not be required or may be counter-productive if used in C++. No problem. I have tried PHP-Qt, yes. I believe KDE took over the project a while back, but i am uncertain of its current development. Back when i tried it out, PHP-Qt was too immature (not complete) to be able to do everything i could as with PyQt or C++ (or as the Qt documentation showed). It may be more complete now, but i haven't bothered to check. The nice part about it, though, was that i could practically copy and paste some C++ code, remove the type declarations, add $ where needed, et cetera, into the PHP code and it would run fine, insofar as all the functions and classes were supported. By the way, PHP 5 is what is better suited for desktop development. PHP 5 is what introduced more common object-oriented programming features, which is what allowed PHP to be suitable for desktop application programming. Qt Designer is a drag-and-drop GUI editor which generates UI files (which are really just XML files) to be used by any language that supports Qt. The same UI file can be used for PyQt, C++, Qt for Ruby, et cetera. You can also have your Qt program make use of different UI files which would be loaded dynamically by your program. (For GTK a similar editor, but not as complex, is available known as Glade.) To understand how to design in Qt Designer, you'll have to understand how the Qt layout system works, otherwise you may find yourself inputting absolute coordinates that would have otherwise been taken care of by the layout system. I use Qt Designer most of the time (since it is a whole lot easier and faster than typing out all of that code by hand), unless i require a more complex GUI.
-
Local Site Hosting Put a website online from my computer
truefusion replied to rougue's topic in Computer Networks
Apache does this automatically. If you have Apache running, then your site will be accessible by anyone who has the IP address of your server. If any firewall is blocking port 80 (or whatever port Apache is using), then people won't be able to access your site. If the IP address is dynamic, then you'll have to give out the IP address whenever it changes. If you want people to visit the address with a domain name, then you'll have to purchase your own domain and link it to the IP address of the server.