[PHP] More PHPEclipse

2004-07-19 Thread C.F. Scheidecker Antunes
Dan, I have done the same thing and I have the same problem. Did you make it work yet? In my case however, under Windows, preferences I can see PHP SQL (Quantum DB) but not the rest of the PHP options. My registry shows (under Help, Configuration details) *** Plug-in Registry:

[PHP] Importing Excel data using PHP

2004-07-19 Thread C.F. Scheidecker Antunes
Hello all, I need to have some excel capabilities for an automated script. Excel can save files in CSV which are very easy to read and parse with PHP as they are nothing more than text files. Pear has a module called Spreadsheet_Excel_Writer so that you can create Excel files. However I need

Re: [PHP] Importing Excel data using PHP

2004-07-19 Thread Matt M.
Anyway to do it using PHP? Com objects or use perl http://search.cpan.org/~kwitknr/Spreadsheet-ParseExcel-0.2603/ParseExcel.pm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [Fwd: Warning: could not send message for past 1 hour]

2004-07-19 Thread Luis Croker
Hi... Im trying to compile PHP 4.3.8 on Solaris 7 with apache 1.3.27. First, I configure PHP using this parameters: # ./configure --with-apache=../apache_1.3.27 --enable-versioning \ --without-mysql --with-sybase=/usr/local/freetds --without-gd \ --enable-track-vars --with-system-regex

[PHP] PHP XL2Web?

2004-07-19 Thread Eric Marden
I recently heard of a product called XL2Web (www.xl2web.com) and wanted to know if there is a php variant out there, perferably open source. It's going to be used for one or two excel files (our budget spread sheets) so i can't see spending the money on the commercial product. thanks! -- ---

Re: [PHP] Re: Embedded Email Directives

2004-07-19 Thread Curt Zirzow
* Thus wrote Manuel Lemos: Hello, Thank you for confirming what I previously described as PEAR zealots that pop in once in a while. Curt was trying to pass the impression that this thing of PEAR zealots that try to compete with the PHP Classes site was something that I invented. Um, I

Re: [PHP] OT but need guidance in timing page views

2004-07-19 Thread Jason Wong
On Tuesday 20 July 2004 05:41, Stephen Sadowski wrote: It seems like alot of people are focusing on what you can't do. Doing something which is plainly pointless seems dubious practice. As the client seems not to care The client needs education. -- Jason Wong - Gremlins Associates -

Re: [PHP] Login Script

2004-07-19 Thread Jason Wong
On Tuesday 20 July 2004 03:24, Brian Krausz wrote: While I know there are many scripts out there, and have spent many hours looking through them, I am having trouble finding a login script that fits my needs. I am looking for the following: A MySQL-based login system that doesn't use Pear ::

Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Jason Wong
On Tuesday 20 July 2004 03:22, Marten Lehmann wrote: Why shouldn't I use PHP 5.0.0 with Apache 2.0.50? You can, if it works for you, but ... http://marc.theaimsgroup.com/?l=php-generalm=107916708217647w=2 -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems

[PHP] Plain Number

2004-07-19 Thread Jeff Oien
Is there an easy way to make a number have no comma or decmal points? I've tried string replace with the comma but thought there would be a better alternative that I'm missing to cover more bases. number_format seems to add instead of take away items. Jeff -- PHP General Mailing List

[PHP] Compiling trouble.

2004-07-19 Thread Luis Croker
Hi... Im trying to compile PHP 4.3.8 on Solaris 7 with apache 1.3.27. First, I configure PHP using this parameters: # ./configure --with-apache=../apache_1.3.27 --enable-versioning \ --without-mysql --with-sybase=/usr/local/freetds --without-gd \ --enable-track-vars --with-system-regex

[PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread XeRnOuS ThE
Yo, i run some fairly simplistic sites, and still don't know to much PHP. Anyways i have this function called row color, it works fairly simply. $row1 = bgcolor='#c0c0c0'; $row2 = bgcolor='#808080'; function row_color($row_color=null) { static $row_count=0; $row_color =

RE: [PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread Jay Blanchard
[snip] Yo, i run some fairly simplistic sites, and still don't know to much PHP. Anyways i have this function called row color, it works fairly simply. $row1 = bgcolor='#c0c0c0'; $row2 = bgcolor='#808080'; function row_color($row_color=null) { static $row_count=0; $row_color

RE: [PHP] Plain Number

2004-07-19 Thread Jay Blanchard
[snip] Is there an easy way to make a number have no comma or decmal points? I've tried string replace with the comma but thought there would be a better alternative that I'm missing to cover more bases. number_format seems to add instead of take away items. [/snip] number_format($theNumber,

Re: [PHP] Plain Number

2004-07-19 Thread Justin Patrin
I would suggest just using str_replace. On Mon, 19 Jul 2004 17:52:32 -0500, Jeff Oien [EMAIL PROTECTED] wrote: Is there an easy way to make a number have no comma or decmal points? I've tried string replace with the comma but thought there would be a better alternative that I'm missing to

Re: [PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread Justin Patrin
Yo:-/ Hmmm, this must be PHP5 as in PHP4 parameters can't be by ref and have a default value. You can just use concatenation (as you really should be for all vars and function call in echo statements). echo 'tr style=background-color: '.row_color().';tddata/td/tr'; But then again, this is

Re: [PHP] Book Required

2004-07-19 Thread Stephen Allen
On Sat, Jul 17, 2004 at 02:59:56AM -0500 or thereabouts, [EMAIL PROTECTED] wrote: I agree that PHP MySQL Web Development (By Luke Welling and Laura Thompson) is a great resource for learning PHP. Armed with that book and the online PHP manual (with user comments), and you're on your way

RE: [PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread Jay Blanchard
[snip] Well that could work, but i want to re call it every time it finds the occurance of $row if you said $row = row_color(); then echo $rowbr$rowbr$row; it would output the content of $row1 three times. Because $row =row_color calls it, defines the returned value of row_color as the

Re: [PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread Curt Zirzow
* Thus wrote Justin Patrin: Yo:-/ Hmmm, this must be PHP5 as in PHP4 parameters can't be by ref and have a default value. yes, that is php5 specific. echo 'style .row1 { background-color: #c0c0c0; } .row2 { backgorund-color: #808080; } /style I can't wait till

[PHP] PHP configuration problem on Solaris 2.7

2004-07-19 Thread Mark Perkoski
I'm trying to do a PHP install on Solaris 2.7 and right out of the gate I'm in trouble. The configure script hangs almost immediately. Background: - I'm trying to config PHP version php-4.3.7 - I have the following GNU packages installed: flex version 2.5.4 bison (GNU Bison) 1.875 GNU sed

Re: [PHP] Embedded Email Directives

2004-07-19 Thread Jordi Canals
Jordi Canals wrote: Dennis Gearon wrote: remove carriage returns to prevent embedded email directives In an other thread, I readed that sentence. I'm interested to find more information about that. I have some mail forms and want to make them as secure and possible, but do not know about what

Re: [PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread Sean Malloy
I know this isn't solving your problem, but here is how I do it: class RowAlternator { private $on; private $off; private $state; function RowAlternator($on = On, $off = Off) { $this-on = $on; $this-off = $off; } function switchState() { $this-state = !$this-state;

Re: [PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread Sean Malloy
class RowAlternator { private $on; private $off; private $state; oops, I only half removed PHP5 only syntax. class RowAlternator { var $on; var $off; var $state; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP configuration problem on Solaris 2.7

2004-07-19 Thread Matthew Sims
I'm trying to do a PHP install on Solaris 2.7 and right out of the gate I'm in trouble. The configure script hangs almost immediately. Background: - I'm trying to config PHP version php-4.3.7 - I have the following GNU packages installed: flex version 2.5.4 bison (GNU Bison) 1.875

Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Matthew Sims
On Tuesday 20 July 2004 03:22, Marten Lehmann wrote: Why shouldn't I use PHP 5.0.0 with Apache 2.0.50? You can, if it works for you, but ... http://marc.theaimsgroup.com/?l=php-generalm=107916708217647w=2 -- Jason Wong - Gremlins Associates - www.gremlins.biz Apache2 had been well

Re: [PHP] Plain Number

2004-07-19 Thread Matthew Sims
Is there an easy way to make a number have no comma or decmal points? I've tried string replace with the comma but thought there would be a better alternative that I'm missing to cover more bases. number_format seems to add instead of take away items. Jeff If by no comma or decimal point

Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Oliver John V. Tibi
Wow! And come to think of it, how did you do it? Or should I stick with Apache1 until there is a viable solution to this upgrade dilemma? -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). Live free() or die(). Lester Caine [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

[PHP] Array Losing value

2004-07-19 Thread Jonathan Villa
I have a class called DBI which handles all of my database calls. One method called Fetch_Array simply has return mysql_fetch_assoc($resultID) It's losing it's value when I try to pass the val to another var example class BaseItem { function getBaseItems() { return

Re: [PHP] Embedded Email Directives

2004-07-19 Thread Curt Zirzow
* Thus wrote Jordi Canals: Jordi Canals wrote: Dennis Gearon wrote: remove carriage returns to prevent embedded email directives In an other thread, I readed that sentence. I'm interested to find more information about that. I have some mail forms and want to make them as secure

Re: [PHP] Apache 2 and PHP for Production?

2004-07-19 Thread Curt Zirzow
* Thus wrote Oliver John V. Tibi: Wow! And come to think of it, how did you do it? Or should I stick with Apache1 until there is a viable solution to this upgrade dilemma? I would stay with stick with apache 1.x. The only reason I would consider apache2 is if there was a module only available

Re: [PHP] PHP configuration problem on Solaris 2.7

2004-07-19 Thread Curt Zirzow
* Thus wrote Mark Perkoski: I'm trying to do a PHP install on Solaris 2.7 and right out of the gate I'm in trouble. The configure script hangs almost immediately. Background: - I'm trying to config PHP version php-4.3.7 - I have the following GNU packages installed: flex version

RE: [PHP] Creating Rows and Columns Using for() Loops

2004-07-19 Thread php-list
No, no...that's actually a great idea. I like your approach, especially in my case. Thank you for the suggestion! :) Navid -Original Message- From: Rory McKinley [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:57 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re:

[PHP] Re: PHP XL2Web?

2004-07-19 Thread Jason Barnett
Eric Marden wrote: I recently heard of a product called XL2Web (www.xl2web.com) and wanted to know if there is a php variant out there, perferably open source. It's going to be used for one or two excel files (our budget spread sheets) so i can't see spending the money on the commercial product.

Re: [PHP] Embedded Email Directives

2004-07-19 Thread Manuel Lemos
Hello, On 07/19/2004 10:46 PM, Jordi Canals wrote: remove carriage returns to prevent embedded email directives In an other thread, I readed that sentence. I'm interested to find more information about that. I have some mail forms and want to make them as secure and possible, but do not know

[PHP] Re: Array Losing value

2004-07-19 Thread Jason Barnett
if I die(sizeof($objDBI-Fetch_Array($objDBI-getResultID( within the DBI method, it return the correct value, however if I do $retval = $objDBI-Fetch_Array($objDBI-getResultID()); die(sizeof($retVal)); $retval != $retVal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] is there anyway to use constants in a string?

2004-07-19 Thread Jason Barnett
I was working on something else tonight when I literally stumbled across another solution that works here... pick your poison: ?php $heredoc = XML ?xml version=1.0 encoding=iso-8859-1 ? root node attribute=I am an attribute textI am a text node./text /node dynamic

Re: [PHP] Embedded Email Directives

2004-07-19 Thread Curt Zirzow
* Thus wrote Manuel Lemos: Hello, Nah, the mail function does not have bugs, even less it does wrong filtering. Ask Curt, and he'll tell you it is all Manuel Lemos imagination trying to push you to his site! (sorry couldn't resist! ;-) ) Would you please desist from dragging your ego

<    1   2