[PHP] Validating form field text input to be a specific variable type

2004-04-06 Thread Merritt, Dave
All, I have a form on which the user is supposed to select a variable type (boolean, integer, real, date/time, text) from a select box and enter the default value for this selected variable type in a text box. I'm trying to validate that the default value entered matches the variable type

RE: [PHP] Validating form field text input to be a specific variable type

2004-04-06 Thread Merritt, Dave
, Dave Merritt [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 3:19 PM To: Merritt, Dave; [EMAIL PROTECTED] Subject: Re: [PHP] Validating form field text input to be a specific variable type From: Merritt, Dave [EMAIL

RE: [PHP] Validating form field text input to be a specific variable type

2004-04-06 Thread Merritt, Dave
, Dave Merritt [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 3:19 PM To: Merritt, Dave; [EMAIL PROTECTED] Subject: Re: [PHP] Validating form field text input to be a specific variable type From: Merritt, Dave [EMAIL

[PHP] combining multi-dimensional arrays from multiple parse_ini_file results

2003-03-29 Thread Merritt, Dave
All, How do I combine the multi-dimensional arrays returned from the parse_ini_file function on two different ini files? I tried: $my_array = parse_ini_file('some_file', true); $my_array[] = parse_ini_file['another_file', true); Thanks Dave [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] To use PEAR::DB or the PHP database functions

2003-03-20 Thread Merritt, Dave
All, I've always used MySQL databases and the MySQL functions in PHP for my code in the past. However, I'm now working on a project that I want the project to be able to be database independent so that the user of the project can use whatever database he/she wishes. I'm looking primarily at

[PHP] Recommendations for PHP/MySQl calendar on-line submission/voting

2002-11-22 Thread Merritt, Dave
All, I working with helping our local high school technical center set up a web server/site. Went with the typical AMP solution (unfortunately on MSWin though). The center is wanting to add an on-line calendar system. This doesn't need to be anything fancy, just something that will display a

RE: [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Merritt, Dave
Lars, You say you downloaded the Volo View Express, but your plug-in page points to the WHIP viewer plug. Regardless, there are two versions of Volo View. Did you download the DWF version only of Volo View? Dave -Original Message- From: Lars Espelid [mailto:lars_espelid;hotmail.com]

[PHP] RE: -- OT -- [PHP] How to show autocad (dwf, dwg) files in browser?

2002-11-15 Thread Merritt, Dave
Okay, the WHIP viewer is only for DWF files from ACAD 13, 14, 2000 only. It does NOT handle DWG files or DWF from ACAD 2002 based products (Inventor), Volo View Express 2.01 handles DWF, DWG, DXF only if you download the english language version. Non-english versions of VVE will NOT view DWG

RE: [PHP] Getting users IP address into a variable.

2002-10-02 Thread Merritt, Dave
Try: $ip=$_SERVER['REMOTE_ADDR'] -Original Message- From: Webmaster MBTRADINGCO [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: [PHP] Getting users IP address into a variable. I'm sure there has to be a way to verify which IP address

[PHP] Creating/displaying page content and downloading a file at the same time

2002-09-24 Thread Merritt, Dave
All, I'm trying to write a script that will allow the user to download/save a file but I also want to be able to display a web page in the browser window as well. If a user runs the following code from an empty browser window, then the contents of the browser window will remain empty. How do I

[PHP] Closing a browser's child window after user downloads a file

2002-09-20 Thread Merritt, Dave
All, I have a page that displays results of a database search. The page contains a select dropdown box from which the user can pick different options including the ability to download an Excel or CSV file of the displayed results. Once the user selects an option from the dropdown, a Javascript

[PHP] OT - SQL string to get value by latest date only in a join

2002-09-12 Thread Merritt, Dave
','Admin, PDMWeb','2002-11-09 13:15:34','Merritt, Dave','A test of history','1003', '1050','Ameritool Manufacturing','Gas Springs, Industrial','2002-03-01 00:00:00','Admin, PDMWeb','NULL','','NULL','NULL', '1053','Ammann-Yanmar','Gas Springs, Industrial','2002-03-01 00:00:00','Admin, PDMWeb','NULL

[PHP] Trying to locate an image file name from another site

2002-07-09 Thread Merritt, Dave
All, I have a page on our intranet site that is pulling an image from our corporate web server. The corporate server the image I am accessing is beyond my control. The image is generated daily and appears to be named with a timestamp in the file name so therefore the image name changes daily.

RE: [PHP] Trying to locate an image file name from another site

2002-07-09 Thread Merritt, Dave
PM To: Merritt, Dave Cc: PHP General (E-mail) Subject: Re: [PHP] Trying to locate an image file name from another site On Tue, 9 Jul 2002, Merritt, Dave wrote: I have a page on our intranet site that is pulling an image from our corporate web server. The corporate server the image I am