RE: [PHP] Problem setting variables - Correction

2003-07-28 Thread Ralph Guzman
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]; } } -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED] Sent

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

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] 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

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

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] 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

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

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

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

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

RE: [PHP] New to PHP

2003-07-09 Thread Ralph Guzman
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 Message- From: Ralph [mailto:[EMAIL PROTECTED] Sent

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:

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

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

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

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: I

RE: [PHP] Mail Header/Return Receipt

2003-07-08 Thread Ralph Guzman
/[EMAIL PROTECTED] 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 tell them it has at least been sent from our

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: [PHP] Refresh PHP Hello Ralph

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

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:

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

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

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($resurs))

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

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:

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 it. So try placing

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

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]

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 'TABLE BORDER=0 WIDTH=100%TRTD' . $variable . '/TD/TR/TABLE'; -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Sunday, July 06, 2003 3:48 PM To: Sparky Kopetzky Cc:

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

[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 BOX

[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

RE: [PHP] Sorting Country List

2003-06-25 Thread Ralph
-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: OPTION VALUE=USAUSA/OPTION as the 1st option in your select box

[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:

[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] Getting at $_POST values using a loop

2003-06-22 Thread Ralph
echo hr$fieldname:input name='FieldName[]' maxlength='25'; 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,

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

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

2003-06-17 Thread Ralph
?php if(strstr = ($HTTP_USER_AGENT, Mozilla/4)){ header(Location: http://www.mydomain.com/moz4_page.php;) } elseif(strstr = ($HTTP_USER_AGENT, MSIE)){ header(Location: http://www.mydomain.com/ie_page.php;) } etc... ? HTML HEAD TITLEMy Page/TITLE /HEAD etc.. -Original

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

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

2003-06-17 Thread Ralph
] 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 Michael On Tuesday 17 June 2003 02:50 pm, Jay

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] Redirecting

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

2003-06-13 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

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

2003-06-13 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,

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

2003-06-13 Thread Ralph
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 now Im excited about applying this to my application, however Im running into a problem. Im recieving an error on my page. I have this in my form. input

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: input type=button NAME=send_photo value=SEND PHOTO TO SERVER then in your code you can simply check for $_POST['send_photo'] before calling the function that saves the image like:

RE: [PHP] PHP using Linter...

2003-06-10 Thread Ralph
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 PROTECTED] Sent: Monday, June 09, 2003 2:43 PM

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

[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; } $header

[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

[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

[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] 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

RE: [PHP] Planning a new job

2003-06-03 Thread Ralph
- 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=glances=booksn=507846 Hope this helps. Good luck. Ralph -Original Message- From: Tim Burgan [mailto:[EMAIL PROTECTED] Sent

[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:

[PHP] TABLE COLUMNS

2003-06-02 Thread Ralph
I'm querying a database then printing the results in a TABLE. What I want to do is format the results in a TABLE 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] 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:

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 Array

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

[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

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 to figure this out. I want to show a shipping price

RE: [PHP] preg_match array question

2003-05-31 Thread Ralph
Try this: Let say you have these three fields in your form: INPUT TYPE=text VALUE=num[1] INPUT TYPE=text VALUE=num[2] INPUT TYPE=text VALUE=num[3] then use the following to iterate through each field: foreach($_POST['num'] as $key = $value){ preg_match ( '(foo)' , $_POST[num][$key] ); }

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 have

RE: [PHP] preg_match array question

2003-05-31 Thread Ralph
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 just checks for an @ and a . When I place

[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

[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
/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 with Netbilling.com

[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] $PHP_SELF

2002-04-01 Thread Ralph Guzman
Try ?php if this works, then most likely you have php short tags disabled. To enable ? Short tags check your php.ini file. -Original Message- From: Kirk Babb [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 6:24 PM To: [EMAIL PROTECTED] Subject: [PHP] $PHP_SELF SysInfo:

[PHP] Re: which php book 2 buy ?

2002-03-26 Thread Ralph Friedman
In article [EMAIL PROTECTED], Septic Flesh wrote: I wanna buy a book from amazon . . .but don't know which one.. Do you know where I will find examples of shopping carts ? (which book ?) Creating Dynamic Web Pages Using PHP and MySQL by David Tansley. -- Rgds Ralph -- PHP General

[PHP] multiple variables

2002-03-15 Thread Ralph Jarvis
Hi; An obvious question for some, but I am stumped: I want to use multiple optins in an if statement... if(user($arbitraryVariable)==(1 or 2 or 3 or 4)) What would be the proper syntax for this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Random number Question

2002-03-13 Thread Ralph Friedman
= = $number) { incorrect syntax here. that should be: if ($guess == $number) { better would be: if (trim($guess) == $number { this will assure that there's no whitespace in $guess -- Rgds Ralph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: cursor focus

2002-03-03 Thread Ralph Jarvis
. It is a JavaScript issue. You need to add this code to the bottom of your page: script document.forms[0].text_box_name.focus(); /script -- Gaylen PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ Ralph Jarvis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED

[PHP] cursor focus

2002-03-02 Thread Ralph Jarvis
on the text box to begin typing How do I get the cursor to focus on this text box? Many thanks in advance Ralph -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

RE: [PHP] PHP newbie alert

2001-12-04 Thread Ralph Guzman
I'd suggest Homesite: http://www.macromedia.com/software/homesite/ -Original Message- From: shaun murphy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 2:25 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP newbie alert Hello! Being one not to refuse a challenge, I have been

[PHP] PEAR DB Results

2001-10-31 Thread Ralph Guzman
I am trying to do a joined query using PEAR DB? My code looks something like this: $sql = SELECT wwwpages.pid,wwwpages.name,media.pid,media.name FROM wwwpages, media WHERE wwwpages.pid = '$pid'; if(DB::isError($result = $db-query($sql))){ echo ERROR: . DB::errorMessage($result); } else {

[PHP] Proposal

2001-10-04 Thread Ralph Guzman
I currently thinking on doing some freelance PHP programming and web design for somebody. I have a pretty good idea on how much I will be chargin, however I am looking at putting this in writing. I was wondering if anybody had any example proposals/bids or web liks to where I can find such

RE: [PHP] named anchors and query strings

2001-10-03 Thread Ralph Guzman
Never had to do this, however I would think the correct way to be: a href=page.php#bottom?location=01 try it. -Original Message- From: Scott Mebberson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: [PHP] named anchors and query strings

RE: [PHP] Creating mailaccounts

2001-10-03 Thread Ralph Guzman
This is somewhat dependant on the email server (MTA) you are running and how it is set to authenticate users. If using linux/unix, sometimes all that is required is for you to create an account is to add the entry in the /etc/passwd, and create a home directory. This you can easily do with a PHP

RE: [PHP] Simple Question, I think

2001-10-03 Thread Ralph Guzman
: http://www.domainname.com/dir_03;); break; } Ralph -Original Message- From: Ratfish [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 7:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Simple Question, I think All I want to do is what an ASP page I have is doing. I just want

RE: [PHP] php not reading php.ini

2001-10-03 Thread Ralph Guzman
Unless you modified the default path to the configuration file when compiling, your Configuration Path setting should be set to something like this: /usr/local/lib/php.ini in this case, you say it is set to /www/conf. I'm assuming by this that it looking for a configuration file called 'conf'

RE: [PHP] Creating POP3 account

2001-10-03 Thread Ralph Guzman
This is related to the email I responded to a few minutes ago. See below: -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:25 AM To: Bjornie; [EMAIL PROTECTED] Subject: RE: [PHP] Creating mailaccounts This is somewhat dependant

RE: [PHP] Simple Question, I think

2001-10-03 Thread Ralph Guzman
: http://www.domainname.com/dir_03;); break; } Ralph -Original Message- From: Ratfish [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 7:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Simple Question, I think All I want to do is what an ASP page I have is doing. I just want

RE: [PHP] php not reading php.ini

2001-10-03 Thread Ralph Guzman
- Mercury Interactive 410 Frimley Business Park Frimley, Surrey. GU16 7ST United Kingdom Telephone : +44 (0)1276 808300 From: Ralph Guzman [EMAIL PROTECTED] To: Caleb Carvalho [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] php not reading php.ini Date: Wed, 03 Oct 2001 01:05:07

RE: [PHP] Get Info From Database Without Refreshing the Page! PrettyNeat!

2001-09-13 Thread Ralph Guzman
What you are trying to do here sounds like it is done on the client end. I'd be willing to bet this requires the use of Javascript/Jscript/VBScript and DHTML. -Original Message- From: Coenraad Steenkamp [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 2:29 AM To: [EMAIL

RE: [PHP] Re: [PHP-DEV] Anagram Type Puzzle

2001-09-10 Thread Ralph Guzman
[mailto:[EMAIL PROTECTED]] Sent: Monday, September 10, 2001 1:40 AM To: PHP Developer Mailing List; Ralph Guzman Cc: [EMAIL PROTECTED] Subject: [PHP] Re: [PHP-DEV] Anagram Type Puzzle This should really be sent to [EMAIL PROTECTED], this is the list for the developers OF PHP not developing WITH PHP

[PHP] Anagram Solution in PHP

2001-09-10 Thread Ralph Guzman
Im trying to figue out the following anagram using PHP. Here is the problem: Using letters of the alphabet represented by a number, I have to come up with words that add up to exactly 100. Numbers are in reverse where A=26 and Z=1, so for example: A B C...X Y Z 26 25 24..3 2 1 So let's

RE: [PHP] begginer needs help

2001-08-31 Thread Ralph Guzman
If you choose to install Apache/PHP and perhaps even mySQL and you want to avoid downloading each individually, then configuring them to work together. You can download at straight-forward easy installation distribution that includes all three. Check out Nu-Sphere, and download one of their free

[PHP] Server Setup

2001-08-29 Thread Ralph Guzman
I am working on setting up a Red Hat Linux Web Server. Is there a benefit to installing PHP/MySQL/Apache by compiling them from source vs. installing these using RedHat's Binary/RPM distributions? What are the pro's and con's of these two methods? Can anybody suggest any pointers considering

[PHP] Re: IP security

2001-08-26 Thread Ralph Deffke
use the $REMOTE_ADDR variable for the remote address see php manual chapter 7 Variables - Variables from outside PHP Nafiseh Saberi schrieb: hi. how can I control the ip that with ID and password ,all of user cant enter to site and if one person want to enetr should have special IP that I

[PHP] Re: zlib1.1.3 and ob_gzhandler

2001-08-26 Thread Ralph Deffke
Are you shure u sending the right http header? your discription sound like the browser receives the wrong header information, respactively the wrong mime type. if you use the right mouse button and say show image, all browsers don't care about the mime type and try to evaluate the data content

[PHP] Re: relative filename /home/www... in stead of /www/.....

2001-08-26 Thread Ralph Deffke
use $SCRIPT_FILENAME and extract the parts of the path as u need. or better $PATH_TRANSLATED see also php manual chapter 7 predefined variables. Chris Hayes schrieb: dear group, I use the $DOCUMENT_ROOT to make a complete file name.

<    1   2   3   4   >