php-general Digest 26 May 2012 14:40:53 -0000 Issue 7828
Topics (messages 318003 through 318005):
Setting allow_url_fopen
318003 by: James Moe
318004 by: Ashley Sheridan
What is The best way/tool for debuging PHP?
318005 by: LEOPARD Corporation
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
php 5.2.2
I have need of a remote procedure call the requires
"allow_url_fopen" to be enabled. The remote call works fine on my test
system which does have allow_url_fopen enabled.
So I thought, "This is a job for ini_set()." It did not work. :-(
$oldval = ini_set("allow_url_fopen", 1);
The remote call is made after the above statement. Clearly there is
more to it than I expected.
What is the correct way to allow URL fopen on the fly?
- --
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/Ag00ACgkQzTcr8Prq0ZNpqACgsPg1UcmiXcxxWYhvl0XaUi7N
KDMAn29qcLCYdVDGWWYGTqZhToRtJRfA
=gnCT
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
James Moe <ji...@sohnen-moe.com> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello,
> php 5.2.2
>
> I have need of a remote procedure call the requires
>"allow_url_fopen" to be enabled. The remote call works fine on my test
>system which does have allow_url_fopen enabled.
> So I thought, "This is a job for ini_set()." It did not work. :-(
> $oldval = ini_set("allow_url_fopen", 1);
> The remote call is made after the above statement. Clearly there is
>more to it than I expected.
> What is the correct way to allow URL fopen on the fly?
>
>- --
>James Moe
>moe dot james at sohnen-moe dot com
>520.743.3936
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v2.0.18 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
>iEYEARECAAYFAk/Ag00ACgkQzTcr8Prq0ZNpqACgsPg1UcmiXcxxWYhvl0XaUi7N
>KDMAn29qcLCYdVDGWWYGTqZhToRtJRfA
>=gnCT
>-----END PGP SIGNATURE-----
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
You won't be able to set it with ini_set(), its a PHP_INI_SYSTEM setting, which
can only be set from php.ini or httpd.conf. I did read a not that it had
changed on recent versions to allow .htaccess setting this, but I forget
exactly which version you'll need.
Thanks,
Ash
http://ashleysheridan.co.uk
--- End Message ---
--- Begin Message ---
Hello,
I'm new to this list, and this is the first time ever I send a message to
you.
I'm learning PHP since a couple of months, and I really wanna be a good PHP
programer, and I know that I should work hard for that.
Now, I just wanted to know what is the best way or tool for debuging PHP.
I have googled for this many many times, and found a lot of these stuff,
but I didn't figure out which one is really the best.
in fact, I don't care whether it's an easy way or hard way, all what I want
is to know what is the best and preferred way or tool.
Wish you all the best!
--- End Message ---