[PHP] PHP shopping cart packages

2001-12-05 Thread rory o'connor
I need a new cart program and would like to use something based in PHP. I was using a CGI paltform written in C, but we had session problems out the wazoo when traffic was really high. I need something that can manage sessions with vim and vigor. I have only see phpshop - which looks nice,

[PHP] Chopping off extra characters from input

2001-11-12 Thread Rory O'Connor
I've got a problem where people are entering extra characters (due to an inonsistency in the tracking numbers they are being given) in a number they are entering in a form field. I have a PHP script querying a MySQL database. What's the easiest way to take the input and use only the first 8

[PHP] post variables to MySQL fields

2001-11-09 Thread Rory O'Connor
A while back somebody answered a question about some PHP code that would take the $HTTP_POST_VARS and create the SQL that would write them to a MySQL table (provided the posted var names matches the MySQL fieldnames). Does anyone have info on that project? The PHP searchable archive is

[PHP] Stripping line break characters

2001-08-25 Thread Rory O'Connor
I need to strip line break characters (or whatever the character is that results from users hitting their enter key inside a TEXTAREA form input) from a string. These characters will appear anywhere in the string, not just at the end. In perl, the regex would look something like this...

[PHP] PHP on win2k/Weblogic?

2001-07-27 Thread Rory O'Connor
I have been using PHP/MySQL to build alot of little utilities (like form mailers, contact DBs etc.) for my sites on linux and freebsd, but I just got a client requiring a win2k server running WebLogic (for JSP purposes). Can I even install PHP in that environment and if so, would it conflict

[PHP] grabbing arguments at the command line

2001-07-24 Thread Rory O'Connor
I have a commerce program that can send arguments to other programs via the command line. Perl can grab those with $ARGV[0], $ARGV[1]...and so forth. As far as I can tell, PHP can't grab these without a shell script picking them up and explicitly sending them to a PHP script. is there some

[PHP] using GetImageSize in a directory of images

2001-07-11 Thread Rory O'Connor
recent posts introduced me to the handy GetImageSize, and it's just what I need! What I want to do is write a script that will go through a directory of images and write [image name];[image dimensions] to a file so I can query that into my products database for dynamic use on my site. BUT, i'm

[PHP] Missing first record in PHP/Mysql query

2001-07-05 Thread Rory O'Connor
Excuse me if this is too newbie...but I'm writing a simple script to query a database and loop through the reuslts, echoing them on the page. When I enter the query at the mysql command line, I get the correct results. But the same query run through PHP renders all results except the first one.

[PHP] PHP coding question

2001-04-06 Thread Rory O'Connor
I'm not a real programmer, so I am wondering if anyone can help me translate this psuedo-code into php code: if ($page_num is a multiple of 8) { do this } If you want to know what I'm trying to do... I have a left frame showing a recordset of 8 records at a time. the frame on