gaea
Members-
Content Count
208 -
Joined
-
Last visited
Everything posted by gaea
-
Wow, this is the first time i've heard of this. Was it actually inacted? Or just a current suggestion. I find it hard to believe that it'd actually get passed.Regardless, outlawing something is not a good way to get rid of it...it'll only drive that thing underground and help me more "shady" pieces of society. Look at abolition. It didn't get rid of alcohol...it just supported the mob. Or look the fact that marijuana is illigal in the US but not in amsterdam. Did you know that in the US there ammount of teenagers to try herb is almost double that of amsterdam? (sorry for the lack of actually stastics...im in a huge rush. I'll try and come back and edit this later).
-
Any Idea Where I Can Find A Good Voting Poll Script? multiple topics
gaea replied to Albus Dumbledore's topic in Programming
The cpanel actually comes equiped with some form scripts (check fanstaico...or however you spell that). If you want something that is exteremly customisable why don't you just write it specificly for your appliation? Sure, it'll take you and hour or two the first time...but then whenever you want a new one you can just modify the last version. Just check out html "forms," and php. -
Alright, here you go (this is a parred down version...without all my site specific crap). If you want help modifying this script to add extra functions just lemme know what you want, and i'll try and help you add it. Like the origonal script that you posted this uses two pages, one with the origonal form, and one with the action. It is entirely possible to write the entire thing in one page instead...but this is just the way that I did it. The first page is named 'contact.php'. It merely gathers the information to send to the second page. It is importaint that this be a php script if you want it to log the person's IP adderess, Refering page, and browser type. Contact.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://forums.xisto.com/no_longer_exists/ php script</title></head><body><form method="post" action="sendmail.php"><!-- DO NOT change ANY of the php sections --><?php/* This section gathers the user's IP adderess, refering page, and browser name */$ipi = getenv("REMOTE_ADDR");$httprefi = getenv ("HTTP_REFERER");$httpagenti = getenv ("HTTP_USER_AGENT");?><input type="hidden" name="ip" value="<?php echo $ipi ?>" /><input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /><input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />Write any message you care to include here<br /><center><table border=0><tbody><tr><td><font color="red">*</font>Name: </td><td><input type="text" name="visitor" size="51" /></td></tr><tr><td><font color="red">*</font>Email: </td><td><input type="text" name="visitormail" size="51" /></td></tr><tr><td> Subject: </td><td><input type="text" name="subject" size="51" /></td></tr><tr><td><font color="red">*</font>Message: </td><td><textarea name="notes" rows="7" cols="50"></textarea></td><tr><td></td><td align="center"><input type="submit" value="Send Mail" /></td></tr></tbody></table></center></form><p> </p></body></html> The second page is named 'sendmail.php'. It is responcible for all the error checking (if a problem is found it lists the problem, and gives the user the form to resubmit), as well as the actual sending of the email, and writting a confirmation message. sendmail.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://forums.xisto.com/no_longer_exists/ php script</title></head><body><?php$passedTests = "yes";if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))){echo "<h2>The following error(s) encountered:</h2>";echo "<font color='red'>*Invalid email address. <br /></font>";$passedTests = "no";}if(empty($visitor) || empty($visitormail) || empty($notes )) { if($passedTests == "yes"){ echo "<h2>The following error(s) encountered:</h2>"; }echo "<font color='red'>*Please fill in ALL of the required fields. <br /></font>";$passedTests = "no";}/*Prepare to send the email. Formatting etc */$todayis = date("l, F j, Y, g:i a");$subject = $subject;$subject2 = "****Subject of email you want to appear****";$notes = stripcslashes($notes);$message = " $todayis \nFrom: $visitor ($visitormail)\nSubject: $subject \nMessage: $notes \nAdditional Info : IP = $ip \nBrowser Info: $httpagent \n";$from = "From: $visitormail\r\n";/*If all checks are passed, then send the email and display a thankyou message*/if($passedTests == "yes"){mail("****Your Email Adderess Here******", $subject2, $message, $from);?><p align="center"><h2>Thankyou for your feedback!</h2><center><br /><table border=0><tbody><tr><td>Date: </td><td><?php echo $todayis ?></td></tr><tr><td>Name: </td><td><?php echo $visitor ?> ( <?php echo $visitormail ?> )</td></tr><tr><td>Subject: </td><td><?php echo $subject ?></td></tr><tr><td></td><td></td></tr><tr><td>Message: </td><td><?php $notesout = str_replace("\r", "<br/>", $notes);echo $notesout; ?></td></tr></tbody></table></center></p><?php}else{/*Otherwise, display the orgional form again to allow the user to correct their input*/?><br /><form method="post" action="sendmail.php"><?php$ipi = getenv("REMOTE_ADDR");$httprefi = getenv ("HTTP_REFERER");$httpagenti = getenv ("HTTP_USER_AGENT");?><input type="hidden" name="ip" value="<?php echo $ipi ?>" /><input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /><input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /><center><table border=0><tbody><tr><td><font color="red">*</font>Name: </td><td><input type="text" name="visitor" size="51" /></td></tr><tr><td><font color="red">*</font>Email: </td><td><input type="text" name="visitormail" size="51" /></td></tr><tr><td> Subject: </td><td><input type="text" name="subject" size="51" /></td></tr><tr><td><font color="red">*</font>Message: </td><td><textarea name="notes" rows="7" cols="50"></textarea></td><tr><td></td><td align="center"><input type="submit" value="Send Mail" /></td></tr></tbody></table></center></form><?php}?><p> </p></body></html> I tried to make comments explaining things...lemme know if you need help clearifying any of it. Please don't forget to change the subject and email fields to match your requirements.
-
Wow, I didn't even see that option. I withdraw my comment (and would delete this post if i could). Thanks!
-
If you want to promote disscussion one of the most essental things you can do is to allow people to respond easily. If you just attached a parred down (body with a submit) version of the reply it would be more direct. I've also had the current fastreply function bug out in the saving process. If you didn't want to fully change it, then an option in the My Controls section to switch it on would be nice.
-
Or you could look at it the same way Duglas Adams (and many others) did: one consistant timeline. When the "passed" origonally happend you had already gone back to it.
-
Easier Way Of Living By Using Power Off Grid
gaea replied to wild20's topic in Science and Technology
I actually first heard about it on the Guerrilla News Network (a leftist news site...lots of good news, but some of it isn't fully supported with facts). As far as the (us) goverment looking into it, they have way way too many ties with big oil companies to seriously invest in switching the country to alternative energy. I mean come on they're giving people tax breaks for buying SUVs and Hummers! Kinda absurd. If you want to learn more information about the end of fossil fuels I'd recomend seeing a documentary named "The end of Suburbia." While I certianly don't agree with all the conclusions that they draw (i think we'll have enough forsight to atleast partly change over to alternative energy before the fossil fuel crash), it is still a very informative and interesting movie. -
Does it ever restart in any other conditions? I had a similar problem to this about a year back and it turned out that my cpu was dying because my powersupply was underrated. If you have alot of hardware (multiple cd drives, or hard drives, good video card, etc) make sure that you powersupply is providing enough wattage. Checking it sooner than later is better...as I failed to check it, and wound up having to buy a new cpu and motherboard as a result (when the cpu finially went it took the motherboard with it).
-
Hosting Specification Clarification Just A Question
gaea replied to illdevilinc's topic in Web Hosting Support
I can't really think of a reason why you'd need more than 99 subdomains (unless you were providing your own hosting service...which i think is against the TOS).You do bring up some good points though. The signup screen says we get between "500 - 20,000 mb Bandwidth" (what i'm most concerned with atm), but it only lists about 5gb (5,000mb) bandwidth a month in my cpanel. How do we go about getting our bandwidth limit increased, should we need it? -
As the votes are clearly showing, Azuerues is deffinatly the best client. For starters it is written in java...which means it is complatible with most operating systems. Add the giant database of mods (to do basicly neigh anything you could possibly want); the extensive interface (allowing you to tweak practically everything); and the wonderful functionality and...well...it's pretty much perfect.Oh, who voted for the origonal bittorrent client? Hah. The guy made a wonderful protocol, but his client was ssssooooo bad.
-
A silly question, but you've checked to make sure that php scripts work fine on your server, correct? If so, then what do you mean "nothing happens?" As in it goes to the contact.php page and says the message wasn't sent; or when you click the button it doesn't even change to the contact.php page. If you problem is the latter then it's almost assuredly the javascript code that is bugging out. So remove the form validation code and then try to see if it works. If so we can help you troubleshoot the validation code...or you could simply rewrite it in php which might be easier, and would work with all browsers (even if someone has an anchient computer).If you want to just use/modify another script lemme know and i'll be happy to post the one I wrote (which i know for a fact is in working condition).
-
If you read the artical linked it says it was noted on the techsupport board with a message encouragaing people's free access. So i'd deffinatly say it was on purpose. As far as the whole cenorship thing goes...if a country tries to blantently rewrite history it'll only encourage people more against it; for a few generations. Still, there are people fighting it even more seriously. For instance, PeaceFire.org created a circiumventor, which (amoung other things) has the ability to help get around china's firewall.
-
Firefox Extension Problem... Gotta get rid of this text selection thing _
gaea replied to truefusion's topic in Software
Could you give us a little more information...starting with: What extention is giving you this problem? You also might try posting on the extention's forum. If you want info about how to manually uninstall it, or trying to find a script to do it check out http://kb.mozillazine.org/Firefox_:_FAQs_:tall_Extensions -
Make Firefox 4x Faster. Get DSL Speeds With Dial-up on firefox.
gaea replied to Benz1435's topic in The Internet
I found this, http://forums.xisto.com/no_longer_exists/, thread. Evidently browser.turbo.enabled is a left over switch...it doesn't actually do anything. I'm going to try to pipelining one, makes sense to me. -
What Country To Do You Live In, And Rate It.
gaea replied to Fu Still Better's topic in General Discussion
I live in the United States of America. I'm part of the middle class, which means i am quite fortunate. As it relates directly to me I'd rate the US a 9. As it relates to our poor, to disabled ventrans, to immagrents, etc, I'd rate it about a three...i.e. completely miserable.We also have a completely blood thirsty physcho goverment. Much more concerned with controling the middle east and making money than all the hundrends of thousands of people they to kill on their way to further their goals. That means, as far as forign policy goes, I give them a -2000. -
Easier Way Of Living By Using Power Off Grid
gaea replied to wild20's topic in Science and Technology
Getting off of the powergrid is a pretty smart idea. The days of fossil fuels are numbered, hell we've already surpassed peak oil (even by the most conservative estimates. In two or three more decades gaoline powered engines will be completely archaic and useless.Weither we'll switch to an existing technology, or create something entirely new is still yet to be seen. Right now solar power looks like the most promising alternative. This company named Pyron released a new type of solar panel about two months ago. It uses short focal-length lenses to concentrate sunlight directly into the photovoltaic cells. This allows them to generate about 800 times the electricity of a conventional solar panel the same size. On top of that, they are signifficantly cheaper than the coventional versions (about $18,000 versus $32,500). It has been estimated that if we filled a 50 square mile portion of the desert in the midwest with these solar panels that it would be enough to supply the entire US with power. Pretty crazy stuff. -
A Cool Collection Of Cursor Followers...excite Your Visitors! keep them busy
gaea replied to saint's topic in Programming
Agreed. Changing the user's mouse pointer is about as bad as having your website start to automaticly play music when someone vists it. Not only is it a collosal waste of space and bandwidth, but it is also very very very obnoxious. If someone wanted a different graphic for their mouse pointer they would have downloaded one so they could use it perminately. Cheap tricks are no substitute for real content. -
I'm not 100% certain because i've never done this before. From what i saw it looks like you can either put that into your php.ini, or into a .htaccess. AddType application/x-httpd-php .php .htm .html//Tells the server to treat html and htm files as php files.< FilesMatch "\.(php?)$" >php_value auto_prepend_file "/the/path/that/leads/to/count.php "</FilesMatch >//Adds your adpage (e.g. /the/path/that/leads/to/count.php) to beginning of all php files.Might not have everything perfect, but i think that's close.
-
Sorry, I miss understood you then searched around on google for a little bit and i found: Code looks something like: Hope that helped
-
Accessing Ftp/cpanel Before Domain Propagation is it possible?
gaea replied to gaea's topic in Web Hosting Support
I had a sub-domain but i used the process page to point the server to the domain, not realizing that it'd sever my access completely until the domain switch was finished.Accessing cpanel through ip was a good idea, but i couldn't log in. I'm guessing that was the global host's cpanel (oops), as opposed a general login.No huge worries though. It'll be back in a few days, and i can just develop other content while i wait. -
Hey. I'm pretty sure i already know the answer to this...but I mind as well check.I just registered a domain name (well, actually it encountered an issue, but it'll be registered by tomorrow), and then--being silly--submitted a domain change request here at Xisto. Is there any way for me to access my webspace via ftp or cpanel while i wait for it to propagate in the next few days? Or am i S.O.L. unless I want to spend 30 more credits changing it back and forth.Thanks
-
Yeah direct connect (DC++) is really good for that sorta thing. Unfortunatly it basicly only runs within schools or on WWW2. Used to get crazy speeds on that when i was at RIT. Could download a full movie in ~5minutes. Even had to cap my upload because it was lagging the crap outa my computer going at 10mb a second. Alas, i no longer have the benifit of an ungodly fast network. So bittorent is now my friend. Works fairly fast, just not at a mindblowing rate.
-
We live in the richest country on earth. Even in a recessive economy the dollar continues to dominate the world?s markets, remaining the de facto standard for global currency. Why is it, then, that over thirty million Americans go to bed hungry each night? Why do 44 million people, including 8.5 million children, have no form of health care? How do these people, these human beings, seem to so easily slip through the cracks? It is the sad truth that seventy-two percent of the country?s wealth is owned by the top ten percent of its population. Even more shockingly, the top one percent of Americans own as much wealth as the bottom ninety-five percent combined. That, in itself, should not necessarily be a problem. I am not here to advocate that we switch to another economic system. Such arguments and self-righteous rhetoric have already been beaten into the ground long ago. More importantly, they stand absolutely no chance of successfully transforming our current paradigm. It is only by working through our current system that we can hope to affect any sort of positive change. The first step to ameliorating any situation is to identify the source of the problem. Why are we giving enormous tax breaks to those who are already wealthy? Why do we continue to pour money into Iraq, 154.7 billion dollars at the time of this writing, when our own country is in such disarray? Obviously the average American is not being represented. On closer reflection it becomes rather apparent that Washington is being controlled by a small fraction of economic elite--large corporations, to be specific. While it is far beyond the scope of this essay to delve into the rational for this statement, I would direct you towards the works of Noam Chomsky. The question then becomes not who is in power, but why they are there. We live in a democratic republic. Theoretically, the populace should be dictating the direction our country takes. We vote for elected officials who, in turn, are supposed to advocate for our beliefs and positions. Where along the line is this sacred trust betrayed? And, even more importantly, why do so many Americans remain disaffected or na?ve about the consequences of this duplicity? The answer to this first question lies in campaign financing. Successfully running for office requires a vast amount of money and resources. Ideally, this financing would be obtained via grassroots organizing. But, all too often, candidates are forced to rely on other sources of contributions. Frequently, this alternative funding comes from large corporations. This sets up a blatant conflict of interest, leaving civilians short handed when public welfare vies against corporate interests. The easiest way to avoid this would be to reform campaign financing. But such reforms are unlikely while the general populace remains uneducated regarding the current situation. This brings us to our second issue: the media?s role in propagating this cycle. A vibrant, healthy media is essential to any true democracy. It should act as the final check and balance, informing the public of what is being carried out in their name. It was to this end that the FCC (Federal Communications Commission) was originally erected. Unfortunately, as a quick review of the FCC?s actions in the past twenty years will show, the organization has been acting in a directly contrary fashion to the very principals it was founded to protect. Instead of regulating media ownership, the FCC has been opening the way for even more giant corporate mergers. In return for these lax statutes the media is more than happy to back the government, passing on misinformation and propaganda as fact. So where does that leave us? Our country has a multitude of social problems. Most of our government is corrupt; and what should be a highly critical media is entirely complicit in their actions. We must, therefore, rely on the only resources that are at our disposal. In the past ten years independent media has become an entirely viable option. One of the best examples of this is Amy Goodman?s program ?Democracy Now!? (http://www.democracynow.org/), which appears on over 300 TV and radio stations nationwide. We can also help support progressive candidates such as Cynthia McKinney and Dennis Kucinich. It is important that the fight goes on. Every day more and more people become disenfranchised with the corporate world. We must form a coalition of true values voters, which transcends such superfluous things as race, age, or gender. And, in the end, we shall prevail. By Paolo Unger Dvorchik
-
That removes about 99.99% of the files worth downloading right there. You don't have to be quite that paranoid, but if something looks supicious then investigate more before downloading it. Oh, and I love your avatar cragllo
-
Ah, ok. Then your best bet is to use Iframes like i suggested. Basicly, just make a webpage (html, php, whatever) that just displays adsense. Then use an iframe to include it where you want it. Some guy did something kinda like that with SSI (https://forums.digitalpoint.com/threads/howto-ssi-google-adsense-in-static-html-pages.3255/) but i havn't tried that method myself.