[PHP] setting the same value to multiple variables

2006-03-30 Thread charles stuart
Hi, I'm sure this is quite basic. Nonetheless I'm new to PHP so I haven't figured it out. I'd like to set each variable to the same value (without having to set that value individually for each variable). Thanks for the help. best, Charles if ( 1 == 1 ) { $goodToGo = 0;

Re: [PHP] setting the same value to multiple variables

2006-03-30 Thread charles stuart
On Mar 30, 2006, at 11:01 PM, Jasper Bryant-Greene wrote: charles stuart wrote: if ( 1 == 1 ) ^^ what is the point of this? Just cutting out the long IF statement so everyone didn't have to look past it. { $goodToGo = 0; $errorArray[] = You must declare some goals on Activity 1

[PHP] str_replace

2005-10-10 Thread Charles Stuart
Hi, I'm on shared hosting. Because of security concerns on their part [1], every time the text curl u is inputted, a 403 forbidden is given and the form is not submitted. This is of course a problem as I'm doing work for a children's literacy program, and plenty of people try to input

Re: [PHP] str_replace

2005-10-10 Thread Charles Stuart
that any browser with the exception on lynx has JS capabilities. On 10/10/05, Charles Stuart [EMAIL PROTECTED] wrote: Hi, I'm on shared hosting. Because of security concerns on their part [1], every time the text curl u is inputted, a 403 forbidden is given and the form is not submitted

Re: [PHP] Re: Security, Late Nights and Overall Paranoia

2005-07-13 Thread Charles Stuart
On Jul 12, 2005, at 6:50 AM, Chris Shiflett wrote: As far as allowing [red] goes, you can just as easily add red to the list of available tags and not have to come up with a replacement for every other HTML tag that already exists. but what about the poor bastards that'll go around

Re: [PHP] XML and PHP

2005-07-06 Thread Charles Stuart
use a search engine. if you can't find what you need, then ask. if you already did this, then state that you already looked and you found xyz, but xyz isn't telling you what you need to know, which is specifically blah. best, charles On Jul 6, 2005, at 2:59 PM, Cima wrote: hi