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 sessio

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
uot;joao" them logoff, exclude IE cache, going in Tools >> Internet Option..., and login again with another user, this way the variable are printed correctly. It happens in any windows version (95,98,ME,2K,XP) using IE 6.0 and Netscape 7. - Original Message - From: "Ra

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
Yes, and also the same Rasmus founder of PHP. From time to time he may even respond to one of you questions. :-) And you're right one of the best ways to learn is to look at other open source code. I've learned how to write efficient code and also learned programming tricks by studying other code.

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
I am trying to standardize my development process and have been looking at the different frameworks out there. One of the philosophies I like is that of Fusebox, although originally developed for ColdFusion it is now available for PHP: http://bombusbee.com/ Anybody have any experience working wi

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
ete can be found at http://www.interakt.ro/products/KompleteLite/index.php Alexandru -- Alexandru COSTIN Chief Operating Officer http://www.interakt.ro/ +4021 312 5312 "Ralph Guzman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am not s

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

RE: [PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
wow. I missed that one in the manual. I guess it's time for me to call it a night. Thanks. -Original Message- From: Sn!per [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:21 AM To: Ralph Guzman Cc: PHP General Mailing List Subject: Re: [PHP] LAST DAY OF MONTH

RE: [PHP] LAST DAY OF MONTH

2003-08-15 Thread Ralph Guzman
I just noticed, this will give me total days for current month. But let's say I want to look up the total days for another month? -Original Message- From: Sn!per [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:21 AM To: Ralph Guzman Cc: PHP General Mailing List Subjec

RE: [PHP] Validate The Last Day of Month with server's clock????

2003-08-17 Thread Ralph Guzman
-Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: [PHP] Validate The Last Day of Month with server's clock Hi! Here's a trick script. We know that some months have the last day which is 30

RE: [PHP] Category and sub-category logic

2003-08-17 Thread Ralph Guzman
Read this article: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html It explains the 4 different methods that you can use when working with hierarchical data. -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 200

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
How are you keeping track of items added being added to the shopping cart? -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
How are you keeping track of items added being added to the shopping cart? -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
38 PM To: 'Ralph Guzman'; [EMAIL PROTECTED] Subject: RE: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity: Confidential Using a cookie (I know, I know...) I plant a cookie in the visitor's browser when he opens the site with a random generated number which expir

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-18 Thread Ralph Guzman
ing cart'; } else { print 'Total Size:' . $cdqty['quantity'] . ''; print 'Total CDs:' . $cdqty['total_size'] . 'MBs '; } I have not tested this but it should work. Ralph -Original Message- From: Cesar Aracena [mailto:[EMAIL

RE: [PHP] Delimiter WITHOUT lots of IF's

2003-08-19 Thread Ralph Guzman
); return $cart_cdqty; } } -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 11:41 PM To: 'Cesar Aracena'; [EMAIL PROTECTED] Subject: RE: [PHP] Delimiter WITHOUT lots of IF's Sensitivity: Confidential I agree

RE: [PHP] in the middle of shift and pop

2003-08-19 Thread Ralph Guzman
unset($A[2]); -Original Message- From: Decapode Azur [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 3:26 PM To: [EMAIL PROTECTED] Subject: [PHP] in the middle of shift and pop is it possible to remove an element of an indexed array such as this exemple $A = array('a', '

RE: [PHP] How to make an argument optional...confirmation...

2003-08-21 Thread Ralph Guzman
function test($arg1, $arg2, $arg3 = "") { if(isset($arg3)) { // do whatever with $arg3 } } -Original Message- From: Jonathan Villa [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 7:56 PM To: [EMAIL PROTECTED] Subject: [PHP] How to make an argument optional...conf

RE: [PHP] determine how many checkboxes are selected.

2003-08-26 Thread Ralph Guzman
Change box names to chk[] and assign the id as the value, so for example: to check which boxes have been checked simply traverse through the chk[] array like this: $chk_array = $_POST['chk']; for($chk_array as $chk_key => $chk_value) { print 'Checkbox Id:'. $chk_key . ' Value:'. $chk_value

RE: [PHP] OO PHP question

2003-08-26 Thread Ralph Guzman
http://www.php.net/oop http://php.resourceindex.com/Documentation/Class_Design_and_OOP/ http://www.evolt.org/article/PHP_Intro_to_Objects_and_Classes/17/48911/i ndex.html -Original Message- From: Mike Zornek [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:01 AM To: [EMAIL P

[PHP] Best Approach for Multiple Options

2003-09-03 Thread Ralph Guzman
I'm currently in the process of writing a real estate listings program and I am not sure what the best approach is for storing and searching through the property amenities. Example: houses or apartment amenities can be a pool, fitness center, spa, etc. Users must be able to search for listings wit

[PHP] mysql Pattern Matching

2003-09-04 Thread Ralph Guzman
I know this question is best for the mySQL mailing list, but I am unable to subscribe to their list at this moment so perhaps somebody here can help me out. I have a table with a field where amenities are listed together using a comma delimiter like: pool,spa,fitness-center To search this table I

RE: [PHP] mysql Pattern Matching

2003-09-05 Thread Ralph Guzman
Is there an advantage or difference in running FIND_IN_SET() instead of LIKE? -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:53 AM To: Ralph Guzman; PHP General Mailing List Subject: Re: [PHP] mysql Pattern Matching From

RE: [PHP] A bd problem

2003-09-04 Thread Ralph Guzman
First, do not use HTML email for posting questions to the list. Take a look at: $not = $consulta->fetch_row($res); not familiar with your BaseDatos class, but fetch_row will normally return an enumerated array, this means that rather than using $not['Descripcion'] you should be using $not['0'],

RE: [PHP] Single Quotes vs Double Quotes

2003-09-09 Thread Ralph Guzman
Read this article: http://www.zend.com/zend/tut/using-strings.php -Original Message- From: micro brew [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 9:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Single Quotes vs Double Quotes Hi everyone, Could somebody please explain to me

RE: RE: [PHP] PHP Editor - which to use?

2003-09-24 Thread Ralph Guzman
>It doesn't do syntax highlighting, but if you need >that, then you need to learn to code better. Ha,ha. too funny. -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:56 AM To: jeffrey pearson; [EMAIL PROTECTED] Subject: Re: RE: [PHP] PHP Ed

RE: [PHP] Subcategories in php

2003-09-24 Thread Ralph Guzman
This article explains four methods for doing this: http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17 /4047/index.html -Original Message- From: phpu [mailto:[EMAIL PROTECTED] Sent: Saturday, September 20, 2003 7:41 AM To: [EMAIL PROTECTED] Subject: [PHP] Subcatego

RE: [PHP] php with MsSql

2003-09-24 Thread Ralph Guzman
You might also want to look at these libraries for mssql native support: http://www.freetds.org -Original Message- From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:21 AM To: [EMAIL PROTECTED] Subject: [PHP] php with MsSql I'm creating a site

RE: [PHP] Select multiple payment mode

2003-10-01 Thread Ralph Guzman
I guess the thing to do would be to log in payments in the database. So lets say the total is $50.00, if the user pays $25 on cc and payment is authorized, then log this into the database, then show the remaining balance. At this point you can give user the option to pay the remaining balance using

RE: [PHP] PHP Journals and Magazined

2003-10-14 Thread Ralph Guzman
If you are looking for magazines: http://www.phphub.com/browse.php?cat=52 You can find all sorts of PHP resources online. Here are a few of my favorites: http://www.phphub.com/ http://www.zend.com/developers.php http://www.sitepoint.com/ http://www.devshed.com/Server_Side/PHP and of course,

[PHP] Sorting DB Results

2003-11-13 Thread Ralph Guzman
I am trying to write a query (mysql 3.23) that will sort results using one or two substrings in item number. So for example I have item numbers that start with SE, TS, N0, W00, etc. So let say I want results sorted in the following order TS, SE, N0, W0 I have trie

[PHP] Virtual Directory Support

2003-12-02 Thread Ralph Guzman
I have a new installation of PHP 4.1.2 and it appears I cannot run php scripts outside of apache root directory. I look at phpinfo() and I saw Virtual Directory Support is set to disabled. I'm suspecting this could me the problem, but I have not been able to find anything on google or the lists exp

RE: [PHP] Virtual Directory Support

2003-12-03 Thread Ralph Guzman
ctory Support On Wednesday 03 December 2003 12:51, Ralph Guzman wrote: > I have a new installation of PHP 4.1.2 and it appears I cannot run php > scripts outside of apache root directory. How did you come to this conclusion? Was there an error message? If so, what did it say? If there was no er

RE: [PHP] Re: post an array into another site

2003-12-08 Thread Ralph Guzman
= THE END = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Buffalo'ed, stumped, confused...

2004-01-09 Thread Ralph Guzman
For debugging purposes, if you want to see all values in $_POST use this code: print ''; print_r($_POST); print ''; or this: print ''; var_dump($_POST); print ''; -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 4:31 PM To: PHP General

RE: [PHP] Hiding files away from /public_html/

2004-01-09 Thread Ralph Guzman
Put them in a folder with .htaccess: RewriteEngine onRewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://www.yourdomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://yourdomain.com/.*$ [NC] ReWriteRule .*\.(gif|jpg)$ - [N,F,L] -Original Message- From:

RE: [PHP] post vars not by form

2004-01-09 Thread Ralph Guzman
Use socket connection: http://www.php.net/fsockopen read the "User Contributed Notes" where you will find functions and examples. -Original Message- From: Nabil [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 2:07 PM To: [EMAIL PROTECTED] Subject: [PHP] post vars not by form

RE: [PHP] Re: Not working?

2004-01-09 Thread Ralph Guzman
Or this: system("rename('/path/to/new.sh', '/path/to/old' . $today)"); -Original Message- From: Matt Grimm [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 10:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Not working? You can't use variables inside single quotes, either. Thi

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
Here is a function that will do this, assuming $items is an array you would do the following: // $size INTEGER // $width INTEGER // border INTEGER // $cpadding INTEGER // $cspacing INTEGER // $data ARRAY function horizontalTable($size, $width, $border, $cpadding, $cspacing, $data) {

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
Here is a function I use. Assuming data is stored in an array called $items you will call out horizontalTable() like this: horizontalTable(3,600,1,3,3, $items); Here is the horizontalTable() function code: // $size: number of columns // $width: table width // $border: table border // $cpadding:

RE: [PHP] Sorting data into columns vertically

2004-01-09 Thread Ralph Guzman
DISREGARD THIS ONE -Original Message- From: Ralph Guzman [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 4:35 PM To: 'Raditha Dissanayake'; 'dareal hamsta' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Sorting data into columns vertically Here is a functi

[PHP] [Article] Writing Efficient PHP...

2004-01-20 Thread Ralph Guzman
In the past I've read emails of people looking for php programming tips and better practice advice. Here is a good article I came across on writing efficient php code: http://www-106.ibm.com/developerworks/edu/wa-dw-waeffphp-i.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Online Community Project

2004-01-21 Thread Ralph Guzman
I want to develop a friendster like program in php. I've searched the net to see if there are any similar programs or projects but I have not found anything. Anybody seen or come across any programs or projects for developing a friendster like community? -- PHP General Mailing List (http://www

RE: [PHP] looking for a good shopping cart - catalog system

2001-04-23 Thread Ralph Guzman
if you looking for a ready out-of-the box solution, this is one of the best I've seen: www.theexchangeproject.org you may also want to look into the following: http://www.phpshop.org http://share.whichever.com/index.php?SCREEN=freetrade -Original Message- From: Roee Rubin [mailto:[EMA

RE: [PHP] hello

2001-04-25 Thread Ralph Guzman
http://www.webmin.com -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 12:10 AM To: 'SuiteNet Operations Manager'; php-general Subject: RE: [PHP] hello what about Webmin? it's wuite cool, it has it all. (don't remember the URL, it come

RE: [PHP] php4 on RedHat 7.1

2001-04-26 Thread Ralph Guzman
Your httpd.conf configuration should look something like this: AddType application/x-httpd-php .php .phtml .php3 .php4 AddType application/x-httpd-php-source .phps -Original Message- From: j2n tech [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 26, 2001 8:42 PM To: [EMAIL PROTECTED] Su

RE: [PHP] This is driving me to drink...

2001-05-01 Thread Ralph Guzman
$p_code = "MNE"; $hub=$coreKey; if ($p_code=='MNE' || $p_code=='SN' || $p_code=='PM') { $hub = "$neuroKey"; } else if ($p_code=='MAI') { $hub = "$allergyKey"; } else if ($p_code=='SPS' || $p_code=='MCC') { $hub = "$dermKey"; } echo "$hub"; -Original Message- From

[PHP] test

2001-05-08 Thread Ralph Guzman
... -- 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: [EMAIL PROTECTED]

[PHP] Test 2

2001-05-08 Thread Ralph Guzman
This is only a test. I apologize. -- 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: [EMAIL PROTECTED]

RE: [PHP] Variables in variable names

2001-05-09 Thread Ralph Guzman
As an alternative you can use associative arrays $i = 0; $i = 1; $i = 2; $i = 3; $name[$i]; -Original Message- From: seriousj [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 4:09 AM To: [EMAIL PROTECTED] Subject: [PHP] Variables in variable names Hello, I need some help (n

RE: [PHP] PC MAG article - what a crap!

2001-05-10 Thread Ralph Guzman
Why don't we write to zdnet and tell them what a lousy article this was? -Original Message- From: Maxim Maletsky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 8:36 PM To: 'Tyrone Mills'; PHP List Subject: RE: [PHP] PC MAG article - what a crap! http://www.zdnet.com/pcmag/stori

RE: [PHP] HallMark uses PHP!!!!

2001-05-15 Thread Ralph Guzman
Here is another big one that uses PHP. http://www.marketplayer.com/ They provide stocks simulation games for sites like etrade.com, and smartmoney.com, to name a few big ones. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 10:31 PM To:

RE: [PHP] phpjobs.com

2001-05-15 Thread Ralph Guzman
Look at Guru.com: http://www.guru.com. They always have listing of employers looking for people with PHP skills. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Dempsey Sent: Friday, May 11, 2001 11:40 AM To: [EMAIL PROTECTED] Subject: [PHP] phpjobs

RE: [PHP] Shopping with variables

2001-05-16 Thread Ralph Guzman
Might want to reconsider the way you are doing this, since this may not be the most efficient way. An alternative might be to do this as follows: In your web form set a field for Quantity and another for Item Name, so for example: ... Quantity: DVD VIDEO CD ... then when you process t

RE: [PHP] $PHP_SELF

2002-04-01 Thread Ralph Guzman
Try "mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 6:24 PM To: [EMAIL PROTECTED] Subject: [PHP] $PHP_SELF SysInfo: Apache/1.3.24 (Win32) PHP/4.1.3-dev I have a question that could be Apache, could be php, but I'm so new to this I have to ask: what is wrong with my code for the form acti

[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 { w

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 ask

[PHP] test

2001-04-09 Thread Ralph Guzman
... -- 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: [EMAIL PROTECTED]

  1   2   >