I can't see any conceivable benefit to this restriction when using
open_basedir, as I thought that related to the local file system - unless CURL
can use file:// URLs to access the local system?
That's the problem.
I always use open_basedir (not all the sites on my servers are safe
enough). An
I was wondering why CURLOPT_FOLLOWLOCATION requires open_basedir and
safe_mode to be turned off.
The following was found in the
changelog(http://www.php.net/ChangeLog-5.php):
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode
are enabled. (Stefan E., Ilia)
Also I read s
No, adding * after the period had no affect at all. Still goes to the
live site.
Sorry, I misunderstood you. I'm too lazy to read all the message :)
http and https may be handled by different virtual hosts.
http for http://dev.sitename.com/ seems to be configured properly (Virtual host
at por
RewriteRule . index.php
Add an asterisk after the dot:
RewriteRule .* index.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a function within a class. There is a variable inside that
function which I need to access & use outside of the class/function.
For example ...
Class Test {
function showOutput {
if ($this->url) {
$justTT = substr($this->url,-10,7);
Is it right that 'self' in inherited method still points to the parent?
If it is, can you explain it? It makes me worry :)
Up until 5.3 this was just the way it was. It has been "fixed" in 5.3.
See here for more info: http://php.net/lsb
Thanks. It seems that 'static' keyword (instead of 'self')
Is it right that 'self' in inherited method still points to the parent?
If it is, can you explain it? It makes me worry :)
A piece of code below for example
get_instance();
$c = $a->get_another_instance();
echo $a->get_name(),"\n";
echo get_class($b),"\n";
echo get_class($c),"\n";
?>
--
PHP
7 matches
Mail list logo