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
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
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 with
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
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'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?
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
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 whole
2012/2/16 John Taylor-Johnston jt.johns...@usherbrooke.ca:
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
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
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
Richard Quadling wrote:
2010/1/19 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
But having said all of that, the php_mssql.dll uses a very old library
which may give you issues.
For the time being, using ODBC (php_odbc is built in for PHP on
Windows) is a much safer
2010/1/20 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
2010/1/19 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
But having said all of that, the php_mssql.dll uses a very old library
which may give you issues.
For the time being, using ODBC
2010/1/20 Richard Quadling rquadl...@googlemail.com:
2010/1/20 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
2010/1/19 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
But having said all of that, the php_mssql.dll uses a very old library
which may give
Richard Quadling wrote:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73Cdisplaylang=en
Sorry,
Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
Thanks !
Edward.
Either ODBC or the MS SQL driver for PHP. Which ever suits
2010/1/20 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73Cdisplaylang=en
Sorry,
Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
Thanks !
Edward.
Either
Richard Quadling wrote:
2010/1/20 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73Cdisplaylang=en
Sorry,
Would you mind to tell me which for connecting MS-SQL 2000 and PHP ?
Thanks
2010/1/20 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
2010/1/20 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73Cdisplaylang=en
Sorry,
Would you mind to tell
2010/1/19 edward...@ita.org.mo:
引述 Richard Quadling rquadl...@googlemail.com:
1 - Can you confirm that the ini file you are editing is the one that
is reported in phpinfo() as the file being used?
Yes, BUT there is no MSSQL info of it...
2 - At a command prompt, change directory to your
Richard Quadling wrote:
But having said all of that, the php_mssql.dll uses a very old library
which may give you issues.
For the time being, using ODBC (php_odbc is built in for PHP on
Windows) is a much safer solution. You can also use the latest SQL
Native Client driver so you can talk to
But having said all of that, the php_mssql.dll uses a very old library
which may give you issues.
For the time being, using ODBC (php_odbc is built in for PHP on
Windows) is a much safer solution. You can also use the latest SQL
Native Client driver so you can talk to SQL7, 2000, 2005, 2008.
If
2010/1/19 Edward S.P. Leong edward...@ita.org.mo:
Richard Quadling wrote:
But having said all of that, the php_mssql.dll uses a very old library
which may give you issues.
For the time being, using ODBC (php_odbc is built in for PHP on
Windows) is a much safer solution. You can also use the
Dear All,
I had config the php.ini as the following :
extension=php_mssql.dll
Then run the cli iisreset and reboot the web server machine...
After that, there is NO any MS-SQL within the phpinfo()...
So, would you mind to help more ?
Thanks !
Edward.
--
PHP General Mailing List
2010/1/18 Edward S.P. Leong edward...@ita.org.mo:
Dear All,
I had config the php.ini as the following :
extension=php_mssql.dll
Then run the cli iisreset and reboot the web server machine...
After that, there is NO any MS-SQL within the phpinfo()...
So, would you mind to help more ?
引述 Richard Quadling rquadl...@googlemail.com:
1 - Can you confirm that the ini file you are editing is the one that
is reported in phpinfo() as the file being used?
Yes, BUT there is no MSSQL info of it...
2 - At a command prompt, change directory to your PHP installation
and type ...
Hi folks,
I've never done any PHP-LDAP code writing (nor have I ever dealt
with an LDAP server to begin with.) However I'm writing an app which
requires verifying a user's credentials against an LDAP server. The
admin of the server sent me the following snippet, however also made it
Yes. Correct
On Mon, Nov 9, 2009 at 7:30 AM, Ashley M. Kirchner ash...@pcraft.comwrote:
Hi folks,
I've never done any PHP-LDAP code writing (nor have I ever dealt with an
LDAP server to begin with.) However I'm writing an app which requires
verifying a user's credentials against an
Hi there, i'm here again, but now with another doubt.
What's the best way to connect a local app write in php or php-gtk to a web
app writen in php.
The database is MySql, and i need to do this connection every 3s to check
data, get the data back and save into localhost database.
--
PHP
Jônatas Zechim wrote:
Hi there, i'm here again, but now with another doubt.
What's the best way to connect a local app write in php or php-gtk to a web
app writen in php.
The database is MySql, and i need to do this connection every 3s to check
data, get the data back and save into
On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote:
Hi there, i'm here again, but now with another doubt.
What's the best way to connect a local app write in php or php-gtk to a web
app writen in php.
The database is MySql, and i need to do this connection every 3s to check
@lists.php.net
Subject: [PHP] Connect local app to a web app
Hi there, i'm here again, but now with another doubt.
What's the best way to connect a local app write in php or php-gtk to a web
app writen in php.
The database is MySql, and i need to do this connection every 3s to check
data, get
2009/2/5 Paul M Foster pa...@quillandmouse.com
On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote:
Hi there, i'm here again, but now with another doubt.
What's the best way to connect a local app write in php or php-gtk to a
web
app writen in php.
The database is MySql,
2009/2/5 Alpár Török torokal...@gmail.com
2009/2/5 Paul M Foster pa...@quillandmouse.com
On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote:
Hi there, i'm here again, but now with another doubt.
What's the best way to connect a local app write in php or php-gtk to a
web
Alpár Török wrote:
2009/2/5 Alpár Török torokal...@gmail.com
2009/2/5 Paul M Foster pa...@quillandmouse.com
On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote:
Hi there, i'm here again, but now with another doubt.
What's the best way to connect a local app write in php or
.
-Mensagem original-
De: Jim Lucas [mailto:li...@cmsws.com]
Enviada em: quinta-feira, 5 de fevereiro de 2009 18:13
Para: Alpár Török
Cc: Paul M Foster; php-general@lists.php.net
Assunto: Re: [PHP] Connect local app to a web app
Alpár Török wrote:
2009/2/5 Alpár Török torokal...@gmail.com
, XML-RPC.
Thanks
Zechim.
-Mensagem original-
De: Jim Lucas [mailto:li...@cmsws.com]
Enviada em: quinta-feira, 5 de fevereiro de 2009 18:13
Para: Alpár Török
Cc: Paul M Foster; php-general@lists.php.net
Assunto: Re: [PHP] Connect local app to a web app
Alpár Török wrote:
2009
Apache and PHP 4.3.9 are on a *nix server and we don't have root access,
HOWEVER we can have the tech support perform pretty much any action except
re-compile PHP (for which they charge), but I'm hoping i could dynamically
load extensions during run-time. I just need to know which extensions.
On 10/5/07, Jason Paschal [EMAIL PROTECTED] wrote:
Apache and PHP 4.3.9 are on a *nix server and we don't have root access,
HOWEVER we can have the tech support perform pretty much any action except
re-compile PHP (for which they charge), but I'm hoping i could dynamically
load extensions
Jason Paschal wrote:
Apache and PHP 4.3.9 are on a *nix server and we don't have root access,
HOWEVER we can have the tech support perform pretty much any action except
re-compile PHP (for which they charge), but I'm hoping i could dynamically
load extensions during run-time. I just need to
On Tue, November 28, 2006 8:01 pm, Le Phuoc Canh wrote:
I want to make a connection to sybase database with PHP on win32
platform,
but i can't recompile PHP with extension --with-cybase-ct. Please help
me
In the .zip file you downloaded for PHP, there should have been,
hopefully, a file named
Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 1:59 AM
To: Le Phuoc Canh
Cc: PHP Mailing
Subject: Re: [PHP] Connect to Sybase !
On Tue, November 28, 2006 8:01 pm, Le Phuoc Canh wrote:
I want to make a connection to sybase database with PHP on win32
platform, but i can't
Le Phuoc Canh wrote:
Of course I know edit my php.ini, but the problem here that when I test use
sybase_connect() function and run by command line, a message This
application has failed to start because libct.dll was not found.
..so it's not that php doesn't support it, it's that php can't
: [PHP] Connect to Sybase !
Le Phuoc Canh wrote:
Of course I know edit my php.ini, but the problem here that when I
test use
sybase_connect() function and run by command line, a message This
application has failed to start because libct.dll was not found.
..so it's not that php doesn't support
Le Phuoc Canh wrote:
Thanks Chris, I understand my problem, but can you show me where to find
the libct.dll or where I can get libct.dll
Search for it.
libct.dll sybase returns a few results.
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List
Dear all,
I want to make a connection to sybase database with PHP on win32 platform,
but i can't recompile PHP with extension --with-cybase-ct. Please help me
!!!
We need to connect to a database on our AS400. Would this be best accomplished
with ODBC? If not, what is the preferred method? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, January 26, 2006 2:23 pm, Justin Cook wrote:
We need to connect to a database on our AS400. Would this be best
accomplished with ODBC? If not, what is the preferred method? Thanks!
The AS400 was discussed on this list, or possible on the predecessor
list which was just [EMAIL PROTECTED]
On 1/26/06, Justin Cook [EMAIL PROTECTED] wrote:
We need to connect to a database on our AS400. Would this be best
accomplished with ODBC? If not, what is the preferred method? Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 1/26/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Thu, January 26, 2006 2:23 pm, Justin Cook wrote:
We need to connect to a database on our AS400. Would this be best
accomplished with ODBC? If not, what is the preferred method? Thanks!
The AS400 was discussed on this list, or possible
Dear Sir
I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am working in web
design. I am unable to connect to the mysql server. Althought my php files
running fine and my mysql server is also running fine.
i) i had changed the php.ini-dist file to php.ini.
ii)i uncommented the
I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am
working in web design. I am unable to connect to the mysql server.
Althought my php files running fine and my mysql server is also
running fine.
i) i had changed the php.ini-dist file to php.ini.
ii)i uncommented the
On Fri, 2005-10-21 at 12:06 -0700, hassan mahdi wrote:
I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am working in
web design. I am unable to connect to the mysql server. Althought my php
files running fine and my mysql server is also running fine.
MySQL 1? Really? That's a
Anyone know the syntax to use to connect to a microsoft access db on my
c: drive?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HI Paul !
You should create a DSN With odbc. Then use
odbc functions of PHP.
visit
http://in2.php.net/manual/en/ref.uodbc.php
zareef ahmed
--- Paul Kain [EMAIL PROTECTED] wrote:
Anyone know the syntax to use to connect to a
microsoft access db on my
c: drive?
--
PHP General
Dear you,
Can we control php direct connect to MS-SQL 2000 ( Another computer
machine ) ?
Thank for your help !!
Edward.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mar 13, 2004, at 6:01 PM, [EMAIL PROTECTED] wrote:
Can we control php direct connect to MS-SQL 2000 ( Another computer
machine ) ?
RTFM, http://www.php.net/ms_sql.
Regards,
Filip de Waard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all
Im using PHP running as chat bot and running on Linux.
I really need use relay message between two PHP that running on same time.
(multiple PHP running on one server)
Is it possible that PHP running connect or value message to other PHP
running?
Thanks :)
--
PHP General Mailing List
I am curious if anyone is using PHP to connect to a MAS 90 or 200
database?? I am interested in any info on this if anyone has any...
THX,
Joe
The big issue that you will face will be with getting the dn correct for
it to work..
I have connected to ldap exchange to do authentication and pull user
data and it was a real hassle to get the dn correct..
--
BigDog
On Tue, 2003-07-01 at 15:41, Vince C wrote:
Hi everyone,
I tried to
Hi everyone,
I tried to connect to Active Directory (AD) by using php. I heard that it
could use LDAP to achieve it. I have written some code on my machine
(Win2000) and try to connect to AD. It looks like the it could connect,
bind, and even search (I determined base on the line I placed).
Hi!
I've been writing PHP scripts for a long time but never needed to get data
from an Oracle database. Till now.
Can somebody give me a hand? The Oracle database is running on another
server.
The information I have been given is:
host (e.g. somewhere.somewhere.com)
username (e.g.
Try looking at the following paper, it looks very good.
http://conf.php.net/pres/slides/oci/paper.txt
HTH
Todd.
-Original Message-
From: Juan Antonio Ruiz Zwollo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 October 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Connect
Hi !
I m using PHP 4.0.5 and I try to create a function called connect :
function connect() {
...
}
My problem is I get this :
Fatal error: Cannot redeclare connect() in
/opt2/htdocs/www.mydomain.com/html/connexion.php on line 6
In connexion.php there is only the function declaration and
On Fri, 01 Feb 2002 11:46:27 +0100, you wrote:
I m using PHP 4.0.5 and I try to create a function called connect :
function connect() {
...
}
My problem is I get this :
Fatal error: Cannot redeclare connect() in
/opt2/htdocs/www.mydomain.com/html/connexion.php on line 6
In connexion.php
On Fri, 2002-02-01 at 02:46, Jean-Arthur Silve wrote:
Hi !
I m using PHP 4.0.5 and I try to create a function called connect :
function connect() {
...
}
My problem is I get this :
Fatal error: Cannot redeclare connect() in
/opt2/htdocs/www.mydomain.com/html/connexion.php on
Hello! Somewhere I read something on how to connect to a mail-server
with php and to send and receive mails on a very basic level (calling
Helo to the mail-server and so on). Does anybody know, where I can get
those information exactly?
Martin
--
PHP General Mailing List
yes you can connect via ODBC.
- Original Message -
From: Matt Friedman [EMAIL PROTECTED]
To: 'gendeng' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 02, 2002 3:32 AM
Subject: RE: [PHP] connect MS Access
Please do not send html emails to this list.
Send only plain text
To connect to Microsoft SQL 7 I'm using the following script which works
fine:
?php
$query=SELECT * FROM DB1;
$queryupd=UPDATE DB1 SET dateval='20010101' where dateval='2101';
$hostname = dbserver;
$username = username;
$password = pwd;
$dbName = DB;
Jerry --
I didn't see any functions listed in:
http://www.php.net/manual/en/
for DB2 the ODBC maybe you only answers, heres the link:
http://www.php.net/manual/en/ref.odbc.php
David
To connect to Microsoft SQL 7 I'm using the following script which
works fine:
?php
$query=SELECT * FROM
halo... i want to know about connect to database. can php (for
windows) connect to MS Access.
Mpu Strees
IncrediMail - Email has finally evolved - Click
Here
Please do not send html emails to this list.
Send only plain text emails.
Matt Friedman
-Original Message-
From: gendeng [mailto:[EMAIL PROTECTED]]
Sent: Tuesday January 1, 2002 8:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] connect MS Access
halo... i want to know about connect
halo... i want to know about connect to database. can php (for
windows) connect to MS Access ?.Mpu
Strees
IncrediMail - Email has finally evolved - Click
Here
Hello All
If one creates a file outside the web space on a server. How doe's one
connect to this from a HTML or PHP page?
As I understand it. It is not as simple as normal html link.
---
Mark Webley
Multimedia design and development
WebleyCity Limited
how exactly do you want to connect to it? if you want to link to it in html, then
it must be under the html doc root...if you're including, then you can specifiy
the path...
Webleycity wrote:
Hello All
If one creates a file outside the web space on a server. How doe's one
connect to this
Can You describe more detail ??? What kind, version of Sybase server do
You use, what version of PHP, what Linux distribution etc... In other
case I can't help You.
Krzysztof Kocjan
Edney Marcel Imm wrote:
Hi
How I can connect to syBase?
Tks
Hi
How I can connect to syBase?
Tks
Hi,
I need some help with a class that I am writing.
class myclass
{
function query($query)
{
// connect
$connection = mysql_connect($this-hostname, $this-user, $this-pass) or
die (Cannot connect to database);
// run query
$ret =
how can I connect to a remote-database from
my local dos-window?
I use the following without success:
mysql -u XXX -h mysql-XXX -p -D
Jochen Kaechelin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On Tue, 27 Mar 2001 18:48, Jochen Kaechelin wrote:
how can I connect to a remote-database from
my local dos-window?
I use the following without success:
mysql -u XXX -h mysql-XXX -p -D
Jochen Kaechelin
Should you not have a full hostname as the argument for -h ?
--
David
I would like to use a Perl Program to call PHP to do sth. Could I do that?
Also, could I use PHP program to call a Perl Program?
You could just run the command using the system() function.
http://www.php.net/manual/en/function.system.php
- Jamie
--
PHP General Mailing List
Hi,
I've been looking on the cool web, but up till now I got only complex
explanations about how to create users in mysql.
I know it's more a MySQL question, but since lots of you are using this
DB, maybe someone can just send me an example on how to create on a
proper way (straight forward)
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#GRA
NT
- Original Message -
From: "Yoeri De Bruyn" [EMAIL PROTECTED]
To: "phpGeneralList (E-mail)" [EMAIL PROTECTED]
Sent: Thursday, January 11, 2001 1:24 AM
Subject: [PHP] Connect with u
Try :
MySQL Administration :
http://devshed.com/Server_Side/MySQL/Administration/
Philip
On Thu, 11 Jan 2001, Yoeri De Bruyn wrote:
Hi,
I've been looking on the cool web, but up till now I
That one was really helpfull!
Thanxxx!!!
Yoeri.
Try :
MySQL Administration :
http://devshed.com/Server_Side/MySQL/Administration/
Philip
On Thu, 11 Jan 2001, Yoeri De Bruyn wrote:
Hi,
I've
84 matches
Mail list logo