ok, so i now know how to add, edit, delete and search for products (havent
figured out categorisation out yet tho) - how do i upload an image and save
the file name to the database as part of the admin? something dummies can
follow that doesnt use a component (can i throw in a chunk of code and
specify the table fieldname and directory the file needs to go into?)
cheerz
mark 3 2434
On Thu, 9 Oct 2003 10:24:18 +0100, "mark | r" <ma**@nmd.freeu k.com>
wrote: ok, so i now know how to add, edit, delete and search for products (havent figured out categorisation out yet tho) - how do i upload an image and save the file name to the database as part of the admin? something dummies can follow that doesnt use a component (can i throw in a chunk of code and specify the table fieldname and directory the file needs to go into?)
Well, you do it that same way you send other data to a record. :)
You need to provide more info if you want specifics, such as what
database, what ASP code you're using and so on.
Jeff
"Jeff Cochran" <jc************ *@naplesgov.com > wrote in message
news:3f******** ********@msnews .microsoft.com. .. On Thu, 9 Oct 2003 10:24:18 +0100, "mark | r" <ma**@nmd.freeu k.com> wrote:
ok, so i now know how to add, edit, delete and search for products
(haventfigured out categorisation out yet tho) - how do i upload an image and
savethe file name to the database as part of the admin? something dummies can follow that doesnt use a component (can i throw in a chunk of code and specify the table fieldname and directory the file needs to go into?)
Well, you do it that same way you send other data to a record. :)
You need to provide more info if you want specifics, such as what database, what ASP code you're using and so on.
Jeff
using msaccess and a standard insert sql? i already have the product name,
description etc working in an administratable format, i plan on adding
session based security which looks simple enough, i plan on having thumbs
and enlargements uploaded to the web server in a particular folder.
im really looking for a lump of script that will take form fields and upload
a file to the server, adding the filename into the database.
mark
On Thu, 9 Oct 2003 13:09:14 +0100, "mark | r" <ma**@nmd.freeu k.com>
wrote: "Jeff Cochran" <jc************ *@naplesgov.com > wrote in message news:3f******* *********@msnew s.microsoft.com ... On Thu, 9 Oct 2003 10:24:18 +0100, "mark | r" <ma**@nmd.freeu k.com> wrote:
>ok, so i now know how to add, edit, delete and search for products(havent >figured out categorisation out yet tho) - how do i upload an image andsave >the file name to the database as part of the admin? something dummies can >follow that doesnt use a component (can i throw in a chunk of code and >specify the table fieldname and directory the file needs to go into?)
Well, you do it that same way you send other data to a record. :)
You need to provide more info if you want specifics, such as what database, what ASP code you're using and so on.
Jeff
using msaccess and a standard insert sql? i already have the product name, description etc working in an administratable format, i plan on adding session based security which looks simple enough, i plan on having thumbs and enlargements uploaded to the web server in a particular folder.
im really looking for a lump of script that will take form fields and upload a file to the server, adding the filename into the database.
Google "ASP Upload" and you'll find quite a few options. Also take a
look at: http://www.aspfaq.com/show.asp?id=2189 http://www.aspfaq.com/show.asp?id=2149
You have the option of how you'll store the images to think about, for
example, will they all be the same size? Will they be at that size
when you upload or will they need to be resized? Are you storing all
image files in a single directory or in separate directories? If
separate, how are the directories structured?
For example, if all images are stored with the part number as the name
and in the same folder, say \images, then you don't even need to worry
about storing the info in a database. You'd just provide them with
code similar to:
Response.Write "<IMG SRC='/images/" & PartNumber & ".jpg'>"
Jeff This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: laurie |
last post by:
Hi all,
I'm trying to help out a friend who has inherited a client with a PHP
shopping cart application. Neither of us know PHP, but I've been
muddling my way through, trying to get these old scripts working on a
new server with the most recent version of PHP. I've pretty much
taken care of all the various errors that were popping up. ...
|
by: netpurpose |
last post by:
I need to extract data from this table to find the lowest prices of
each product as of today. The product will be listed/grouped by the
name only, discarding the product code - I use SUBSTRING(ProductName,
1, CHARINDEX('(', ProductName)-2).
I can get this result, but I had to use several views (totally
inefficient). I think this can be...
|
by: cda_Alford |
last post by:
Hello,
I applogize in advance for my lack of understanding and the lack of
information I'm about to provide. I am out of my element and I'm
hoping that someone here can help point me in the right direction.
I have a customer who has images and index data for those images. I
would like to extract the data and load it into a SQL Server...
|
by: PR |
last post by:
Searchable product images + prices database?
What system should I use to put a database on the WEB
which shows images and allows searches, including
searches within given price ranges for products?
There will be product images too, thumbnails and
larger images?
All the data will be on a single server, on the same
|
by: Gamesetal |
last post by:
I need to include a picture / photograph in a Db then from a query
export to Excel - picture included - I just can't find a way through
this - can anyone please help? TIA JOhn
| |
by: ollielaroo |
last post by:
Hi guys,
Firstly I did do a search for this one first but I couldn't find anything related in this forum. I am using Dreamweaver MX and trying to build admin pages for an ASP site.
My problem is I have Categories and various Products in each Category. I'm trying to build a page to EDIT/UPDATE each product.I want to be able to change the...
|
by: praclarush |
last post by:
I need to take an image that was in a Array object image and have it display in a table. this is for a item list the table has four columns one for the image, one for a description, one for a price, and the last for the amount of the item.
I've looked on the internet for help but all I find is how to do image switches for links and slideshows....
|
by: xaviergxf |
last post by:
Hi everyone,
I have the following problem: i have 3 pages: Page1, Page2,
Page3; These pages register a product.
In Page1 i do a post to Page2. In Page2, i asynchrony upload some
images, to be used at Page2 itself, the images will be saved at the
DB, and used like: <img src="ShowImage.php?cod=1231">. Each Image has
a product associated....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |