[PHP] Minimizing Database Hits

2003-07-01 Thread Ralph
I wrote class that contains a function that retrieves users shopping cart items from database and then returns an array with qty, item number , item name, etc. So now whenever I want to retrieve the users cart I use the following: $cart_contents = $cart->get_cart_contents(); I then iterate throu

RE: [PHP] Eregi filtering..

2003-07-07 Thread Ralph
Here is one of doing this: if(strrpos($v_tel_filter,' ') > 0 || strspn($v_tel_filter, "0123456789-") != strlen($v_tel_filter)){ echo "'$v_tel_filter' Telephone Number Contains words"; } else { } -Original Message- From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED] Sent: Mo

RE: [PHP] php arrays into flash

2003-07-07 Thread Ralph
Here is a site you might want to look at: http://polar-lights.com/en/ -Original Message- From: Jim McNeely [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 4:29 PM To: [EMAIL PROTECTED] Subject: [PHP] php arrays into flash I know a lot more about php than about flash (which is pro

RE: [PHP] Table trouble

2003-07-07 Thread Ralph
Here's a tutorial on doing this: http://codewalkers.com/tutorials.php?show=15 -Original Message- From: phpu [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 3:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Table trouble Hello I need help. I'm querying a database then printing the resu

RE: [PHP] Table trouble

2003-07-07 Thread Ralph
> fetchinto? > On Mon, 2003-07-07 at 14:42, phpu wrote: > > 10x but i am new to php and i do not know how to dump all of the results > > into an array can you help me with this one please? $sql="select * from cate order by name asc"; $resurs=mysql_query($sql); while ($row=mysql_fetch_array($r

RE: [PHP] New to PHP

2003-07-07 Thread Ralph
Here are some sites for you to get started: http://www.zend.com/developers.php http://www.phpcomplete.com/tutorials.php http://www.evilwalrus.com/articles.php And for books, here are some excellent books I've come across: Programming PHP By Rasmus Lerdorf Web Application Development with PHP 4.

RE: [PHP] Image verification problem..

2003-07-07 Thread Ralph
You should register session for 'new_string' after assigning a value to it. So try placing session_start(); session_register('new_string'); after the rest of your first.php code. That should work. -Original Message- From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED] Sent: Monday,

[PHP] Netbilling Gateway

2003-06-06 Thread Ralph
Anybody know of a Netbilling Gateway that I can plug into my shopping cart? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Capturing HTTP Response

2003-06-06 Thread Ralph
Hi, I'm currently setting up a form for CC processing. At the moment I am able to send the required flags to authorize the CC transaction, but then I do not know how I go about parsing the returned headers. After processing the transaction the merchant returns either HTTP 200 (ok) along with valu

[PHP] Netbilling Connect Script or Class...

2003-05-29 Thread Ralph
I have to setup credit card verification/processing with Netbilling.com, does anybody know of a PHP based Netbilling connect script or class? Your help is appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP redirect

2003-05-29 Thread Ralph
Use the header function: http://www.php.net/manual/en/function.header.php -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 1:46 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP redirect Hi guys what is the function in PHP for directing a php pag

[PHP] Netbilling PHP Script

2003-05-29 Thread Ralph
I have to setup credit card verification/processing with Netbilling.com, does anybody know of a PHP based Netbilling gateway script or class? Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Will Pay for Netbilling PHP Script

2003-05-29 Thread Ralph
/netbilling.com/direct/ -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:44 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Netbilling PHP Script On Thursday 29 May 2003 17:36, Ralph wrote: > I have to setup credit card verification/processing w

RE: [PHP] preg_match array question

2003-05-31 Thread Ralph
Try this: Let say you have these three fields in your form: then use the following to iterate through each field: foreach($_POST['num'] as $key => $value){ preg_match ( '(foo)' , $_POST["num"][$key] ); } or you can also try this: $c = count($num); for($i; $i < $c; $i++){ preg_ma

RE: [PHP] preg_match array question

2003-05-31 Thread Ralph
Not sure if I'm misunderstanding, but I know that foreach() will do this. -Original Message- From: Daniel J. Rychlik [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:58 AM To: Ralph; [EMAIL PROTECTED] Subject: Re: [PHP] preg_match array question The problem is, that I

RE: [PHP] preg_match array question

2003-05-31 Thread Ralph
ge- From: Daniel J. Rychlik [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:04 PM To: Ralph; [EMAIL PROTECTED] Subject: Re: [PHP] preg_match array question perhaps I am misunderstanding... I have snipit of my foreach. I have a preg_match that checks for a valid email address. basically it j

[PHP] Add Up Prices in Array

2003-06-01 Thread Ralph
I'm querying prices off a database then storing these in an array, I want to add these up to get the grand total, how would I go about adding up all the prices stored in the array? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

RE: [PHP] Add Up Prices in Array

2003-06-01 Thread Ralph
Right... I never thought of this. But can I use this if what I'm trying to get the (price * quantity). -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 12:43 AM To: Ralph Cc: PHP General Mailing List Subject: Re: [PHP] Add Up Prices in

RE: [PHP] Add Up Prices in Array

2003-06-01 Thread Ralph
Disregard my last post, I went with what you suggested and I got it to work. Thanks again. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 12:43 AM To: Ralph Cc: PHP General Mailing List Subject: Re: [PHP] Add Up Prices in Array If they are

[PHP] Shipping Rates

2003-06-01 Thread Ralph
Maybe it's just that it's late, but can't seem to figure this out. I want to show a shipping price depending on the amount of purchase. I thought about using a lot of if() statements, but I know this is not the best way to go about this. Can anybody enlighten me on this one and give me a better ap

RE: [PHP] Shipping Rates

2003-06-01 Thread Ralph
Rates this, maybe? http://www.php.net/switch >From: Ralph <[EMAIL PROTECTED]> >To: PHP General Mailing List <[EMAIL PROTECTED]> >Subject: [PHP] Shipping Rates >Date: Sun, 01 Jun 2003 01:48:30 -0700 > >Maybe it's just that it's late, but can't seem t

[PHP] TABLE COLUMNS

2003-06-02 Thread Ralph
I'm querying a database then printing the results in a . What I want to do is format the results in a with 4 columns per row. Any suggestions? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session to Secure Form

2003-06-03 Thread Ralph
I'm setting up a payment form on same server but different domain name, and I need to pass the customers id that I have stored in a session so that I can use it on the secure form to query the database for the customers order. What would be the best way for me to go about this? -- PHP General

RE: [PHP] Planning a new job

2003-06-03 Thread Ralph
esign - Workflow the Works By Kelly Goto & Emily Cotler http://www.amazon.com/exec/obidos/tg/detail/-/0735710627/qid=1054614092/ sr=8-1/ref=sr_8_1/102-6577267-6528106?v=glance&s=books&n=507846 Hope this helps. Good luck. Ralph -Original Message- From: Tim Burgan [mailto:[EMAIL

[PHP] Secure Page Problem

2003-06-03 Thread Ralph
I currently have a secure form from which I am querying a mysql database but I am unable to print out the results to the page. Is there something I have overlooked in working with secure pages? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Round Off $ prices

2003-06-04 Thread Ralph
How do I round off prices to the like rounding off $24.80 to $25? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Count on Multiple Tables

2003-06-05 Thread Ralph
I've been stuck on this one all morning. Can't seem to figure it out. I have 2 tables, one with affiliate sales and another with affiliate clickthroughs. I have to query both tables, so that I can get clickthrough dates, hits, and then query affiliate sales table to get number of orders for each d

[PHP] fsockopen and SSL

2003-06-07 Thread Ralph
i'm trying to make a POST request to my merchant's https server using the following: foreach($HTTP_POST_VARS as $key => $value){ $value = urlencode(stripslashes($value)); $req .= "&$key=$value"; } $hea

RE: [PHP] PHP using Linter...

2003-06-09 Thread Ralph
What is Linter? -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:43 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP using Linter... Hi Everyone! Have anyone here ever use the Linter software? What is your opinion on this? Have anyone expe

RE: [PHP] PHP using Linter...

2003-06-10 Thread Ralph
product at www.relexus.com but Linter is kind of confusing to use at first because it's a very different software. Scott "Ralph" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What is Linter? > > -Original Message- > From: Scott Fletcher [mailto:[EMAIL PR

RE: [PHP] adding confirmation to an existing upload form

2003-06-11 Thread Ralph
If you want them to preview then commit, simply give the SEND PHOTO TO SERVER button a name like: then in your code you can simply check for $_POST['send_photo'] before calling the function that saves the image like: if($_POST['send_photo']){ // call the upload and add to database function.

RE: [PHP] How do I capture a POST responce

2003-06-12 Thread Ralph
You have to use socket connection. Take a look at: http://us4.php.net/fsockopen In the User Contributed Notes look for a post by info at agriya dot com 02-Feb-2003 12:38 there you will see a script that shows you how to do it. Hope this helps. -Original Message- From: Joaco [mailto:

RE: [PHP] $_SESSION as $key=>$value

2003-06-12 Thread Ralph
Daniel, Rather than sending them to a new page to validate the form and then sending them back if a field is invalid, do the error checking from the same script. Here's an example, a bit simple but just to give you an idea. For a better explanation, you should read this article which elaborates

RE: [PHP] General question...

2003-06-13 Thread Ralph
Read the following: http://us2.php.net/fsockopen http://www.zend.com/manual/ref.stream.php -Original Message- From: Jason Paschal [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:48 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] General question... ppl, you're

RE: [PHP] $_SESSION as $key=>$value

2003-06-13 Thread Ralph
I think this may be because you did not include echo in: value=" " so try this: mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 4:28 PM To: Ralph; [EMAIL PROTECTED] Subject: Re: [PHP] $_SESSION as $key=>$value I read the document 4 times. I understand how it works and n

RE: [PHP] Redirecting to index.php from index.html

2003-06-17 Thread Ralph
http://www.mydomain.com/moz4_page.php";) } elseif(strstr = ($HTTP_USER_AGENT, "MSIE")){ header("Location: http://www.mydomain.com/ie_page.php";) } etc... ?> My Page etc.. -Original Message- From: Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:42 AM To: [EMA

RE: [PHP] Re: Difference between $_POST[foo] and $_POST['foo']?

2003-06-17 Thread Ralph
Alternative, using concatenation: $sql = "SELECT * FROM db WHERE apple = '". $_POST['foo'] . "'"; -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 7:57 AM To: [EMAIL PROTECTED]; Chris Hayes Subject: Re: [PHP] Re: Difference between $_POST

RE: [PHP] Redirecting to index.php from index.html

2003-06-17 Thread Ralph
essage- From: Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 1:12 PM To: Jay Blanchard; Ralph; [EMAIL PROTECTED] Subject: Re: [PHP] Redirecting to index.php from index.html With that I get: Parse error: parse error, unexpected T_STRING in /path/to/file_named/main.php on line 4

RE: [PHP] Redirecting to index.php from index.html

2003-06-17 Thread Ralph
Well it does appear to be working because according to this error, the problem is with main.php on line 4. -Original Message- From: Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 2:27 PM To: Ralph; 'Jay Blanchard'; [EMAIL PROTECTED] Subject: Re: [PHP] Redi

RE: [PHP] Getting at $_POST values using a loop

2003-06-22 Thread Ralph
echo "$fieldname:"; for ($i=0, $n=sizeof($_POST['FieldName']); $i<$n; $i++){ // do whatever you need to do with each field echo $_POST['FieldName'][$i]; } -Original Message- From: Dave Alger [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 9:12 PM To: [EMAIL PROTECTED] Subj

RE: [PHP] OOT Payflow Urgent

2003-06-22 Thread Ralph
I've never done this using CURL however I have done this using socket connections. If you haven't already you may want to look into this, I'm sure payflow will allow you to post data using socket connection. Take a look at: http://us4.php.net/fsockopen In the User Contributed Notes look for a po

[PHP] Sorting Country List

2003-06-24 Thread Ralph
I am getting a list of all countries from mysql database, and then I am sorting by country name. However since most orders will be from US I want the US to appear first over the rest of the countries. How can I go about doing this? Currently, this is my query: SELECT countries_id, countries_name

RE: [PHP] Sorting Country List

2003-06-25 Thread Ralph
countries_name" -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:13 AM To: Ralph; PHP General Mailing List Subject: RE: [PHP] Sorting Country List Why don't you just add a hard coded line like this: USA as the 1st option in your selec

[PHP] HTML_QuickForm

2003-06-25 Thread Ralph
Anybody used PEAR: HTML_QuickForm or Manuel Lemos Forms Generation and Validation class? I'm looking to use one of these for my forms, so I was wondering if anybody had any experience in working with either. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

[PHP] Re: contents from a database

2002-07-16 Thread Ralph
You need to use the concatenating assignment operator .= after $sub. The way you had it the variable $sub was getting assigned a new value each time through the while loop. The .= oprerator will add to the existing value of $sub each time through the loop. Try this: $query = "SELECT * FROM

RE: [PHP] [posibleOT] Forcing entering te site thru index.php

2004-01-28 Thread Ralph
The only other way I can think of doing this without sessions is to use $_SERVER['HTTP_REFERER'] to check if page request is coming from an existing page within your site or not. But I don't think this method will work 100% of times. Another approach would probably be to use single entry point con

RE: [PHP] PHP EDITORS

2004-01-28 Thread Ralph
I agree that Zend Studio is phenomenal. Another editor that I like is NuSphere's PhpEd. You might want to look at this one too: http://www.nusphere.com/ -Original Message- From: Gryffyn, Trevor [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 2:04 PM To: [EMAIL PROTECTED] Sub

[PHP] PHP Social Software

2004-01-30 Thread Ralph
Anybody know of any PHP based Social Software projects? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How many days between two dates

2004-02-16 Thread Ralph
Use KronoClass: http://lafucina.holosoft.it/kronoclass/index.html example: // Now calc how days are between date_from and date_to echo 'How many days are between 03/20/2003 and 04/21/2003 ?: '; echo $k->days_diff('03/20/2003','04/21/2003'); echo ''; -Original Message- From: Shaun [mail

RE: [PHP] small business inventory management package

2004-03-10 Thread Ralph
OSSUITE: http://sourceforge.net/projects/ossuite/ or just browse through sourceforge projects: http://sourceforge.net/softwaremap/trove_list.php?form_cat=129&discrim=183 -Original Message- From: Christian Calloway [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 09, 2004 1:38 AM To: [EM

RE: [PHP] session.bug_compat_42

2004-03-24 Thread Ralph
It's great to see you on the list Rasmus! Anxiously awaiting for official release of PHP5...I haven't been this excited since the release of PHP4!!! :-) Many thanks go out to you and the others who make PHP possible. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] Se

RE: [PHP] Image verification problem..

2003-07-07 Thread Ralph Guzman
-Original Message- From: Ralph [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 7:02 PM To: 'Miranda, Joel Louie M'; [EMAIL PROTECTED] Subject: RE: [PHP] Image verification problem.. You should register session for 'new_string' after assigning a value to

RE: [PHP] a recommended FREE PHP shopping cart

2003-07-07 Thread Ralph Guzman
http://www.oscommerce.com -Original Message- From: Noah Solodky [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:54 PM To: [EMAIL PROTECTED] Subject: [PHP] a recommended FREE PHP shopping cart Hello can any one recommended a FREE PHP /MYSQL shopping cart,,that they have set up

RE: [PHP] PEAR

2003-07-07 Thread Ralph Guzman
http://www.appelsiini.net/~tuupola/php/peardoc2/index.html http://www.phpkitchen.com/staticpages/index.php?page=2003041204203962 you might sign up for the pear mailing lists and ask these specific questions: http://pear.php.net/support.php -Original Message- From: [EMAIL PROTECTED] [m

RE: [PHP] print vs. heredoc

2003-07-07 Thread Ralph Guzman
One way to get around having to edit backslashes is to echo using single quotes. For example: echo '' . $variable . ''; -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Sunday, July 06, 2003 3:48 PM To: Sparky Kopetzky Cc: PHP General Subject: Re: [PHP] print vs.

RE: [PHP] Forgotton Command

2003-07-07 Thread Ralph Guzman
Are you talking about number_format()? http://www.php.net/number_format or substr(): http://www.php.net/manual/en/function.substr.php -Original Message- From: Brenton Dobell [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 7:23 PM To: [EMAIL PROTECTED] Subject: [PHP] Forgotton Com

[PHP] Regular Expression

2003-07-07 Thread Ralph Guzman
I have a form where I have to check whether user is submitting a PO Box as an address. I wrote the following using eregi, but it returns true even when the field is not Po Box. How do I go about doing this properly? if(eregi("^Po Box$", $address)){ $error_message_custom = "You cannot use a PO BO

RE: [PHP] Read a file

2003-07-08 Thread Ralph Guzman
You might want to look at patConfiguration: http://www.php-tools.de/ It can read/write text and xml files. -Original Message- From: carlos castillo [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 8:53 AM To: 'PHP List' Subject: RE: [PHP] Read a file But them how i can look for

RE: [PHP] Going Back in PHP

2003-07-08 Thread Ralph Guzman
If you still have the older version of PHP running, you can use phpinfo(); and look under Configure Command to see how PHP was originally configured. Otherwise, just look at PHP configure options and figure out what settings you need: http://www.php.net/manual/en/install.configure.php -Orig

RE: [PHP] Regular Expression

2003-07-08 Thread Ralph Guzman
Thanks Wendell. This is exactly what I was looking for. -Original Message- From: Wendell Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:47 AM To: PHP General Mailing List Subject: Re: [PHP] Regular Expression On Mon, 07 Jul 2003 21:59:23 -0700, Ralph Guzman wrote: &g

RE: [PHP] Mail Header/Return Receipt

2003-07-08 Thread Ralph Guzman
]" WIDTH="1" HEIGHT="1" BORDER="0"> -Original Message- From: Brian S. Drexler [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:19 AM To: 'Ralph Guzman' Subject: RE: [PHP] Mail Header/Return Receipt That is a good idea. I can tel

RE: [PHP] Refresh PHP

2003-07-08 Thread Ralph Guzman
How about: if($_GET['url_variable'] != $url_variable){ $url_variable = $_GET['url_variable']; session_register('url_variable') } -Original Message- From: Mauricio [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:14 AM To: PHP Subject: Re:

RE: [PHP] Compiling PHP

2003-07-08 Thread Ralph Guzman
The error you are providing here is because you do not have the required libraries installed. Some of these modules require that the programs or libraries be installed, php does not install them for you. This is an extensive config. Are you sure you need all these. I see that you are trying to ena

RE: [PHP] Compiling PHP

2003-07-09 Thread Ralph Guzman
Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module [activating module `php4' in /etc/httpd/conf/httpd.conf] cp libs/libphp4.so /usr/lib/apache/libphp4.so cp: cannot stat `libs/libphp4.so': No such file or directory apx

RE: [PHP] PHP, MySQL and Flash

2003-07-09 Thread Ralph Guzman
Might want to look at: http://polar-lights.com/en/ -Original Message- From: Rankin, Randy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 5:30 AM To: '[EMAIL PROTECTED]' Subject: [PHP] PHP, MySQL and Flash Does anyone know of any articles on integrating PHP, MySQL and Flash to p

RE: [PHP] New to PHP

2003-07-09 Thread Ralph Guzman
Oh.. BTW, "PHP & Mysql Web Development" is GOOD. Also, since a lot of codes are open sourced, Read through them as well. I'm learning through that too. (& this list) Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Messag

RE: [PHP] Credit card/Debit card validation

2003-07-09 Thread Ralph Guzman
Go to http://www.phpclasses.org and look for CreditCard Class under Validation, else look for one at http://www.hotscripts.com -Original Message- -Original Message- From: Sparky Kopetzky [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 2:33 PM To: PHP General Subject: [PH

RE: [PHP] Handling Credit Card Payment

2003-07-09 Thread Ralph Guzman
If you will be processing credit cards you first need to sign up with a credit card processor like Authorize.net, PSIGate.com, Netbilling.com. Another alternative would be use PayPal which is a bit easier to implement but at the cost of flexibility. They will provide you with a gateway to which yo

RE: [PHP] ImageTTFText for mac? win? linux?

2003-07-13 Thread Ralph Guzman
http://www.codephobia.com/tutorials/view.php3?idnum=6 -Original Message- From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:04 AM To: '[EMAIL PROTECTED]' Subject: [PHP] ImageTTFText for mac? win? linux? Im confused.. I know I have TrueType support on php

RE: [PHP] Missing php.ini file

2003-07-14 Thread Ralph Guzman
Chris, Not sure how you went about searching for php.ini, but you can type in the following find command in your command prompt and it will search your entire system: find / -name php.ini -print You may also want to look for php.in in /usr/local/lib. This is where php install php.ini by default.

RE: [PHP] SquirrelMail + Writable Directories

2003-07-14 Thread Ralph Guzman
Most ftp programs allow you to chmod. If using windows, check out wsftp www.ipswitch.com. I don't think there is another way to change directory/file privileges other than chmod. -Original Message- From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 12:14 AM

RE: [PHP] Lots of PHP

2003-07-14 Thread Ralph Guzman
If you're going to be keeping track of all these demographics, you'll want to store these in a database rather than a text file. -Original Message- From: César Aracena [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 7:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Lots of PHP Hi all,

RE: [PHP] php script billing receipt

2003-07-14 Thread Ralph Guzman
What you are looking for is called an Invoice. I'm attaching a simple invoice for you to look at. -Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 4:09 AM To: [EMAIL PROTECTED] Subject: [PHP] php script billing receipt Hi, I just finished a script f

RE: [PHP] XML Array

2003-07-16 Thread Ralph Guzman
Take a look at patConfiguration http://www.php-tools.de/site.php -Original Message- From: Michael Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: [PHP] XML Array Hey, I'm looking for a function to take an XML file and turn it into a P

RE: [PHP] HTTPS POST without user/client intervention

2003-07-16 Thread Ralph Guzman
I think what you are looking for is socket connections: http://www.php.net/manual/en/function.fsockopen.php Or CURL http://www.php.net/manual/en/ref.curl.php -Original Message- From: PHP List [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:02 PM To: [EMAIL PROTECTED] Subject:

RE: [PHP] bcc on php

2003-07-16 Thread Ralph Guzman
Just include Bcc in the extra headers. Take a look at Example 4. Sending complex email http://www.php.net/manual/en/function.mail.php -Original Message- From: Louie Miranda [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 5:47 PM To: [EMAIL PROTECTED] Subject: [PHP] bcc on php

RE: [PHP] paypal and ecommerce

2003-07-18 Thread Ralph Guzman
Maybe it's just me, but I don't quite understand what you mean by this: "The problem is, when we allow anyone to post items, you may go to the site, chose five items to buy but they are all from different people. How do you handle the check out?" Can you rephrase? Are you talking about having

RE: [PHP] Multidimensional arrays

2003-07-18 Thread Ralph Guzman
Here's a way of doing it: -- $query = "SELECT id, name FROM customer"; $result = mysql_query($query); while ($oRsCusts = mysql_fetch_array($result)){ $customers_array[] = array( 'id' => $oRsCusts['id'], 'name' => $oRsCusts['name']

RE: [PHP] osCommerce and modifications

2003-07-18 Thread Ralph Guzman
where can I see eShox? -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 6:16 AM To: PHP General Subject: Re: [PHP] osCommerce and modifications You might want to look at eShox, it's based on osCommerce, but in my opinion it's quite a lot bett

RE: [PHP] computing 2 value and adding it..

2003-07-20 Thread Ralph Guzman
if($pcs_1000){ $total = $amount * 2; } -Original Message- From: Louie Miranda [mailto:[EMAIL PROTECTED] Sent: Sunday, July 20, 2003 7:53 PM To: [EMAIL PROTECTED] Subject: [PHP] computing 2 value and adding it.. Importance: High I have a 2 form value on 500/pcs and 1000/pcs And i was

RE: [PHP] Re: Hi

2003-07-22 Thread Ralph Guzman
http://www.club66.ro/poker/poker.html Spam? -Original Message- From: Paul Chvostek [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 1:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Hi On Tue, Jul 22, 2003 at 11:42:04AM +0300, Rausch Alexandru wrote: > From: "Rausch Alexandru" <[E

RE: [PHP] Problem setting variables.

2003-07-28 Thread Ralph Guzman
//Find User Configuration $sql = mysql_query("SELECT field_name FROM config WHERE show_field=1") OR die("Could not query database: ".mysql_error().""); while($result = mysql_fetch_array($sql, MYSQL_ASSOC)){ $field_name_array[] = $result['field_name'] } // Iterate through array and print fields

RE: [PHP] Problem setting variables - Correction

2003-07-28 Thread Ralph Guzman
t['field_name']; } // Iterate through array and print fields if($field_name_array == ""){ print 'please select at least 1 field to be shown'; } else { for($i=0, $n=sizeof($field_name_array); $i<$n; $i++){ print $field_name_array[$i]; } } -Or

[PHP] Registering Session

2003-07-30 Thread Ralph Guzman
I have a shopping cart checkout form where I am using GET to specify payment method from payment_method.php page. So I have something like the following: >From payment_method.php the user chooses payment method by clicking on a payment link that then send them to the checkout_form.php checkout_f

[PHP] Article: PHP vs ASP

2003-07-31 Thread Ralph Guzman
Might want to file this link, next time somebody asks about PHP vs. ASP http://www.wowwebdesigns.com/wowbb/forum12/149.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Search Engine

2003-08-01 Thread Ralph Guzman
Check out: http://www.htdig.org/ -Original Message- From: imran [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 4:14 PM To: [EMAIL PROTECTED] Subject: [PHP] Search Engine Hi, Does anyone know any free search engine for web application imee -- PHP General Mailing L

[PHP] PHP SESSIONS and FRAMES

2003-08-03 Thread Ralph Guzman
I have a shopping cart with affiliate sales support. What's happening is that some affiliates are using frames to use their domain while using our shopping cart. So they are using a frameset like this: http://www.domain.com/?store_id=15008";> The problem I'm having is that sessions ar

[PHP] How to Ask Questions THe Smart Way...

2003-08-04 Thread Ralph Guzman
Here is something some of you on this list may find funny, others may find this useful. This is not spam, this is actually a good manual you should all read: http://catb.org/~esr/faqs/smart-questions.html Good Reading. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] Regular Expression

2003-08-04 Thread Ralph Guzman
Been working on this one for a while but can't get it working properly. I need a regular expression to match if address is 1. PO Box 2. P.O. Box 3. P.O.Box I'm using /i to make this case insensitive. I got it working with 1 & 2, but it's still not matching 3. Any suggestions? if(preg_match( "

[PHP] PHP Fusebox

2003-08-04 Thread Ralph Guzman
with Fusebox, or can anybody recommend any other frameworks that I should also look at? I am looking for a framework that will be developed going into PHP 5 also. Your help is appreciated. Ralph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Re: PHP Fusebox

2003-08-06 Thread Ralph Guzman
I am not set on Fusebox, but the reason I've been considering it is because I came across ezPublish 3, that uses this framework. I am looking for a CMS with a framework that I can use to develop my future projects. Are there any PHP/MySQL based XML/XSLT CMS that I can look at? I am just doing my

RE: [PHP] Best PHP CMS

2003-08-10 Thread Ralph Guzman
Any opinions on ezPublish 3? http://www.ez.no/ I am considering this as a CMS and framework for my future projects. -Original Message- From: Matt Schroebel [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:14 PM To: Anthony; [EMAIL PROTECTED] Subject: RE: [PHP] Best PHP CMS

[PHP] Regular Expression

2003-08-10 Thread Ralph Guzman
Been working on this one for a while but can't get it working properly. I need a regular expression to match if address is 1. PO Box 2. P.O. Box 3. P.O.Box I'm using /i to make this case insensitive. I got it working with 1 & 2, but it's still not matching 3. Any suggestions? if(preg_match( "

RE: [PHP] PHP vs ASP.NET "formal opinions" request

2003-08-12 Thread Ralph Guzman
http://www.wowwebdesigns.com/wowbb/forum12/149.html you might also want to take a look at mono project. An open source implementation of .net http://www.go-mono.com/ -Original Message- From: Douglas Douglas [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 7:46 PM To: [EMAIL PRO

RE: [PHP] Stop neurotic posting

2003-08-14 Thread Ralph Guzman
This will help: http://catb.org/~esr/faqs/smart-questions.html This has got to be the longest thread I've seen. -Original Message- From: andu [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:32 PM To: [EMAIL PROTECTED] Subject: [PHP] Stop neurotic posting This is a very busy

RE: [PHP] Re: PHP Fusebox

2003-08-14 Thread Ralph Guzman
Alexandru, I will take a look at Krysalis. Thanks for your response. Ralph -Original Message- From: Alexandru COSTIN [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 12:20 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP Fusebox Hello Ralph, Anyway, as a sample

RE: [PHP] Application Dev -- Separating code for speed.

2003-08-14 Thread Ralph Guzman
http://bombusbee.com/ -Original Message- From: Jonathan Pitcher [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 7:20 AM To: [EMAIL PROTECTED] Subject: [PHP] Application Dev -- Separating code for speed. I have a application, almost like a web portal. I am working on developing

[PHP] Generate Dates

2003-08-14 Thread Ralph Guzman
I have to generate a menu for all months in a year, with each month broken down into two periods. For example: January 01-15 January 15-31 February 01-15 February 15-28 March 01-15 March 15-31 Etc... How can generate a list of all 12 months using the above format? -- PHP General Mailing List

[PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
How can I get the last day for the current month? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php, search engine that index via local filesystem?

2003-08-15 Thread Ralph Guzman
Might want to take a look at: http://www.htdig.org/ Using the PHP wrapper class: http://sourceforge.net/projects/htphp/ -Original Message- From: Louie Miranda [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 12:42 AM To: [EMAIL PROTECTED] Subject: [PHP] php, search engine that i

  1   2   3   4   >