hi,
I just started to write a simple PHP extension "hello", but encountered
some problems. I followed tutorials step by step:
1. ./ext_skel --extname=hello
2. modified hello.c and php_hello.h, and wrote function hello_world() which
simply return a string "hello world".
3. phpize
4. ./configure ; m
Hi, all
When you ask for a captcha, I'd first ask what do you want to use it for.
If you read the first lines of Wikipedia it has been developed to differ
between a real user and a bot.
If you'd now say that you want to use it to protect spam in a formula I'd
give you the same explanation that yo
On Fri, Feb 17, 2012 at 3:40 PM, Donovan Brooke wrote:
> Hello,
>
> Does anyone know of a basic (open source or freeware) form captcha system
> for PHP?
>
> TIA,
> Donovan
>
>
>
>
> --
> D Brooke
>
Hi,
There are plenty of free PHP captcha scripts out there. Just google
"captcha PHP". Securimage
Hi,
have you tried reCAPTCHA by Google?
You can find the PHP library on the website.
Easy to use, customizable and free, but nothing to install on your server (no
open source)
Best regards,
Patrick Hafner
Am 17.02.2012 um 05:40 schrieb Donovan Brooke :
> Hello,
>
> Does anyone know of a bas
Hello,
Does anyone know of a basic (open source or freeware) form captcha
system for PHP?
TIA,
Donovan
--
D Brooke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Elbert F wrote:
SCRIPT_NAME is a server side path, try REQUEST_URI. This includes the query
string but it's easy to remove.
Elbert
http://swiftlet.org
Hi, I thought I should say that server side SCRIPT_NAME seems to be fine
for me in this case. Thanks for the input.
Donovan
--
D Brooke
Am 16.02.12 22:37, schrieb Marc Guay:
> 2) The range of possibilities are broader than I indicated. They would
> like to be able to enter conditions of all sorts. i.e. ($x / $y) > 0.5
> (($a+$b+$c) / $d) < .75 etc. If you have any suggestions on how to
> increase the security while maintaning the f
On Thu, Feb 16, 2012 at 10:37 PM, Marc Guay wrote:
>> It shouldn't be that hard to parse this type of expressions.
>
> I appreciate your concern, and will do my best to validate the input,
> but there are two things:
>
> 1) The application will only be used by selected users.
> and
Even selected
On Thu, Feb 16, 2012 at 10:56 PM, Maciek Sokolewicz
wrote:
> On 16-02-2012 03:56, John Taylor-Johnston wrote:
>>
>> I'm a teacher. I want to use PHP to interface with Google and see if a
>> student has plagiarized.
>>
>> I don't see many open-source projects on the subject, so I want to
>> create
On Thu, Feb 16, 2012 at 04:37:18PM -0500, Marc Guay wrote:
> > It shouldn't be that hard to parse this type of expressions.
>
> I appreciate your concern, and will do my best to validate the input,
> but there are two things:
>
> 1) The application will only be used by selected users.
> and
> 2)
On 16-02-2012 03:56, John Taylor-Johnston wrote:
I'm a teacher. I want to use PHP to interface with Google and see if a
student has plagiarized.
I don't see many open-source projects on the subject, so I want to
create my own script.
How can I use PHP to interface with Google and see if this te
> It shouldn't be that hard to parse this type of expressions.
I appreciate your concern, and will do my best to validate the input,
but there are two things:
1) The application will only be used by selected users.
and
2) The range of possibilities are broader than I indicated. They
would like
On Thu, Feb 16, 2012 at 9:49 PM, Marc Guay wrote:
>> I just added the return statement and the semicolon, because the error was
>> complaining about it not being a proper PHP statement basically.
>
> That's beautiful, thanks. I just stumbled across a forum post that
> said it wasn't possible and
> I just added the return statement and the semicolon, because the error was
> complaining about it not being a proper PHP statement basically.
That's beautiful, thanks. I just stumbled across a forum post that
said it wasn't possible and was about to give up for the day.
Marc
--
PHP General
On Thu, 2012-02-16 at 15:38 -0500, Marc Guay wrote:
> > It sounds like you have a string "$x < $y" in the database that you then
> > replace into a string "4 < 5" which you want to test a conditional on. If
> > this is the case, why are you storing conditionals in the database?
>
> The user will
> It sounds like you have a string "$x < $y" in the database that you then
> replace into a string "4 < 5" which you want to test a conditional on. If
> this is the case, why are you storing conditionals in the database?
The user will be able to construct their own query strings, it's
complicated
Can you explain a more clearly what it is you're trying to accomplish?
It sounds like you have a string "$x < $y" in the database that you then
replace into a string "4 < 5" which you want to test a conditional on. If this
is the case, why are you storing conditionals in the database?
Regards,
Hi folks,
I've constructed simple conditions based on DB data and would like to
actually evaluate them with PHP. For example, the coded string "$x <
$y" has been str_replaced into "4 < 5", but now I would actually like
to use that string in an if() statement. I tried eval() but got an
unhelpful
Sort of off topic but here's a list of existing services (some of
which are free) in case you don't want to reinvent the wheel.
http://www.justfitstudio.com/articles/plagiarism-detection.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is the first time I've been surprised that a Drupal module
existed for something...
http://drupal.org/project/authenticate
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2012/2/16 John Taylor-Johnston :
> Can I use PHP to interface with Google? Any possible examples of this?
There's Google Custom Search API:
http://code.google.com/intl/nl-NL/apis/customsearch/v1/overview.html
It interfaces in JSON, and PHP has json functions included since PHP 5.2. [1].
It's free
On Thu, 2012-02-16 at 14:50 -0500, John Taylor-Johnston wrote:
> I'm a top quoter.
> I would parse the text first. Phrase by phrase, or phrase segments.
> Then spit out a report.
>
> Marc Guay wrote:
> > If that's not good enough, can you explain how you would like it to
> > function? Would the
On Thu, 2012-02-16 at 14:47 -0500, John Taylor-Johnston wrote:
> Can I use PHP to interface with Google? Any possible examples of this?
>
> Let's start with the first step. :)
>
> I'm sure proprietary sites like http://www.compilatio.net/ for example
> connects to search engines. They cannot be
I'm a top quoter.
I would parse the text first. Phrase by phrase, or phrase segments.
Then spit out a report.
Marc Guay wrote:
If that's not good enough, can you explain how you would like it to
function? Would the whole paper be scanned phrase-by-phrase for
matches and then spit out a report?
Can I use PHP to interface with Google? Any possible examples of this?
Let's start with the first step. :)
I'm sure proprietary sites like http://www.compilatio.net/ for example connects
to search engines. They cannot be crawling the net too. That would be crazy.
(I'm a top quoter. It's more i
> If you use the advanced search
> tools you can choose "verbatim" and see if the exact phrase matches.
Just correcting myself here, the way to do this is by simply wrapping
the words in quotes "like this, hey now". The verbatim tool is
something else.
Marc
--
PHP General Mailing List (http://w
On Wed, 2012-02-15 at 21:56 -0500, John Taylor-Johnston wrote:
> I'm a teacher. I want to use PHP to interface with Google and see if a
> student has plagiarized.
>
> I don't see many open-source projects on the subject, so I want to
> create my own script.
>
> How can I use PHP to interface w
> I'm a teacher. I want to use PHP to interface with Google and see if a
> student has plagiarized.
Hi. Why not just enter the suspected text into a search engine and
see if any close matches come up? If you use the advanced search
tools you can choose "verbatim" and see if the exact phrase matc
I'm a teacher. I want to use PHP to interface with Google and see if a
student has plagiarized.
I don't see many open-source projects on the subject, so I want to
create my own script.
How can I use PHP to interface with Google and see if this text exists
on the internet?
If this is possib
On Thu, Feb 16, 2012 at 5:02 PM, Daniel Brown wrote:
> On Thu, Feb 16, 2012 at 10:57, Matijn Woudt wrote:
>>
>> What if the system PHP is running on not the same one as the one that
>> is going to read the plain-text/CSV/.. files? I don't think it is good
>> practice to use it when writing to fil
On Thu, Feb 16, 2012 at 10:57, Matijn Woudt wrote:
>
> What if the system PHP is running on not the same one as the one that
> is going to read the plain-text/CSV/.. files? I don't think it is good
> practice to use it when writing to files. I often write files on a
> Linux server that people are
On Thu, Feb 16, 2012 at 4:09 PM, Daniel Brown wrote:
> On Thu, Feb 16, 2012 at 09:53, Tedd Sperling wrote:
>
> This means you can rest assured that the newlines will be
> appropriate for the system on which PHP is running. While it makes
> little difference on the web, it makes a world of dif
On Thu, Feb 16, 2012 at 09:53, Tedd Sperling wrote:
>
> Why the '.PHP_EOL' ?
>
> I've never seen that before and looking through the PHP documentation doesn't
> give me much.
Cross-compatibility. For systems which use \n, PHP_EOL will be
\n. For systems which use \r\n, PHP_EOL will be \r\n
On Feb 14, 2012, at 1:39 PM, Daniel Brown wrote:
> On Tue, Feb 14, 2012 at 13:36, Rick Dwyer wrote:
>>
>> I only have access to domain B... the one receiving the Form POST.
>
>Then all you should need to do is:
>
>a.) Verify that Domain A is indeed pointing to Domain B, to
> the sc
34 matches
Mail list logo