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
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
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
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
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
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
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 !!)
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
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!\;
9 matches
Mail list logo