RE: [PHP] Delay?

2005-06-02 Thread mayo
My average post takes 2+ hours. mayo -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 4:22 PM To: Chris Boget; Jason Sweeney Cc: php-general@lists.php.net Subject: RE: [PHP] Delay? Chris Boget mailto:[EMAIL PROTECTED] on Thursday

RE: [PHP] FW: write to file, difficulty inputting data

2005-06-01 Thread mayo
( $result )) { } into $fileContent? Thx. Mayo -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 1:13 AM To: mayo Cc: php-general@lists.php.net Subject: Re: [PHP] FW: write to file, difficulty inputting data On Tue, May 31, 2005 5:32 pm, mayo

[PHP] write to file question, rewritten

2005-06-01 Thread mayo
,$theItemQty); $thisOrder . $thisItemID . $thisItemPrice . $thisItemQty . } ; // end of $filecontent but that doesn't work. Mayo

[PHP] FW: write to file, difficulty inputting data

2005-05-31 Thread mayo
I'm writing customer orders into a file. I'm 1. getting data from session variables and a database, 2. putting it into a variable called $fileContent 3. then touch($filename); 4. then writing $fileContent to $filename - the code is at the bottom The test versions of this have all gone well.

[PHP] printf() in a variable, or alternative to printf()

2005-05-27 Thread mayo
,$orderID[0]); does not work in $thisContent= data . moredate . evenmoredata . ; In effect I need the output of printf() to be placed inside a variable and I don't see how to do that. Str_pad(), of course, does not work. Thx for any hints. mayo

RE: [PHP] printf() in a variable, or alternative to printf() - SOLVED

2005-05-27 Thread mayo
Thx, It's amazing how sleep helps. Couldn't believe that when I read sprintf() I didn't see how it did exactly what I was looking for. Thx all mayo -Original Message- From: mayo [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 11:35 PM To: php-general@lists.php.net Subject: [PHP

[PHP] ftp_fput() limit is 10 characters

2005-05-20 Thread mayo
-20050520.txt thx mayo

[PHP] multiple queries, one transaction

2005-05-20 Thread mayo
the transaction I'm just not certain how it's used. Thx, mayo

[PHP] multiple inserts into a db

2005-05-18 Thread mayo
I'm putting ordered items into a db. The information is stored in session variables. Session_variable_with_itemID_has(1001,1002,1003,1004) however when inserted into the db only 0,0,0,0 is recorded. Assuming that this was the 40th recorded order the table should look like this TABLE:

[PHP] array, trouble updating

2005-05-17 Thread mayo
I usually work with cold fusion and took on a little project to get my feet wet in php and am spinning my wheels. What I thought might be difficult was easy and what I thought would be a piece of cake has caused me much grief over the last few days. I'm making a little shopping basket, writing

RE: [PHP] array, trouble updating

2005-05-17 Thread mayo
Jason, Thx. Even though I have what I need for the client (I finally got things to work as desired), I'll rework it and update the client version. I knew I was doing things poorly and it degenerated into simply get the damn thing to work. Thx, Mayo -Original Message- From: Jason

RE: [PHP] array, trouble updating - SOLVED

2005-05-17 Thread mayo
Yikes, Who would have thought something so easy would be such a pain in the butt. I solved it with embedded if-else clauses. Thx all -Original Message- From: mayo [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 9:19 AM To: 'php' Subject: [PHP] array, trouble updating I

[PHP] Add to array problem

2005-05-16 Thread mayo
I'm having a little problem adding to an array. Each time I add to an array it wipes what was previously added. I'm using array_push(). $items=array(); $items=array_push($items, $_POST[whatever]); I'm missing something easy. thx

RE: [PHP] Shopping Cart, security concerns

2005-05-15 Thread mayo
) Page 5 (Hidden from consumer Security Check Page) Qty * Price = Qty Tax recalculated Shipping recalculated Relevant data sent to merchant and distributor company Thanks -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Saturday, May 14, 2005 10:52 PM To: mayo

RE: [PHP] Shopping Cart, security concerns

2005-05-14 Thread mayo
as bold else show page 1 as normal Thanks -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Saturday, May 14, 2005 1:54 AM To: mayo Cc: php Subject: Re: [PHP] Shopping Cart, security concerns On Fri, May 13, 2005 8:26 pm, mayo said: I'm making my first shopping

[PHP] Shopping Cart, security concerns

2005-05-13 Thread mayo
I'm making my first shopping cart in PHP. I'm concerned about the security of my session variables, concerned about people altering data (lowering the price). Is there anything I should pay attention to. I've worked extensively with CF, this is my first foray into PHP. Thanks

[PHP] problems with spam

2004-02-16 Thread mayo
Has anybody else been getting spammed with penis and breast enlargeners to their listserv email? I use [EMAIL PROTECTED] solely for listservs and in the past week I've started getting 5-10 spams a day. Gil Midonnet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] problems with spam

2004-02-16 Thread mayo
-Original Message- From: Stuart [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 9:49 AM To: mayo Cc: php-general Subject: Re: [PHP] problems with spam mayo wrote: Has anybody else been getting spammed with penis and breast enlargeners to their listserv email

RE: Re[2]: [PHP] problems with spam

2004-02-16 Thread mayo
Davey [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 10:46 AM To: mayo Cc: php-general Subject: Re[2]: [PHP] problems with spam Hello mayo, Monday, February 16, 2004, 3:36:55 PM, you wrote: m I expected it. That's why I use a variety of email. However for over a year

[PHP] query strings, global variables

2004-01-21 Thread mayo
I'm a cold fusion refugee and am having incredible problems with something that I think is relatively easy -- so I must be missing something basic. I would like to pull info from a query string and use it inside a database call I have a navigation bar that includes data pulled from a database.

[PHP] inserting info from a query string into sql

2004-01-20 Thread mayo
PROBLEM I'm trying to insert information from a query string into sql. I have a table with content. The column headers have up and down arrows allowing the user to sort and order by that column. PHP I have default settings set for the variables. If I change the default values the SQL results

[PHP] compare lists

2004-01-18 Thread mayo
I would like to compare strings. I'm using this for my navigation PSEUDO-CODE IF $title CONTAINS abc: def print TITLE; print SUB1; print SUB2; print SUB3; ELSE print TITLE; Comparing the number of characters in one string with another does not do the

RE: [PHP] compare lists

2004-01-18 Thread mayo
thx Jason I had overlooked a few functions. My bad. strpos() also works. thx, -- gil -Original Message- From: Jason Sheets [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 1:15 PM To: mayo Subject: Re: [PHP] compare lists mayo wrote: I would like

RE: [PHP] compare lists

2004-01-18 Thread mayo
thx Richard, wouldn't you know it, you can look for something, can't find it, post a question, and then find it? go figure :-) thx -- gil -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 1:26 PM To: mayo Cc: php-general

[PHP] Get text between a href= /a

2001-03-05 Thread Keith Mayo
I need some help with a program, I need to get every instance of text between a href =”” GET TEXT HERE /a and save the results in a variable. Does anyone have some example code of how to do it along with how to put the results into just one variable?

[PHP] Preserve variables between page loads?

2001-02-11 Thread Chuck Mayo
This may have crossed the list a bazillion times, but I couldn't really find anything appropriate in the archives... maybe I just didn't look hard enough. In a MySQL app, I have the usual row of paging links at the bottom of the page and need to pass to the next iteration more variables than I

[PHP] VIRUS ON LIST?

2001-01-29 Thread Chuck Mayo
ed help with odbc!" John Coonrod wrote: Right. That's what I saw here also: a virus attachment from Angel2 Gabriel Lena Valega in Peru = Original Message from Chuck Mayo [EMAIL PROTECTED] at 1/29/01 6:17 pm Virus in this mail? Angel2 Gabriel Lena Valega wrote: ---

Re: [PHP] Invoke PHP script from onLoad handler?

2001-01-27 Thread Chuck Mayo
/volunteer.htm - Original Message - From: Chuck Mayo [EMAIL PROTECTED] Newsgroups: php.general Sent: Friday, January 26, 2001 10:10 AM Subject: [PHP] Invoke PHP script from onLoad handler? Sorry if this has come up before. I want to update a select list from a mySql database whenever

[PHP] Invoke PHP script from onLoad handler?

2001-01-26 Thread Chuck Mayo
to query the database, then run the Javascript to populate the list box? Or is there another way? TIA, Chuck Mayo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail