Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> How To Make A Buy 'n' Sell Classified Page?, I want help to make a shopping php script
imtaqi
post Dec 27 2007, 06:35 AM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 10
Joined: 22-December 07
From: Karachi Pakistan
Member No.: 55,143



How to make a PHP script that export form data to webpage

I want to make a buy n SEll classified page on my webpage
and i want that

Sellers upload their all info about their product online without I have to upload new information

Could any body have any suggestions
Edit/Delete Message
Go to the top of the page
 
+Quote Post
jlhaslip
post Dec 27 2007, 08:30 AM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,083
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Well, I don't think you can actually upload directly to a web page.
I think you will need a Database/CMS system or at least a CMS using Flat Files. (Or maybe a Forum Software?)

There are Open Source Auction Scripts which might work. Fantastico has at least one, but I can't recall the actual name.
It will allow fixed price or buy-it-now auctions, I believe.

Make some good posts and get a Hosting Account here at the Trap17. You will need a Hosting Service regardless of whether you write the Script or install a package, right??? This one is a good as, (or better than), many paid Hosts, so do yourself a favour and save some money by using the Trap17.
Go to the top of the page
 
+Quote Post
buddzph
post Dec 27 2007, 10:09 AM
Post #3


Newbie [Level 1]
*

Group: Members
Posts: 16
Joined: 26-December 07
Member No.: 55,280



i think there is no way you can export data directly to a webpage...

the only suggestion i get give is, try to let the customer give their description to the product they like to posts..

and if you want to look the page like an html page... add fckeditor to your posting area..
Go to the top of the page
 
+Quote Post
shadowx
post Dec 27 2007, 01:23 PM
Post #4


A clever man learns from his own mistakes, a WISE man learns from those of OTHERS
***********

Group: [HOSTED]
Posts: 1,028
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719



Well methinks you could have the user upload the file to a temp directory on the server, then use PHP to open that file and read the contents to a variable, delete the original file and then copy the info from the variable into a webpage using FWRITE and then save and close that file.

If you just wanted the user to input data into a form and then submit it and have it saved to a webpage then just use FOPEN and FWRITE to save the information, via variables, into the webpage

This is assuming i understood rightly

EDIT: This information is mainly for education etc.. If this is the first time you have written code that handles selling and buying then i highly suggest going with a pre-made code like those suggested above

This post has been edited by shadowx: Dec 27 2007, 01:24 PM
Go to the top of the page
 
+Quote Post
anwiii
post Dec 27 2007, 05:06 PM
Post #5


Privileged Member
*********

Group: [HOSTED]
Posts: 588
Joined: 5-March 06
From: Warsaw, MO
Member No.: 19,564



like haslip said, get hosted here on trap17. after you do that, go in to your control panel and in to fantastico. there is a program that you are able to install called noah's classifieds. i am going to be using that soon after i finish my website. it's very basic and user friendly. it will create a database for you so all the visitor has to do is write their ad in the preformated text boxes and post it. the ad will appear as soon as they submit it. very simple and you don't have to worry about creating your own scripts.

PROBLEM right now is that trap17 recently upgraded to the new php version that this noah's classifieds is not compatible with. what you can do to get around this problem is to download the correct version of noah's classifieds directly from their website and upload it to your new website. i believe all you would have to do is to create a database(very simple). the installation after you upload the program is very user friendly and almost automatic. like i said. i believe all you have to do manually is to create a database, possibly change a couple file permissions, and then delete your intallation program for security measures.

there are other classified software out there that is free like certain versions of isell. i would suggest using free software and then if you wanted to create your own classifieds site, you can work on that gradually, but my suggestion and haslip's will let you get started with it quick and easy.

QUOTE(imtaqi @ Dec 27 2007, 12:35 AM) *
How to make a PHP script that export form data to webpage

I want to make a buy n SEll classified page on my webpage
and i want that

Sellers upload their all info about their product online without I have to upload new information

Could any body have any suggestions
Edit/Delete Message

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Many Php Script Sites(16)
  2. Script: Php Jukebox(4)
  3. Parse: Error Unexpected T_lnumber(4)
  4. Transfer Variables To Another Php Script(8)
  5. Watermark Your Image With Simple Php Script(35)
  6. Script That Tracks The User Status(4)
  7. Wappychat_oldskool(15)
  8. Free Auction Script(6)
  9. Wappy Buddy V1.10 - Tibia Gold Edition By Wappy & Jon Roig(3)
  10. What Kind Of Script Do You Need ?(15)
  11. Creatting A Playlist Through Php(5)
  12. Very Simple Online Now Script(4)
  13. Html Code Tester. Online Script(15)
  14. Will This Code Work(5)
  15. Php Downloads Script(4)
  1. Script Help Required: Undefined Variable(3)
  2. Script Not Working(6)
  3. Library Script(6)
  4. How Would I Go About Making A Simple "counting" Script?(3)
  5. Forum Script(3)
  6. Php Rediret Script(12)
  7. Download Script For Mp3 Files(0)
  8. How Do I Connect To Live Database With Php Script?(6)
  9. Need Help Installing Dolphin Community Script!(5)
  10. Guessing Php Script(2)
  11. How To Make A View New Post Script?(5)
  12. Php Guest Online Script(3)
  13. How To Make Php Newsletter Script(3)


 



- Lo-Fi Version Time is now: 13th October 2008 - 06:12 AM