Jump to content

Absorbator

Members
  • Posts

    43
  • Joined

  • Last visited

About Absorbator

  • Birthday 05/07/1992

Contact Methods

  • MSN
    t.mitkov@windowslive.com
  • Website URL
    http://sharedhomour.org

Profile Information

  • Gender
    Male
  • Location
    Stara Zagora, Bulgaria

Absorbator's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for the answer. I played a little with the model/view scripts (or controllers) and I found that it is not so hard to customize opencart.
  2. I'm looking for a eCommerce software that can be customized easily. So far I've tried OpenCart but I find it unnecessarily complex and very clumsy in terms of customization. I can't even get rid of the demo products !!! I need an application or a library that simply does its server-side job and allows me to easily customize it with scripts (I have a long experience with PHP, so that's not a problem). Any recommendations are appreciated
  3. The object must passed in recursive function, but JavaScript complains that such an operation is invalid function fadeIn(el, val){ if(val>=1) return; document.getElementById(el).style.opacity=val; setTimeout("fadeIn(" + el + ", " + (val+0.1) + ")", ; }
  4. Hi everybody! I have a JavaScript function which has to be applied to many objects. The problem is that a variable used as an argument for getElementById() is changed to something like "[object HTMLDIVElement]" and it becomes useless. I have to use the variable several times with no changes. Thanks in advance!
  5. I'm wondering are MySQL tables more efficient than normal files in the matter of performance. I know that MySQL stores tables in files, but I still don't know which one to prefer - to store my data in MySQL tables or in "regular" files?
  6. Debian sounds good. Thanks both of you!
  7. Hi everybody! I have an old i686 (Pentium 3 1GHz, 512mb RAM) and I want to turn it into server. Since the machine is really slow I want to use some minimized Operating System. I tried with Damn Small Linux, but it lacks too many things (some of which very important like gcc and make ) and I don't want to waste weeks of my life trying to configure the damn server. The PC is going to serve some sites with PPC advertisement - something like 30-40 impressions per seccond, but most of the time may be 2 to 4 times less. So I need something light (the GUI may be absent ) but still to have enough software out of the box. Thanks in advance
  8. Hi, I try to install Roadsend php compiler but I can't. When I type ./configure and then make the shell returns "make: *** No targets specified and no makefile found. Stop. ". I thought I can use other compilers but they are even more weird. My OS is OpenSUSE 11. I can't figure out where is the problem. The install instructions in Roadsend website are very confusing...
  9. I had similar problem, several months ago. Probably different character encoding in your database and your script is causing the problem
  10. Hi, I would like to resize GIF animation while keeping its frames and properties. How can I do that in PHP?
  11. First - $HTTP_POST_VARS is deprecated, use $_POST instead Second - $HTTP_POST_FILES should be $_FILES Third - PHP interprate white space string as FALSE <?php$error=" "; //this is false ?>
  12. Yes, you cannot use a cookie that is set at the current session.
  13. You have left the braces from the md5 function. Remove them <?phpif(isset($_POST[submit])){ $imgNumb=1; //This the "pointer" to images $DestinationDir="images/"; //Place the destination dir here $LargeDir="images/"; //Place the large image dir here do{ $Unique=$_FILES['img$imgNumb']['name']; // We want unique names, right? $destination=$DestinationDir.$Unique.".jpg"; $thumb=$ThumbDir.$Unique.".jpg"; $IMG=getimagesize($_FILES["img$imgNumb"][tmp_name]); echo resize($_FILES["img$imgNumb"][tmp_name], $IMG[0], $destination); echo resize($_FILES["img$imgNumb"][tmp_name], 120, $thumb); //That was what I forgot last time $imgNumb++; } while($_FILES["img$imgNumb"][name]); } ?>
×
×
  • 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.