Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Store Front


I know how to create a store front using php and mysql. What would be the best way to set it up so that members that sign up on my site can create their own store and sell items. I am thinking that I have to create seperate store id's then somehow attach the member's id to the store. I also thought of possibly creating a seperate subdirectory for each member and copy the source code for the store that they will need to install but not sure how to do it plus seems like a lot more work. I would think that utilizing mysql would work the best but need some direction in this area.




View Complete Forum Thread with Replies

Related Forum Messages:
Store Front Question
I know how to create a Store Front using php and mysql. I know how to create a members area for my members to login into. How would I go about having my members create their own store front on the fly. Then add items to the store front and sell them.

View Replies !
Front End For Php
which software can help me to build system using php... i means user friendly. it can help me to design the system easily.

View Replies !
Front End
I need an assist with a coding problem. I don't have any. I am pretty close to code illiterate, so I need to find someone who can crunch up something for me if possible. Myself and another fellow have a website that we use for entertainment purposes, Virtual Airline, no membership fees and everything is free. On this site, we have a MySql database that users transmit data to through a client side app. However, once it is in there, the user can't view the details. What I would like to find some php coding that would. Have an entry that would be hardcoded for that user

Would search by his/her id
Return date of entries (last one first)
Return Departure of each entry
Return Destination of each entry
Return Time taken of each entry
and a link to the dat file sent for each entry.

Is this possible to do with php? Can anyone assist?

View Replies !
@ In Front Of Variable
What is the @ for when put in front of a variable? I am looking at
some older code and have never used it myself.

View Replies !
Front For Mysql
Are there any good PHP scripts or pre written programs that deal with a
complex database?
Let me explain:
I'm in truck dispatch, and we've moved all tables to mysql and access them
on a network via ms access.
We will open another office in another city, and will want a "web" database.
Now here's what I'm after: Currently one form has various dropdown boxes to
pick customer, shipper, consignee, and carrier information. YES, I even
have the combos ask (ENTER SEARCH STRING), so all 17000 records do not show
up in the dropdown combo boxes. You might enter da for example to get all
occurrences of carries that start with da, i.e., Davis Transportation Inc.
Currently only about 5 da's. Of course the information in combos are pulled
from the customer database via a query. This all being done in ms access
with the mysql tables linked.

This is a very complex system, and all works perfect on a five computer
network.
By the way, choosing a shipper in a combobox fills in "ALL" necessary fields
for pickup, i.e., Address, contact person, phone number for directions, etc.
Can a web database even do something like this?

When I migrate to a "Web" database, I am looking for a good PHP script /
code / example that can handle this situation of dealing with multiple
lookups on one form, and filling in all required information without having
to type it in each time.

Ok PHP folks can this be done and where are the examples to learn off of?

To put it in a nutshell, I know how to populate a table, search, and edit
records in php. What I need are example of: Say you are entering a new
record, I need a "LOOKUP POPUP TABLE" with a search (enter search string)
like above, and a way to select a row, then the "LOOKUP POPUP TABLE" closes
and the original record I was entering has certain fields filled in. Liken
this to the "Northwind" example that comes with MS Access. In an order
example, they have some customer info auto filled in.

If all I needed was table / forn / search / edit, I could use DADABIK.

And one final question, Do I need a web database, or is it possible to
still use MS Access as a front end from another city / state in a client
server setup? I know how to network all this but not client / server from a
long distance.

View Replies !
Building A Front End
I am building a front end in PHP for a client of mine to dynamically change the "current stock" page help this person be a little more organized, and be able to electronically track their merchandise. Now there is not a lot of merchandise moving through this company, maybe 300-400 items per year at most. So the MYSQL database will not be very large. The kicker is building the forms to query the database.

I am coming up with a ton of different ways to filter results. By item category, creator, date created, size, sub category ... this list goes on and is getting longer. Do customers actually use filtering to that extent? I mean at any given time there could be anywhere from 300 - 600 unique items for sale on this site, so to filter them is a good thing, but when does it reach the point where it is too much?

View Replies !
Front End For My E-commerce
I need to create the front end for my e-commerce store. I would appreciate your thoughts on how this could be accomplished using PHP and HTML. At this time, I do not want to use a database. This store will sell license plates, license plate frames, key chains, etc. There are many combinations of vehicle manufacturer, vehicle make, license plate type, etc. What I want to do is have the customer scroll down the page where each line looks something like this:

Toyota 4Runner Dual Emblem Plate Chrome Emblem- chrome plate D.4RU.CC
$29.95 Add Item To Cart

The field names in order are:

Manufacturer/Make
Plate Type
Plate Description
Stock Number
Price

If the user wanted that item, they would click on an "Add Item To Cart" URL at the end of the line which would then need to create an HTML Hidden Form Post to the shopping cart sotware (Mal's e-commerce shopping cart) passing specific data like Plate Description, Stock Number, Quantity Purchased, Price, etc. Using HTML tables would work out great for me but I need to find a way for the hidden form post to know the information to pass. Is PHP somehow able to get the data from the table? Could it access the data in the cells in a row in a table and place the values in variables?

View Replies !
PHP And Front Page
if I can use PHP to connect with a webpage made in Publisher?

View Replies !
Front End Estimation
I need to do some front end estimation. So, if I had the number 2.2, it would estimate to 3. If I had 3.9, it would estimate to 4.

View Replies !
@ Sign In Front Of An Command
Anybody can tell me what the @ sign means in this context?

$host = @gethostbyaddr($HTTP_SERVER_VARS["REMOTE_ADDR"]);

View Replies !
GNUPG Email Front End
I've been trying to figure out if there is a real GNUPG front end for popular Windows email programs and so far I haven't found any. Yes, they say it's built in Becky but what if I'm using Netscape Mail or Outlook Express. Ok, I downloaded free PGP and it installes a whole bunch of utilities that I don't really need apart from the plain plug-ins. Yes, it does have a plug-in for Outlook Express and Eudora but not for Netscape Mail. I had to modify the gnupg options so pgp could decrypt it too. Well, my major concern is Netscape Mail actually but in general, I would like a plug-in for plain, "clean" gpg.

How do you solve the problem with the front end decryption?

View Replies !
Using AJAX With A PHP Front Controller
I have a framework that uses the front controller design pattern for a
single point of entry to the application and the autoload function for
includes. I am trying to incorporate AJAX into the framework, but the
javascript calls to php ignore my front controller code when
instantiating classes.

View Replies !
MySQL FRONT Is Evil
I was trying to work out a text field that was not able to input data into the database. After trying every possible thing and posting problem on the forum as well, today I thought of doing something different. At that time my database was created using MYSQL FRONT, So today I created one in phpMyAdmin and guess what?

It worked just fine with the exactly same code. Mysql Front is evil!! took so much of my time. If anyone of you is having issues that does not make sense and are using Mysql Front, then it might be worth trying phpMyAdmin.

View Replies !
HTML, PHP, Front Page
I use Front Page 2000 to devolp my web content (don't hate me I just happen to like WYSIWYG better than physically writing out the code for HTML (a pain in the butt language :-) ) Anyways does anyone know if I can have it save files as .php instead of .html and use them in the web setup. Also another question how do I get a server to load index.php instead of index.htm?

View Replies !
FRONT PAGE + PHP (simple)?
I'm working on litle host site. It will give free hosts to users and accept
donations (if any).

I have problem with combining site who is build with front page (just html)
with who is script. I can not insert code of php in my page without errors.

View Replies !
HTML In Front Of XML While Using SOAP. Please Help.
I am writing some dotNET code to "consume" a web service written in
PHP. So far I have been getting some error messages and PHP seems to
place HTML text in front of the XML message. dotNET doesn't expect the
XML and then it chokes. This is what I get.

The <br> tag from namespace is not expected. Line 1, position 2.

I was able to capture the data going through the network and I've got
the outgoing and incoming messages. I put those at the end of the post
because they are too long.

Looking at them you can perfectly see the HTML I mentioned. In this
case the HTML part says I am missing arguments. That should be an error
message coded in SOAP. But there is more. There is an actual SOAP error
message, it looks like even when the call was bad it executed the code;
it must have put something on the missing parameters.

My biggest issue is that the HTML prevents me from doing proper error
handling on my side of the app. Is this fixable?

View Replies !
Space In Front Of Array
I searched the net for 2days looking for this answer. For what seems like a fairly easy solution i have been unable to come up with one.

I have a form that allows a user to enter an username or multiple user names separated by a comma. Out of that, i construct email addresses based on the users input. Code:

View Replies !
On Front End And Java On Backend
Is it possible to use PHP on the front end and Java on the backend? Either using EJB or not? I know it's not common but I'm curious if anyone has done it.

View Replies !
Replace 0 In Front Of Other Number
I am trying to take away the 0 before the dates. Is there a way to put a sign in for any number? not to have 9 diferents str_replaces

$arrival_display = str_replace("01-", "1-", $arrival_display);
$arrival_display = str_replace("02-", "2-", $arrival_display);
and so on until 9

View Replies !
Update Front Page
Can be written in PHP or PERL. Basically, I'd like to have a server side include on my home page that would include whatever file would display the feed. Then, on the flip side, I'd like some backdoor part where I can go type in a new entry and have it add it to the feed. I know these programs have to exist, but I'm having no luck or I'm finding ones that are 4 years old and are no longer supported.

View Replies !
Ebay Listings Using Front Page
Anyone know the best way to get page created in front page 2002 in an
ebay listing. I've created a page but a lot of the format and graphics
are missing when viewed in ebay

View Replies !
Add A Little Peice Of Code In Front Of Every Link?
I have a site that I recently added in SEO urls. Everything works great, but none of my links go to the seo.

So I need a script that would add in a $variable before every link, automaticly.  Since I am not too skilled in php is would be really hard or me.If you are a PHP guru out there could you whip this up or me?

View Replies !
Add A Link From The Front Page Of Forum
Is there a way I can add a link from the front page of my forum out to my php photo gallery.  I would like to make it so instead of clicking on the forum name on the first page which then takes you to a sub forum which then takes you to a thread with the link, To just click on the forum name which takes you to my photo gallery. 

Next best would be on the front page in the description of the new photo gallery be able to add a link.  Which file would I edit to change or add these links?  I know I can add a link in the overall_header.tpl but I do not see a way to change the forum name link that takes you from the first forum page to the next. 

View Replies !
What Does The Ampersand (&) Do In Front Of A User-defined Function Name?
what does the ampersand (&) do in front of a user-defined function name? I know what it does in front of a parameter in the function, but not on the whole function name.

View Replies !
WordPress Front Page Display Problem......What Should I Do?
I use wordpress's latest version. 

I found one problem. I set up that from Reading section only 5 post should be visible on my site and also summary size. After click on update button and refresh my browser and see that, my all post are showing on my site's front page and every post also full form. I don't know what's the problem. I am not expert in php.So, I can' fix it.

View Replies !
PHP Script Putting Slashes In Front Of Apostrophes
I just put up a script where people can make their own quizzes, but when a user inputs a word with an apostrophe, it displays on the page with a slash in front of it. For example:

Eric/'s Quiz

Is there anyway to fix that?

The script is called phpQuest 0.15 from a site that's no longer around, and I couldn't find any help about this issue on the Archived version of the website.

View Replies !
Add Recently Added Posts Etc To Front Page
I am running a forum and now want to create another front / homepage where i can have other stuff related to the site as well as displaying recently added posts from the forum.

I have looked in the database for some sort of date or time that a certain post has been posted but doesnt make sense, it doesnt look like a sort of time and date that is humanly readable?

View Replies !
Putting Zero In Front Of Single Digits In Select
I have an html form where a person inputs a date via a drop down select. How do I make php put a zero in front of the numbers 1-9 ie. 01 02 03 when writing to the file?

I have tried making the value="01" etc. but this doesn't work. Below is a snippet of my form and the code I am using to write to the file. Code:

View Replies !
My Admin - Reinventing The Wheel - Mysql Front-end
Right now, I am redeveloping the wheel by creating my own type of PHP
MyAdmin tool for my clients so that they can manage some data. A good
exercise, but probably done before!

My question: is there something out there similar to what I describe below
or how do you go about it (I am sure that all of you have faced this problem
before)? How do you recommend I proceed?

PHP MyAdmin would not be suitable for my clients, because it contains too
much and it is too technical (e.g. i dont want them to change the structure
of the database). Code:

View Replies !
Simplexml And Attributes With A Namespace In Front. How Do You Getthe Attribute?
Here's a bit of xml code that works.

<?php

$string =
"<?xml version="1.0" standalone="yes"?>
<world>
<people xmlns:ss="http://crap">
<person id="5">John Doe</person>
<person id="2">Susie Q. Public</person>
</people>
</world>";

$xml = simplexml_load_string($string);
print "<pre>";
print_r($xml);
print "</pre>";

foreach($xml->people->person as $p)
foreach($p->attributes() as $a =$b)
{
print "$a =$b<br />";
}

// prints out
// id =5
// id =2
?>

Now what if I change the first person to this
<person ss:id="5">John Doe</person>

Anyone know how to get the id?

This is a question that is pertinent to an excel .xml file as
you'll get lines like this
<Cell ss:Index="3">stuff</Cell>

btw: there is a guide on ibm that tells you how to do this with php
and dom. I'm just wondering if there's a way to do it with simplexml.

View Replies !
** ONLINE DATA INSERT --> MYSQL Front & PHP Script **
Im using MySql front and PHP 5 for some web shop.
I didn't try it so far but i guess that the online data insertation ( accept
costs and time ) should be the same process like for local connection.

Problem:
I have to create online ( on remote server ) some 6 tables and some 20
fields with MySql front.
Ok. This shouldn't be great problem ( i hope :-)).
The bigger problem is that i need to insert cca. 450 products ( into
differnt tables (products, pro_groups ... ) ) and i dont know how to make
this online.

For now ( 20 products ) i made all this thru localhost but now i have to
insert much more data and all this online...
The data is sorted thru groups ( 8 major groups ) so every product is part
of some group.

How can i insert data, online and how to pass so much products from
localhost to remote server ( maybe by reading some .txt file ? ).....

View Replies !
Script Returns Backslash In Front Of Quotation Marks
I have a form where the user can input questions and answers for tests. When the user clicks the submit button on the form, the information in the form is POSTed to the following script:

PHP Code:.....

View Replies !
Warning: Fopen(static-front.html) [function.fopen]
We're getting a strange permissions error. We have a static html page that is dynamically generated only when its actually changed (as opposed to doing a lot of front end processing for every single visitor).

The process works fine from the document root using include('page_name.php'), however from a subdirectory of the document root using include("../page_name.php") it does not work.

The file is found OK, but when it tries to open the html file to write to it, it says "Warning: fopen(static-front.html) [function.fopen]: failed to open stream: Permission denied"

The html file's owner is www-data (the user for apache) and it has write permissions for the file but when its included from a subdirectory, it somehow doesnt have permission?

View Replies !
How To Store $a Value
i am createing a dynamic web site my problem is how to store last 5 value of $a.
my $a value is 94 to 250 and each click the value of $a change how i am store last 5 value of $a.

View Replies !
How Do I Store A Password Using Md5 In Php ?
How do i store a password using md5 in php ?

On the page where the user logins, how do I compare the value of what he typed with the value of the md5ed password ?

View Replies !
Best Way To Store HTML
Whats the correct method of escaping HTML before entering it into a mySQL db?
Considering that a variable $template contains the plain HTML, what should I do to it to keep it perfect?

View Replies !
How Does PHP Store Strings?
I've been told that PHP strings are null terminated. If PHP strings
are in fact null terminated, I'm a bit puzzled how the following code
can work:

$filename = 'ucs2_file.txt'
$contents = file_get_contents($filename);
echo "Echoing file contents";
echo $contents."";

The HEX contents of the file are as follows:

FE FF 00 61 00 62 00 63 00 64

FE FF is the byte order mark, 00 61 is the character 'a' encoded in
UCS-2, 00 62 is the character 'b' encoded in UCS-2, and the next two
characters in the file are 'c' & 'd' (encoded in UCS-2) represented by
00 63 and 00 64 respectively.

So, file_get_contents reads the file contents into the string. So I'm
quite sure that after the function call, $contents points to an area
of memory that stores the bytes that were in the file; FE FF 00 61 00
62 00 63 00 64.

On the assumption that strings are null-terminated in PHP, I'm
guessing that the echo function is implemented something like (in
pseudo-code):

while($currentByte != NULL)
{
printByte($currentByte);
$currentByte = getNextByte($currentByte);
}

In otherwords, the NULL character tells the function when the end of
the string has been reached. So why, if strings are in fact null
terminated in PHP, does the echo function NOT stop when reaching the
third byte in the aformentioned byte sequence? How does it know that
there are more bytes in the string after the NULL byte? This behaviour
leads me to believe that strings in PHP are something more than just
null-terminated byte sequences in PHP.

View Replies !
Where Do I Store Php?=intro
/help/index.php?help=intro
What do I save the page "=intro" as in terms of .php? .html? and where?
 
I have the directory help/ and the page in it called index.php but I don't know where to put =intro, where is it stored in the website? and what file extension does it use?
 
Would be grateful for any help and frankly I need someone just to finish off odds and ends. For instance what scripting is used to calculate the amount of rake to be deducted from amounts that people are betting each other in a chess game? and where do I find a chess engine. At the moment I have downloaded Rival chess which is free.

View Replies !
Store A Value To A Session
I have the following variable $areacode: this variables value is used for search query(search by areacode, and showing the result in each time it shows 5 records and if the user clicks next it gets the next 5 records: that where i am having the problem:" when the user clicks next it is loosing the value what ever was there before.

when the user clicks next the page is getting resubmitted, the same page itself. How can i save the areacode value to a session and reuse it: again and again. And also the condition i am using below does'nt look good, please if you don't mind can you correct.

if( $areacode!=null ){
$areacode_substr = " and a.areacode like '%".$areacode."%' ";
}else{
$areacode_substr = "";
}..

View Replies !
Store And Retrieve PDF
I want to store pdf files in and then retrieve them from a MYSQL database.

I can do this with gifs and jpegs, but not with pdf. Can anyone point me to an appropriate turorial, please?

Please note that I do not want to store these ina diractory as it relates to a content management system for a website,m and the users may not have access to FTP.


View Replies !
Best Way To Store Photos?
What is the best way to store photos? Is it possilbe to send photos straight to the database or will have to write a script to grab the file from the temp_file?

View Replies !
Store Data
I need to store the data of a golf course and a round. so what I am wondering from all our database guys is what is the best way to normalise this data?I need to store the info on 4-5 sets of tees and then a users information.

my thoughts were to have a course table. then have a red,blue, black, white, gold tee table that is linked with the course id field however then I would have hole 1 - hole 18 fields in those databases is that really the only way? I mean I guess I could store the info in one field with commas and then explode the data after that, would that be too much of a performance issue?

View Replies !
Where To Store Login
If I were to have people log on to email sites such as gmail, would it be best to store their login and password as a cookie on their computer, or encrypted in my database, then decrypt it when they log on to my site so it automatically logs them in to gmail?

View Replies !
Store Whitespace
my problem is the following: I have a page where the user enters some data, let's say :

string1 = 'AGREHREHRHREHRE'
string2 = 'WEFEWGEWGEGEWGEGEGWG'

These data I use in another page, so I use the "<pre>" tag to display what the user has entered. The problem arrives when the user writes something like EWGEGEW EFGEGEW EGRGREGRE RGVFVDSVDS. This string, when I pass it into a variable, it is stored with newlines. I don't want to make any substitution of the newlines, as I want to preserve the spaces in the next page, and display the user's sequence as entered and not with 3 <br>'s, because there were 3 spaces in the original string.

View Replies !
Store Multiple Value
I have a column which need to store multiple time value,like 11:00am,2:00pm,5:30pm.How can that single column fix it? And how to control time format in between 12-hours and 24-hours format?

View Replies !
Store Images
just starting off with mysql+php. i'm making a website about hotels in france. i use mysql to keep the hotel data. now i need of course to have a few pictures of the hotels. what is the best way to do this?

View Replies !
Store Processing
what im trying to do is make a script, where, well here is an example. A user goes to the store, and lets say, buy a tv, they click buy, and it goes to a page confirming saying "You have successfully bought a tv. You have lost $200. (aka, this is for a online text based game).

Right now i make a page for each individual item confirming, and list every product manually on the store page. What i want to do is list the products on the store page, but when they click buy, it goes to a page, that is used by all the other products. SO i only have one file, instead of how many other products i have. Am i making any sense.

View Replies !
Imagesnot To Store In Db
Am about to build an article based site that will have lots and lots of pictures on it. I store the pictures in the database? I'm a regular to asp, new to php. don't know too much about the "how"? But should I store the pictures in the database or store them on the server and then store the link to the images in the database.

View Replies !
Store Db Resultset
I have a web application where there are a number of columns a user can sort on (price, item etc). The database itself is HUGE (around 6 million rows) and even with all the indexing it slows down a bit if too many users start browsing. To be able to sort on a column, the webpage reloads and does a requery ORDERing on that particular column. How can I speed this up? Can I store a wholre resultset in a session variable.

View Replies !
Store Printf Value
Using printf, I can get the output I want:

printf("ch: 6%u
",$ch);

The %u allows me to convert a negative value to an unsigned decimal number. My problem is that I don't want to output this to the screen. I need to store it as a variable.

View Replies !
MySQL Store
Does anyone have a link to a good tutorial for a PHP/MySQL store that uses PayPal?

View Replies !
Regarding Yahoo Store
My client has a yahoo store. He wants to use the shopping cart of yahoo store, I mean when ever one user will click on add to cart button in his website(which we have designed using PHP) he wants that product to get added in yahoo store. I dont have much idea about the detail process.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved