coolcat50
-
Content Count
303 -
Joined
-
Last visited
Posts posted by coolcat50
-
-
Hmm yeah! I may use yours if mine becomes too long, but I want to see if I can make mine do some cool stuff. It will look more professional if it's longer. Laugh out loud!
-
Wow! My script is so complicated compared to that one. Well, I might make a password generator. Do you mind if I use your code snippet for it?
-
That sounds alright to me Jlhaslip. I guess I need to add a poll?
-
Nice job Saint_micheal. I like it! Well who is going to make the voting topic.
-
I think you might have just fixed my script. Thanks Rvalkass!Also, I use the $string array to get rand numbers and replace 10-35 with letters. That is the only way I know how to randomize letters.EDIT:I made the $string array global inside of the function and changed the $i++ to $a++ and it now works.Completed script:
<?php//This PHP script will generate a random array and turn it into a string consisting of 0-9 and A-Z.// This is the first developmental version.//Create 10 item array for string$string = array(0,0,0,0,0,0,0,0,0,0);//Create function to replace 10-36 with A-Zfunction conToStr() { global $string; for ($a = 0;$a<=9;$a++) { switch($string[$a]) { case 10: $string[$a] = 'a'; break; case 11: $string[$a] = 'b'; break; case 12: $atring[$a] = 'c'; break; case 13: $string[$a] = 'd'; break; case 14: $string[$a] = 'e'; break; case 15: $string[$a] = 'f'; break; case 16: $string[$a] = 'g'; break; case 17: $string[$a] = 'h'; break; case 18: $string[$a] = 'i'; break; case 19: $string[$a] = 'j'; break; case 20: $string[$a] = 'k'; break; case 21: $string[$a] = 'l'; break; case 22: $string[$a] = 'm'; break; case 23: $string[$a] = 'n'; break; case 24: $string[$a] = 'o'; break; case 25: $string[$a] = 'p'; break; case 26: $string[$a] = 'q'; break; case 27: $string[$a] = 'r'; break; case 28: $string[$a] = 's'; break; case 29: $string[$a] = 't'; break; case 30: $string[$a] = 'u'; break; case 31: $string[$a] = 'v'; break; case 32: $string[$a] = 'w'; break; case 33: $string[$a] = 'x'; break; case 34: $string[$a] = 'y'; break; case 35: $string[$a] = 'z'; break; default: //Number is 0-9 //We just keep it as it is $string[$a] = $string[$a]; } }} //Create rand number loop for array sections and insert rand num into array.for ($i=0; $i<=9; $i++) { //Start rand function $string[$i] = rand(0,35);}//Perform the conToStr() function with no argumentsconToStr();//Put the array into another variable as a string$product = implode('',$string);//Echo out the stringecho $product?>
-
You have to use a seperate library to do this. You can do it with VC++ though if you can't find a graphics library. The same is with Perl.
-
The rules are simple but precise:
Rules
Theme: Abstract
Size: 400 x 100
Render:Only one, Nintendo series only
Animation: Optional
Due: Whenever
Other:Nothing
Here is my entry:
Best 4 out of 7 will be the winner.
-
For some reason my random string script is not working. I got a fatal error when I tried it under XAMPP. I do not know why. It looks syntatically correct. Could someone help me?Here is the script: (Warning its over 100 lines long)
<?php//This PHP script will generate a random array and turn it into a string consisting of 0-9 and A-Z.// This is the first developmental version.//Create 10 item array for string$string = array(0,0,0,0,0,0,0,0,0,0);//Create function to replace 10-36 with A-Zfunction conToStr() { for ($a = 0;$a<=9;$i++) { switch($string[$a]) { case 10: $string[$a] = 'a'; break; case 11: $string[$a] = 'b'; break; case 12: $atring[$a] = 'c'; break; case 13: $string[$a] = 'd'; break; case 14: $string[$a] = 'e'; break; case 15: $string[$a] = 'f'; break; case 16: $string[$a] = 'g'; break; case 17: $string[$a] = 'h'; break; case 18: $string[$a] = 'i'; break; case 19: $string[$a] = 'j'; break; case 20: $string[$a] = 'k'; break; case 21: $string[$a] = 'l'; break; case 22: $string[$a] = 'm'; break; case 23: $string[$a] = 'n'; break; case 24: $string[$a] = 'o'; break; case 25: $string[$a] = 'p'; break; case 26: $string[$a] = 'q'; break; case 27: $string[$a] = 'r'; break; case 28: $string[$a] = 's'; break; case 29: $string[$a] = 't'; break; case 30: $string[$a] = 'u'; break; case 31: $string[$a] = 'v'; break; case 32: $string[$a] = 'w'; break; case 33: $string[$a] = 'x'; break; case 34: $string[$a] = 'y'; break; case 35: $string[$a] = 'z'; break; default: //Number is 0-9 //We just keep it as it is $string[$a] = $string[$a]; } }} //Create rand number loop for array sections and insert rand num into array.for ($i=0; $i<=9; $i++) { //Start rand function $string[$i] = rand(0,35);}//Perform the conToStr() function with no argumentsconToStr();//Put the array into another variable as a string$product = implode('',$string);//Echo out the stringecho $product?>
-
Whenever you use the echo command, it automatically creates a linebreak. I think it might not be able to create linebreaks in a single echo statement though.
-
That sig looks sweet! What render is that? It looks like the Mesmer from Guild Wars, but I could be wrong.
-
Oh my goodness this is hard to decide. I would have to say Angelina Jolie or Charlize Theron. Hayley Williams from Paramore is pretty hot also.
-
What is the bleep supposed to mean? I can add more text if you wish, but I'm not sure about animation. That would make me have to save as a GIF which can mess up the colors and effects.
-
In this tutorial, I will show you how you can use Command Prompt to create text files. It is very simple and you can also use it to write output from a command into a text file. This can be particularly useful when you need documentation from a DOS program in a text file when you use the help command or something similar. In order to do this you simply use this DOS command.
CONSOLEecho Text >> test.txtThis will create a new text file called test and echo the contents into it. If we wanted to write a 2 line document, we could do something like:CONSOLEecho Hello >> test.txtecho Person >> test.txtThe Command Prompt automatically does linebreaks each time the command is used.I also stated that you can put documentation into a text file this way.I will use the Perl documentation command as an example.CONSOLEperldoc perl >> perldoc.txtThat will put the output from perldoc into the file perldoc.txt.Thanks for reading this material and have fun doing text writing the old school way. -
Zymic is a fairly decent host with a good amount of bandwith and storage available and is ad-free. It has a simple cPanel and does not really offer a lot of advanced features, but you do have PHP and MySQL with 5 MySQL Databases and Accounts available. They only allow one FTP username though, but all of your hosting accounts are linked to your Zymic account. They have PHP Safe Mode on though, so you might have some limited PHP features. I do not know about support because I have not really suffered much downtime and haven't needed it. You are able to have unlimited hosting accounts and you are able to use your own domain. A another feature they have that is pretty neat is PHPMyAdmin. I believe they are a good beginner's host or for personal websites. I am using it for a personal signature gallery to host my signatures without worrying about size as much.Service 8/10Support ?/10Features 5/10Overall 7/10I love it being ad-free and having a lot of bandwith and disk space, but features just truly lack.Xisto is awesome all the way, except for the not so high bandwith and disk space for 10 credit accounts. No biggy though.
-
Well, I just finished making it. It was an attempt at least. Enjoy it!
I hope that is the kidn of render you wanted. I'm sorry about not having the lighting effect, I was using a lot of layer effects and the lighting destroyed the image. So what do you think?
-
I use Notepad++ because of its high language compatibility with syntax highlighting, line numbers, and it is free. I use it to code HTML, CSS, Javascript, PHP, Perl, and basically all of my other languages I program in. I will use Notepad maybe for like really simple applications.
-
I actually came up with a script that does the job exactly. The only thing is that it is command prompt based. I do believe I have a Tk based one that I may post here. I would like to put a script like this onto SourceForge. Here is the command line script. I wrote this under Mac OS X at school.
#pmode.pl: A Perl program designed to act similar to then Python interactive mode# using the eval() function. It takes input from STDIN and evals it.$i = 5;while($i == 5) { print "Perl<< "; $code=<STDIN>; eval($code);}
-
It is working. I do not know what may have happened, but I do not know if I have suffered any down time. Let me check my site.
-
I have played neither of them, but Fable has some very mature content in it especially for the sidequests. I do not know much about either of them, but Oblivion looks kinda cool from the 360.
-
Wow! I remember that like three years ago I did sign up at Xisto, but I didn't stay very long. So yeah laugh out loud. Happy anniversary!
-
Well what about the GUI (Graphical User Interface) and some of those. You might have forgotten a few.
-
I am not quite sure what I would call my best PC game. I enjoy playing Halo Custom Edition because of the extensibility. Hyrule mod is so awesome. I also enjoy playing Guild Wars because it is just fun. I also play Exteel and a few other games.
-
I believe I will attempt to do this. If anybody else though would like to try, then that is fine by me. If nobody else accepts I'll attempt it.
-
I have used X10Hosting and I am fairly satisfied with it as well. I just do not like the ads though. The host is good and gives a lot of memory and bandwith for just a banner. You have to request for different PHP packages though and the intermediate one is required for most applications. I was surprised nobody has posted about this host.
[voting] I Challenge Saint_michael To A Battle 1v1 Nintendo Abstract
in Graphics, Design & Animation
Posted · Report reply
Well, I use GIMP not Photoshop. Just one more vote til the winner is decided.