Hi gang:
I have a question regarding php and security. My apologies beforehand if this
is common knowledge to everyone except me.
I have a php application sitting at root level on one of my servers who's sole
function is to send me an email whenever it's run. So, whenever I reference
this
tedd wrote:
Hi gang:
I have a question regarding php and security. My apologies beforehand if this
is common knowledge to everyone except me.
I have a php application sitting at root level on one of my servers who's sole
function is to send me an email whenever it's run. So, whenever I
tedd a écrit :
Hi gang:
Hi
I have a question regarding php and security. My apologies beforehand if this
is common knowledge to everyone except me.
I have a php application sitting at root level on one of my servers who's sole
function is to send me an email whenever it's run. So,
nicolas figaro wrote:
tedd a écrit :
tedd,
let us know what your logs say.
but it's not a very good idea to let the script run without any control.
you can be quickly flooded by mail from this script if it's
called very often during the week-end.
dude, what's a week-end? wait let me
This one time, at band camp, D. Dante Lorenso [EMAIL PROTECTED] wrote:
Is SPL meant to be used? If so, is it experimental? Is it documented?
Should I stay away from SPL for production code? What's the official word?
Officially SPL is part of PHP. It provides a standard interface for
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for test_a9393.htm, but not for 9393.htm as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a hint why the regex also is true for text
On 01/06/06, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for test_a9393.htm, but not for 9393.htm as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me
Dave Goodchild schrieb:
On 01/06/06, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for test_a9393.htm, but not for 9393.htm as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm
[snip]
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for test_a9393.htm, but not for 9393.htm as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a hint why the regex also is true for
On 01/06/06, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for test_a9393.htm, but not for 9393.htm as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a
Robin Vickery schrieb:
On 01/06/06, Merlin [EMAIL PROTECTED] wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for test_a9393.htm, but not for 9393.htm as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm
Here's what you can do:
Have a timestamp of the last e-mail stored on a file. If time() - that
timestamp 600 (10 minutes) then don't send the e-mail.
When sending it, do this
$server_array = print_r($_SERVER, true);
and use the $server_array variable to obtain some info regarding the
client
At 4:56 PM +1000 6/1/06, Chris wrote:
If you can, check your apache access logs and that will tell you the ip of the
person who accessed that page.. will give you a starting point anyway.
Thanks -- have done, see below.
At 8:59 AM +0200 6/1/06, nicolas figaro wrote:
However, the app isn't
Hello,
maybe someone know what can be the problem and how to solve it. It appears
on startup of Apache, WinXP.
Apache doesn't start.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ilja Polivanovas wrote:
Hello,
maybe someone know what can be the problem and how to solve it. It
appears on startup of Apache, WinXP.
Apache doesn't start.
fron a quick google I would hazard a guess that your install is f***ed
due to an earlier apache/php installation.
either that or
At 12:55 PM +0100 6/1/06, André Medeiros wrote:
When sending it, do this
$server_array = print_r($_SERVER, true);
and use the $server_array variable to obtain some info regarding the
client that's causing the requests.
Thank you -- that was a most excellent idea.
tedd
--
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of the messages get to the destination. I wrote a
On 6/1/06, Aaron Todd [EMAIL PROTECTED] wrote:
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of
I get this sometimes, it often means I have overlooked something:
Fatal error: Access to undeclared static property:
AreaAgendaItem::$extraFields
EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to use OO
then
all of a sudden the OO nuthouse runs out to put a
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is submitted it sends an
At 4:01 PM +0200 6/1/06, Jochem Maas wrote:
I get this sometimes, it often means I have overlooked something:
Fatal error: Access to undeclared static property:
AreaAgendaItem::$extraFields
EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to use OO
then
all of a
[snip]
RANT
[/snip]
ROFLMMFAO! You have never programmed in C++ have you?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Merlin wrote:
Hi there,
I do work on following regex:
^(.*)_a[0-9](.*).htm$
This should be valid for test_a9393.htm, but not for 9393.htm as
ther is no leading _a infront of the number.
Unfortunatelly this also works for the 9393.htm file. Can somebody give
me a hint why the regex also is
Jochem Maas wrote:
I get this sometimes, it often means I have overlooked something:
Fatal error: Access to undeclared static property:
AreaAgendaItem::$extraFields
EVERYWHERE in php an unset var causes an E_NOTICE, but if you dare to
use OO then
all of a sudden the OO nuthouse runs out
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form. When
I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the selected one, but my browser
John Nichel wrote:
Do what I do, and don't do OO. ;)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form.
When I modify the options, some are in text, others
in textarea, and some are in select options. Now wat I did is make the
current value be the
On 01/06/06, John Meyer [EMAIL PROTECTED] wrote:
Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and modify data through an HTML form.
When I modify the options, some are in text, others
in textarea, and some are in select options.
John Meyer wrote:
John Nichel wrote:
Do what I do, and don't do OO. ;)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
Actually, the company I work for operates multiple sites which all
On Thu, 2006-06-01 at 15:01, John Meyer wrote:
John Nichel wrote:
Do what I do, and don't do OO. ;)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and ignore dogma? Hmm, what a concept!
Other than basic inheritance and the
On Thu, 01 Jun 2006 13:06:24 -0600, John Meyer [EMAIL PROTECTED] wrote:
Martin Marques wrote:
doesn't seem to get it right. Here is the HTML output:
SELECT name=cargo
OPTION value=8Profesor titular/OPTION
OPTION value=7Profesor asociado/OPTION
OPTION value=6Profesor adjunto/OPTION
Ave,
I¹m stuck on a problem here.
I have a file manager kind of application and I¹m trying to add the
functionality to delete multiple files.
Basically, there¹s a bunch of rows generated dynamically. Each row has a
checkbox for ³Delete² option, and a hidden field which contains the name of
the
On Thursday 01 June 2006 12:58, Rahul S. Johari wrote:
Ave,
I¹m stuck on a problem here.
I have a file manager kind of application and I¹m trying to add the
functionality to delete multiple files.
Basically, there¹s a bunch of rows generated dynamically. Each row has a
checkbox for
Ave,
I spent 3 hours trying to find or develop a solution for this problem... And
believe it or not, within 3 minutes of sending the problem to the mailing
list, I actually generated a solution!! Ray, you’re spot on with what’s
actually happening, but this is what I did to resolve it...
Here’s
On Thursday 01 June 2006 13:15, Rahul S. Johari wrote:
Ave,
I spent 3 hours trying to find or develop a solution for this problem...
And believe it or not, within 3 minutes of sending the problem to the
mailing list, I actually generated a solution!! Ray, you’re spot on with
what’s actually
If you have already visited the page, and chosen another option,
Firefox remembers your choice for you.
Quit Firefox and start over, and it should work
On Thu, June 1, 2006 1:53 pm, Martin Marques wrote:
Sorry for the OT, but this is PHP output anyway :-)
I have a bunch of code to input and
Ray,
Interestingly, I don't' allow special characters in File Names for files
being uploaded to the File Manager. So that problem won't occur.
Thanks.
On 6/1/06 4:23 PM, Ray Hauge [EMAIL PROTECTED] wrote:
On Thursday 01 June 2006 13:15, Rahul S. Johari wrote:
Tad different, but that will
On Thu, June 1, 2006 4:56 am, Merlin wrote:
^(.*)_a[0-9](.*).htm$
Don't know what it will help, but you need \\.htm in PHP to get \.htm
in PCRE to escape the . in the extension.
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Thu, June 1, 2006 3:52 am, Kevin Waterson wrote:
This one time, at band camp, D. Dante Lorenso [EMAIL PROTECTED]
wrote:
Is SPL meant to be used? If so, is it experimental? Is it
documented?
Should I stay away from SPL for production code? What's the
official word?
Officially SPL is
On Thu, June 1, 2006 1:18 am, tedd wrote:
However, the app isn't reference or linked anywhere on the site, but
it still occasionally runs all by itself.
My question is -- what's triggering it?
Bad Guys are probably trying to poke at your site, finding URLs at
random, regardless of links,
Open up a DOS shell and try to start Apache by hand.
On Thu, June 1, 2006 7:42 am, Ilja Polivanovas wrote:
Hello,
maybe someone know what can be the problem and how to solve it. It
appears
on startup of Apache, WinXP.
Apache doesn't start.
--
Using Opera's revolutionary e-mail client:
Robert Cummings wrote:
On Thu, 2006-06-01 at 15:01, John Meyer wrote:
John Nichel wrote:
Do what I do, and don't do OO. ;)
there an 'oo baby' joke in there somewhere :-)
In other words, do what works, realizing that 99 percent of the time
that you're doing indivdual sites, and
Jay Blanchard wrote:
[snip]
RANT
[/snip]
ROFLMMFAO! You have never programmed in C++ have you?
er no - I have this C++ book on my shelf that I keep avoiding though :-P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
On Thu, June 1, 2006 3:52 am, Kevin Waterson wrote:
This one time, at band camp, D. Dante Lorenso [EMAIL PROTECTED]
wrote:
Is SPL meant to be used? If so, is it experimental? Is it
documented?
Should I stay away from SPL for production code? What's the
official word?
Hi guys I'm in a predictament, this is why:
How can I retrieve the content of some of the html code in an url. Its
something like this, there is a URL that have an OPTION that shows a x
number of options and it has a name y, how can I access this html output
retrieve the options and name of the
On Thu, 2006-06-01 at 17:43, Jochem Maas wrote:
Robert Cummings wrote:
On Thu, 2006-06-01 at 15:01, John Meyer wrote:
John Nichel wrote:
Do what I do, and don't do OO. ;)
there an 'oo baby' joke in there somewhere :-)
In other words, do what works, realizing that 99 percent
Robert Cummings wrote:
On Thu, 2006-06-01 at 17:43, Jochem Maas wrote:
...
Other than basic inheritance and the namespace features provided by
classes, I don't see much else that is critically useful. There's was a
strange push for all kinds of advanced OO features in PHP5 and somehow
On Thu, 2006-06-01 at 19:14, Jochem Maas wrote:
Robert Cummings wrote:
Ahh yes, I do like the elegance of prototypes too. They're a different
kind of beast, but a very flexible one.
the more I get in it the pretty it gets - javascript doesn't just give you a
revolver to shoot yourself
Hi All
I am in the process of cleaning up an application that was left half finished. I
am fairly new to PHP so I am seeking the wisdom of the community to help with a
little problem.
In many cases I need to build command strings to be sent to a backend system.
The strings have to contain a
At 9:46 AM +1000 6/2/06, Richard Luckhurst wrote:
Hi All
I am in the process of cleaning up an application that was left half finished.
I
am fairly new to PHP so I am seeking the wisdom of the community to help with a
little problem.
In many cases I need to build command strings to be sent to a
Hello everyone, I am programming a blog, and most of it is done, except I
have one issue. When I am typing in the form (before I click submit) and I
click the neter key to make a space, the MySQL database does not recognize
that space. How do I make it recognize it?
Aaron Todd wrote:
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is
Ministério Público wrote:
Hi guys I'm in a predictament, this is why:
How can I retrieve the content of some of the html code in an url. Its
something like this, there is a URL that have an OPTION that shows a x
number of options and it has a name y, how can I access this html output
retrieve
George Babichev wrote:
Hello everyone, I am programming a blog, and most of it is done, except I
have one issue. When I am typing in the form (before I click submit) and I
click the neter key to make a space, the MySQL database does not recognize
that space. How do I make it recognize it?
George Babichev wrote:
Ok. well I looked more deeply into the issue, and I noticed that PHP My
Admin does recognize that there are spaces. So if I click edit on PMA,
it displays everything exactly liked I typed it. So why does my program
not display it? This is the code I use
Then you're not
Ok, I sent it to everyone and you. Now can you answer my question please?
I type in
1
2
into my form in the program that i made, then when I view it, it shows
1 2
BUT if I check it in PHP My Admin it displays
1
2
So why is my program not showing those spaces?
On 6/1/06, Chris [EMAIL
George Babichev wrote:
Ok, I sent it to everyone and you. Now can you answer my question please?
I type in
1
2
into my form in the program that i made, then when I view it, it shows
1 2
BUT if I check it in PHP My Admin it displays
1
2
The answer is to change this:
? echo .$row['post'].
Chris wrote:
George Babichev wrote:
Hello everyone, I am programming a blog, and most of it is done, except I
have one issue. When I am typing in the form (before I click submit) and I
click the neter key to make a space, the MySQL database does not recognize
that space. How do I make it
Awesome, thank you so much! It works!
On 6/1/06, Chris [EMAIL PROTECTED] wrote:
George Babichev wrote:
Ok, I sent it to everyone and you. Now can you answer my question
please?
I type in
1
2
into my form in the program that i made, then when I view it, it shows
1 2
BUT if I check it
Robert Cummings wrote:
Well there was a segfault, but that's fixed now, now the warning is
thrown because of some purist attitude that says it's incorrect to pass
a literal to a reference expecting parameter... I can see how that's an
issue in C with pointers, or in a strongly type language
Robert Cummings wrote:
On Thu, 2006-06-01 at 19:14, Jochem Maas wrote:
Robert Cummings wrote:
Ahh yes, I do like the elegance of prototypes too. They're a different
kind of beast, but a very flexible one.
the more I get in it the pretty it gets - javascript doesn't just give you a
revolver
61 matches
Mail list logo