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
5 matches
Mail list logo