Connecting Tech Pros Worldwide Forums | Help | Site Map

Image attachment ???

Guest
 
Posts: n/a
#1: Aug 9 '06
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\image.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
Guest
 
Posts: n/a
#2: Aug 9 '06

re: Image attachment ???


<jbk@ewebs.grwrote:
Quote:
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\image.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
Guest
 
Posts: n/a
#3: Aug 9 '06

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...maximum "Submit"


Guest
 
Posts: n/a
#4: Aug 9 '06

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.acn.gr...
Quote:
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\image.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
>

Guest
 
Posts: n/a
#5: Aug 9 '06

re: Image attachment ???


So i am asking a new Question! :-)
Quote:
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


Closed Thread