Re: [PHP] Local variable protection

2011-10-12 Thread Tommy Pham
On Wed, Oct 12, 2011 at 4:51 PM, Benjamin Coddington wrote: > On Oct 12, 2011, at 4:24 PM, Ken Robinson wrote: > > > Quoting Benjamin Coddington : > > > >> Are there any assurances that function local variables are protected > from code calling the function? > >> > >> For example, I would like to

[PHP] Seâd - Contract Developer Contracts Available in Auckland and Hamilton - New Zealand

2011-10-12 Thread Paul Jenkins
Hi PHPr's I have a client looking for Contract developers. Multiple requirements. Work on enhancing the User Interface of a large and complex Web Application product. We are ideally looking for those with experience in developing and deploying graphical user interfaces using Web based technolog

Re: [PHP] Local variable protection

2011-10-12 Thread Benjamin Coddington
On Oct 12, 2011, at 4:24 PM, Ken Robinson wrote: > Quoting Benjamin Coddington : > >> Are there any assurances that function local variables are protected from >> code calling the function? >> >> For example, I would like to provide some cryptographic functions such as >> >> function org_secur

[PHP] Re: [PECL-DEV] php_bcompiler.dll dependencies?

2011-10-12 Thread Ferenc Kovacs
> Which previous post? http://news.php.net/php.pecl.dev/8616 -- Ferenc Kovács @Tyr43l - http://tyrael.hu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PECL-DEV] php_bcompiler.dll dependencies?

2011-10-12 Thread Pierre Joye
hi, Which previous post? Also you have to use VC9 not VC10 to use your ext against PHP releases. You can get it with the platform SDK 6.1 Cheers, On Wed, Oct 12, 2011 at 10:51 PM, Peter Roth wrote: > I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I > can compile it

[PHP] Re: [PECL-DEV] php_bcompiler.dll dependencies?

2011-10-12 Thread Ángel González
Peter Roth wrote: I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I can compile it OK, but it will not link. I have posted the build output error messages in a previous post. I am wondering if building PHP from source code would produce some files that would help me

[PHP] Building PHP on Windows 7 using Visual Studio 10

2011-10-12 Thread Peter Roth
I am trying to build PHP from source code on Windows 7 using Visual Studio 10. I have tried to follow the procedure at https://wiki.php.net/internals/windows/stepbystepbuild I did not get very far and suspect that this procedure may need to be updated for people in my situation. In particul

[PHP] php_bcompiler.dll dependencies?

2011-10-12 Thread Peter Roth
I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I can compile it OK, but it will not link. I have posted the build output error messages in a previous post. I am wondering if building PHP from source code would produce some files that would help me get past the link e

[PHP] creating php_bcompiler.dll

2011-10-12 Thread Peter Roth
Hello, I am trying to build php_bcompiler.dll on Windows 7 using Visual Studio 10. I can compile it OK, but it will not link. Below is the output of the build process. Does anybody have any idea on how to get past these link errors so that I can build the dll? php_bcompiler.c C:\Users\Pete

Re: [PHP] Local variable protection

2011-10-12 Thread Ken Robinson
Quoting Benjamin Coddington : Are there any assurances that function local variables are protected from code calling the function? For example, I would like to provide some cryptographic functions such as function org_secure_string($string) { $org_key = "a very random key"; r

[PHP] Local variable protection

2011-10-12 Thread Benjamin Coddington
Are there any assurances that function local variables are protected from code calling the function? For example, I would like to provide some cryptographic functions such as function org_secure_string($string) { $org_key = "a very random key"; return hash($string, $key); } func

Re: [PHP] Variable variable using constant

2011-10-12 Thread Marc Guay
>   $var = constant('DESKTOP_URL_' . $_SESSION['lang']); Very nice, thank you. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable variable using constant

2011-10-12 Thread Robert Williams
On 10/12/11 11:51, "Marc Guay" wrote: >Let's say that I have 2 constants > >DEFINE('DESKTOP_URL_en', "http://www.website.com/index.php?page=home";); >DEFINE('DESKTOP_URL_fr', >"http://www.website.com/index.php?page=accueil";); > >and I would like to populate the value of an href with them depend

[PHP] Variable variable using constant

2011-10-12 Thread Marc Guay
Hi folks, Let's say that I have 2 constants DEFINE('DESKTOP_URL_en', "http://www.website.com/index.php?page=home";); DEFINE('DESKTOP_URL_fr', "http://www.website.com/index.php?page=accueil";); and I would like to populate the value of an href with them depending on the us

Re: [PHP] CGI PHP vs. FastCGI vs. mod_php vs. application server?

2011-10-12 Thread Mike Mackintosh
Nice write up Richard On Oct 12, 2011, at 7:06, Richard Quadling wrote: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CGI PHP vs. FastCGI vs. mod_php vs. application server?

2011-10-12 Thread Richard Quadling
On 12 October 2011 09:19, saeed ahmed wrote: > greeting all, > > As far as I know, there are different ways to write a PHP application: > - CGI, ie. the usual way : some PHP code in web pages, and the PHP > interpreter is loaded each time a PHP page is called > - FastCGI : apparently, the interpre

Re: [PHP] How to know the path of `php.ini` used when call php.exe from CLI/command-line in Windows 7

2011-10-12 Thread Richard Quadling
On 11 October 2011 19:40, Nam Gi VU wrote: > Hi every one, > Currently when I call php --ini from CLI, I just see C:\Windows but search > for this location, I cannot find any php.ini files. > I'm stuck there - where is the php.ini file used by php.exe called from CLI > as below > > *C:> php --ini*

Re: [PHP] Re: files outside of documentRoot

2011-10-12 Thread Ricardo Martinez
It works thx a lot =) On Tue, Oct 11, 2011 at 5:26 PM, Bastien Koert wrote: > On Tue, Oct 11, 2011 at 11:00 AM, Ricardo Martinez > wrote: > > Hi! > > > > i'm was checking, readfile(); and fpassthru(); > > > > With easy examples, i can use it for show a pic in the screen and > download a > > f

[PHP] CGI PHP vs. FastCGI vs. mod_php vs. application server?

2011-10-12 Thread saeed ahmed
greeting all, As far as I know, there are different ways to write a PHP application: - CGI, ie. the usual way : some PHP code in web pages, and the PHP interpreter is loaded each time a PHP page is called - FastCGI : apparently, the interpreter is loaded at boot time; the application itself might