QuickOldCar
Staff Alumni-
Posts
2,972 -
Joined
-
Last visited
-
Days Won
28
Everything posted by QuickOldCar
-
link different parts of an image to hyperlink
QuickOldCar replied to php_begins's topic in PHP Coding Help
I manually set the coordinates, most html editors can do what I did. <html> <body> <p>Click which image is the problem</p> <img src="http://www.phpfreaks.com/forums/index.php?action=dlattach;topic=351422.0;attach=17300" width="360" height="190" alt="Problems" usemap="#problemmap" /> <map name="problemmap"> <area shape="rect" coords="5,40,175,110" alt="1" href="1.htm" /> <area shape="rect" coords="185,40,355,110" alt="2" href="2.htm" /> <area shape="rect" coords="5,230,175,110" alt="3" href="3.htm" /> <area shape="rect" coords="185,270,355,110" alt="4" href="4.htm" /> </map> </body> </html> -
link different parts of an image to hyperlink
QuickOldCar replied to php_begins's topic in PHP Coding Help
It's called a link map, here's an example. http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_areamap -
And this tutorial should help you install everything. http://sixrevisions.com/web-development/install-wordpress-on-your-computer-using-wampserver/
-
since you are doing this from the same computer, you can just copy the wordpress files directly into the www folder no need to ftp to your own computer so all files within wordpress folder into \xampp\htdocs then visit http://localhost or http://127.0.0.1 in your browser, follow the wordpress install Personally I like to use wamp or appserv for windows, xammp or mamp for mac, and lamp for linux (either use the server versions like ubuntu server or install the needed packages, may install the gui if needed to)
-
I wouldn't mind seeing a graphics related forum either. If nothing else we can post pretty pictures like Pikachu2000 did. But seriously, there are people that do programming plus the graphics, I feel would be a good addition. Some guidance in just the basics may help people, obviously can't teach them to become a pro, that takes time and patience using them. I'm pretty good at 3dmax, used many photo and graphics related applications (the good and bad), maya, blender, photoshop, corel, flash 8 pro, paintshop, animationshop, daz3d, xara, cinepaint....and countless others not worth trying to think of. Here's a 3d render of my basement a few years ago.
-
Instead of putting a link to that site on front pages or in your normal pages, you could also make yourself a Links page. If ever wanted to advertise other sites in the future that way..it will be a good place to put them.
-
Is there a function to reduce ppi to anything other than 75?
QuickOldCar replied to johnhenry's topic in PHP Coding Help
dpi is controlled in the image header information there is a function made by someone to change the dpi if wanted to, but i would think it get fuzzy if go lower default browser dpi is 72 and 96 I believe http://www.php.net/manual/en/function.imagejpeg.php#83347 -
<style type="text/css"> span.highlight {font-weight:bold;} </style> <?php $string = 'what do u get 1/2?'; $pattern = '/([0-9][\/][0-9])/'; echo preg_replace($pattern, '<span class="highlight">\1</span>', $string); ?>
-
Is there a function to reduce ppi to anything other than 75?
QuickOldCar replied to johnhenry's topic in PHP Coding Help
I think you mean dpi. did you try and lower the quality? <?php $filename = 'my.jpg'; $size_multiple = .5;//change to suit dimensions wanted header('Content-type: image/jpeg'); list($width, $height) = getimagesize($filename); $new_width = $width * $size_multiple; $new_height = $height * $size_multiple; $image_p = imagecreatetruecolor($new_width, $new_height); $image = imagecreatefromjpeg($filename); imagecopyresampled($image_p, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height); imagejpeg($image_p, null, 70);//<-- the number change here ?> -
PHP6, being released when? The beta is gone.
QuickOldCar replied to QuickOldCar's topic in Miscellaneous
Yeah I had a 486dx then too, you were "hooked up", that was a good one for the time. This the one? http://www.biocomp.net/o91721.htm Believe it or not, there are still people out there using them, and also many others from that era. A few times I've gotten people bringing me the Texas Instrument laptops and rebadged similar ones, still in use. -
PHP6, being released when? The beta is gone.
QuickOldCar replied to QuickOldCar's topic in Miscellaneous
For those that weren't on the net in the beginning, it's waaaay better now. I recall just text, and had to join groups, it was a mess, there was no search whatsoever. No pictures,sound or image type files like pdf, well there was Aldus (renamed Adobe) after a while, but was way too expensive to buy. And even dial-up ...for being dial-up was slower, and rarely kept you connected. I think I can still hear those annoying screeches and beeps to this day. Most people didn't start using the net until windows 95 came along, then more windows 98, and xp was the boom. Those were the days, Windows 95, Aol software, the small yahoo directory, something can't easily forget. Was a very rough experience, but a large advancement over the previous. -
PHP6, being released when? The beta is gone.
QuickOldCar replied to QuickOldCar's topic in Miscellaneous
Commodore vic20 was the computer, 1mhz of power. I advanced to the commodore 64 as soon as it came out, onto the trs-80, apple 2c, and so on. Boy i hated the orange colored screens, went back to my green one. My friends dad was a programmer then, I sat beside him a lot and learned what I could, plus books. And you are right, I prob could have coined 3d games...but I didn't know. -
PHP6, being released when? The beta is gone.
QuickOldCar replied to QuickOldCar's topic in Miscellaneous
I made a 3dish learn how to drive game on a vic20 in Dos when I was 8, that was back in 1980. It took forever. -
PHP6, being released when? The beta is gone.
QuickOldCar replied to QuickOldCar's topic in Miscellaneous
Here's the mozilla articles I read long ago, a whole 9 years ago was the last article on it. http://www-archive.mozilla.org/projects/intl/ -
People don't mind to read here, post your entire code including the form. I believe is easier ways, and will help us understand it more.
-
I agree with .josh If you are planning on running a wordpress site, it might be best to learn a bit about it anyway. The install isn't that hard, it might be worth it for you to at least try and do yourself. http://wordpress.org/ There is a wealth of already made and free templates/plugins for wordpress out there. http://wordpress.org/extend/themes/ http://wordpress.org/extend/plugins/ Most plugins are easy one click installs, while some take editing a theme, and usually show you how.
-
They logged in somehow. I use fail2ban for too many attempted logins, stop dictionary attacks.
-
The base64 code is leading it back to http://hotlogupdate.com/stat/stat.php
-
The script works if there is a folder named upload, and the script in the same location as that folder Otherwise edit the target path for where to save your images.
-
The reason for me posting this was to see if your server is capable of uploading the file every time. You never posted anything else with your code.
-
You can try out this upload script I did and tell me if works or not http://www.phpfreaks.com/forums/index.php?topic=350730.msg1655695#msg1655695 You can also change these in your php.ini file upload_max_filesize = 10M post_max_size = 10M