Jump to content
xisto Community

WindAndWater

Members
  • Content Count

    106
  • Joined

  • Last visited

About WindAndWater

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    http://www.windandwater.org
  1. It seems like I may be asking a question or two more in the next few days before I get a Xisto - Web Hosting account. Thanks for the quick response on the other one OpaQue. I'm wondering if I could get either the PHP version of TidyLib (http://forums.xisto.com/no_longer_exists/) or the Perl one (http://forums.xisto.com/no_longer_exists/) installed on an account. The php version comes integrated with PHP5, but the Xisto - Web Hosting page says that the accounts use 4.x, so it seems like it'd have to be installed seperately. Sorry for the strange question, Thanks again, Blake
  2. Hello,I used Xisto for a few months and was extremely happy with the service. I'm currently working as a part-time webmaster and I'm strongly leaning to moving one of my clients over to Xisto - Web Hosting. However, my Xisto account didn't support SFTP or SCP, and I feel uncomfortable transmitting business information (and logon information) over an unsecured connection.Would it be possible to enable either SFTP or SCP (or failing that, even FTPS) on a Xisto - Web Hosting account?Thank-you,Blake
  3. Since it hasn't been mentioned yet, I feel the need to point out that there are specific reasons why these people enter the United States illegally. Due to economic infeasability, or sanctions against their emmegration or immegration, they did not have the choice to enter the United States legally.These are the reasons why I think illegal immigrants should be allowed citizenship after a number of years, and given legal residence until then:1) They're indespesible to america's industries. If we somehow managed to deport them all our economy would crash overnight.2) Humane reasons -- either you agree with them or you don't; I do. One that hasn't been mentioned yet is the fact that these immigrants can't protect themselves legally because they can't appear in court -- meaning that they can be denied wages, services, and their own property because they can't seek recompense.3) Legalizing immigrants will raise the working wage, as there won't be an outlet of under-minimum-wage labor anymore. Yes it'd make that wage market more competitive, but immigrants are already occupying those jobs because of their willingness to work for lower pay.4) Legalizing immigrants will actually drive down healthcare costs as currently they burden emergency rooms withouth being able to pay for treatment. Legalizing them will allow them to pay taxes and healthcare.
  4. Up until last year my university had a problem with people overprinting things (people would print a 80 page pdf just to get 3 pages, and throw the rest out, etc). Then computing services came up with a brilliant solution. They tracked users' consumption and figured out that something like 98% of people print less than 1600 pages a semester. Then they installed a quota system on printing where each person gets given $40 free quota (1600 pages if they print double-sided) per semester, and anything after that they have to pay for themselves. Even though the quota system's just the illusion of money (tuition's actually a very small amount less since we don't have to pay for the heavy printers) printing usage dropped to 1/3 of what it was previously. It was amazing.
  5. I think it depends on what kinds of projects you try to learn how to do. I greatly enjoyed a class where I learned how to write a proxy, malloc, a simple shell, and a few other interesting/useful projects all in C. The book from the class (written by the instructors) can be found at Amazon as well as other places. The book also comes with a list of assignments very similar to the ones that I did. However, in another class I wrote things like a basic search engine, but still found most of the concepts pretty simple and boring. So if you're not interested in systems programming (the understructure of how computers work) you might not find the book as useful as I do.
  6. You can find a very extensive collection of public domain vintage videos (lots of public service announcements and ads) at https://archive.org/ when you search under the Prelinger Archives. It's an amazing resource. If you need still photos, you can also grab individual frames from the videos.
  7. Yes I assume that your forum will transport fine as it doesn't actually move the files at all, just what points to them. You can change your domain at https://support.xisto.com/ and it'll take up to 48 hours to propegate (change), the same as when you originally created it.
  8. Avalon, I think we're looking at this topic in different ways. I (and I think most other people) see it as a chance to share our personal views on how to deal with children -- our personal opinions, not our advice for parents on how to do their job better. In such a setting bringing up whether people are "qualified" to make statements is pretty rediculous. No-one here is writing books on how to rear children. We aren't telling you how to raise your children, and I hope you wouldn't presume to tell us how to raise ours (where applicable).
  9. Well lets look at the functions you have:strlen($string) returns the number of characters in the string.substr($string, $start, $length) returns the string of length $length, starting at the $start character.In order to add things to an array, you must first initialize it: $arr = array(); and then you can automatically add new elements by using $arr[] = $nextElement;So a psudo-code way to do your assignment would be:1) Get the length of the entire string.2) For each character in the string, starting at the first, get that single character, and add it to the array.Hopefully that helps you get started. If you want to be smart with your teacher, you can point out that php strings already work like arrays.p.s. I know code is generally put into code tags, but I decided to leave them out as I'm using the code in mid sentence.
  10. Yes you can. Nameservers are ns1.trap17.com and ns2.trap17.com. No it does not stick your website in a frame/iframe. Pretty much it's as good as it sounds, amazingly enough.
  11. As another member pointed out, Microsoft was sued for copyright infringement, so embedded video content now must be actived by clicking on it before it starts. You can get around this by using javascript to write out the embedding code. Other than that, your site works fine for me in Internet Explorer.Also, speaking of copyrighted material, I'm fairly sure that those music videos violate the band's/music company's copyright, as well as the Xisto terms of service. Unless I'm wrong, and you've somehow obtained consent from them.
  12. It looks like someone already answered you, but here's an alternative implimentation that allows you to specify the folders you want sorted. I'm not sure which one you'll prefer. <?php function dirList($dir) { $results = array(); $handle = opendir($dir); while($file = readdir($handle)) if ($file != '.' && $file != '..') $results[] = array($file, filemtime($dir . $file)); closedir($handle); return($results); } function reorderByDate($first, $second) { return($first[1] < $second[1]); } /* Please only change the following line of code */ /* Directory names *must* end with a "/" */ $listOfDirs = array("folder1/", "folder2/"); $results = array(); foreach($listOfDirs as $dir) $results = array_merge($results, dirList($dir)); usort($results, "reorderByDate"); /* Displays the files -- change this if you want them to display differently */ foreach($results as $file) echo $file[0] . "<br />\n"; ?>
  13. Since hotlinking is already mentioned the manual (and slightly cleaner) way to do it is to add the following to your .htaccess file: RewriteEngine onRewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]RewriteRule \.css$ - [NC,F,L]If someone tries to navigate directly to your .css file it'll send them to the 403 forbidden page instead. However, there are two problems with this approach. 1) It's very easy to fake the referer, and so it's quite easy to circumvent. 2) The .css files are downloaded to and interpreted on the user's local computer like .html files. That means that each and every person who looks at your html page will have your css page on their computer, at least for a little. However, both of these workarounds probably won't occur to the average user, so you can still block most people from seeing it.
  14. Change if($file != '.' && $file != '..') to if($file != '.' && $file != '..' && file != 'index.php')
  15. My story's probably quite a bit more anticlimactic than most of the others:We met through a mutual friend after school one day. She remembers that she came up to my brother and me, and asked "Hey, are you two twins?" at which point we rolled our eyes, looked at her, and burst out with random contradictory stories. I don't remember the actual event, but I assume my thought proccess was "Hm...there's a random person with <name of friend> . . . Ooo look, it's time to re-aim the s4 ellipsoidals." Thankfully, many of our other experiences have been quite a bit more memorable.
×
×
  • 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.