[PHP] PHP e-commerce questions

2004-04-10 Thread Matt Hedges
Hello. I have built a site where people can register their weddings. I use MySQL/PHP to handle the database. I wish to add a step where people must pay to enter their information into the database. How do I do this? What services do ya'll recommend? I won't need a complicated shopping cart, s

Re: [PHP] password protect a pdf

2004-02-24 Thread Matt Hedges
Thanks, that worked great. I found this for anyone else like me new to htaccess: http://www.htmlbasix.com/passwordprotect.shtml works great. matt "Roger B.A. Klorese" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm trying to password protect an online PDF file. I know > > h

[PHP] password protect a pdf

2004-02-24 Thread Matt Hedges
Hello, I'm trying to password protect an online PDF file. I know how to use PHP to pw protect a webpage, but what would be the best way to protect access to a nonwebpage file? thanks a lot Matt -- ___ | Matt Hedges | President, Vino del Sol | [EMAIL PROT

[PHP] E-Commerce Advice? Squirrelcart?

2004-02-23 Thread Matt Hedges
Hello, I am working on using PHP to build a web store. http://www.squirrelcart.com/ looks to be pretty good for a shopping cart- does anyone have any experience with this or others? Also, what suggestions do ya'll have for a payment gateway? thanks matt -- PHP General Mailing List (http://www

[PHP] HTML: Make a TR/TD resize to fill a space?

2004-02-13 Thread Matt Hedges
Hello, I'm working on a webpage at http://hedges.org/busolemiss/template/index.html I need for a table cell to fill in the remaining space between some rows above and a row below, no matter what the window size. I thought this was possible with a height="*", but it doesn't work. If you look at

[PHP] Re: Retrieve specific data from MySQL

2004-02-02 Thread Matt Hedges
Thanks, ya'll! Got it working. "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I have a basic question I can't figure out. > > My site lets people enter in their information... I now want to be able for > a user

[PHP] Re: Retrieve specific data from MySQL

2004-02-02 Thread Matt Hedges
d linked by id. How do I do this? thank you very much, Hedges Now, How do I get "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I have a basic question I can't figure out. > > My site lets people enter in their in

[PHP] Retrieve specific data from MySQL

2004-02-02 Thread Matt Hedges
Hello, I have a basic question I can't figure out. My site lets people enter in their information... I now want to be able for a user to search the database. For example, enter in "firstname" or "lastname" in a text box, hit submit, and have the results returned. How do I write this in PHP? I'

Re: [PHP] formated text after Submit in MySQL/PHP

2004-01-31 Thread Matt Hedges
Can someone help me with the following? Preferably someone other than the wise ass below? thanks matt "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Matt Hedges wrote: > > Hello, > > > > I have a page where users can ente

[PHP] formated text after Submit in MySQL/PHP

2004-01-31 Thread Matt Hedges
Hello, I have a page where users can enter in information about themselves... I want it to maintain its format instead of all running together, that is, when they enter a space the space is maintained via MySQL and displayed in their webpage (instead of having to ask them to type ) is this p

[PHP] Re: simple ?- load page after submit

2004-01-23 Thread Matt Hedges
ge.php?id= (id = nothing). any suggestions? thanks matt "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I've built a page where someone can enter in their information... > currently, when they hit submit, a screen comes bac

[PHP] simple ?- load page after submit

2004-01-23 Thread Matt Hedges
Hello, I've built a page where someone can enter in their information... currently, when they hit submit, a screen comes back and says "thanks for entering your info. (echo "Thank you! Information entered.\n";)" I want when they hit submit for it to take them to their page (personalpage.php?id=$

Re: [PHP] a clean way to upload

2004-01-16 Thread Matt Hedges
? "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Friday 16 January 2004 23:55, Matt Hedges wrote: > > > How would I do that? I mean, what would I put instead of > > > > > > if ($_FILES['imagefile']['

[PHP] getimagesize() to find type?

2004-01-16 Thread Matt Hedges
>On Friday 16 January 2004 10:32, Matt Hedges wrote: > >>> if ($_FILES['imagefile']['type'] != "image/pjpeg") > >The 'type' in $_FILES is provided by the browser. IIRC only IE uses >"image/pjpeg" whilst other browsers use &

Re: [PHP] a clean way to upload

2004-01-16 Thread Matt Hedges
Thanks Jason. How would I do that? I mean, what would I put instead of > > if ($_FILES['imagefile']['type'] != "image/pjpeg") thanks "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Friday 16 January 2004

[PHP] a clean way to upload

2004-01-15 Thread Matt Hedges
Hello all, After playing around with the options, I've found that the following method for uploading something with constraints is the easiest... The sample below first checks for 3 constraints (jpg, size, and width) and if it is cool it uploads it but renames it first...

[PHP] Re: filtering filename.ext on file-upload.

2004-01-15 Thread Matt Hedges
try this, it works for me: if ($_FILES['imagefile']['type'] != "image/pjpeg") { print("File must be a .jpg. File will not be accepted; please choose a .jpg picture or convert the picture to .jpg format."); unlink($filename); // This will remove the temporary file so we don't have to deal wit

[PHP] upload picture: limit size problems

2004-01-14 Thread Matt Hedges
Hello, with ya'lls help I've gotten a php that uploads only a jpg... now I'm trying to add a constraint that limits the width and size... I've been reading the manual (don't understand the error_messages)... and can't figure it out... this is what I have so far: http://www.php.net/) To unsubscrib

[PHP] credit card acceptance recommendations?

2004-01-13 Thread Matt Hedges
Howdy... I'm building a site in PHP for someone that let's people enter their wedding information and pictures... they want to charge to do this... So what I need is something that will only let the person enter the info. if they've paid by credit card... I don't need shopping carts or anything..

[PHP] Re: how to display a font with two words???

2004-01-13 Thread Matt Hedges
you can use single quotes ' ' (I didn't think it would work, but it does) around the font. matt "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Howdy, > > I'm trying to specify in my php document... but > can't

[PHP] how to display a font with two words???

2004-01-13 Thread Matt Hedges
Howdy, I'm trying to specify in my php document... but can't b/c it's two words... if it was html I could just put "", but since I can't do that in php, does anyone know what to do? prob. a stupid question, thanks a lot, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Re: Upload and PullPicture???

2004-01-13 Thread Matt Hedges
I figured it out... You can put everything in one file... http://www.evolt.org/article/Storage_and_re_use_of_images_using_PHP_GD_Part_1/20/27237/ "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello... I'm trying to upload a

[PHP] Upload and PullPicture???

2004-01-13 Thread Matt Hedges
Hello... I'm trying to upload a picture along with other information. I have several fields to input, such as name, address, etc. (and I get those to go to the MySQL database with no problem). But on the same page I want the user to be able to pick a picture of themself from their harddrive and u

[PHP] upload and RENAME picture

2004-01-08 Thread Matt Hedges
Hello, thanks to ya'll I've gotten a picture uploaded... but now what I can't figure out how to do is rename it. I want to rename it something like $id.extension... right now it is just showing up in the directory as the original file... any ideas? thanks matt -- PHP General Mailing List (h

[PHP] upload picture

2004-01-07 Thread Matt Hedges
Hello... could anyone please tell me how to upload a picture using php? I have this but don't know how to specify how to store the pictures on the server... thanks! thanks Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: basic ?id=x question

2004-01-07 Thread Matt Hedges
figured it out i had the sort before the where clause and that messed it up. "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I'm trying to pull from a database... I can pull an array, but I want to > just be able t

[PHP] basic ?id=x question

2004-01-07 Thread Matt Hedges
Hello, I'm trying to pull from a database... I can pull an array, but I want to just be able to pull one item instead of all of them... I know somehow you can do this with page.php?id=x... but can't figure it out... any help greatly appreciated, thanks, Matt -- PHP General Mailing List (http:

[PHP] PHP webpage like MySQL, PART 2

2003-07-24 Thread Matt Hedges
"; ?> Thank you. Matt -- ___ | Matt Hedges | http://hedgesinnovations.com | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Webpage like MySql- need to be able to see all fields and edit

2003-07-24 Thread Matt Hedges
o I'd like a script that shows all the rows and columns and allows someone to go in and change whatever field they want. Any help greatly appreciated, Hedges -- _______ | Matt Hedges | http://hedgesinnovations.com | -- PHP General Mailing List (http://www.php.net/)

[PHP] PHP Problem regarding updating through text boxes

2003-06-20 Thread Matt Hedges
Please take a look at http://hedges.org/code/wine.php - You'll see what I can't figure out how to do. thanks, Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] updateable database 2nd question

2003-06-20 Thread Matt Hedges
:\n"; echo "\n"; while ($row = mysql_fetch_array($result)) { extract($row); echo "\n \n \n \n \n \n \n \n \n"; } echo "\n"; ?> -- ___

[PHP] Re: updateable database- please help- only displaying first word from field

2003-06-20 Thread Matt Hedges
Thanks! "Matt Hedges" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello. I am making an online database of my wines that I want my friends to > be able to edit. The page below displays the wines. I want the fields in > text boxes so later they can b

[PHP] updateable database- please help- only displaying first word from field

2003-06-20 Thread Matt Hedges
, in the Name text box, let's say the wine's name is Norton Malbec, it only displays Norton. Does anyone know how to fix this? thanks very much Matt Hedges Wines in Database:\n"; echo "\n"; while ($row = mysql_fetch_array($result)) { extract($row); echo "

[PHP] How to UPDATE only certain fields

2003-06-19 Thread Matt Hedges
? thanks very much for any help, Matt Hedges -- ___ | Matt Hedges | http://hedgesinnovations.com | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simple password protect script

2003-06-03 Thread Matt Hedges
Hello, Can anyone tell me the basic PHP script to password protect a php page? thanks mh -- ___ | Matt Hedges | http://hedgesinnovations.com | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] "update" question

2003-06-03 Thread Matt Hedges
d for them with blank spaces. I want to be able to do this so for example if they mistype someone's name, etc. So somehow I need to be able to tell it that when the user leaves the field blank, not to change that field in MySQL. Thanks very much, Matt Hed