tehyev
Members-
Content Count
72 -
Joined
-
Last visited
Everything posted by tehyev
-
I have heard that you can build a chat for a website that would display the username, etc, using PHP, Javascript, and AJAX. So Im wondering how this can be done and if there are any tutorials on how to do it, or tutorials on AJAX. Thank you.
-
How would I go about making PHP check if a username is already registered? Thanks.
-
So that got rid of the two messages at the top. Now it has: /home/tehyev/public_html/home/tehyev/public_html/fonts/Verdana.TTFWarning: Cannot modify header information - headers already sent by (output started at /home/tehyev/public_html/fortune.php:4) in /home/tehyev/public_html/fortune.php on line 21 How can I fix that?
-
And how would I do that? Are there any tutorials?
-
If they start to do good, google will buy them XD
-
When I save it as a CSV, it doesnt calculate =/
-
So a few days ago, I made a calculator for this one game I play that calculates your enemies defense. So I embedded it in an html file, but a lot of people were having problems. So I was wondering: how would I convert the spreadsheet to PHP, Javascript, or ASP?Thanks!
-
<?php// Set the static variables (discussed in step 3)$font_file = $_SERVER['DOCUMENT_ROOT']."/home/tehyev/public_html/fonts/Verdana.TTF";$font_size = 8;$y_start = 53;$angle = 0;$max_width = 300;// Retrieve random fortune from text file (discussed in step 2)$fortune_array = file("fortunes.txt");srand((double) microtime() * 10000000);$fortune = array_rand($fortune_array);// Calculate horizontal starting point for the text (discussed in step 3)$line_width = imagettfbbox($font_size, 0, $font_file, $fortune_array[$fortune]);$x_start = (($max_width - $line_width[2] - $line_width[0]) / 2) + 50;// Create the image resource and assign colors to variables (discussed in steps 1 and 5)header("Content-type: image/png");$im = imagecreatefrompng("blank.png");$red = imagecolorallocate($im, 255, 0, 0);// Write the text to the image (discussed in step 4)imagettftext($im, $font_size, $angle, $x_start, $y_start, $red, $font_file, $fortune_array[$fortune]);// Create and then destroy the image (discussed in steps 5 and 6)imagepng($im);imagedestroy($im);?> Theres the script.
-
Originally I followed the tutorial and typed everything in notepad, but it gave me a lot of errors so I tried that code. And I made a folder called "fonts" and uploaded Verdana to there, and changed the path accordingly. @ Saint Michael, I tried putting the full path "home/tehyev/public_html/fonts/verdana.ttf" and it didn't work either.
-
http://www.gurusnetwork.com/tutorial/php_gd/ and i have uploaded the font file
-
So, today I was trying out a tutorial on making a dynamic image using PHP. So i followed all the steps correctly, upload it to my site and I get there errors Does anyone know how to fix it?
-
so for my moms birthday, which is a month away, my parents are going to las vegas. the last time they went there was when we were at my aunts in california. my cousins were 9 and they went along with my 2 aunts and uncle and parents. i had to stay home with my aunts crazy husband. and they always told me the next time they were going, id go too. SO now my parents say that i cant go, which really pissed me off, but it didnt piss me off as much as their 2 excuses of why i cant go. they said that im "too young", im 13, and i dont see how im too young if my cousins went when they were 9, so i told that too my mom and she said "they didnt go anywhere", and i told her "yeah then how come i see them in all the pics?. so for the second bs excuse, well my dads parents arent the nicest people in the world and my moms side of the family hates them, so yesterday my mom was like "its your dads moms bday" and I said " WHAT *BLEEP* I HAVE TO STAY BECAUSE OF SOME BS U 2 SIDES OF THE FAMILY CANT AGREE ON?" so my freidns went there and had a good time, and i dont see why i dont get to go. :mad: so im going to have to be with my grandparents in their ancient house which doesnt even have regular tv. this sucks. so any ideas?
-
Its a PHP code that makes a sort of PHP Proxy on your site. Google PHProxy and you should find it.
-
Would it be ok if I put a PHProxy on my site? Because in my school they block like every site, even google images.
-
Heres a post I made a while back on another forum with the specs of each console. Hope it helps you decide which to get. The release of Microsoft's Xbox 360 starts the race of the Next Generation Consoles. Here is information about each console and pictures. Xbox 360 The Xbox 360 is Microsoft's console for the Next Generation systems. Released on November 22, 2005, it is the first console to start the next generation. The two systems of the Xbox 360 are the Core system and Premium system. The Playstation 3The PS3 is Sony's next generation console. The console is set to be released towards the end of 2006. It has a sleek design, and great graphics. Pricing is not yet known for the PS3. It could be either twice the price of the Xbox 360, or in the $300 range but this is not known for sure. These are the PS3's System Specs: The Nintendo RevolutionThe Nintendo Revolution is Nintendo's next generation console. It is to be released in 2006. The Nintendo Revolution will feature a revolutionary controller shaped like a TV remote. Not much is known about the Nintendo Revolution yet. The specs are not known, etc. Pricing for the Nintendo Revolution will be significantly lower than the Xbox 360 or PS3. The Nintendo Revolution is the smallest next generation console too. The Nintendo will be a great system and one that is affordable. Sources: http://forums.xisto.com/no_longer_exists/404.png The next generation consoles will give us a new perspective on gaming. With their stunning graphics, and sleek designs, these systems are truly "The Next Generation".
-
Some Free Stuff extra stuff i dont use that u can use
tehyev replied to Deadcel's topic in Graphics, Design & Animation
Looks real nice! What filters did you use? -
To make a server:1. Get a good server PC like some old computer you have sitting downstairs.2. Install Linux on it.3. Get a good internet connection.4. Install Apache.5. Install PHP.6. Install MySQL7. Set the above up.8. Get a control panel (cpanel is best)9. Get Fantistico if you want.10. Get a domain.11. Make a website.12. START HOSTING!!!OR you can get a reseller server which means you get server space off a company and you can then sell that space you have.
-
Id choose the Creative Zen. Ipods IMO are overrated. My friend has a Zen and he absolutely loves it. Or you can get a PSP like I have and get a 1 GB memory stick, and then you can play games, listen to music, watch movies, etc. I have'nt heard about an Iriver yet. So Id recommend a PSP or Zen.
-
That would taste awesome.
-
This buyout proves that Google Video was a failure, and likewise, this was a very smart move by Google, to buyout a competitor.
-
Most computers today have a PCI slot, so I doubt its uncompatibality with his computer. Are you sure you hooked everything up correctly? Also, I wouldn't recommend updating the BIOS unless you know a lot about computers, because people who are new to computers can screw it all it up with a BIOS update.
-
Personally, Id wait for the PS3. Why? Well the PS3 will have more advanced technology, and it wasn't rushed like the Xbox 360. The PS3 is going to have the Agiea PhysX card which will make games much more realistic, and it will come with Blu Ray, etc. Although its gonna cost more, Id say its a much better bang for your buck
-
What worries me the most is what if NK sells nukes or missles to terrorists?
-
I was always afraid of thunder. Whenever I heard thunder anywhere, I would run like crazy. I also used to have a MAJOR fear of dogs, and a person who lived on the lower levels of the apartment had a huge German Shepard, so it got kinda scary when he walked it out.