Lucas Prado Melo wrote:
Hello,
Some php applications store database passwords into files which can be
read by the user www-data.
So, a malicious user which can write php scripts could read those passwords.
What should I do to prevent users from viewing those passwords?
Not too much really.
The
On Jan 11, 2008 12:25 AM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> So, make all your functions return objects, and have the object have a
> method called get or index or something like that that returns the index
> requested. :)
>
> Better yet, make everything an object: String, Numeric, Array, et
Nathan Nobbe wrote:
On Jan 10, 2008 11:00 PM, Arlen Christian Mart Cuss <[EMAIL PROTECTED]>
wrote:
Hi there,
Why is it that if I try to evaluate an index of an array returned by a
function immediately, a syntax error is produced? (unexpected '[',
expecting ',' or ';')
thats hillarious, i li
On Jan 10, 2008 11:00 PM, Arlen Christian Mart Cuss <[EMAIL PROTECTED]>
wrote:
> Hi there,
>
> Why is it that if I try to evaluate an index of an array returned by a
> function immediately, a syntax error is produced? (unexpected '[',
> expecting ',' or ';')
thats hillarious, i literally brought
On Jan 10, 2008, at 8:00 PM, Arlen Christian Mart Cuss <[EMAIL PROTECTED]
> wrote:
Hi there,
Why is it that if I try to evaluate an index of an array returned by a
function immediately, a syntax error is produced? (unexpected '[',
expecting ',' or ';')
Thanks,
Arlen.
I've run into this prob
Arlen Christian Mart Cuss wrote:
Hi there,
Why is it that if I try to evaluate an index of an array returned by a
function immediately, a syntax error is produced? (unexpected '[',
expecting ',' or ';')
Thanks,
Arlen.
I asked that question years ago. It was explained to me that php does
no
Hi there,
Why is it that if I try to evaluate an index of an array returned by a
function immediately, a syntax error is produced? (unexpected '[',
expecting ',' or ';')
Thanks,
Arlen.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Some php applications store database passwords into files which can be
read by the user www-data.
So, a malicious user which can write php scripts could read those passwords.
What should I do to prevent users from viewing those passwords?
regards
--
PHP General Mailing List (http://www.ph
Hello,
on 01/10/2008 07:10 PM Douglas Temple said the following:
> Hi everyone,
>
> I'm pretty sure that this question has been asked to death in the past, but
> I'm just curoius as to whether there is a plugin that can edit Microsoft
> Office Word documents in PHP. I'm interested in this because
Hello,
on 01/10/2008 02:43 PM Humani Power said the following:
> Hi everybody.
> I have a page with 3 combo box that contains rows from an oracle database.
> What I want to do, is to make those list dependant one from another.
>
> Let say that I have the combo boxes on a page1.php, then on change
-Original Message-
From: Eric Butera [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 3:16 PM
To: Ryan H. Madison
Cc: php-general@lists.php.net
Subject: Re: [PHP] /etc/php.init changes not honored
On Jan 10, 2008 5:59 PM, Ryan H. Madison <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
On Jan 10, 2008 6:09 PM, Ryan H. Madison <[EMAIL PROTECTED]> wrote:
> Done several times in several different ways. - Same result in the
> phpinfo.php output.
>
> $ sudo apachectl graceful
> $ sudo apachectl stop
> $ sudo apachectl start
> $ sudo service httpd restart
> Stopping httpd:
On Jan 10, 2008 5:59 PM, Ryan H. Madison <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to increase upload_max_filesize beyond the 2M
> limit. I've set this in my /etc/php.ini file, but every time I look at
> the output of phpinfo(); the changes I make in /etc/php.init don't seem
>
Well,
ADODB and TYPO3 are successfull oss procjecs which uses PHP and they utilizes
globals at large.
Regards.
Sancar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Done several times in several different ways. - Same result in the
phpinfo.php output.
$ sudo apachectl graceful
$ sudo apachectl stop
$ sudo apachectl start
$ sudo service httpd restart
Stopping httpd:[ OK ]
Starting httpd:
restart the server process that is reading it, otherwise the server is using
the original settings.
You can do some override by using the .htaccess file and setting specific
things in specific folders, but if you are setting global changes, you have to
restart the server process for the changes
reload apache
"Ryan H. Madison" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to increase upload_max_filesize beyond the 2M
> limit. I've set this in my /etc/php.ini file, but every time I look at
> the output of phpinfo(); the changes I make in /etc/php.init don't se
Hello,
I am trying to increase upload_max_filesize beyond the 2M
limit. I've set this in my /etc/php.ini file, but every time I look at
the output of phpinfo(); the changes I make in /etc/php.init don't seem
to be honored. This isn't limited to upload_max_filesize, I've changed
the
On Jan 10, 2008 4:41 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Eric Butera schreef:
> > On Jan 10, 2008 4:00 PM, Stut <[EMAIL PROTECTED]> wrote:
> >> Eric Butera wrote:
> >>> Haha. Thank you for all that insightful research. Seriously though,
> >>> using globals you might already be in hell!
Jochem Maas wrote:
> that said I have no idea if there are any *nix based word doc
> manipulators, if there
> are they probably won't work with all versions of word documents - the
> file format is
> closed and changes from version to version.
OpenOffice.org (the website is the same as the name)
Eric Butera schreef:
On Jan 10, 2008 4:00 PM, Stut <[EMAIL PROTECTED]> wrote:
Eric Butera wrote:
Haha. Thank you for all that insightful research. Seriously though,
using globals you might already be in hell! =\
IMHO global variables are evil in the same way that register_globals
were. Desp
Douglas Temple schreef:
Hi everyone,
I'm pretty sure that this question has been asked to death in the past, but
I'm just curoius as to whether there is a plugin that can edit Microsoft
Office Word documents in PHP. I'm interested in this because I am trying to
put a text watermark on each page,
On Jan 10, 2008 4:00 PM, Stut <[EMAIL PROTECTED]> wrote:
> Eric Butera wrote:
> > Haha. Thank you for all that insightful research. Seriously though,
> > using globals you might already be in hell! =\
>
> IMHO global variables are evil in the same way that register_globals
> were. Despite everyt
Hi everyone,
I'm pretty sure that this question has been asked to death in the past, but
I'm just curoius as to whether there is a plugin that can edit Microsoft
Office Word documents in PHP. I'm interested in this because I am trying to
put a text watermark on each page, but doing it online, with
Eric Butera wrote:
Haha. Thank you for all that insightful research. Seriously though,
using globals you might already be in hell! =\
IMHO global variables are evil in the same way that register_globals
were. Despite everything you've probably heard it is actually possible
to create a secu
On Jan 10, 2008 3:34 PM, David Giragosian <[EMAIL PROTECTED]> wrote:
>
>
> On 1/10/08, David Giragosian <[EMAIL PROTECTED]> wrote:
> >
> >
> > On 1/10/08, Eric Butera <[EMAIL PROTECTED] > wrote:
> > > On Jan 10, 2008 2:28 PM, David Giragosian < [EMAIL PROTECTED] >
> wrote:
> > > >
> > > > On 1/10/0
On 1/10/08, David Giragosian <[EMAIL PROTECTED]> wrote:
>
> On 1/10/08, Eric Butera <[EMAIL PROTECTED]> wrote:
> >
> > On Jan 10, 2008 2:28 PM, David Giragosian <[EMAIL PROTECTED] >
> > wrote:
> > >
> > > On 1/10/08, Eric Butera <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On Jan 10, 2008 2:02 PM, P
On 1/10/08, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> On Jan 10, 2008 2:28 PM, David Giragosian <[EMAIL PROTECTED]> wrote:
> >
> > On 1/10/08, Eric Butera <[EMAIL PROTECTED]> wrote:
> > >
> > > On Jan 10, 2008 2:02 PM, Philip Thompson <[EMAIL PROTECTED]>
> wrote:
> > > > On Jan 10, 2008, at 12:48
On Jan 10, 2008 2:28 PM, David Giragosian <[EMAIL PROTECTED]> wrote:
>
> On 1/10/08, Eric Butera <[EMAIL PROTECTED]> wrote:
> >
> > On Jan 10, 2008 2:02 PM, Philip Thompson <[EMAIL PROTECTED]> wrote:
> > > On Jan 10, 2008, at 12:48 PM, Eric Butera wrote:
> > >
> > > > On Jan 10, 2008 1:33 PM, <[EM
On 1/10/08, Eric Butera <[EMAIL PROTECTED]> wrote:
>
> On Jan 10, 2008 2:02 PM, Philip Thompson <[EMAIL PROTECTED]> wrote:
> > On Jan 10, 2008, at 12:48 PM, Eric Butera wrote:
> >
> > > On Jan 10, 2008 1:33 PM, <[EMAIL PROTECTED]> wrote:
> > >> I have been using define to create a constant for the
On Jan 10, 2008 2:02 PM, Philip Thompson <[EMAIL PROTECTED]> wrote:
> On Jan 10, 2008, at 12:48 PM, Eric Butera wrote:
>
> > On Jan 10, 2008 1:33 PM, <[EMAIL PROTECTED]> wrote:
> >> I have been using define to create a constant for the link resource
> >> returned by mysql
> >> pconnect like so:
>
On Jan 10, 2008, at 12:48 PM, Eric Butera wrote:
On Jan 10, 2008 1:33 PM, <[EMAIL PROTECTED]> wrote:
I have been using define to create a constant for the link resource
returned by mysql
pconnect like so:
$PL = @mysql_pconnect("localhost", $DBUser, $DBPass);
define("SITE_DB",$PL);
Later I
On Jan 10, 2008 1:33 PM, <[EMAIL PROTECTED]> wrote:
> I have been using define to create a constant for the link resource returned
> by mysql
> pconnect like so:
>
> $PL = @mysql_pconnect("localhost", $DBUser, $DBPass);
> define("SITE_DB",$PL);
>
>
> Later I use the constant to select my database
I have been using define to create a constant for the link resource returned by
mysql
pconnect like so:
$PL = @mysql_pconnect("localhost", $DBUser, $DBPass);
define("SITE_DB",$PL);
Later I use the constant to select my databases.
mysql_select_db($SrcdbID ,SITE_DB);
This code
There are several ways of doing it and all involve javascript, some more
than others. Here are some of the problems;
. without javascript the only thing that will cause a form to be submitted
to the server for rebuilding, is clicking a submit button.
. with a minimal amount of javascript you can c
It's the exact same situation as this bug:
http://bugs.php.net/bug.php?id=24177
except, that bug was fixed back in PHP 4...
In my case, the server that works is running PHP 5.2.2, and the server that
DOESN'T work is running PHP 5.2.3! So either it's a bug that cropped up
(again) after 5.2.2, or t
2008. 01. 10, csütörtök keltezéssel 10.43-kor Humani Power ezt írta:
> Hi everybody.
> I have a page with 3 combo box that contains rows from an oracle database.
> What I want to do, is to make those list dependant one from another.
>
> Let say that I have the combo boxes on a page1.php, then on c
On Jan 10, 2008 11:43 AM, Humani Power <[EMAIL PROTECTED]> wrote:
> Hi everybody.
> I have a page with 3 combo box that contains rows from an oracle database.
> What I want to do, is to make those list dependant one from another.
>
> Let say that I have the combo boxes on a page1.php, then on chang
Hi everybody.
I have a page with 3 combo box that contains rows from an oracle database.
What I want to do, is to make those list dependant one from another.
Let say that I have the combo boxes on a page1.php, then on change the first
list box, reload the page1.php and make the selection of the se
Daniel Brown wrote:
On Jan 10, 2008 11:12 AM, Lester Caine <[EMAIL PROTECTED]> wrote:
Daniel - all the messages in this thread have a message id of
References: <[EMAIL PROTECTED]>
So correct threading will group them altogether.
If an existing message is 'replied to' even if the title is changed
On Jan 10, 2008 11:12 AM, Lester Caine <[EMAIL PROTECTED]> wrote:
> Daniel - all the messages in this thread have a message id of
> References: <[EMAIL PROTECTED]>
> So correct threading will group them altogether.
> If an existing message is 'replied to' even if the title is changed, the
> threadi
Lester Caine wrote:
Daniel Brown wrote:
On Jan 9, 2008 7:57 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
Scott Wilcox wrote:
Greetings folks,
I'm having a few issues with PHP this evening. I'm uploading various
jpg
images, doing a resize via GD, and then storing the image in a
database.
[snip!
Daniel Brown wrote:
On Jan 9, 2008 7:57 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
Scott Wilcox wrote:
Greetings folks,
I'm having a few issues with PHP this evening. I'm uploading various jpg
images, doing a resize via GD, and then storing the image in a database.
[snip!]
First, start your ow
On Jan 9, 2008 7:57 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> Scott Wilcox wrote:
> > Greetings folks,
> >
> > I'm having a few issues with PHP this evening. I'm uploading various jpg
> > images, doing a resize via GD, and then storing the image in a database.
[snip!]
> First, start your own threa
On Jan 10, 2008 4:00 AM, Liam <[EMAIL PROTECTED]> wrote:
> >> Thanks everyone for your assistance, I'll be sure to come back here and
> >> frustrate you with any future problems I have. :] :P
That's fine, and it's for that reason this list exists, but here's
a couple of pointers:
1.) Kee
John Papas schreef:
> Is there any functionality in PHP similar to closures?
>
> Are there any plans to add it..?
read the archives of the php internals or all posts pertaining to closures,
that will answer all your questions.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Is there any functionality in PHP similar to closures?
Are there any plans to add it..?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mike wrote:
yeah - well you said you can't issue an http request
although it depends - if your reporting is
javascript/browser-executable, or if it's a server-side increment. if
it's javascript, no worries, the curl request won't execute it.
On 1/10/08, Liam <[EMAIL PROTECTED]> wrote:
mike wro
yeah - well you said you can't issue an http request
although it depends - if your reporting is
javascript/browser-executable, or if it's a server-side increment. if
it's javascript, no worries, the curl request won't execute it.
On 1/10/08, Liam <[EMAIL PROTECTED]> wrote:
> mike wrote:
> > you'r
mike wrote:
you're still issuing an HTTP request to get it, or executing perl on
the command line...
if it's a true non-profit 503(c)(3), you could offer someone the
chance to write off their services... non-profits may not have a lot
of money to spare but they do typically have money to fund th
you're still issuing an HTTP request to get it, or executing perl on
the command line...
if it's a true non-profit 503(c)(3), you could offer someone the
chance to write off their services... non-profits may not have a lot
of money to spare but they do typically have money to fund things in
the or
51 matches
Mail list logo