[PHP-DB] How to setup LDAP on win2000/IIS5?

2002-11-28 Thread J.Veenhuijsen
What do I need to setup an LDAP server on win2999/IIS5/PHP I tried QcsLDap but this didn't work. Thanks Jochem -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: PHP-dbase conversion

2002-11-28 Thread J.Veenhuijsen
The dbase file must be in the webserver path. Sean wrote: Hi all, I have to convert an old dbase5.0 database server to mysql database which is located in the web server. The problem is when i use dbase_open function to read data from the database server it will give this error Warning: unable

[PHP-DB] Re: NewB: Return New Record ID...

2002-12-06 Thread J.Veenhuijsen
Try $last=mysql_insert_id(); Jochem Doug Coning wrote: Hi all, How do I do this: I need a PHP page that simply creates a blank record so that I have the record's ID (which is automatically generated). That same page then needs to return the record ID back so that I know what the ID is. I

[PHP-DB] Re: Flat File Upload..HELP!

2003-01-06 Thread J.Veenhuijsen
Try move_uploaded_file() Jochem J . Keith Tew wrote: I know this is not technically a DB question but thought someone may be able to help with this. I have tried everything I could think of to make this script work but I keep getting the error message below. I've even changed the permissions

[PHP-DB] Re: PHP - Ms SQL Database connection.

2003-01-15 Thread J.Veenhuijsen
I guess it is just like connecting to the database at your local machine . Check security on wk2 so you are allowed to connect. Jochem Rene Groothuis wrote: Hi All, Has somebody made a connection from PHP (4.2.2) running on Linux os to a Ms SQL database running on a W2K machine. If so how

[PHP-DB] Re: MySql DB, help, sql error and i don't know why

2003-01-21 Thread J.Veenhuijsen
use `Address` TEXT NOT NULL , Jochem David Rice wrote: SQL-query : CREATE TABLE `staff` ( `StaffId` INT( 4 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `Name` VARCHAR( 30 ) NOT NULL , `Surname` VARCHAR( 30 ) NOT NULL , `Address` TEXT( 225 ) NOT NULL , `JobId` SMALLINT( 2 ) NOT NULL ,

[PHP-DB] Re: vaiable from one page to another

2003-02-05 Thread J.Veenhuijsen
Try p.php: ?php //Not ?php echo($fname); ? Jochem Bismi Jomon wrote: hi, i hav two programs , html form name=f action=p.php mehtod=post input type=text name=fname input type=submit /form /html p.php: ?php echo($fname) ? i tried these programs and i didnt get the value of

[PHP-DB] Re: mysql_fetch_array

2003-02-25 Thread J.Veenhuijsen
Maybe on the 14th record the while statement is false. Try do...while ??? Jochem F.Collineau wrote: Hi, Here is my code: ? require(util.php); $sql= new MySQL_class; $sql-Setup(user,user,localhost); $sql-connexion(materiel); $sql-Query(select nom from personne); $cpt=0;

[PHP-DB] Re: PHP session problems

2003-02-25 Thread J.Veenhuijsen
Is the session.save_path in php.ini set and does the directory it refers to exist? Jochem David Rice wrote: I have been having trouble with PHP sessions, the session variables are not able to be called through the script. If have commented the area at the bottome where the session variable is

[PHP-DB] Re: Can anyone see why unlink isn't working?

2003-08-28 Thread J.Veenhuijsen
maybe $path$nameb is wrong $path.$nameb??? Try echoing $path$nameb and see if is is a valid file path. Jochem Chris Payne wrote: Hi there everyone, I have image details stored in my DB, and i'm trying to remove the ones I select, but I keep getting an error saying that there is an unexpected

Re: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread J.Veenhuijsen
Try setting security settings on directory itself eg full control for IUSR_.. to do this right click on directory -propertys- security add a user IUSR_... and give full access Works fine for me Jochem Paul Ihrig wrote: already tried that read write execute scripts. no go -Original

Re: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread J.Veenhuijsen
Services there i have Anonymous access checked User name IUSR_BAlgh pass * Allow IIS to control password checked also Integrated Windows authentication checked. seems funky... i appreciate the help guys. -paul -Original Message- From: J.Veenhuijsen [mailto:[EMAIL PROTECTED] Sent

Re: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread J.Veenhuijsen
Anonymous access checked User name IUSR_BAlgh pass * Allow IIS to control password checked also Integrated Windows authentication checked. seems funky... i appreciate the help guys. -paul -Original Message- From: J.Veenhuijsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 8:27 AM

Re: [PHP-DB] works on production server but not on localhost

2003-11-19 Thread J.Veenhuijsen
if it is ntfs you should have a security tab if you right click in the file counterlog.txt . If not the you should login as administrator. then set full controll to counterlog.txt for IUSR_... Jochem Paul Ihrig wrote: it's ntfs -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

[PHP-DB] Re: Web counter question..

2003-12-08 Thread J.Veenhuijsen
Try : ? session_start(); if ( ! isset($_SESSION['count']) ) { $fp=fopen(./counter.txt,r); $_SESSION['count']=fread($fp,5); fclose($fp); $_SESSION['count']++; $cnt=$_SESSION['count']; $fp=fopen(./counter.txt,w); fwrite($fp,$cnt); fclose($fp); } $c= $_SESSION['count']; print You are

[PHP-DB] Re: Transfering large mysql database

2003-12-09 Thread J.Veenhuijsen
You can use phpmyadmin to export structure and data. You have to be aware that the first line of the output has to commented (# at start of line) Otherwise phpmyadmin generates an error. Jochem Harlan Lax wrote: Does anyone have a recomendation on an app that will help me transfer a large table

[PHP-DB] Re: Large Arrays in a batch procedure

2004-04-07 Thread J.Veenhuijsen
Probably your scripts time out after 30 seconds. Try : set_time_limit(0); in your script! JOchem Antonio Bernabei wrote: Hi, I have a problem. On a small lan I need to process a table with about 3 records. The work is to apply a formula to some fields of each record and update another field