
vpnetwork
Deleted
May 29, 2000, 9:08 PM
Post #1 of 1
(1447 views)
|
need help making a script to upload a file and make PGSQL entry
|
Can't Post
|
|
Help my programmer disappeared and I need assistance in making a cgi script to do the following. I need it to first verify screen_name and 'password' by looking in my database and look in the table my users are in. I then need to verify if they are contributors by checking to see if thier "type" Matches by looking in the same table, if that goes through then I need to make sure thier account is active (check to see if the field displays a one or two)in the same table. I then determine the 'userid' by looking in the in the "users" table. Then I need to save the product info (price, title, descrip, userid, filename) to the "product" table in the same database, get the 'prodid' from the [0], then save the file in the members /products/with prodid equaling the filename.
|