Image attachment ???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    #1

    Image attachment ???

    Hello,
    I must admit that i am new to PHP but not in programming in general...
    Anyway, i created a program in VB which creates after a few steps an image
    and this image should be sent to an email... probably via PHP...
    My thought:
    i will sent the variables the script is going to need through the URL which
    means the Path of the image too (c:\blabla\imag e.jpg)

    I now need the script with which i am going to send the file located at the
    users pc as an attachment to some email..

    can anyone help?
    Thanx in advance!
    JBK


  • Miguel Cruz

    #2
    Re: Image attachment ???

    <jbk@ewebs.grwr ote:
    I must admit that i am new to PHP but not in programming in general...
    Anyway, i created a program in VB which creates after a few steps an image
    and this image should be sent to an email... probably via PHP...
    My thought:
    i will sent the variables the script is going to need through the URL which
    means the Path of the image too (c:\blabla\imag e.jpg)
    >
    I now need the script with which i am going to send the file located at the
    users pc as an attachment to some email..
    Investigate the Pear package Mime::Mail.

    miguel
    --
    Photos from 40 countries on 5 continents: http://travel.u.nu
    Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
    Airports of the world: http://airport.u.nu

    Comment

    • Guest's Avatar

      #3
      Re: Image attachment ???

      I am sorry, i didnt define a few things...
      I am using a webhosting company which means no access to several
      modifications.. ..
      2nd i dont want the user to be prompted for anything...maxi mum "Submit"


      Comment

      • Guest's Avatar

        #4
        Re: Image attachment ???

        After long research i found out that this is not possible for security
        issues (logical....) any way
        since i cannot avoid the prompt i will have to deal with it

        So i am asking a new Question! :-)
        Is there a way of setting a path to the file select dialog box that pops up
        when clicking on "select file"?


        +-----+
        | JBK |
        +-----+



        Ï <jbk@ewebs.grÝã ñáøå óôï ìÞíõìá news:ebd79d$aja $1@aluminium.ac n.gr...
        Hello,
        I must admit that i am new to PHP but not in programming in general...
        Anyway, i created a program in VB which creates after a few steps an image
        and this image should be sent to an email... probably via PHP...
        My thought:
        i will sent the variables the script is going to need through the URL
        which means the Path of the image too (c:\blabla\imag e.jpg)
        >
        I now need the script with which i am going to send the file located at
        the users pc as an attachment to some email..
        >
        can anyone help?
        Thanx in advance!
        JBK
        >

        Comment

        • Guest's Avatar

          #5
          Re: Image attachment ???

          So i am asking a new Question! :-)
          Is there a way of setting a path to the file select dialog box that pops
          up when clicking on "select file"?
          Not in Opera and Mozilla clones. For security reasons.

          Regards,
          Talthen


          Comment

          Working...