Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lambi2001

    did a website and owner now wants to replicate

    Thanks for all the replies, I am getting some ideas... @Sheco: My normal rate would be a little bit higher. I had a big project with the same client before, so it had some 'favor nature'.
  2. lambi2001

    help with login redirect

    $user = $_POST["userid"]; $query = "SELECT * FROM users WHERE username = '$user' AND PASSWORD = '$pass'"; Maybe $user is actually a userid and thus the query cannot find records because it seems to look for a username
  3. lambi2001

    did a website and owner now wants to replicate

    Hi there, I would be happy if somebody could give me some advice here: I developed a website for a client, mainly PHP/Mysql work. Not a huge deal, project was worth less than 200$. Client is a freelance journalist and uses the site for his work. Now he writes me an email saying that his...
  4. lambi2001

    image upload (blurred from one PC/good from the other)

    OK I will have to get back to that as it is getting late at my coordinates and my head is burning a little bit. Must cool it down. the image on the bad pc looks good if you look at it with a normal viewer, just after the upload if you look at it through the img tag or download it from the...
  5. lambi2001

    image upload (blurred from one PC/good from the other)

    Sorry for the confusion: jpgs are only uploaded and renamed gifs and pngs are uploaded and converted to jpgs her is some part of the code: // this is part of a function that is called when the file is not empty $result = move_uploaded_file($temp_name, $uploaddir.$realname); $name =...
  6. lambi2001

    image upload (blurred from one PC/good from the other)

    So we uploaded gifs now. Same thing a small 2*2 px gif. The thing is, that gifs (and pngs) are being processed by the gd library and converted to jpgs. Does this matter? Both hex dumps are identical, which is why I am not puttting them here (unless somebody wants to see them) So does this...
  7. lambi2001

    image upload (blurred from one PC/good from the other)

    So I hope that this is what was meant: I created a 2*2 pixel jpg file on my (good) machine and uploaded it. Then I send it to the other machine and they uploaded it. I downloaded both images from the server via ftp The bad machine blew the image up to 400*400 px so I will only include the...
  8. lambi2001

    image upload (blurred from one PC/good from the other)

    I will try to do that, but must admit that I am not really sure about the hex dump. I have a trial version of ultra edit and can look at the images in hex mode. So you mean to save this and to have a look at it?
  9. lambi2001

    image upload (blurred from one PC/good from the other)

    Hi ingresman, it is the image itself that is being corrupted. They have different sizes. I look at them through imageready for example or the windows preview. The bad one is nearly twice as big as the good one. I still didnt hear back from the other computer on if they are using an ISP that...
  10. lambi2001

    image upload (blurred from one PC/good from the other)

    Its the same image and there is no resizing. Looking at it through the img tag or directly makes no difference. thanks
  11. lambi2001

    image upload (blurred from one PC/good from the other)

    Thanks for the reply, We tried it with several images with the same problem. From my machine it works fine, from the other (which has a different location and a different ISP) the images get blurred. Also changing the browser did not help, so I guess it will be someting like onspeed. I will...
  12. lambi2001

    image upload (blurred from one PC/good from the other)

    Hello, I have a problem with an image upload script. I am using php to upload an jpg image to a web server. On the server the image is not touched by any kind of manipulating script. I use move_uploaded_file() and copy() to change the name of the image. Now when I upload an image from my PC...
  13. lambi2001

    scripting scrolbars IE and Firefox ?

    Hello, I am trying to change the colors of scrollbars and found out that IE supports something like this: <style type="text/css"> <!-- BODY{ scrollbar-face-color:#75EA00; scrollbar-arrow-color:brown; scrollbar-track-color:#EEEEEE; scrollbar-shadow-color:''; scrollbar-highlight-color:''...
  14. lambi2001

    checking keys while mouse over links II

    Thanks for your reply. It gets a little bit better, no error messages, but in Firefox nothing happens now if I press a key. Can it have something to do with different keycodes. Alerting a little bit (see in code) shows that IE has a keycode of 0 if I just hover over a link, while in Firefox...
  15. lambi2001

    checking keys while mouse over links II

    Thanks a lot, that brought me another step closer to what I would like to do. It works fine in IE, but it does not work with Firefox. When I press a key, Javascript console tells me that obj.href has no properties ... Any ideas why? Thanks
  16. lambi2001

    checking keys while mouse over links II

    I have a follow up question about the code that I am trying to produce. So what I would like to do is: Mouse goes over a link and then determines which key is pressed. This seems to be ok with the following code: function checkKeycode(e) { document.onkeydown = checkKeycode var keycode if...
  17. lambi2001

    checking keys while mouse over links

    Indeed that was it. Thanks
  18. lambi2001

    checking keys while mouse over links

    I am trying to do the following: I have a link and I would like to check if keys are pressed while the mouse is over this link. Lets say I want to check is either 'a' or 'd' is pressed. that would be a link: <a href="blah" onMouseOver="checkkeys()">blah text</a> and this is my function that...

Part and Inventory Search

Back
Top