Jump to content

baber_abbasi

Members
  • Posts

    33
  • Joined

  • Last visited

Contact Methods

  • AIM
    baberabbasi
  • MSN
    baber_abbasi@hotmail.com
  • Website URL
    http://www.digitalspot.ae/baber/resume.htm
  • Yahoo
    baber_abbasi@yahoo.co.uk

Profile Information

  • Gender
    Not Telling
  • Location
    Pakistan

baber_abbasi's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, I need to fetch records between defined date ranges i.e Date from 01/08/2006 to 15/08/2006. I am using following command to do above task but its not bringing accurate data. SELECT * FROM ABC WHERE date BETWEEN '01/08/2006' AND '15/08/2006' Can anyone help??
  2. This is what I was wondering but there are quiet few websites using PHP and having these features. They even track if email is opened or not, receipient IP address and much more. Plz chk out http://www.didtheyreadit.com . I was wondering PHP can do this with sockets or something else. Does anyone have a word to say??
  3. It didn't work. I just tested sending an email to fake email address via Outlook express and it was bounced immediately. Then I used same email address in my php script but it didn't give me a message if it was bounced.
  4. Hello, I am using a simple php mail function to send emails from database. I need PHP to chk and keep a log of bounced emails. Can anyone help. Thanks in advance.
  5. Thanks. I just replied but it couldn't work. Can you plz look into this matter?? Thanks again.
  6. Hello, I am not good in Jscript coding while I know PHP very well. Just stuck in a very small issue though i.e "Using PHP sent parameters in jscript function" I am using Jscript to fetch 2 parameter values (these are actually form field name), add them and give their total in another form field. There are 3 fields in the form. [code] <HEAD> <script type="text/javascript"> function calc(f, e){       one = document.autoSumForm.f.value;   two = document.autoSumForm.e.value;   document.autoSumForm.total1.value = (one * 1) + (two * 1); } </script> </HEAD> <BODY> <form name="autoSumForm">       <table width=50% bgcolor="#FFFFFF" cellspacing=1 cellpadding=2>         <tr bgcolor="">                      <td><b>One</b></td>           <td><b>Two</b></td>           <td><b>Total</b></td>          </tr> <? //loop through here and post as an array for ($i = 1; $i <= 1; $i++) { //variables for auto calculation $fn = "a".$i; $ef = "b".$i; ?>                                  <td><input name="a<?=$i?>" type="text" onFocus="calc(<?=$fn?>, <?=$ef?>);"></td>                 <td><input name="b<?=$i?>" type="text" onFocus="calc(<?=$fn?>, <?=$ef?>);"></td>                 <td><input name="total<?=$i?>" type="text"></td>                               </tr> <? //end loop here } ?>       </table>       </td>         </tr>       </table>   </form> </BODY> </HTML> [/code] The only problem in this code is that function i.e function calc(f, e){} is not fetching parameters values i.e (f , e). Plz tell me how to make it work & thanks in advance. :)
  7. I have tried but can't display an image at the place where I have defined an AREA. if you can show me how it can be done, that would be great. Thanks again. [!--quoteo(post=374749:date=May 17 2006, 11:41 PM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ May 17 2006, 11:41 PM) [snapback]374749[/snapback][/div][div class=\'quotemain\'][!--quotec--] The imagecopyxxxxx() functions take all or part of one image and place it at a specified place in another. If you look them up in the manual you should find at least one that fits your needs for this problem too. [/quote]
  8. Hi Barand, I appreciate your help in the matter. Your past response was infact regarding image merging/resizing which helped a lot. Thanks again. Now my question is regarding displaying an image (not merging) at specific area of MAP tag. Plz see my current issue below. [!--quoteo(post=374738:date=May 17 2006, 11:15 PM:name=Barand)--][div class=\'quotetop\']QUOTE(Barand @ May 17 2006, 11:15 PM) [snapback]374738[/snapback][/div][div class=\'quotemain\'][!--quotec--] See my reply to similar question of yours a few weeks ago [a href=\"http://www.phpfreaks.com/forums/index.php?s=&showtopic=90879&view=findpost&p=364301\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?...ndpost&p=364301[/a] [/quote]
  9. Hi, I am using HTML MAP/AREA tags and need to display an image file at a defined AREA coordinates. My following code is loading an image 'background.jpg' and I have defined 2 areas on it. <div> <map name="Map" id="Map"> <area href=one.php shape=rect coords=0,0,10,10> <area href=two.php shape=rect coords=10,0,20,10> </map> <img src="images/background.jpg" alt="" border="0" usemap="#Map"> </div> Now I need to display another image at one area location from above code i.e (coords=10,0,20,10 ). This means, above code is displaying ONE BACKGROUND image and I need to display another image at ONE AREA-(coords=10,0,20,10 ) of such background image. Hence hiding such portion of background image by displaying the contents of other image file. I know its possible but need to know how I can implement it. Thanks in advance for your help. :)
  10. Thanks. Can you tell me how an image size can be changed?? Like I have an image and I need to change its width/height, which function can do this?? and change without breaking its pixels. Thanks again.
  11. Hi Barand, Thanks a ton, it worked great for me. I am now stuck in another situation and hope you can help me find a way out of it. :) I have following x.y (co-ordinates) and I need to resize an image based on these co-ordinates. 50,0 60,0 50,10 60,10 50,20 60,20 These x.y (co-ordinates) make a shape of 'vertical rectangle' like below but image file is in square shape. -- | | | | -- This is something, I am looking to edit my image file-(in square shape) to have a new shape based on above x.y (co-ordinates). Thanks in advance and I will appreciate anyone giving useful hints/codes.
  12. Hi Barand, Thanks for the help. imagecopymerge() solved the requirement. Now I need to save the merged image at my server, how can I do this??? I am using following code to do this but its not saving updated image in the new image file. Bundle of thanks. [code] <?php //copymerge header('Content-type: image/png'); $simg = "images/abc.jpg"; $simage = imagecreatefromjpeg($simg); $dimg = "xyz.png"; $dimage = imagecreatefrompng($dimg); $dx = 50; $dy = 50; $sx = 50; $sy = 50; $sw = 50; $sh = 50; $pct = 100; imagecopymerge($dimage, $simage, $dx, $dy, $sx, $sy, $sw, $sh, $pct); imagepng($dimage); // save the file $fname = $dimg; if(!($fq= fopen ($fname, "w+"))) die ("Can't open"); fwrite ($fq, imagepng($dimage)); fclose ($fq); ?> [/code]
  13. Hi, I need to edit an image so as I can insert another small image in it at some given location/coordinates. For example; mainImage = abc.gif insertImage = xyz.gif I need to insert xyz.gif into abc.gif at some given location/coordinates. Pls tell me how its possible. Thanks in advance.
  14. Hi, I am trying to split an image in 4 parts, give each splitted part a name and save such splitted image files at some given path at local harddisk or server. Is it possible? any one can help plz? Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.