By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,474 Members | 966 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,474 IT Pros & Developers. It's quick & easy.

Image attachment ???

P: n/a
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
Aug 9 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
<jb*@ewebs.grwrote:
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
Aug 9 '06 #2

P: n/a
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"
Aug 9 '06 #3

P: n/a
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 |
+-----+

<jb*@ewebs.gr news:eb**********@aluminium.acn.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\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

Aug 9 '06 #4

P: n/a
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
Aug 9 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.