[PHP] $GLOBAL question
Good Morning!! I'm trying to print $GLOBALs this way and it doesn't work: Does someone know the 'right' way to do this?? 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
RE: [PHP] Re: $GLOBAL question
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]
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, NM 87020 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Function calling from url
Good morning! I would like to call a function from a 's ACTION attribute. This is what I'm trying to do: I can include the PHP_FILENAME but passing parameters to the function I can't figure out how to do. Any help would be appreciated. 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] Array question
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: http://www.php.net/unsub.php
[PHP] HTML output buffering
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: http://www.php.net/unsub.php
RE: [PHP] HTML output buffering
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] JavaScript question
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 web server after the timer runs out. What I'm trying to do is display slides in sequence. When the timer expires, it sends back to the web server the parameters of slide group and the last slide displayed. The PHP on the server end builds a new page and sends it to the browser with the next slide in the sequence. Any help would be greatly appreciated and my PHP skills are vastly above my JavaScript skills (very basic beginner). 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] Javascript question
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 list and the problem is getting the value back after an 'onChange' event. Code is like this: State Colorado New Mexico I need to get the "state_name" back but all I get in the $_GET['state_name'] array is an empty value. Any clue as to why this won't work?? I don't want to use a 'Submit' button as this is very cumbersome when I add the other 3 lists... 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
RE: [PHP] Javascript question
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] String returned from forms and such
Good afternoon. I'm having a problem handling strings with spaces being passed from a form by HREF to a PHP program. Example: button code When the 'New Mexico' gets to phpinfo, it says the string is 'New+Mexico' and that's not what I need. I used htmlspecialchars to add the %20 to the string but didn't get it. What am I doing wrong or missing?? Any help is VERY appreciated!! 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
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 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] Radius question
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] Reading email from sendmail
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 but reading from sendmail???... Any information is greatly appreciated and profoundly useful. 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] PHP-Mysql problem
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 MySql module included?? I am a EXTREME newbie when it comes to compiling anything in Linux. 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] No
Good Morning and Merry Christmas to all. I recently installed PHPTriad to a new server and the http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] HTML via echo or not
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, '', CR, ' ', CR, ' etc...'; I like the look. It's more readable, gives me a better view of variables as they are all single-quoted and stand out nicely in my editor. No messy jumping into and out of php. I have looked at a bunch of php code written by others and HEREDOC looks stupid with everything jammed against the left side of the screen, php tags within HTML breaks up the flow of properly formatted HTML, which I firmly require for all of my code, and just doesn't look right. 'print' makes you add \" to all of the HTML attributes but the 'echo' method makes everything look like php! Since all your doing is dumping text to the output subsystem, there shouldn't be any speed decrease in the code. Yes, I know, there are advocates for every kind of method to display HTML code but just wanting to get others opinions on the subject. If you wish, email me off-list @ sparkyk-AT-blackmesa-isp.net. Cheers! 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] Class Accessor methods??
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' 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] Retrieve key from $_POST
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 appreciated. 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
RE: [PHP] Retrieve key from $_POST
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 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Buffalo'ed, stumped, confused...
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 value was passed back as an array but maybe I'm wrong... 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] Spell checker in PHP
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 user mangles the words. 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] Debug code
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 Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Why we love Microsoft (0t)
> 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' 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