[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 of

[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 f

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

2003-12-08 Thread J.Veenhuijsen
Try : $c"; ?> Jochem James Hatridge wrote: Hi all.. I just put up my stamp bulletin on line (issue #100!!). I have a problem with it. The counter that I use counts everyone every time they look at the site. I want a better counter, can you all suggest one? It's got to work with html and php o

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, vis

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

2003-11-19 Thread J.Veenhuijsen
rvices" 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] S

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

2003-11-19 Thread J.Veenhuijsen
n the "Internet Information 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.Veenhui

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 -Origina

[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 T_V

[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: 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: Setup("user","user","localhost"); $sql->connexion("materiel"); $sql->Query("select nom from personne"); $cpt=0; while($row=mysql_fetch_array($sql->result)) {

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

2003-02-05 Thread J.Veenhuijsen
Try p.php: //Not echo($fname); ?> Jochem Bismi Jomon wrote: hi, i hav two programs , p.php: echo($fname) ?> i tried these programs and i didnt get the value of the variable in another php program. butit is not getting. one our friend told to put like echo $_post(fna

[PHP-DB] Re: Web image database questions

2003-01-29 Thread J.Veenhuijsen
I read a lot of different advice for this My oppinion would be to store the images in a directory and store the path names in the database. It is more easy to make a 'suited' directory structure for the images. For 30.000 images you need a lot of diskspace. Storing the images in the database wo

[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 , `PermissionId

[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 have

[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 o

[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 w

[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 t

[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