Jump to content

zell11

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Posts posted by zell11

  1.  

        $ch = curl_init();

     

        curl_setopt ( $ch, CURLOPT_URL, $this->config->get( "Configuration.host" ) );

        curl_setopt ( $ch, CURLOPT_POST, true );

        curl_setopt ( $ch, CURLOPT_POSTFIELDS, $xmldoc->getDocument() );

        curl_setopt ( $ch, CURLOPT_HTTPHEADER, array('Expect: ') );

        // Save the response in the response variable

        //

        $this->response = curl_exec($ch);

        $this->errno = curl_errno ($ch);

        $this->err_str = curl_error ($ch);

        $this->curl_getinfo = curl_getinfo($ch);

     

     

    sorry bout the long time before i replied

     

  2. if you are using shared hosting ie the one you pay to hold your website on that you don't own.  You will have to talk to your hosts. Some hosts allow you to add a php.ini file into your dir which changes the settings for that dir.  Also I agree with kenrbnsn try and keep away from registered globals as much as you can as they can be very risky

  3. yeah desc should work

     

    $sql = "SELECT * FROM repair ORDER BY id DESC;";

     

    if that doesn't work then maybe

     

    1. you are overwritting it somewhere before you excute ot.

    2. are you sure it's ID you want to sort by and that yu are thinking it hasn't worked due to it still not being in any noticeable order

  4. ‰PNG IHDR���`���x���7Óe

    Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: Invalid number of colors in palette in

     

    Does anyone know what causes this error?

     

    Thanks

  5. Hey,

      Is there a way you can add your pre-made images with GD Lib to create another image. Say you have 5 images and you want to over lap them etc, is it possible and if so how do you do it

     

    Thanks

×
×
  • 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.