Hello, everybody.
What do you think about this? https://bugs.php.net/bug.php?id=60372
Rick Pasotto wrote:
On Mon, Mar 15, 2010 at 01:32:24PM +1300, Dmitry Ruban wrote:
Rick Pasotto wrote:
I repeat: is there more than one way to run a php script from the cli?
On *nix, you can add "#!/usr/bin/php" as first line and make file
executable (chmod +x).
Functionally the
executable bit the shell would have tried to execute the contents of the
file and the shell would have given several error messages.
I repeat: is there more than one way to run a php script from the cli?
On *nix, you can add "#!/usr/bin/php" as first line and make file
executable (chm
XSS waiting to happen. I can put something like the following in
the request uri:
index.php?" onsubmit="evil()">http://www.evil.com/evi.js"</a>;>
Apparently it's not going to work. PHP_SELF does not include query
string. So it is safe to use it this way.
Reg
l be much appreciated.
Currently I have temporary workaround for this:
$xml = str_replace(array('<','>'), array('<','>'), $xml);
but would like to fix xmlrpc somehow.
Regards,
Dmitry Ruban
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How?
Dont tell me about simple solutions such as
$_SERVER["HTTPS"] .
$_SERVER["REMOTE_ADDR"] .
$_SERVER["SERVER_PORT"] .
$_SERVER["PHP_SELF"] .
$_SERVER["QUERY_STRING"]
I want get really good solution.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Thanks,
but I think that this code more easy.
class a {
function say() { echo "A"; }
function run() { $this->say(); }
}
class b {
function say() { echo "B"; }
function run() {
$a = new a;
$a->run();
}
}
$obj = new b;
$obj->run();
--
PHP General Mailing List (http://www.php.net/)
Hello!
How disable error messages when i send incorrect data into gzip* "extract"
functions, such as gzinflate or gzuncompress?
For example:
function _pack($data) {
$data = serialize($data);
$data = gzdeflate($data,9);
$data = base64_encode($data);
$data = urlencode($data);
return $data;
}
Greetings.
If i run this code (php5):
--
class a {
function say() { echo "A"; }
function run() { $this->say(); }
}
class b extends a {
function say() { echo "B"; }
function run() { parent::run(); }
}
$obj = new b;
$obj->run();
--
Hi folks,
We have two instances of apache/mod_php running on 80 and 443 ports
accordingly. For both mod_php we have the same dir (/tmp) to store session
information. Is it possible to mix sessions data up if user switches between
80 and 443 ports? I mean what if when user surfs over 80 port and ha
ch is
under /usr/lib.
Does anyone knows how to solve this?
Thanks and cheers
--
Dmitry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with that
setting on).
I'm running PHP 4.1.2/Apache 1.3.26 on MacOSX 10.1.5 Server.
Any thoughts?
Thanks
Dmitry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all.
Can you tell me, how can I check url address?
Also I want to know error, which return.
Dmitry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e
Hello, all!
Do you know, can I print some page using PHP or
JavaScript?
Dmitry.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
14 matches
Mail list logo