473,503 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File select on server (repeated)

(repeated because I forget to add comp.lang.php to the list)

I have an admin interface. I want the admin to be able to select an image
file on the server and attach it to an email to be sent out to a user. If I
use type="file", it puts up a browse on the user's machine. Is there a
comparable thing for use on the server? I could always place these images
into a special directory and then simply have them listed in a select list.
However, i was wondering if this more general thing is available. Of
course, I would ONLY use it in an admin situation.

Shelly
Oct 28 '06 #1
2 2363

Shelly wrote:
(repeated because I forget to add comp.lang.php to the list)

I have an admin interface. I want the admin to be able to select an image
file on the server and attach it to an email to be sent out to a user. If I
use type="file", it puts up a browse on the user's machine. Is there a
comparable thing for use on the server? I could always place these images
into a special directory and then simply have them listed in a select list.
However, i was wondering if this more general thing is available. Of
course, I would ONLY use it in an admin situation.

Shelly
There is no built in browser control (that I know of) that can do this.
Perhaps if you placed your image in a images dir, then used PHP readdir
function to display them as radio (or check box) options that the user
could select to send the email with...just a thought.

http://au2.php.net/readdir

Oct 28 '06 #2

"Noodle" <ne*****@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
>
Shelly wrote:
>(repeated because I forget to add comp.lang.php to the list)

I have an admin interface. I want the admin to be able to select an
image
file on the server and attach it to an email to be sent out to a user.
If I
use type="file", it puts up a browse on the user's machine. Is there a
comparable thing for use on the server? I could always place these
images
into a special directory and then simply have them listed in a select
list.
However, i was wondering if this more general thing is available. Of
course, I would ONLY use it in an admin situation.

Shelly

There is no built in browser control (that I know of) that can do this.
Perhaps if you placed your image in a images dir, then used PHP readdir
function to display them as radio (or check box) options that the user
could select to send the email with...just a thought.

http://au2.php.net/readdir
Thanks. As for your suggestion, that is what I said above that I could do.

Shelly
Oct 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
14143
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
2
2456
by: ghasem | last post by:
Dear mySQL community, I have once again turned to the user groups for a problem I cannot solve myself! Atually, I have read all I can from the newsgroups on this but I could not solve it myself....
1
1639
by: Omavlana | last post by:
Hi I have written this query for generating a report. select * from shrcertmaster left outer join shrsharemaster on shmacno = ctmacno
11
6592
by: Abhishek | last post by:
I have a problem transfering files using sockets from pocket pc(.net compact c#) to desktop(not using .net just mfc and sockets 2 API). The socket communication is not a issue and I am able to...
1
6439
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
1
1856
by: Alec MacLean | last post by:
Hi, Outline of problem: I've built a set of user controls that are used to output questions for a survey and gather the responses using simple radio buttons. I'm adding an optional textbox...
7
3491
by: mcha226 | last post by:
Hi All I have to build a page which includes a select element (as a drop down menu) with all the country names in it. However I just found out that the need to be repeated many times so the...
0
1895
by: alivip | last post by:
I write code to get most frequent words in the file I won't to implement bigram probability by modifying the code to do the following: How can I get every Token (word) and ...
2
3786
by: pulavarthipraveen | last post by:
Overview: We have a requirement in the c#.NET 1.0 windows application. There will be some input text file in the user’s machine. The user should browse and select the input text file and also select...
0
7084
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7278
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7458
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5013
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.