I have only been developing small sites using asp and Access database. I want to advance my skills and develop a large site. Basically, I need direction in relation to having a user set up an acct., and once set up, being able to upload images. FrontPage (dare I say it) has always enabled me to allow visitors to upload one image at a time, and then only to a specific directory. What I want is the ability to have someone upload a specified amount of images to a directory that is created when they opened their account. ie., /tom/images If anyone knows of of good tutorials on this, I sure would appreciate it. I also want the ability to check images file size and dimesions, and resize or reject if neccessary. Can I learn how to do this w/out buying some program online.
I am trying to set SA-Fileup to filter the files that are uploaded based on the name of file selected in the form. I am able to get it to work on Filetype, but I need it to do it on Filename is not Filetype. where I can find something on this?
I have an include file which contains some images. If I use this include in a sub directory, the path is obveously wrong. How can I sort this problem - is it best to just use absolute paths rather than relative?
I'm creating a site which will have the home page at the root level, but all of the sub pages in sub directories:
root/ -homepage.asp -subdirectory/ subpage.asp -images/ logo.gif -includes/ header.asp Each page of the site will have the include <!--#include virtual="/includes/header.asp" -->
header.asp is a table with our company logo, logo.gif. The problem I'm having is that subpage.asp does not display logo.gif because the path in the include is only correct at the root level.
I don't want to create multiple includes. Is there another way to make this work that I'm missing? Thanks!
I would like to know if there is a way to upload an image and text into an Access database using asp. I have a web site hosted on a web server which doesn't accept to install components. If anybody knows some sample code (in case this is possible), a link or some code would be welcome.
All the tutorials I find have the databse with additional fields like Filename, FileSize, FileData, FileID, Contenttype, etc.
I want to upload into ONLY that image field because my windows app accesses the same database, and it doesn't use those additional fields. does someone out there have a tutorial or some code example or SOMETHING related to uploading a file into a SQL database?
I've been looking for ages for decent serverside (or clientside I suppose,) software for uploading images. I need the software to make thumbnails of the images too.
I'm making a property website product and I need to make it easy for the user to upload pics by browsing to them and selecting them. When he/she adds the info and photos the thumbnails will be made automatically ....
i want to give a option to client that they can upload there logo/images. how i can upload the images and when some upload the images i want to rename the images as the user name of the client or some autonumber. how i can rename the images.
I am creating a site and want the users to be able to upload images from their computers either onto the server or into the database using a BLOB field. The question is, which of these is the best. The basic use of the picture (jpg or gif) would be similar to ebay or an Avatar on a forum. Would it be better to store the picture it the database or the link?
I'm trying to improve the way that our press team update images on our homepage. At present the headline link and text is inserted using a submission form that writes to a database. However the accompanying image is inserted by placing the image on a blank web page (headline.asp) and using an include on the homepage to insert it into the appropriate cell next to the headline text.
I would like to add an 'upload image' function to the news submission form that would allow the press team to browse to the image file and insert this into the same location. The upload function would therefore have to automatically send the image to headline.asp.
Other than creating a custom component or purchasing one, isn't there any other way by which users can upload images/files from their local machines/hard disks to a remote server? Doesn't ASP have any in-built component to do so?
If that's indeed the case, can someone suggest any free components (not trial ones) which can be used to upload images/files from users' local machines/hard disks to a server?
I am working on a gallery and am uploading pics. Is there any way of resizing the resizing image eg make a thunbnail from the image been upload. Also can I rename the image so that images aren't overwritten.
How can I upload & insert 2 images to the server using asp, I used this code for one single image....I need to know for 2 images in order to insert them in database
I would like to know ho to validate a file name when uploading via asp. I need to upload 2 images and the file names must be the same...
1) browse for 1st image. 2) image path and file name appears in text box i.e. IMAGE1.JPG 3) browse for 2nd image. 4) 2nd image file name MUST match the file name in the text box of 1st image i.e IMAGE1.JPG.
I am trying to create a computer management form/web application. I am not a good programmer. I use sharepoint at work to do most of the tasks which are fairly automated.
Now the computer management form is designed this way: Code:
I want to upload image files (jpg) into a sub-directory of a website root directory using a web interface allowing the user to browse their drive and select the jpg file to upload.
Also, is there a way to parse the information from the jpg file and insert the information into a SQL database table which would hold the file name, image height, and image width?
I'm new to handling binary files, so I'm not sure how to accomplish this?
I have a SQL table where enter in the filename "suffix" ("photo_of_event_") and then I enter a start number (1) and an ending number (4). So, each gallery only has one record entry.
Now, I need some advise on how to take this record and generate a page that displays all three photos.
Is there a SQL statement that would generate an incrimental list of number (1,2,3,4 in this example?).
I know how to copy files from one location to another but how would I go about copying a file from one directory into serveral - or actually all subdirectories in a single action? Some kind of loop
Basically I want to be able to enter a filename into a text field and click submit which would then copy the named file (which resides in the root directory) into every subdirectory under the root (1 level only). Would be helpful to be able to specify mutliple files to be copied at once.
I found this script on the web that I've adapated a little to see the files I put into a directory. However it doesn't see any sub directories. Does anyone have any idea how i can point to a directory and list everything, including the directories? Code:
It's funny that this has not been invented yet, or has it?: You store your DB outside your default website. It is accessed only through your ASP code and a ODBC-connection. This way your DB is not obtainable for the web user. Why doesn't Any One create a connection corresponding to ODBC, lets call it FileConnect that in the same way allows us, in a web site, to have directories and files that are really hidden?
In php you can have a script like: http://localhost/page/parameter1/parameter2 where page is acually a php script and the script gets the parameters in $PATH_INFO
I need something similar in asp. If possible without modifying any settings on IIS. Here is a tutorial on how to do it in php. http://www.zend.com/zend/spotlight/searchengine.php
i have a subdomain on my works server that i use to store different stuff on, like different projects that i'm working on. They are all set up in their own folders, for example, sub.blah.com/project1, sub.blah.com/project2 etc etc. (all the folders have different names).
What i want to do is to create an index page on sub.blah.com that will list out all of the folders. I dont have any access to the server workings so this all has to be done with a script.
My global.asa maintains some stats for me. However when I put part of my site in a sub-directory it appears to run the global.asa file from the sub-directory when I am accessing content in that sub-directory. This makes all the paths specified in global.asa wrong.
I can understand that it runs, since it is application driven and all sub-directories will be part of the same app, but I can't understand it running in a different directory to where is resides.
I want to read every file in D:DISCS, seperate the filenames into: Disk Number, Track Number, Artist and Title - drop the .zip and the hyphens entirely and insert the data as a record in a database.
I'm including a template on all pages in a site. In the template I have a menu. What I'd like is to have a different menu displayed if I'm in a different directory. Something along the lines of:
If path is /mainsite Then Regular Menu If path is /admin Then Admin Menu
Just not sure about how to go about getting there. My first thought was to use the PATH_INFO server variable, but that returns the page name too. Any suggestions?
Is there any way to setup a multiple password page where if user1 logs in it will take him to dir1 and if user2 logs in it will take him to dir2 and so on. Basically, we need a page that checks to see if the user name and password exists and then redirects accordingly.
I have managed to cobble this together And now I have got stuck with modifying it.
What it does is provide an option box that allows you to choose any of the folders in a directory. The files in that directory are then listed below the option box. (the file structure dictates the order/grouping of the files)
It change the path-to-directory with a manual option. Code: