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'.
$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
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...
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...
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 =...
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...
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...
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?
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...
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...
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...
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:''...
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...
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.