[PHP] Re: make global variables accessible to functions?

2006-04-07 Thread El Bekko
Bing Du wrote: Hello, We use PHP 4.3.9. 'register_globals = Off' is set in php.ini. I've heard using 'global' could cause security problems. Is using $GLOBALS still not more secure than using the 'global' keyword? How should function foo() obtain the value of $a? === Thanks in advance,

[PHP] Re: php-cgi limitations

2006-03-09 Thread El Bekko
Max Schwanekamp wrote: Can anyone offer or point me to a summary of differences between running php as an Apache module vs as a cgi executable? Specifically, I'm wanting to upgrade our servers to php 5 but there is one crucial third-party app we're using that still needs php 4, so I'm hoping I

[PHP] Re: Make all emails links

2006-03-08 Thread El Bekko
Benjamin Adams wrote: I'm pulling data from a database; When the data is pulled emails look like [EMAIL PROTECTED] Is there a way to just make all email address in the text that it pulls so, "bla bla bla okjsokdf [EMAIL PROTECTED] ksnow noduowe..." Make the email in the text be a mailto link au

[PHP] Re: doubt regarding link

2006-02-25 Thread El Bekko
suresh kumar wrote: i am having back to home link ,by default its status is 0 in "mail table " database .when any user click the back to home link.i want to change status =1 in user table.is there any possible to call php function in javascript.i am using javascript onclick function.but jav