On 6/10/07, tedd <[EMAIL PROTECTED]> wrote:
>Tedd:
>
>Please don't spread the code of your Audio CAPTCHA, we had a big
>discussion about it, and we concluded that it was quite easy to crack.
>I remember i've cracked some other CAPTCHAs, but if you still think
>your Audio CAPTCHA isn't hard to cra
On 6/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I agree with Tijnema he's hit the nail on the head. And the inability to handle
daylight time really is a big potential snag - who in North America isn't on
daylight time at some point in the year? If the timezone data is unreliable
the
Trimmed elements in the array. I still can't get it to store in central
table. No MySQL errors either. :-(
(Also, all form values are escaped.) Strings compared in if condition are
now identical.
newcode
===
theFileArray = file('C:\htdocs\folder1\f
OK, I trimmed the elements in the array. using var_dump() it shows strings
are identical, however nothing is storing in DB still.
view new code
=//doesn't store in central still, also
shows no MySQL errors.
$theFileArray = file('C:\htdocs\folder1\file.txt');
kvigor wrote:
Sorry I re-wrote for problem clarity.
FYI whenever I do a var_dump it always shows $stringOne as being 2
characters less
e.g.
var_dump($foodlandPA[45]);
var_dump($storeInfo);
string(31) "Wellston Foodland Wellston OH " string(29) "Wellston Foodland
Wellston OH"
This would be
Sorry I re-wrote for problem clarity.
FYI whenever I do a var_dump it always shows $stringOne as being 2
characters less
e.g.
var_dump($foodlandPA[45]);
var_dump($storeInfo);
string(31) "Wellston Foodland Wellston OH " string(29) "Wellston Foodland
Wellston OH"
""kvigor"" <[EMAIL PROTECTED]>
kvigor wrote:
> Hello,
>
> I'm using the file function create an array. I'm using a value from a
> form to see if it matches in elements in the array.
>
> My problem is I expect the condition to be true but info but my DB isn't
> populated as I in the right DB...
> =Code
> Begi
Hello,
I'm using the file function create an array. I'm using a value from a form
to see if it matches in elements in the array.
My problem is I expect the condition to be true but info but my DB isn't
populated as I in the right DB...
=Code
Begins
On Sun, June 10, 2007 3:19 pm, tedd wrote:
> Do graphic CAPTCHA's really work? I dunno, but from this it appears
> not.
Properly implemented, they work great at thwarting 'bots (and the
visually impaired) unless you have a determined attacker with a fair
amount of time on their hands.
If you have
On Sat, June 9, 2007 9:04 pm, Robert Cummings wrote:
> On Sun, 2007-06-10 at 01:02 +0100, brice wrote:
>> Thanks a lot guys!
>>
>> Eventually Richard hit on the issue:
>>
>> >require(".\foo.inc.php"); ?>#
>> >
>> >If you put .\ in there, then maybe PHP thinks you mean to NOT use
>> the
>> >include_
On Sat, June 9, 2007 10:27 pm, Dave M G wrote:
> With a little help from the web, and help from this list, I have a
> simple CAPTCHA image that works within the content system I'm
> building.
>
> But it's *really* simple. Basically white text on a black background,
> with a couple of white lines to
On Sat, June 9, 2007 11:15 pm, Robert Cummings wrote:
> On Thu, 2007-06-07 at 23:33 +0100, Colin Guthrie wrote:
>> Robert Cummings wrote:
>> > On Thu, 2007-06-07 at 16:36 -0400, Daniel Brown wrote:
>> >> Are you using Amarok on Windows, Linux, or other? I have
>> Amarok
>> >> 1.3.1 on KDE 3.4.
On Sat, June 9, 2007 11:53 pm, Christian Cantrell wrote:
> I'm getting this error in my Apache log file, and I can't figure out
> why:
>
> Undefined index: password in /path/to/file.php on line 82
>
> Some searching on Google turned up a bunch of questions, but no
> answers.
> Any idea what this
On Sun, June 10, 2007 12:48 am, Robert Cummings wrote:
> On Sun, 2007-06-10 at 13:36 +0800, Crayon Shin Chan wrote:
>> On Sunday 10 June 2007 04:05, Robert Cummings wrote:
>>
>> > Funny how the solution often presents itself after you make your
>> > problem public *lol* :) Wonder if it falls under
On Sun, June 10, 2007 12:08 pm, tedd wrote:
> At 1:12 AM +0500 6/10/07, Sukhwinder Singh wrote:
>>-snip-
>>Could anyone please provide me a solution which works using php 4.4.x
>>
>>Sukhwinder Singh
>
> Instead of:
>
> imagecolortransparent($img_resized, $transparent);
>
> try:
>
> imagecolortransp
Is PHP sending the correct path in it headers for the cookie?
Use FireFox + LiveHTTPHeader to find out.
Is your BROWSER correctly honoring the path?
It shouldn't be sending back the cookie for app1 in app2, but, if it
does, PHP won't know it wasn't supposed to, I don't think...
On Sun, June 10, 2
On Sun, June 10, 2007 9:06 am, Roy W wrote:
> My host company must have an installation/configuration issue.
>
> Variables from forms are not being passed to the php scripts that are
> sent
> via
>
> Has anyone heard of this and know of the fix?
Yes, lots.
Usually right after an upgrade to PHP v
Hello Kelly,
u I don't think there is any lasting value or time saving in changing bad
code, instead, my suggestion is to throw out the "badly written" code
altogether and start with something else you can actually work with.
... but if you're going to keep it:
Following is a description of
if (preg_match("|\r\n|", $_POST['email'])){
die("Spammer.");
}
if (preg_match("|\r\n|", $_POST['subject'])){
die("Spammer.");
}
//and so on for anything you put into headers.
//body can contain newlines, of course.
On Sat, June 9, 2007 8:22 pm, Austin C wrote:
> how can I tell them not to incl
Ah, you're right. Thanks, Tijnema.
I'm just getting my feet wet with PHP, and you guys are a great help!
Christian
On 6/10/07, Tijnema <[EMAIL PROTECTED]> wrote:
On 6/10/07, Christian Cantrell <[EMAIL PROTECTED]> wrote:
> I'm getting this error in my Apache log file, and I can't figure out
w
I agree with Tijnema he's hit the nail on the head. And the inability to handle
daylight time really is a big potential snag - who in North America isn't on
daylight time at some point in the year? If the timezone data is unreliable
then no thinking developer will use it. The question then beco
On Sun, 2007-06-10 at 16:19 -0400, tedd wrote:
> > > On the other hand, if what you're trying to protect has no real
> >> significance, then no one is going to brother breaking your CAPTCHA.
> >
> >Wrong. If you are protecting something completely worthless and your
> >using a popular blog or for
On Sun, 2007-06-10 at 14:50 -0500, Roy W wrote:
> Here is the code:
>
> index.html
>
>
>
>
> Your name:
>
> Cost of a lunch:
>
> Days Buying Lunch:
>
>
>
>
>
>
>
> index.php
>
>
> $Today = date("1 F d, Y");
>
> ?>
>
>
>
> Today's Dat
At 12:42 AM +0500 6/11/07, Sukhwinder Singh wrote:
try:
imagecolortransparent($img,imagecolorat($img,0,0));
Look-up imagecolorat().
I had tried it earlier. As I have written in my other emails. I have
tried almost all solutions. I am really wondering that no one has
every faced any such pro
Tedd:
Please don't spread the code of your Audio CAPTCHA, we had a big
discussion about it, and we concluded that it was quite easy to crack.
I remember i've cracked some other CAPTCHAs, but if you still think
your Audio CAPTCHA isn't hard to crack, then just let me know and i'll
start cracking i
> On the other hand, if what you're trying to protect has no real
significance, then no one is going to brother breaking your CAPTCHA.
Wrong. If you are protecting something completely worthless and your
using a popular blog or forum software then you will undoubtedly inherit
it's deficiencie
Here is the code:
index.html
Your name:
Cost of a lunch:
Days Buying Lunch:
index.php
Today's Date:
$Today\n");
print("$YourName, you will be out ");
print($CostOfLunch * $DaysBuyingLunch);
print(" dollars this week.\n");
?>
try:
imagecolortransparent($img,imagecolorat($img,0,0));
Look-up imagecolorat().
I had tried it earlier. As I have written in my other emails. I have tried
almost all solutions. I am really wondering that no one has every faced any
such problem.
I'll try what you have suggested. But I thin
If the scripts are using a common file, [e.g., config, functions, etc.] you
could define two constants.
define("ORG_FILE", __FILE__);
define("ORG_LINE", __LINE__);
barophobia wrote:
Hello,
I know that __FILE__ and __LINE__ report on the file and line that
they occur in. What I want is to be ab
On Sunday 10 June 2007, tedd wrote:
> At 10:05 PM -0400 6/9/07, Robert Cummings wrote:
> >On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
> >> You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
> >
> >Must be a zombie then because I see it running almost EVERYWHERE.
> >
At 1:12 AM +0500 6/10/07, Sukhwinder Singh wrote:
-snip-
Could anyone please provide me a solution which works using php 4.4.x
Sukhwinder Singh
Instead of:
imagecolortransparent($img_resized, $transparent);
try:
imagecolortransparent($img,imagecolorat($img,0,0));
Look-up imagecolorat().
C
On 6/10/07, tedd <[EMAIL PROTECTED]> wrote:
At 12:27 PM +0900 6/10/07, Dave M G wrote:
>Tips on what differentiates a good CAPTCHA from a bad one would also
>be really sweet.
Dave:
From a visual disability standpoint, all graphic CAPTCHA's are bad.
From the not-disabled standpoint, most inte
At 10:05 PM -0400 6/9/07, Robert Cummings wrote:
On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
Must be a zombie then because I see it running almost EVERYWHERE.
Cheers,
Rob.
Rob:
You raise an excellent and ob
On Sun, 2007-06-10 at 12:29 -0400, tedd wrote:
>
> From a visual disability standpoint, all graphic CAPTCHA's are bad.
Sure, but from the perspective of protecting visitors from hard-core
porn link, sex toys links, scams, etc etc, it has strong merit. Trust
me, I've seen sites get completely mess
On Sun, 2007-06-10 at 11:01 -0500, Larry Garfield wrote:
> On Saturday 09 June 2007, Robert Cummings wrote:
> > On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
> > > You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
> >
> > Must be a zombie then because I see it running
On Sun, 2007-06-10 at 17:09 +0900, Dave M G wrote:
> Robert ,
>
> Thank you for replying.
> > No, PHP can do it. If you can work with pixels (and you can) then you
> > can do any advanced mutation of an image... the only issue is how long
> > it takes to perform the mutations.
> >
> That's good
At 12:27 PM +0900 6/10/07, Dave M G wrote:
Tips on what differentiates a good CAPTCHA from a bad one would also
be really sweet.
Dave:
From a visual disability standpoint, all graphic CAPTCHA's are bad.
From the not-disabled standpoint, most intelligible graphic CAPTCHA's
that can be read, c
On 6/10/07, Larry Garfield <[EMAIL PROTECTED]> wrote:
On Saturday 09 June 2007, Robert Cummings wrote:
> On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
> > You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
>
> Must be a zombie then because I see it running almost EVER
On Saturday 09 June 2007, Robert Cummings wrote:
> On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote:
> > You should get a new server that supports PHP 5.2.1. PHP 4 is dead.
>
> Must be a zombie then because I see it running almost EVERYWHERE.
Yep, it is. PHP 4 is trying to eat your brains
On 6/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Thu, 2007-06-07 at 23:33 +0100, Colin Guthrie wrote:
> Robert Cummings wrote:
> > On Thu, 2007-06-07 at 16:36 -0400, Daniel Brown wrote:
> >> Are you using Amarok on Windows, Linux, or other? I have Amarok
> >> 1.3.1 on KDE 3.4.2 on M
On 6/10/07, Tijnema <[EMAIL PROTECTED]> wrote:
On 6/10/07, Roy W <[EMAIL PROTECTED]> wrote:
> My host company must have an installation/configuration issue.
>
> Variables from forms are not being passed to the php scripts that are sent
> via
>
> Has anyone heard of this and know of the fix?
I d
On 6/10/07, Roy W <[EMAIL PROTECTED]> wrote:
My host company must have an installation/configuration issue.
Variables from forms are not being passed to the php scripts that are sent
via
Has anyone heard of this and know of the fix?
I don't think that's possible, please show us part of your
My host company must have an installation/configuration issue.
Variables from forms are not being passed to the php scripts that are sent
via
Has anyone heard of this and know of the fix?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My host company must have an installation/configuration issue.
Variables from forms are not being passed to the php scripts that are sent
via
Has anyone heard of this and know of the fix?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/10/07, Christian Cantrell <[EMAIL PROTECTED]> wrote:
I'm getting this error in my Apache log file, and I can't figure out why:
Undefined index: password in /path/to/file.php on line 82
Some searching on Google turned up a bunch of questions, but no answers.
Any idea what this warning mess
On 6/9/07, Sukhwinder Singh <[EMAIL PROTECTED]> wrote:
I have tried many ways to resize a transparent gif but it works on my local
server which has php 5.1.6 but none works using php 4.4.x
Also the below works when using imagecopyresized and not imagecopyresampled.
I have no clue why that is the
On 6/10/07, Stefanos Harhalakis <[EMAIL PROTECTED]> wrote:
On Sunday 10 June 2007, Tijnema wrote:
> To get back to the point, I think that the timezone should be defined
> on what time it actually is at his PC, and what time it is on
> time.nist.gov for example, and not lookng at some setting...
Am I missing something obvious?
I am so sorry - I was missing something obvious.
At some early stage of my test, I had a /index.php on my test website
doing a: session_start()
And the apparently made my session work in both sub directories and
thus poisoning my test result.
After closing my br
On Sunday 10 June 2007, Tijnema wrote:
> To get back to the point, I think that the timezone should be defined
> on what time it actually is at his PC, and what time it is on
> time.nist.gov for example, and not lookng at some setting... Timezone
> setting is often wrong, people just update their t
Hi,
I am having some trouble with my sessions cookie_path - it doesn't
seem to work - or maybe I am not working, I don't know at the moment
:)
Apache 2.2.3 and PHP 5.3.2 as module.
What I want to achieve, is 2 separate sessions in the same website -
in different directories of course.
My test
On 6/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Well, there is some use for a correct user timezone. I wrote php code that
offers a different css file depending on the server time of day. So for example
at noon it would use nice bright colors, and at midnight blacks and red, and
... y
Robert ,
Thank you for replying.
No, PHP can do it. If you can work with pixels (and you can) then you
can do any advanced mutation of an image... the only issue is how long
it takes to perform the mutations.
That's good to know. I think I can live with a little server time to
generate the i
On Sunday 10 June 2007, Tijnema wrote:
> On 6/9/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> > On Sat, June 9, 2007 8:06 am, Stefanos Harhalakis wrote:
> > > Timezone: +0200
> > >
> > > that will specify their timezone offset. This way scripts will be able
> > > to
> > > provide appropriate date/
53 matches
Mail list logo