Jump to content

neugi

Members
  • Posts

    63
  • Joined

  • Last visited

    Never

Everything posted by neugi

  1. Hi, version ist: Apache Version 2.0.54 best
  2. i've searched for this file, but haven't found what i'm looking for. this is in the file: [quote]# This is here for backwards compatability reasons and to support #  installing 3rd party modules directly via apxs2, rather than #  through the /etc/apache2/mods-{available,enabled} mechanism. # #LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so [/quote] i've also searched for files containg a string like the one you told me, but nothing there best
  3. i want that the extension html is prasing the php code ;) i've got my own server where i can change everything, also the php ini. i only need to know which of them i've to change. best
  4. Hi, what do i have to change that php code works in html also? best
  5. hi, the string should be splittet into fields with the length of: 13/60/7/7/1/2/4/1 chars there where the 60 chars are the length of the text and the white spaces are not fix, so there can be only 3 chars and 57 white spaces. the trick with the trim function is working. thx
  6. Hi, i've got a string that i need to separete. the string is always in the same length of 97 chars here is my code that i use: [code] $daten = "290122105555910000 HZ LEGEND               AIR                           0001840000130200100232" $lange = strlen($daten);         $ean = substr($daten, 0, 13);         $text = substr($daten, 13, 60);         $filial_vk = substr($daten, 60, 7);         $duch_ek = substr($daten, 67, 7);         $mwst = substr($daten, 74, 1);         $hw_grp = substr($daten, 75, 2);         $uwgr = substr($daten, 77, 4);         $status = substr($daten, 81, 1);         echo $ean . '-' .              $text .' - '.              $filial_vk .' - '.              $duch_ek . ' - '.              $mwst . ' -  '.              $hw_grp . ' -  '.              $uwgr . ' - '.              $status ."<br>\n";[/code] but the output is only [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]2901221055559-10000 HZ LEGEND AIR - - 0 - 0 - 01 - 8400 - 0[/quote] what is wrong with this code? best
  7. Hi, the new problem is that i want to change the stuff to gif format, because auf the display problems with png in IE. i've changed imagepng to imagegif but as there is still the whit background :( best
  8. [!--quoteo(post=388474:date=Jun 27 2006, 07:33 AM:name=DaveLinger)--][div class=\'quotetop\']QUOTE(DaveLinger @ Jun 27 2006, 07:33 AM) [snapback]388474[/snapback][/div][div class=\'quotemain\'][!--quotec--] Right click -> "Select All" -> Backspace. [/quote] realy funny *lol* i mean to remove the white background. best
  9. Hi, i use the following code: [code]<?     header("Content-type: image/png");     $img_foto = "foto.png";     $img_bild = "projekte/testhaus.jpg";     $winkel = 7;     $font = '../font/rabiohead.ttf';     $text1 = "Hi";     $text2 = "Text2";     $text3 = "Text3";     $img = imagecreatefrompng($img_foto);     $foto = imagecreatefromjpeg($img_bild);     $trans = imagecolorallocate($foto, 255, 255, 255);     $white = imagecolorallocate($img, 255, 255, 255);     $foto = imagerotate($foto, $winkel, $trans);     $bild_x = imagesx($foto);     $bild_y = imagesy($foto);     $img_x_y = getimagesize($img_foto);     imagecolortransparent($foto, $trans);     imagecopymerge($img, $foto, -3, 28, 0, 0, $bild_x, $bild_y, 100);     imagettftext($img, 20, $winkel, 20, 330, $grey, $font, $text1);     imagecolortransparent($img, $white);     imagepng($img);     imagedestroy($img);     imagedestroy($foto); ?> [/code] and the result ist das i got a whit background. how can i remove this? best
  10. Hi, here is the query [code]INSERT INTO kompa(kompa.prod_id, kompa.model, kompa.typ_id, kompa.model_id, kompa.kompa_flag, kompa.engine_id, kompa.prod) SELECT MODELS.PROD_ID, MODELS.NAME, MODELS.TYP_ID, MODELSKOMPA.MODEL_ID, MODELSKOMPA.KOMPA_FLAG, MODELS.ENGINE_ID, PRODUCER.NAME FROM MODELSKOMPA, MODELS, PRODUCER WHERE MODELS.MODEL_ID = MODELSKOMPA.MODEL_ID AND MODELS.PROD_ID = PRODUCER.PROD_ID ORDER  BY MODELSKOMPA.MODEL_ID[/code] MODELSKOMPA -> about 17.000 entries MODELS -> about 17.00 entries PRODUCER -> 600 entries OUTPUT is simple all the data is put into a new database form which i will work on best
  11. Hi, i got a sql query that takes about 350 sec. my problem ist that after 60 sec my php script is sending again the same sql query again. also my PHP skript ist getting a Read Timeout. i used this function to extend the time, but it seems they dont work @set_time_limit(400); if (function_exists('apache_reset_timeout')) apache_reset_timeout(); how can i stop this? or what is the best way to execute sql queries that take longer? best
  12. [!--quoteo(post=362448:date=Apr 7 2006, 01:52 AM:name=neugi)--][div class=\'quotetop\']QUOTE(neugi @ Apr 7 2006, 01:52 AM) [snapback]362448[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hi, i make this ereg check on emails [code]"^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z{4,})$"[/code] but if i enter a email like this n-eugi@xxx.yy it dont work. if i change the email to neugi@xxx.yy it works. what i'm doing wrong? thx [/quote] can't anybody help me? best
  13. Hi, i make this ereg check on emails [code]"^[A-Za-z0-9](([_\.\-]?[a-zA-Z0-9]+)*)@([A-Za-z0-9]+)(([\.\-]?[a-zA-Z0-9]+)*)\.([A-Za-z{4,})$"[/code] but if i enter a email like this n-eugi@xxx.yy it dont work. if i change the email to neugi@xxx.yy it works. what i'm doing wrong? thx
×
×
  • 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.