[PHP] Re: Connect to Google

2012-02-16 Thread Maciek Sokolewicz
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

Re: [PHP] Re: Connect to Google

2012-02-16 Thread Matijn Woudt
On Thu, Feb 16, 2012 at 10:56 PM, Maciek Sokolewicz maciek.sokolew...@gmail.com 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

[PHP] Re: connect to MAS 90 200 with PHP

2003-07-07 Thread Mike Smith
I have used MAS90. If you're using MAS90 you'll need to create an ODBC connection (http://us3.php.net/manual/en/ref.odbc.php). If it's MAS200 (SQL) use mssql functions (http://us3.php.net/manual/en/ref.mssql.php). By installing the MAS90 client software you install the necessary ODBC drivers

[PHP] Re: Connect Active Directory using LDAP... please help :)

2003-07-07 Thread The.Rock
Try this and see if it works. I had the same problem until I did a little reading. I had to use [EMAIL PROTECTED] as username then I didn't get the credential errors anymore. hope this helps, its very basic but hopefully it gets you started. * Config.php** ?php

[PHP] Re: Connect Active Directory using LDAP... please help :)

2003-07-03 Thread sven
hi vince, Vince C wrote: ?php $ldaphost= company.com; if(!($ldap = ldap_connect($ldaphost,389))){ die(ldap server cannot be reached); } else { $oudc = dc=company, dc=com; $dn2 = ; $password = ; did you define your user and password? afaik win ad isn't searchable by anonymous. ciao

[PHP] Re: Connect Active Directory using LDAP... please help :)

2003-07-03 Thread Vince C
Hi Sven, I have tried to put the my login username in that place. But it showed Invalid Credental. Since I am new to this AD and LDAP, would it be the format of my username? Should I just put my login username, or should I put the whole bunch of line such as CN=my name, DN= something like

[PHP] Re: Connect to oracle on another host

2002-10-02 Thread Philippe Saladin
I've been writing PHP scripts for a long time but never needed to get data from an Oracle database. Till now. - First, you need php compile with --oci - Then, you have to install the oracle client. Note : you can't find the oracle client alone. you need to download the entire oracle (500Mb !!)

[PHP] Re: connect

2002-01-02 Thread George Nicolae
look at http://www.phpbuilder.com/columns/siddarth2228.php3 for a good tutorial. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com Gendeng [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: connect to a file outside the web space.

2001-12-15 Thread David
Are you trying to let the user download the file? if so, can try something like this ? /*Do your login checks here*/ define(\'FILEDIR\', \'/yourdirectory/filesfordownloads/\'); $path = FILEDIR . $file; if(!is_file($path)) { print \File does not exist!\;