RE: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-09 Thread Dan Vande More
Doug, can you log in via plain db2 in linux (sorry if you said you could, I didnt read that far back). Heres what I do: * [root@somelinuxbox /root]# su - db2inst1 [db2inst1@somelinuxbox db2inst1]$

RE: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-08 Thread Dan Vande More
I used this: Some of his info is wrong, or I had problems with, but hey, this worked: * Now we know DB2 works now to test it with PHP and

RE: [PHP] Disabling Browser BACK button

2002-07-31 Thread Dan Vande More
I do it this way Page1 (fill in data)-Page2(write data, instant redirect to p1, unless dies from php/mysql) Then the only way to repost, is to push the forward button. -Original Message- From: Petre [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 11:43 AM To: Martin

FW: [PHP] Disabling Browser BACK button

2002-07-31 Thread Dan Vande More
, 2002 11:54 AM To: Dan Vande More; Petre; [EMAIL PROTECTED] Subject: Re: [PHP] Disabling Browser BACK button Page1 (fill in data)-Page2(write data, instant redirect to p1, unless dies from php/mysql) Then the only way to repost, is to push the forward button. Unless, of course, they hit

RE: [PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Dan Vande More
I don't know, but it sure looks nice! Dan -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 6:56 AM To: [EMAIL PROTECTED] Subject: [PHP] integrating usenet into http? how is this done??? Hi guys, I just found a site where they have integrated a

RE: [PHP] Development Tools

2002-07-10 Thread Dan Vande More
Mark, I have been developing with PHP for 1 year now, and about 1 month ago got DMX, I have to say that I spend much much less time on building forms and little repetitive work, and more on building applications. I would have to say that DMX increased my productivity by at least 5 times.(I

RE: [PHP] Date formatting

2002-07-10 Thread Dan Vande More
To convert from user format to mysql I use: $training_date=$_POST[training_date]; $training_date=str_replace(-, /, $training_date);//strtotime doesnt seem to work right if it has 12-25-2002, but does if it has 12/25/2002 $training_date=strtotime($training_date);

RE: [PHP] V basic newbie problem

2002-07-03 Thread Dan Vande More
DMX is a little shy on descriptions, but you want to use the Dynamic Table under the Application Section. I make these 5 times a day. -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 8:52 AM To: PHP GEN; Duncan Ellwood Subject: Re: [PHP] V

RE: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Dan Vande More
Did you remember to compile ODBC into PHP? ./configure --help shows these odbc options: --with-iodbc[=DIR] Include iODBC support. DIR is the iODBC base install directory, defaults to /usr/local. --with-unixODBC[=DIR] Include unixODBC support. DIR is the

RE: [PHP] Keeping Secrets in PHP Files

2002-07-01 Thread Dan Vande More
Easy, http://www.zend.com/store/products/zend-encoder.php Dan -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 7:29 AM To: Lazor, Ed Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Keeping Secrets in PHP Files On Friday, June 28, 2002, at 06:14

RE: [PHP] Page rendering speed: PostNuke or PHP-Nuke

2002-07-01 Thread Dan Vande More
http://www.php-encoder.com/ Looks like beta is starting soon for this, so we should see it in a little bit. They have an option for per script charge. You upload the file and it gives you a compiled one. My guess it is the same thing as Zend encoder, just not as expensive. Dan -Original

RE: [PHP] Keeping Secrets in PHP Files

2002-07-01 Thread Dan Vande More
Sorry, Wrong topic. http://www.php-encoder.com/ Looks like beta is starting soon for this, so we should see it in a little bit. They have an option for per script charge. You upload the file and it gives you a compiled one. My guess it is the same thing as Zend encoder, just not as expensive.

RE: [PHP] Query String...

2002-07-01 Thread Dan Vande More
In the beginning of your page try: $action=$_GET[action]; echo $action; -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:01 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Query String... On Tuesday 02 July 2002 04:45, Tim Nields wrote: Never

RE: [PHP] Re: Finding out how a variable was registered

2002-06-05 Thread Dan Vande More
It may not work for you but this seems to work for us: ?php if ($HTTP_SERVER_VARS[argc] != 0) // If someone is trying to pass a get argument { Header(Location: $PHP_SELF); // Then reload the page argument-free exit; } ? -Original Message- From: Scott Hurring

[PHP] Previous Discussions

2002-05-28 Thread Dan Vande More
Is anyone aware of previous discussions with php/mysql with using file inside the db (BLOBs) and integrating php to serve these files? In my opinion, I'm sure there's a better way than store to a temp file and send user the hyperlink, then deleting the temp file. Perhaps something with output

RE: [PHP] Previous Discussions

2002-05-28 Thread Dan Vande More
Hey thanks Ian! Could I have some examples, of say a pdf or zip? It looks like this will work perfectly! Dan -Original Message- From: Ian Samuel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 9:00 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Previous Discussions Is anyone

[PHP] multiple db, multiple table join

2002-05-09 Thread Dan Vande More
Good evening all, I have a strange situation which I cannot think myself out of. To make it simple my db looks like this (hr db, emp_master table) ++---+ | emp_id | last_name | ++---+ | 1 | smith | | 3 | wesson| |

RE: [PHP] AS/400 data access

2002-04-09 Thread Dan Vande More
Thanks Mr. Collins, I wish that would have been about 7 months ago when I did everything:) I used those three articles and a couple more to get it done, but the directions look great. -Original Message- From: Collins, Robert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002

RE: [PHP] newbyie - date conversion to human readable form

2002-03-25 Thread Dan Vande More
Straight from my code: $value = date(m/d/Y, strtotime($value)); If you want it otherwise, modify the paramters in the 'date' command to your liking. Dan -Original Message- From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 7:55 AM To: [EMAIL PROTECTED]

[PHP] .NET

2002-03-19 Thread Dan Vande More
Before you shoot/flame me, I assure you this is not the topic you think it is. I just want everybody to be aware that if you do a search for the literal string .NET on google, you pull up php.net I think one could extrapolate that this maybe one of the most popular .net pages on google, and when

RE: [PHP] Website STATISTICS

2002-03-18 Thread Dan Vande More
I think awstats has everything your asking for. -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 12:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Website STATISTICS Hi, Anybody knows any good open source website statistics tool with graph and

[PHP] What does PL mean?

2002-03-18 Thread Dan Vande More
What does the pl mean in 4.0.4-pl1 And 4.0.3 pl1? And 4.0.1-pl2 and so on and so forth? Thanks Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What does PL mean?

2002-03-18 Thread Dan Vande More
Thanks miguel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 5:14 PM To: Dan Vande More Cc: PHP-GENERAL Subject: Re: [PHP] What does PL mean? On Mon, 18 Mar 2002, Dan Vande More wrote: What does the pl mean in 4.0.4-pl1 And 4.0.3

RE: [PHP] Error Handler Problem

2002-03-09 Thread Dan Vande More
I'm not understanding completely, but could this have something to do with it? [quote] error_reporting() has no effect if you have defined your own error handler with set_error_handler() [Editor's Note: This is not quite accurate. E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR

RE: [PHP] PHP and IBM DB2 / odbc_connect failed

2002-03-07 Thread Dan Vande More
I had the exact same problem too, reference here and you will find the answer, I assure you: http://www.phpbuilder.com/forum/read.php3?num=3id=105752thread=104455 -Original Message- From: Jerry [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 6:10 AM To: [EMAIL PROTECTED]

RE: [PHP] PHP and IBM DB2 / odbc_connect failed

2002-03-07 Thread Dan Vande More
A quick and easy check is this: Once logged in as root do an 'su - db2inst1' The '-' is ins mandatory to get the dbinst profile Once there, do a 'su' with no '-' to keep the db2inst profile. Then stop and start apache. Dan -Original Message- From: Jerry [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Problem with backslashes disappearing

2002-03-06 Thread Dan Vande More
try $new_string=addslashes($old_string); before doing anything else with it. This will prevent from anything removing the \ ' etc because they will all automagically be escaped with that command. When you pull the data back out use: $newer_string=stripslashes($new_string); Dan -Original

RE: [PHP] File Upload.

2002-03-05 Thread Dan Vande More
This is exactly how I solve the problem as well, good to know I'm not the only one with that idea. That must mean it wasn't that bad of an idea. Dna -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 6:52 AM To: Php-General Subject: RE: [PHP]

RE: [PHP] Accessing Mainframe

2002-03-05 Thread Dan Vande More
http://www.e-gineer.com/instructions/installing-ibm-db2-for-php4x-with-apach e13x-on-linux.phtml I used this, and currently use PHP to AS400 DB2 everyday. Dan -Original Message- From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 11:51 AM To: 'Andrew

RE: [PHP] Help with MySQL.

2002-03-05 Thread Dan Vande More
Once in your telnet session, from the command line type 'telnet localhost 3306' or 'telnet 127.0.0.1 3306' Keep in mind this only proves the host is there, it doesn't disprove. The machine may not know itself as localhost(unlikely) or the mysql server may not be living on 3306. If you get some

RE: Re: [PHP] Help with MySQL.

2002-03-05 Thread Dan Vande More
For one of my servers I get 3.23.34-log3REu?zk*+;, And another I get 4.0.1-alpha,ZaXs]W{, That means that is most certainly running on it, if not you would get something like Telnet: Unable to connect to remote host: Connection refused Be warned, if your isp does not know anything about their

RE: Re: [PHP] Help with MySQL.

2002-03-05 Thread Dan Vande More
to 'server1.myisp.com' or 'server1' that is the address. The hostname and ip address are very much interchangeable, though as a general rule of thumb, ip address is more reliable. Dan -Original Message- From: Dan Vande More [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 8:13 PM

RE: [PHP] Re: PHP and mySQL

2002-03-05 Thread Dan Vande More
Max, PHP.net says: Calls to mysql_result() should not be mixed with calls to other functions that deal with the result set. I would use mysql_fetch_array which they say is MUCH faster, example of how you could use it: ?php mysql_connect($host, $user, $password); mysql_select_db(database);

RE: [PHP] Help me for unsubscribe

2002-03-04 Thread Dan Vande More
http://www.php.net/unsub.php Should be in the bottom of every email you receive. Dan -Original Message- From: Michele Salerno [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 7:53 AM To: php-general Subject: [PHP] Help me for unsubscribe What unsubscribe at mailning list? --

RE: [PHP] Re-Compiling PHP HELP

2002-03-04 Thread Dan Vande More
Are you just compiling and installing php? Because you have to make clean,make, stop apache, and make install apache as well. No need to configure, your old conf will work just fine. This may not be entirely correct, but it has always worked for me. Dan -Original Message- From: James

RE: [PHP] Upload a CSV file to MySQL

2002-03-04 Thread Dan Vande More
I'm not sure if you're talking just PHP, but this is the best database tool I've ever used: http://anse.de/mysqlfront/ /* Key-Features With MySQL-Front you can... create/drop databases create/drop tables edit/add/delete fields edit/insert/delete records edit BLOBs and MEMOs with

RE: [PHP] form variables

2002-03-04 Thread Dan Vande More
Do you mean to have the extra '=' in there? Should it be: form action=quotestest.php?quote=?$quote? method=post instead of form action=quotestest.php?quote=?=$quote? method=post ? -Original Message- From: Craig Westerman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 6:27 PM

RE: [PHP] using remote code

2002-03-03 Thread Dan Vande More
I don't think this will work, because if it is configured correctly, that file will be parsed by PHP before(as) apache gets it, meaning the only part apache gives you is the result of all the code executing in that page. Exactly like a web browser, php sees ?php echo Hello, World!;? and then