|
|
Posted in Astahost / Asta ANSWERS!
Author: ashuosh_jain Total-Replies: 1 Hello, I want to upload & retrieve image in Access database using JSP. Images must be stored in a different folder and its paths should be stored in Access database I tried a lot for this but i was jus not able to find any answers. Please provide me guidance on this. Thank You. Ashutosh Jain.
Fri Mar 19, 2010
Reply New Discussion
Posted in Computers & Tech / How-To's and Tutorials / Programming / PHP
Author: 8ennett Total-Replies: 2 I use this script in most of my sites and find it to be a very reliable yet simple to implement at the same time. Ill run you through how the script works and also how to implement it. First this is a seperate php file from which ever one you want to add the image verification to. This should remain as is and not be modified with any additional code. randomImage.php CODE// First start the sessionsession_start(); // Next we test if the form has been submitted or not if (isset($_POST['Submit'])){ // Now we test to see if the users entered image code matches the real image if (md5($_POST['ranval']) == $_SESSION['ranval']){ // If the entered code matches go to success page header('Location: success.htm'); exit; } else { // If the entered code was incorrect go to wrong code page header('Location: wrong.htm'); exit; } } <*form id="form1" name="form1" method="post" action=""> Enter Image Code: <*input name="ranval" id="ranval" size="5" maxlength="5" type="text"> <*img src="randomImage.php" align="absmiddle" height="30" width="60"> <*input name="Submit" value="Submit" type="submit"> PLEASE REMEMBER TO REMOVE THE FOUR *'s FROM THE HTML TAGS, I HAD TO PUT THEM IN SO THEY WOULDN'T DISPLAY AS ACTUAL PAGE ELEMENTS! Now this is an example php file which the image will appear on. If you copy and paste the code in to a new php file you can call it what ever you like. The first part is commented so you know what each section does in the code, this will only run IF the form has been submitted. The rest is the html. There is a form with a box for entering the code and an image, however note the source of the image is our randomImage.php and not a jpg or whatever. When we call the randomImage.php file we are also writing the value of the images code to the session, however to ensure that nobody is monitoring the site traffic it is md5 encrypted before writing to the session. Now when we enter the code and submit it, the code we entered is md5 encrypted and then compared to md5 encrypted session variable, if it matches you are redirected to the success page, if not then you are redirected to the incorrect page. You can have any code run in the event of success or failure, such as a login page or so on, this is just a secure little add-on to prevent people from either brute forcing a password or bots from creating new accounts automatically. Enjoy!
Sat Jan 30, 2010
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / JavaScript
Author: mastercomputers Total-Replies: 11 On 29th February 2008 Eggie asked for a script to show an image popup on mouseover for an select option element, what most people would recognise as a dropdown selection box. The original post can be found at Image Popup on Mouseover At the time, I wasn't actually interested in writing the code for it, but after seeing that it's the most viewed thread for the PHP forum here, I thought, why not write the script for it and get some of those viewers back here. It would probably be more suited in the Javascript section, so I thought I should add an element of PHP into the mix as well to PHPify it. If I had access to Internet Explorer, I would have tested it, but right now I haven't got it so I've only tested it on Firefox 3.5.6 on Ubuntu 9.10 so if anyone can verify if it works with IE, it would be much appreciated. The languages/libraries involved: XHTML 1.1 Javascript/JQuery 1.3.2 CSS 2.1 PHP 5.3.1 To view the demo see this Image Preview on Select Option Element The images would be found in This Location I will later talk more about it, and explain any questions or concerns people may have or even more ideas if you would like... just I can't do it now, I'm being told to hurry up to get ready for the New Years Party so I will return later. Cheers, MC
Thu Dec 31, 2009
Reply New Discussion
Posted in Computers & Tech / How-To's and Tutorials / Internet / Internet Browsers
Author: (G)Debi Hoobler Total-Replies: 3 how to take an image off of PDF file and save it.How To Save A Image In Pdf File And Download It? I was sent a photo with a letter in PDF format. How can I take the photo off of the file so that I may save the photo only in my photos file on my desktop without it looking like it is still on the page? Debi Hoobler Keywords:
Sun Jan 11, 2009
Reply New Discussion
Posted in Computers & Tech / Operating Systems / Windows (All Versions)
Author: TavoxPeru Total-Replies: 10 Hi, since a while i got two problems related with images files in my Windows 2000 machine, both are very closely related because them happen with Windows Explorer and with Internet Explorer 6. The problems are:
I hope that someone can help me. Best regards,
Sun Jul 20, 2008
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / PHP
Author: Eggie Total-Replies: 26 I need a script that does this: Lets say I have form with options...you surely know what that is... CODE<form name="form2" method="post" action="race.php?action=race"><table border="1"><td>Who do you wanna race?</td></table> <select size=5 name="bike"> <option value="Derbi Senda 50">Derbi Senda 50</option> <option value="Honda NS 50 R">Honda NS 50 R</option> <option value="Suzuki ZR 50">Suzuki ZR 50</option> <option value="Yamaha DT 50 MX">Yamaha DT 50 MX</option> <option value="Aprilia RS 50">Aprilia RS 50</option> </select>-<a href="java script:launchClasses()">?</a> <input type=submit value=Register> </td> </tr> </form> When i put my mouse over one of them i want a picture of bike on which your mouse is on to pop up... I hope you understand what i mean...i can't rephrase it to be more meaningful...i tried
Tue Feb 19, 2008
Reply New Discussion
Posted in Others / TEST (NO POST COUNT)
Author: docduke Total-Replies: 0 * Forum code that displays a thumbnail that links to your full-sized image [img]http://www.imagefilez.com/out.php/t206670_parisnorthrose.jpg[/img] Direct Linking Code http://www.imagefilez.com/out.php/i206670_parisnorthrose.jpg Show your image to your friends http://www.imagefilez.com/show.php/206670_...throse.jpg.html Direct Hotlink for Forums [img]http://www.imagefilez.com/out.php/i206670_parisnorthrose.jpg[/img]
Sun Jan 20, 2008
Reply New Discussion
Posted in Computers & Tech / Designing / Graphics Design
Author: dserban Total-Replies: 2 I found a pretty looking HTML table on some site and I would like to adopt it for all table-related content that I'm publishing at work. The table looks like this: [img]http://www.imagefilez.com/out.php/i144579_playlist.jpg[/img] and the site where I found it is: http://music.download.com/brianregan/3600-...DL_FA_sm_artist I have most of the stuff figured out, but my only remaining problem is that these two image files: [img]http://www.imagefilez.com/out.php/i144580_artistplayall.gif[/img] and [img]http://www.imagefilez.com/out.php/i144581_artistsongplay.gif[/img] have the text embedded in them. Is there a well-written tutorial on the Internet that I can go read and figure out on my own how to get rid of those texts ("Play all songs" and "Play") while preserving the aqua look and feel of the image files? I don't have experience working with Photoshop, but I do have access to a PC where it's installed.
Tue Aug 14, 2007
Reply New Discussion
Posted in Computers & Tech / What's New...?
Author: eliments Total-Replies: 8 http://www.daemon-tools.cc/dtcc/download.php This is a link to a free virtual drive creator.... it can run .iso images without having to burn them to a CD... simply open the program and choose a file to run ^^ Have fun!
Sat Mar 17, 2007
Reply New Discussion
Posted in Computers & Tech / Programming / Programming General / BASIC / Visual Basic (.NET)
Author: Jimmy89 Total-Replies: 2 Hi all, I have been trying to use the Clear Image COM in vb.net. for those who don't know what clear image is go to http://www.inliteresearch.com/homepage/pro...code_basic.html i downloaded their SDK and am trying to get it to work. all i am trying to do at the moment is find the text from a barcode, i have the barcode stored in an image file on my computer. I know the file works cause i used the demo that came with the SDK to test it out! I am using the following code.. CODEImports ClearImageImports System Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim file2 As String, data As String file2 = My.Application.Info.DirectoryPath + "\image.bmp" CiImage.Open(file2, 1) data = CiBarcode.Text End Sub End Class but when i use both the CODECiImage.Openand the CODECiBarcode.Textthey both come up with a QUOTEReference to a non-shared member requires an object referencewhat does this mean and how can i use an object reference? Thanks -jimmy
Thu Jan 18, 2007
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / PHP
Author: Zeeshan Hashmi Total-Replies: 3 Hi I have a 1 Big map. What i want is that the user will enter the latitude and longitude. the script will show that location in the image. I know how to convert Image X,Y Coordinates into Latitide and Longitude and vise versa. But there point is that the image is 1000x1000 wide but i want to show only the particular region of that latitude / longitude in 300x300 image. means that the PHP script will CROP wht Image (1000x1000) to 300x300. That way, the script will be shoing the part of an image, not the whole image. please help !!
Thu Sep 21, 2006
Reply New Discussion
Posted in Computers & Tech / Software
Author: Grafitti Total-Replies: 6 I'm looking for a good program that i can use for indexing and cataloging my clipart. Seriously, i have like 20 GB of pictures, and i can't figure out for the life of me where to find that particular one that i need at any given moment. I've tried Picasa (not what i want) and Picajet. Now Picajet was something that i found good, but the free version didn't quite measure up. Since these pictures are all on my external drive, i'd like some program that catalogs them and i can search by keywords, rating, etc, on any computer i plug the HD into. Or if i can just copy over the database. Picajet creates that database, but you can't copy it onto another computer without having the FX (paid) version. I'll spring for that, if i don't find anything else, but i'd like to find a different program if at all possible.
Sat Sep 16, 2006
Reply New Discussion
Posted in Computers & Tech / Programming / Scripting / Miscellaneous Scripting Langua..
Author: lonebyrd Total-Replies: 12 Im trying to use a blue textured background image on my website using CSS. That would be all well and good if I didn't want to also use a picture with the name of my site that I made in photoshop in CSS also. I just don't know how to get the two to work using CSS without one canceling the other out. Is it possible to use two images with CSS? If so, can someone tell me how? I can't find a tutorial on it.
Wed Jun 14, 2006
Reply New Discussion
Posted in Computers & Tech / Designing / Graphics Design
Author: ElFoReal Total-Replies: 2 I was designing some new rims in 3D Studio Max and when I rendered the rims out to see how the chrome material looked I got this image. I think it looks awasome in the black enviroment with only the reflection of one of my photoshop designs in itm but hey that`s just me, what I want to know is what do you all think of it. Do you think it looks good too or I`m I the only one who thinks so?!! ![]()
Fri Mar 17, 2006
Reply New Discussion
Posted in Computers & Tech / Designing / Web Design and HTML
Author: chocolatxbliss Total-Replies: 3 HELLO does anyone know how you can like...position an image wherever you want? I'd prefer not to put it into its own "div" box.................. is there a code or something for it?
Wed Dec 28, 2005
Reply New Discussion
|