Re: [PHP-DB] PHP / Javascript question

2004-11-15 Thread Gabino Travassos
Hi there everyone, I have a form with check boxes and with PHP I use the array feature for the form name. Now I need to check if the tickboxes are ticked and if not return an error, normally with javascript I would use: function validate_form ( ) { valid = true; if ( document.removeitems.del

Re: [PHP-DB] PHP / Javascript question

2004-11-15 Thread Jason Wong
On Tuesday 16 November 2004 11:03, Chris Payne wrote: > BUT because the tickboxes information is stored in a PHP Array called del[] > I am having major problems getting it to work. Does anyone know how to > determine with javascript if any boxes are ticked, when the name for the > box is an Array

[PHP-DB] PHP / Javascript question

2004-11-15 Thread Chris Payne
Hi there everyone, I have a form with check boxes and with PHP I use the array feature for the form name. Now I need to check if the tickboxes are ticked and if not return an error, normally with javascript I would use: function validate_form ( ) { valid = true; if ( docume

Re: [PHP-DB] IIS and php sessions

2004-11-15 Thread Bastien Koert
save path variable for sessions by default is /tmp which is a linux default try changing it to /temp bastien From: John Holmes <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "Adil" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: Re: [PHP-DB] IIS and php sessions Date: Mon, 15 Nov 2004 16:01:

Re: [PHP-DB] IIS and php sessions

2004-11-15 Thread Frank M. Kromann
Hi Adil, You need to configure session.save_path in php.ini. This setting needs to point to a directory where the IIS user can write files. If you are running the ISAPI version of php you also need to restart the web service for the changes to take place. - Frank > Hey everyone, > > I'm trying

Re: [PHP-DB] IIS and php sessions

2004-11-15 Thread Mike Smith
I'm pretty sure this is enabled by default in PHP for Windows, I think you'll need to check the IUSR_[machine_name] persmissions on the sessions folder. I'm headed in the other direction. I'm re-writing an app with a database abstraction layer with hopes of moving to postgres. -- PHP Database Mai

Re: [PHP-DB] IIS and php sessions

2004-11-15 Thread John Holmes
> From: "Adil" <[EMAIL PROTECTED]> > I'm trying to get sessions in php working on IIS > and I've noticed that that needs to be configured > manually for IIS. But what exactly does that mean? > I can't find a good step by step source about > this issue so any help would be greatly appreciated. 1

[PHP-DB] IIS and php sessions

2004-11-15 Thread Adil
Hey everyone, I'm trying to migrate this php app with a mySQL database to IIS/Microsoft SQL Server. I know that I should be using a database abstraction layer but haven't had the time to do that just yet. In anycase, the question has little to do with that. I'm trying to get sessions in php wor

RE: [PHP-DB] PHP vs ASP

2004-11-15 Thread Gryffyn, Trevor
These are some good points. My gut reaction is similar to Robby's, but here are the points he made: > PHP = free > ASP = not > > PHP = most widely used scripting language online > > PHP5 is out > > PHP = tons of open source libraries..free to download ASP comes free with PWS and IIS. So if y

RE: [PHP-DB] PHP vs ASP

2004-11-15 Thread Norland, Martin
>From: Perry, Matthew (Fire Marshal's Office) [mailto:[EMAIL PROTECTED] >I need some ammo to convince my boss not to use ASP but use PHP instead. > >Anyone have some info I can give him? If you want us to give you live ammo instead of blanks, we'll need more details on your setup. There is a po

Re: [PHP-DB] PHP vs ASP

2004-11-15 Thread Robby Russell
On Mon, 2004-11-15 at 10:20 -0600, Perry, Matthew (Fire Marshal's Office) wrote: > I need some ammo to convince my boss not to use ASP but use PHP instead. > > Anyone have some info I can give him? > > - Matthew > PHP = free ASP = not PHP = most widely used scripting language online PHP5 is

[PHP-DB] PHP vs ASP

2004-11-15 Thread Perry, Matthew (Fire Marshal's Office)
I need some ammo to convince my boss not to use ASP but use PHP instead. Anyone have some info I can give him? - Matthew

Re: [PHP-DB] Problem with an insert query

2004-11-15 Thread Simon Rees
On Saturday 13 November 2004 20:25, GH wrote: > Explain Bind Vars please... Thanks It is a technique for preparing an SQL statement with placeholders which can then be substituted with values when the statement is executed. It will be unavailable to you unless you are using MySQL 4.1.3 or above

Re: [PHP-DB] Upgrading mySQL

2004-11-15 Thread GH
when I go to both 2.10 Upgrading MySQL (http://dev.mysql.com/doc/mysql/en/Upgrade.html) and 2.10.2 Upgrading from Version 4.0 to 4.1 (http://dev.mysql.com/doc/mysql/en/Upgrading-from-4.0.html) it does not tell me how to upgrade it only tells me about important changes and recomendation. I am looki

[PHP-DB] multiple returned lob resource being overwritten in oci8

2004-11-15 Thread Michael Caplan
Hi, I am selecting multiple columns from a table, one being a clob. the query returns multiple records for the query. The results are all good, except the clob column. The last returned record's clob column overwrites all previous clob columns (all the previous records have there unique data,

[PHP-DB] Replacing subtring within table record

2004-11-15 Thread ioannes
I want to replace one substring with another within a MySQL table record, eg a blob. Do I need to extract the record and do it in php or can I do it directly with mysql? The Replace Syntax notes in mysql.com seem to relate to replacing the whole row and I'm not quite confident with shell comma

RE: [PHP-DB] Persistent Connections to Oracle databases

2004-11-15 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 11 November 2004 19:11, Patrick David wrote: > My understanding of persistent connections was that using the > ociplogon function a connection would be opened to the > database a