This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

File Upload Link Different using Standard VS Advanced Code


  1. RickQuatrone
    Member

    Hello:

    I originally had a form in my html page using the standard embed code:
    < i f r a m e height="2323" frameborder="0" src="http://www.MYSITE.COM/machform/embed.php?id=80" itle="FORM NAME"> FORM NAME < / i f r a m e >

    But people were having trouble display it in some cases.

    I changed it to the Advanced (PHP) code:
    < ? p h p
    require("/usr/local/WWW/MYSITE/WWW/machform/machform.php");
    $mf_param['form_id'] = 80;
    $mf_param['base_path'] = 'http://www.MYSITE.COM/machform/';
    display_machform($mf_param);
    ? >

    and this worked regarding, no more complaints abpout not being able to see the form.

    The issue is that this form uses a file upload, and when I get emails with a link to the file(s), it now put the path of where the form is rather than where the file is, in the link

    Standard form yields this regarding links to the file uploads (and it worked):
    http://www.MYSITE.COM/machform/download.php?......

    The advanced (PHP) code, sends the email with a link to the uploaded file like this (it uses the form location in the path, and this obviously does not work):
    http://www.MYSITE.COM/directory01/directory2/download.php?......

    in both cases the form is located at:
    http://www.MYSITE.COM/directory01/directory2/page.(html or php) based on the above.

    Thank You

    Posted 10 years ago #
  2. AMurray
    Pro Member

    Which type of file upload (there are two variations) - single file or multiple file upload? I have other some odd behaviour when using the form using the PHP embed method, but can't replicate the behaviour you describe. How about using the Javascript embed method?

    If you need a quicker answer, I suggest you contact Appnitro direct, as they are not always monitoring the forum - contact them at http://www.appnitro.com/contact

    Posted 10 years ago #
  3. RickQuatrone
    Member

    I believe it's single

    Posted 10 years ago #

RSS feed for this topic

Reply