RE: [PHP] Domain Name ?

2004-04-01 Thread Ralph Guzman
The easy way... $domain = http://www.foo.com;; $domain = explode('.', $domain); $foo = $domain['1']; -Original Message- From: Dave Carrera [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 1:30 AM To: [EMAIL PROTECTED] Subject: [PHP] Domain Name ? Hi List, I asked this a

RE: [PHP] Re: [PHP-WIN] ASP.NET web control in PHP?

2004-03-31 Thread Ralph Guzman
You might also want to look at opensource frameworks like Ampoliros or Ez publish -Original Message- From: Ignatius Reilly [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:21 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Bill Subject: [PHP] Re: [PHP-WIN] ASP.NET web control in

[PHP] RE:

2004-03-30 Thread Ralph Guzman
Might be a Register Globals issue: http://us4.php.net/register_globals -Original Message- From: Ketvin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 12:40 AM To: [EMAIL PROTECTED] Subject: Dear all, i just move my previous php script to a new server and found that it is

RE: [PHP] How to prevent duplicated values?

2004-01-27 Thread Ralph Guzman
What I would do would instead be to put an index on that column, then with a simple select check if that username is free or not. Based on what I get in return I can then either insert the data or return the form to the visitor with information about it. Much more simple in the long run. I

RE: [PHP] Making Graph / Chart

2004-01-27 Thread Ralph Guzman
Take a look at jpgraph: http://www.aditus.nu/jpgraph/ -Original Message- From: unkno me [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Making Graph / Chart Hi, Does anyone know what function is needed to make graphic chart like

[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

[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

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 'pre'; print_r($_POST); print '/pre'; or this: print 'pre'; var_dump($_POST); print '/pre'; -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 4:31 PM

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-

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.

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

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 function that will do

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] Virtual Directory Support

2003-12-03 Thread Ralph Guzman
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 error message

[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

[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

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,

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

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

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]

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

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

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

[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

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

[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

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: INPUT TYPE=checkbox NAME=chk[] VALUE=56 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

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

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

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

2003-08-19 Thread Ralph Guzman
['total_size'] . 'MBs BR'; } I have not tested this but it should work. Ralph -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 8:54 PM To: 'Ralph Guzman'; [EMAIL PROTECTED] Subject: RE: [PHP] Delimiter WITHOUT lots of IF's Importance: High Sensitivity

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

2003-08-19 Thread Ralph Guzman
- 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 with Curt, use mySQL to get the sum of 'sess_itemsize' then divide the result by size

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

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:

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

2003-08-18 Thread Ralph Guzman
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 expires when the browser(s

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

2003-08-17 Thread Ralph Guzman
?php // check last day of september $month = '08'; $year = date(Y); $last_day = date(t, mktime (0,0,0, $month,1,$year)); print $last_day; ? -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:00 PM To: [EMAIL PROTECTED] Subject: [PHP]

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,

[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

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 ? print date(t

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 Subject: Re

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

RE: [PHP] Re: PHP Fusebox

2003-08-14 Thread Ralph Guzman
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 set on Fusebox, but the reason I've

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

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

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

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

[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

[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: frameset rows=1,* FRAMEBORDER=0 BORDER=0 frame MARGINWIDTH=0 MARGINHEIGHT=0 name=board

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

[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

[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

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

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
, 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: Ralph Guzman [EMAIL PROTECTED] To: 'Mauricio' [EMAIL PROTECTED] Sent

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

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:

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
I would suggest you implement this at the web server level. If using Apache, use virtual hosting or perhaps a rewrite condition if needed. If you must do this in PHP, and you want to do is redirect the user to a particular directory depending on the URL they type, then something like this should

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
I would suggest you implement this at the web server level. If using Apache, use virtual hosting or perhaps a rewrite condition if needed. If you must do this in PHP, and you want to do is redirect the user to a particular directory depending on the URL they type, then something like this should

  1   2   >