kvarnerexpress
Dec 19 2004, 11:00 PM
| | Hi, Im creating a website that sells carpets and basically ive created webpages with the picture and checkboxes underneath the pictures so users can select which carpet they want! Once they submit the form, we get the order including form details! The problem is that once the user checks the checkboxes, i want to be able to delete that image from that webpage or move that picture to another location in the folders i have stored on the server. The reason is becuase evry carpet is unique so that two people cant order the same carpet! Now wat is the best way 2 do this..... Using a database or can this be done using sumat like javascript or sumat? Thanks in advanced! |
Reply
no9t9
Dec 20 2004, 12:29 AM
QUOTE(kvarnerexpress @ Dec 19 2004, 07:00 PM) Hi, Im creating a website that sells carpets and basically ive created webpages with the picture and checkboxes underneath the pictures so users can select which carpet they want! Once they submit the form, we get the order including form details! The problem is that once the user checks the checkboxes, i want to be able to delete that image from that webpage or move that picture to another location in the folders i have stored on the server. The reason is becuase evry carpet is unique so that two people cant order the same carpet! Now wat is the best way 2 do this..... Using a database or can this be done using sumat like javascript or sumat? Thanks in advanced! i think the easiest way is to use php. I am not sure how many carpets there are and how the you display them, but with php you can write a script to display whatever is in the "carpets" directory and then add exclusions. So, when someone submits a form to buy a particular carpet, the php script for the form can also change the file extension to "sold" (or whatever). When the carpet display php script goes to display all the carpets, tell it to skip all "sold" extensions... if !(strstr($filename,'.sold')) { display some html stuff here } i'm not sure how much php you know, but i can help you. I wrote a similar script to display images so that whatever images I put in that directory would get displayed. No need to update html code... just upload the file into the directory.
Reply
m33
Dec 22 2004, 06:16 PM
you can also just redirect it to the same page without the pics on it, that's easyer (dunno how good you are at PHP and all that)
Reply
Similar Topics
Keywords : move, delete, image, webpage, automatically
- What Will Be The Side Effects If We Can Move And Think On The Speed Of Light
What differences can we see if we can think, move or do what ever with (2)
Flash Media Into Html/css Website
does anyone know how to import a flash into a webpage with transparenc (1) Hi I need some help , Im designing this website for school studies However, I made a flash drop down
menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
For example my flash is width= 800, and height = 200 but my div box on my html page for my
navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
animations i want to insert it into my navigation div box but i want to set the flash background to
transparent so that when the drop down menu comes down it overlaps the text or whateva....
Image Hosting Link On My Website?
need help (2) Please look at the imagefilez.com box at the top part of most of the pages at trap 17. I'm
looking to place any kind of image hosting box similar to that one on my own website. The hosting
service can be any website but I'm just trying to find a way that I can have my own image
hosting box on the site. I don't care if it does the hosting through another site. Please, any
help to create a image hosting box on my website would be greatly appreciated. /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />....
How Do I Delete My Hosting Account?
(2) I currently don't have the time to keep up with this forum and a website in addition to my job.
So, how would I delte my hosting account? I don't want to delete my trap17 forum account, I
like the discussions here, and I may want to try a website gain someday, but right now I don't
have the time. Is it possible to keep my forum account but have my hosting account deleted? Thanks
for any and all info!!! Byron Arnold....
Unable To Replace .png File In Directory
Can't even delete it using Cpanel (7) I can't delete a little file using file manager in Cpanel. I'm trying to delete a .png
image, actually, I'm trying to replace it. The response comes back as a success, but when I
reload my site it's still there. Then I go back to the file manager and go up a level, then back
and WOOP! There it is! I'm beyond frustrated here. What is going on?....
Trap17 Dynamic Recent Post/topic Image
(17) Some may remember a while back I created a dynamic image that would tell you your post count and
last active for trap. It had a bit of a run but then died off. It just wasn't very useful.
BUT NOW I am presenting the most epic trap17 image Ever. This one is SUPER customizable and already
works for ALL MEMBERS ! It is designed to be put in your sig so other members can see the
recent topics you have written. It is still in early early beta stage but soon it will have the
date posted along with some other cool features. So I'm sure you are all excited t....
[suggestion] Allow Users To Delete Their Own Topic
Possibly only if there are no replies (4) I've had the following happen to me twice within the past few days: I struggle with a problem
for three or four hours. Eventually I give in and post asking for help. While I wait for the help
I continue working on the problem. An hour or two down the road I figure out the issue on my own.
As such, I no longer need the topic I created. I'd like to delete it so as not to waste
people's time (and clutter up the sub forum), but I don't have the privileges to do so.
Being able to delete your own topics would allow users to self moderate, and cut down on....
Exact Image Index
(2) i had this idea a while back but i guess the genious at google are a couple steps ahead again, but
it's the idea is instead of relying on the tags of an image when searching it actualy reads
what's realy in that image. this can be a great step ahead witch can eliminate some mistakes
that happen when searching images. i like it /smile.gif" style="vertical-align:middle" emoid=":)"
border="0" alt="smile.gif" />. CHECK IT:
http://www.bigblueball.com/forums/general-...html#post229009 ....
Link Image Css Bug In Firefox
Can anyone help me? (7) I have a problem in a site I am creating. I have styled my post content links in the following
way. CODE #post-content a { background-color: #bf6f3c; color: #fff;
padding: 2px 2px 1px 2px; border-bottom: 1px solid #7f4926; } #post-content
a:hover { color: #f5fac7; } And when I insert an link image like so: There
seems to be an extra border inherited from my #post-content a style. I have attached the screenshot
to show the problem. This was how my link image should look like: CODE #post-content a img { ....
Image Upload
?!? (11) I need the image upload script which automatically resized the image by specified size and store it
in the specified folder.....
Image Viewing
(3) IrfanView If you are looking for something better than the softwares for image viewing included in
windows, you can try these incredible program, really small, really fast, and simple to learn you
can basic edit your photos with IrfanView, and its free /biggrin.gif" style="vertical-align:middle"
emoid=":D" border="0" alt="biggrin.gif" /> here, a link to download, this is the version i use i
have no problems with this one: http://rapidshare.com/files/106016448/iview397.rar ....
Wordpress Backup For A Server Move
backing up a Wordpress site (2) i have question: how can we backup wordpress from fantastico...is it possible to backup and move
it to new host if you want?....
The Right Web Album/image/photo Album Host?
a question regarding the confusion of choosing the right host (9) Hello, since I can't post to the Internet secion of this forum, I'll post it here. I am
still doing my best to get more than 30 credits, right now I only have the half Anyway alot of our
relative uses Flickr (which sucks--limitations) and Kodak photo sharing thingy. Now, me I wanted to
be unique at the same time to help other relatives in choosing the right site to upload their
pictures of course, with a wonderful features. Can you please help me or recommend me some photo
sharing sites, where I can upload my pictures or pictures of our family? If possible, th....
Auto-delete Your Spam In Gmail
finally, get rid of all that spam! (15) i have been using gmail for quite a while, and have always hated hotmail. i hate it now more than
ever now that it is 'windows live mail'. however, there has always been something about
gmail that bugs me: how on earth do i get rid of all that spam? i mean, doesn't it ever bug you
when you have 3 new messages in your inbox, and then 56 bits of spam? and then you have to manually
head to the spam folder, and delete them all? i know gmail offer you a lot of space and i know the
spam messages get deleted after 30 days, but for me it is a phsychological thing: i....
Background Image Swap Script
Change a Background Image based on clock time (15) Background Image Changer Script To swap the background image from your CSS file according to the
Server Clock Time. 1.) In your CSS file, add the following rule: CODE body {
background: url(time.png); } 2.) Create a "folder" named time.png. 3.) Into the
folder, place three images named morning.png, day.png, night.png. 4.) Also, in the same folder,
create an index.php file and copy/paste the following script. CODE <?php $hour =
date('H'); if ($hour < 12 ) { $image =
"morning.png"; } ....
Do You Use Imagefilez.com?
ImageFilez.com : Free Image and Video Hosting (30) Do you use ImageFilez.com? If so, for what and how long? If not, why? /huh.gif"
style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /> Please vote and reply to
this thread with your responses. I don't personally, because I have an account on Photobucket
and ImageShack, and I sometimes use the Free Hosting that comes embedded into my forum and at the
site I moderate.....
Image Not Taking The Right Size In Web Page
An image is correct when designed, but not when put in a website (1) When trying to make a web page with a GIF image on it which runs a coloured bar along the top and a
coloured curve along the side, I come across the weird thing that, when I put the image on a web
site, it does not take in the whole top and does not run from top to bottom completely. The image is
made in Adobe Photoshop at a resolution of 1024X768 pixela and looks correct , ie. the horizontal
bit runs completely from left to righ and the vertical bit completely from topright to bottom right,
yet when put in to the web page, it shows with big margins left and right and to....
Mylot.com
earn a lot of money on discussion and upload image (16) The site is mylot and all you have to do is stay active in the site by creating or responding to
discussions and upload photos. You get 1 cents minimum for each response you post or when someone
responds to your topic. Your rating in the site goes up by 1 for each unique discussion you take
part in or when someone responds to the discussions started by you for the first time. They pay you
based on the quality of the posts you make. so, if you really make a worthy reply, you can expect
5-10 cents for a reply. Respond to as many discussions as possible and earn. You ca....
Scrolling Images?
How to Make an Image Scroll With the Page (5) I'm trying to make my homepage look a little fancier and I've got a nice background image,
but I want it to scroll with my page, like if you scroll down the image will still appear like it
does on the top of the page. Can someone tell me how to do this? I'm using Microsoft Frontpage
to edit it. I'm not sure what programming language this would be, probably CSS or Javascript,
but I can edit the page script with Notepad or something to make this work. Right now the page is
purely HTML, so whichever language this is, can somebody also give me the tags and ma....
How Do I Move On To Next Relationship?
with a cheated heart? (6) Ok, not that long ago i was in a serious relationship with a girl that i feel in love with. We
were together of a little over a year and we basically spent almost all or time together and we
really feel in love with each other cause i was there for her and she was there for me. And one
night we got into a real bad arugment and we broke up and i thought after a few hours we were going
to get back together like always but we didnt and the next day i recevied a fone call from her
cousin telling me she had cheated on me and i never know and when i first heard this i j....
What Happens To A File When You Delete It From Windows ?
(14) now have you ever wondered what happens to a file when you delete it and empty the recycle bin ?
surely it should not be in the computer by then ?? well i ahd a big sprise waiting for today morning
when i turned on my computer , i will tell you waht happened , yesterday a colleague of mine put sum
flash files on my desktop and when i went home i deleted them and emptied recycle bin assuming he
should have made a copy and has taken to his computer , but when i turned on my office computer this
morning the files i deleted were sitting right on my desktop again !! b....
How To Create Embed Image Mail In Gmail
(48) Hi to all ! Anybody can help me to create an email with embedded image so that mail reader
automatically see that image. Moreover I wont attached that image as it appears small in size in on
gmail. Thanks in Advance. ....
Watermark Your Image With Simple Php Script
found it on the net (34) This script was found on the net http://tips-scripts.com/?tip=watermark#tip B&T's Tips &
Scripts site. Just in case the site may not show, I will include the code here: List of things
needed: 1. your image in any format 2. watermark image--in gif format with transparent background 3.
script below with name (i.e. watermark.php) CODE <?php // this script creates a watermarked
image from an image file - can be a .jpg .gif or .png file // where watermark.gif is a mostly
transparent gif image with the watermark - goes in the same directory as this script // ....
Cannot Delete Folder After Lost Ftp Connection
permission not given to delete file (7) hello, well i had created a subdomain and was transferring files into the folder i was disconnect
from the server many times while uploading the files via ftp once when i reconnect, i saw a file
with an unusual name something starting with preftp... i tried deleting the file, but it said that
permission was not granted to do that i tired deleting the complete folder and also tried deleting
the subdomain from the cpanel but it was of no use can anyone help me with this? thx for your time
Modified topic title. ....
Expanding Image Gallery
Images Expanding on a mousover (6) I was looking through wired today, and i noticed :
http://www.hotwired.com/webmonkey/06/08/index2a.html looks like a pretty nifty image gallery
effect, though i noticed that it wont display properly in FireFox. Does anyone have any links or
examples of other image gallery code, i find it pretty fascinating.....
What Is Theme Of Your Current Desktop Image
about images, pictures... (19) My current desktop image is standard windowsXP Home image. /tongue.gif' border='0'
style='vertical-align:middle' alt='tongue.gif' /> And U? ....
Visual Basic 6.0 Help Needed
Adding lines to a textbox without delete (13) I need help with Visual Basic 6.0 and adding lines to a textbox without deleting any previous
lines.. I've gotten as far as finding a way to add the lines, but it deletes the prevous entree.
Help is appreciated!....
Auto Webpage Resolution Format
Viewing Problem Help Needed Please (7) Hi, my website was created with Frontpage 2003. At screen resolution 1024 * 768. Now the problem
that I am finding is people with a screen resol. 800 * 600 see the table and everything in the wrong
place and its all messed up. Is there a way to make it so the site is compatiable with all screen
resolutions. Thanx in advance for your help. Edited topic title. ....
Making A Scroll Bar In Flash
with an image and words on it (4) does anybody know how to make a scrollbar for my game page I am making on my site. This whole site
is completely in flash. I know how to make a scrollbar for just words but not when there is an
image on there also. Does anybody know?....
Turning An Image Into A Cartoon Style - Photoshop
Tutorial on cartooning images. (30) This tut will show you how to make a photo look cartoonish in three easy steps... 1)Open your
image in photoshop, doesnt really mater what size or shape anything really a landscape, city, or a
person. I am using a picture of a football player in this example 2)Go up to
Filter>Blur>Gaussian Blur and set the radius at 3.0 or higher depending on the effect your looking
for. 3)Last go Edit>Fade Gaussian Blur. A window will pop up... set the mode to darken for tha
cartoonish effect or to any other mode for plenty of other effects. Lower the opacity if you
don't....
Looking for move, delete, image, webpage, automatically
|
|
Searching Video's for move, delete, image, webpage, automatically
|
advertisement
|
|