Search found 6 matches
- Mon Mar 30, 2009 8:26 am
- Forum: Javascript
- Topic: javascript with Firefox & IE
- Replies: 7
- Views: 846
javascript with Firefox & IE
Hi all, i've a problem with javascript. The code is: function do_add_filter(table){ var arr_labels = new Array(); var arr_values = new Array(); // ------ // changhe this with che correct objects objForm = document.form1; tot = parseInt(document.form1.hid_count.value, 10);...
- Mon Mar 23, 2009 4:44 am
- Forum: PHP - Code
- Topic: jpeg, gif and png
- Replies: 1
- Views: 133
jpeg, gif and png
Hi everyone, i've a question for you!
Are there other functions like imagejpeg, imagegif and imagepng?
I have to work with tif, tiff, bmp, etc...
Help me pliiiz
Are there other functions like imagejpeg, imagegif and imagepng?
I have to work with tif, tiff, bmp, etc...
Help me pliiiz
- Fri Mar 20, 2009 10:33 am
- Forum: PHP - Code
- Topic: Watermark
- Replies: 1
- Views: 115
Watermark
pickle | Please use [ code=php ], [ code=text ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: :arrow: Posting Code in the Forums to learn how to do it too. Code: I want to create a watermak of the exists image "rotheps...
- Fri Mar 20, 2009 6:17 am
- Forum: PHP - Code
- Topic: user login problem - whats wrong with my code
- Replies: 6
- Views: 340
Re: user login problem - whats wrong with my code
the code below repeatedly outputs "login unsuccessful" even if I enter the correct username and password. Where am I going wrong? Sorry I am a newbie in PHP. Thanks for helping me. <?php $username=$_POST['username']; $password=$_POST['password']; if ($username && $password) { ...
- Fri Mar 20, 2009 5:57 am
- Forum: PHP - Code
- Topic: user login problem - whats wrong with my code
- Replies: 6
- Views: 340
Re: user login problem - whats wrong with my code
maybe: # $sql = "SELECT * FROM logintest WHERE username='".$username."' AND password='".$password."'"; # $res = odbc_exec($db, $sql); # $row = odbc_fetch_array($res); # # # if( ($username == $row['username']) && ($password=...
- Fri Mar 20, 2009 5:51 am
- Forum: PHP - Code
- Topic: error "Call to undefined function"
- Replies: 1
- Views: 91
error "Call to undefined function"
Hi guys, i've a problem with php 4.0.3. On this code: $im = imagecreatefromjpeg("images/banners/shop-ad.jpg"); $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128); $black = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 399, 29...