[PHP] Export to Excel

2001-07-13 Thread Jorge Alvarez

One of my clients is requesting me to export some data from PHP-generated
pages to MS Excel files. I have no clue on how to do such export with PHP.
I'm using PHP/Apache/Linux Mandrake.

What options do I have?

Your help is very appreciated.

Regards,

Jorge Alvarez
--
Let your screen saver contribute to cancer research.
http://members.ud.com/vypc/cancer/
A new way to help. Sponsored by Intel.



-- 
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] Controlling just size with regular expressions

2001-04-09 Thread Jorge Alvarez

Hi there,

I need a regular expression that accepts *anything* without restrictions,
only that the size of the string should be between (for instance) 0 and 9
characters. I know the {0,9} trick, but how do I accept *anything* in a form
field?

TIA,

Jorge





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

2001-03-17 Thread Jorge Alvarez

Hi there,

I get this error every time I try to use a variable that has not been
declared. Is this new to PHP4? I do not recall this error in the past, echo
$MYVAR echoed nothing if $MYVAR was not set but no error was raised.

How can I revert PHP behavior to 'no-error' with undeclared variables?

Many thanks in advance,

Jorge Alvarez
PHP4 new user





-- 
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] Change POST for GET

2001-03-16 Thread Jorge Alvarez

Hi there,

I was using POST method on all my forms but I had to change them to GET
because of "expired page" errors (I noticed this as soon as I began using
PHP4 sessions).

It seems that GET works well so far, but I wonder if there's something else
I should be aware of. Are both methods equivalent?

TIA,

Jorge Alvarez



-- 
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] Parse all .htm files?

2001-03-14 Thread Jorge Alvarez

Hi there,

I'm using PHP and Personal Web Server in a Windows 98 PC.
What should I do to make PHP parse all .htm files and not only those with
the .php extension?

Many thanks in advance,

Jorge Alvarez




-- 
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] Download PHP from Linux machine?

2001-02-23 Thread Jorge Alvarez

Hi there,

I want to download PHP from my Linux server, but I can't just type "lynx
http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gzsource_
site=www.php.net"

This is the link in the PHP downloads page, but the shell gets confused by
the  character.

What should I do?

Best Regards,

Jorge.



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