RE: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Robin Kopetzky
Microsoft's lawyers probably could've handled it more tactfully, but they were required to take action. Simple solution to a complex problem - Follow William Shakespeare's outlook or the joke 'What's a thousand lawyers at the bottom of the ocean called? - A good start...' Robin 'Sparky'

[PHP] Debug code

2004-01-19 Thread Robin Kopetzky
Good morning! Is there any way to keep the compiler from adding 'debug code'? Example: if ($b_debug) { echo ... } Just trying to eliminate code bloat. Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 -- PHP General

[PHP] Spell checker in PHP

2004-01-09 Thread Robin Kopetzky
Good afternoon! I know aspell and pspell are available but pspell won't work in my Windows environment. Does anyone know how to tie into Word's spell checker using php or another spell check option? What I need is a way to check spelling on city/state names and select the most appropriate if the

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

2004-01-08 Thread Robin Kopetzky
Good evening. I'm trying to read using $_POST, 4 radio buttons named miles. I tried reading the selected value with $_POST['miles[0]'], etc. with no success. I've even tried using foreach to read the selected radio button with no success. Help!! I'm totally stumped with this one. I thought the

[PHP] Retrieve key from $_POST

2004-01-05 Thread Robin Kopetzky
Is there any way to retrieve a key value from $_POST when there is more than one $_POST array entry? I'm trying to retrieve the name of an 'INPUT TYPE=image' control with HTML because you can't pass a value back. I need to get the name of the control to use in a 'switch' statement. Any help is

RE: [PHP] Retrieve key from $_POST

2004-01-05 Thread Robin Kopetzky
Reworked the code and used an 'Input TYPE=button' and fixed the problem. Thanks to all who replied. Amazing isn't it, that as we grow older the brain slowly turns into mush... Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 -- PHP General Mailing List

[PHP] Class Accessor methods??

2004-01-01 Thread Robin Kopetzky
Happy New Year!! Is there a more efficient type of class accessor than using Get/Set like this? function GetValue() { return $this-value; } function SetValue($value) { $this-value = $value; } Robin 'Sparky'

[PHP] HTML via echo or not

2003-12-29 Thread Robin Kopetzky
Good evening. I'm probably going to stir up a hornet's nest but have a question. Does using echo for ALL html pages mean I have a sick mind? Example: echo CR, 'HTML', CR, ' BODY', CR, ' etc...'; I like the look. It's more readable, gives

[PHP] No ? or ?php in Windows

2003-12-24 Thread Robin Kopetzky
Good Morning and Merry Christmas to all. I recently installed PHPTriad to a new server and the ? and ?php tags do not work on ANY html page. Does anyone know what I may have missed in configuration? Help... Thanks a million in advance. Robin 'Sparky' Kopetzky Black Mesa Computers/Internet

[PHP] PHP-Mysql problem

2003-12-11 Thread Robin Kopetzky
Good Afternoon!! I just installed RedHat Linux 9.0 with Apache/Php/MySql for a project. I have Apache and PHP running. However, PHP does not have the Mysql module?? installed and this is the key to our project. Could someone point me in the right direction to recompile PHP with proper

[PHP] Reading email from sendmail

2003-12-08 Thread Robin Kopetzky
Good afternoon, all!! Is there a function or series of functions in PHP that will allow a PHP package to read email from a sendmail account, look for a specific information in the subject line, then be able to resend that email to a group of users?? I know mail can be used to send email

[PHP] Radius question

2003-11-30 Thread Robin Kopetzky
Has anyone seen or know of a PHP implementation of a RADIUS server?? Please reply off list - [EMAIL PROTECTED] Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Windows PHP permissions question

2003-11-25 Thread Robin Kopetzky
Good Morning/Afternoon. I have a program that is trying to write to a directory on a Windows server and I don't know how to setup the permissions to read/write/delete just from this directory. I have it permissions set to 'Everyone' but that doesn't work. Help?!?! Robin 'Sparky' Kopetzky Black

[PHP] String returned from forms and such

2003-11-23 Thread Robin Kopetzky
Good afternoon. I'm having a problem handling strings with spaces being passed from a form by HREF to a PHP program. Example: A HREF=buttons.php?state_name=New Mexicobutton code/A When the 'New Mexico' gets to phpinfo, it says the string is 'New+Mexico' and that's not what I need. I used

[PHP] Javascript question

2003-11-20 Thread Robin Kopetzky
I know this may be off-topic but I've got a problem that I do not know how to work around... I'm displaying a SELECT list and the problem is getting the value back after an 'onChange' event. Code is like this: HTML HEAD SCRIPT LANGUAGE=JAVASCRIPT !-- function jump() {

RE: [PHP] Javascript question

2003-11-20 Thread Robin Kopetzky
Ah-hah! Jason hides under an email address that does not exist so one cannot reply directly to him, only via the list. Does that not describe the person well? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] JavaScript question

2003-11-02 Thread Robin Kopetzky
Good morning. I know this may be off-topic but I don't know where to turn. I'm building a dynamic web page system with PHP and need to figure out in JavaScript how to do something. I have the timer figured out in JavaScript but what I need is a way to automatically submit a request back to the

[PHP] HTML output buffering

2003-10-16 Thread Robin Kopetzky
Good afternoon! Is there a simple way to have PHP buffer all HTML output via echo/print until the program flushes the output buffer?? Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] HTML output buffering

2003-10-16 Thread Robin Kopetzky
Thank you for responding - Doh! I didn't look before leaping Oh, boy... Sparky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array question

2003-09-27 Thread Robin Kopetzky
Good morning all!! Can you nest an array within an array?? Example: $paArgs['aCheckBoxes[$iIndex]['sName']'] Thank you in advance. Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Function calling from url

2003-09-06 Thread Robin Kopetzky
Good morning! I would like to call a function from a FORM's ACTION attribute. This is what I'm trying to do: FORM ACTION=www.example.com/PHP_FILENAME/function_name?parameter1=xparameter2=y etc... I can include the PHP_FILENAME but passing parameters to the function I can't figure out how to

[PHP] $GLOBAL question

2003-08-18 Thread Robin Kopetzky
Good Morning!! I'm trying to print $GLOBALs this way and it doesn't work: ?php $aTest = This is a test; function GlobalCheck() { print {$GLOBAL['aTest']}; } GlobalCheck(); ? Does someone know the 'right' way to do this?? Robin 'Sparky' Kopetzky Black Mesa

RE: [PHP] Re: $GLOBAL question

2003-08-18 Thread Robin Kopetzky
DOH! Damned fat-fingering!!! Must learn to type s l o w l y... Thanks! Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: [PUP] READ RECEIPTS [WAS: $GLOBAL question]

2003-08-18 Thread Robin Kopetzky
Sorry bat that - I deeply apologize for the mess I caused. I have an ISP and send email billing out. The return receipt is to make sure the user gets the email. I have turned off the receipts and will NOT turn them on again, Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants,