• Hi,

    i am having problems with attaching a dynamicly created .pdf

    $pdf_filename = 'tomtom.pdf';//is the output of a function for testing purpose i used a static named pdf
    $cf7->uploaded_files = array ( 'invoice' => COUPON_UPLOAD_PATH.'/'.$pdf_filename );

    but this does work
    $cf7->uploaded_files = array ( 'invoice' => COUPON_UPLOAD_PATH.'/tomtom.pdf' );

    i need to make the dynamiclly named to work

    http://wordpress.org/extend/plugins/contact-form-7/

  • The topic ‘How to dynamicly add attachment?’ is closed to new replies.