> > -Original Message-
> > From: Kim Madsen [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 28, 2005 12:01 PM
> >
> > I would *never* host anything on a server with safe_mode on!
What are your reasons for this decision?
regards,
Bostjan
--
PHP General Mailing List (http://www.php.ne
Hello,
is it possible to mount CVS/SVN repository as filesystem?
regards,
Bostjan
On Tuesday 31 May 2005 15:46, M. Sokolewicz wrote:
> Marcus Bointon wrote:
> > On 31 May 2005, at 09:58, Jochem Maas wrote:
> >> Also I hear lots of good things about subversion (SVN), which is a
> >> newer altern
I do the following way to achieve portability:
For GET/POST/COOKIE variables:
1. check "magic_quotes_gpc" PHP setting - if enabled strip slashes from input
variables using stripslashes()
2. check input/anything
3. prior building SQL query escape stuff (mysql - mysql_real_escape_string(),
others
y site is vulnerable to mysql injections. I do not know how can i
> prevent this. The server is not configured or it's all about the script?
>
>
> - Original Message -
> From: "Bostjan Skufca @ domenca.com" <[EMAIL PROTECTED]>
> To:
> Sent: Wed
Probably you mean about "prevening mysql injections" - or not? :)
Bostjan
On Wednesday 11 May 2005 11:38, [EMAIL PROTECTED] wrote:
> Hi,
> This is not the proper list to put this question but i hope you can help
> me. Does anyone know a good tutorial about mysql injections?
>
> Thanks a lot for
function add ($a=1, $b=2, $c=3) {
return $a + $b + $c;
}
add(1, null, 1);
will do just fine
r.,
Bostjan
On Thursday 28 April 2005 14:16, Marek Kilimajer wrote:
> Vedanta Barooah wrote:
> > Hello All,
> > Cosider this :
> >
> > function add($a=1,$b=2,$c=3){
> > return $a + $b +
If you trace (strace on linux) the process which serves your request you
should get some idea.
On Thursday 07 April 2005 20:23, Arshavir Grigorian wrote:
> Hi,
>
> I am getting 4-5 minute delays when I call the session_start() function
> in one of my scripts, I reduced it to a small script that
Versioned libraries do not work either.
Bostjan
On Wednesday 16 March 2005 23:11, Rasmus Lerdorf wrote:
> Kim Madsen wrote:
> > -Original Message-
> > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 15, 2005 4:05 AM
> >
> >>>That's why I'd like to stick with apach
Abandon all your hopes, this will not work (unless you do some heavy
programming/patching) because modules interfere with each other. I've been
trying this for a week without success.
Still the best/easiest approach is to set up ordinary apache/PHP4 server
combination with proxy support compile
For Imapd:
make slx &&
cp imapd/imapd /usr/local/sbin/ &&
cd c-client &&
cp c-client.a /usr/local/lib/libc-client.a &&
cp rfc822.h /usr/local/include/ &&
cp mail.h /usr/local/include/ &&
cp linkage.h /usr/local/include/
For PHP:
add just '--with-imap' '--with-imap-ssl'
regards,
Bostjan
On
From system security's standpoint:
http://www.domain.net/file.inc');
echo $content;
?>
is OK, but
http://www.domain.net/file.inc');
?>
is NOT!
Nice patch, Tom, will probably use it myself too...
regards,
Bostjan
On Wednesday 02 March 2005 11:54, Markus Mayer wrote:
> Correct me if I'm wrong
Create profiling information for your application with pear's Timer class or
something similar.
regards,
Bostjan
On Saturday 26 February 2005 11:50, Gerard wrote:
> > Hi there, just for testings sake, you should get a script that figures
> > out the page generation time for a php script... As
> or if you aren't into regex (which I find confusing and still am trying
> to learn):
Read the book "Mastering Regular Expressions" or first 300 pages of it - trust
me, it is worth the labour (personal experience)!
On Wednesday 23 February 2005 07:44, Ligaya Turmelle wrote:
>
> if ((strlen(tr
Mailserver is the limit.
regards,
B
On Monday 21 February 2005 10:22, Dave wrote:
> PHP General,
>
> The Situation:
> I would like to set up a few newsletters that goes out to people
> listed in a MySQL database by sending the message from a web form
> generated by PHP. The mail will be
php_uname()
B.
On Sunday 13 February 2005 20:37, Gerard Samuel wrote:
> Mirco Blitz wrote:
> >Probably the Global Variable $SERVER_NAME helps you out.
>
> The global variable $SERVER_NAME is not available via cli
> (at least for me)
>
> >-Ursprüngliche Nachricht-
> >Von: Gerard Samuel [
$_GET[section] is slower than $_GET['section'], and quite significantly!
B.
On Saturday 12 February 2005 14:16, Jacco Ermers wrote:
> "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> > Jacco Ermers wrote:
> >> Hello everyone,
> >>
> >> I recently installed p
HTTP 1.0 does not support virtual hosts.
B.
On Friday 11 February 2005 18:04, [EMAIL PROTECTED] wrote:
> I'm using code below to fetch content from the url.
> This code was worked properly on two servers I tested but it want worked on
> the
> designated one, so after getting error message I
SHM
On Wednesday 09 February 2005 14:51, Mario Stiffel wrote:
> Hello.
>
> Is there any oppertunity to create varaibles that can accessed by more
> than one instances? I need a way to communicate between many
> php-instances. It can be, that they are not active to the same time. Is
> there any w
Last two examples are fine as connection is obviously established, it is the
communication with server that is causig an error. Read http protocol
documentation.
You do not want such a degree of control over communication you can just use
file_get_contents($url);
where $url is
"http(s)://your.
1. Does anybody know an editor that supports Smarty tags natively or via some
sort of custom extension/configuration?
2. Does anybody use Scite (for Un*x) or SciteFlash (for Windows)? I prefer
it's clean and lightweight interface (once properly configured)...
Regards,
Bostjan
On Thursday 13
r have a lookup function to return the given value.
>
> / Lars
>
> ----- Original Message -
> From: "Bostjan Skufca @ domenca.com" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, January 11, 2005 5:42 PM
> Subject: [PHP] $_GET & $_POST
Hello,
If I create form like this
...
both arrays contain appropriate variables when submitted:
::: $_GET :::
Array
(
[a] => b
)
::: $_POST :::
Array
(
[action] => modify
...
)
Now what I am interested in is if this is valid behaviour regarding HTTP
specification
$myObj, 'myInc'));
$myObj->myEcho();
?>
produces output:
1 2 2
1 2 3
On Wednesday 15 December 2004 08:28, Bostjan Skufca @ domenca.com wrote:
> Hi all,
>
> is there any internal difference between following calls (they occur inside
> some class)?
>
> #1 regis
Hi all,
is there any internal difference between following calls (they occur inside
some class)?
#1 register_shutdown_function(array($this, 'myfunc'));
#2 register_shutdown_function(array(&$this, 'myfunc'));
(note the reference operator in #2)
Or is parameter "$this" in example #1 forced to be
segfaults?
On Monday 18 of October 2004 08:03, Curt Zirzow wrote:
> * Thus wrote Bostjan Skufca @ domenca.com:
> > Hello,
> >
> > every now and then I notice in apache logs there were few segmentation
> > faults (on a daily basis) and all I am stuck with is PID of that process
&
Hello,
every now and then I notice in apache logs there were few segmentation faults
(on a daily basis) and all I am stuck with is PID of that process (which is
of course dead by then) and nothing about what it was doing. Is there any way
to figure out what request that apache process was servi
Compile another apache apache with php5 and make it listen on port 81, use
different pid file and different error_log, recompile your current apache
with modules mod_rewrite and mod_proxy and mod_proxy_http enabled. Then make
current apache forward all .php5 requests to second apache via proxy m
ed as CGI (and
> > not $_SERVER, Apache environment and loaded modules)
> >
> > lp,
> > B
> >
> > On Friday 24 of September 2004 09:01, Binay wrote:
> > > So how to check whether php is installled as Apache module or CGI
> > > mode?
> > >
It works on php 4.3.8 and 4.3.9 fine (as server module it does, it does not
work as cgi though - as page states)
lp,
Bostjan
On Friday 24 of September 2004 08:29, Binay wrote:
> Hi
>
> I don't need everything i.e encoder, optimizer, accelerator etc. What i
> need is Loader which can decode the
We use php4 and php5 with apache2 on production servers without any problem
(prefork MPM).
worker MPM could be a problem though...
regrds,
Bostjan
On Thursday 23 of September 2004 10:28, Frédéric Hardy wrote:
> Hello -
>
> I known that using apache 2 with php 4.x is not a good idea, because
>
Hello Jacob,
i've been trying to achieve the very same result but without success. I tried
even modifying sources of sapi/apache2(handler|filter)/sapi_apache2.c and
relatives but without success. Mime type can be modified without any problem
and it compiles fine but then when I tried to parse P
31 matches
Mail list logo