[PHP] array_sum help

2003-03-12 Thread Beauford.2002
Hi, I have a mysql database in which some values are loaded into an array - the problem is that some fields may contain zeros. The problem is the following. If there happens to be zeros in certain column's (which there will be from time to time) then I get this error. How do I get around this?

[PHP] install php

2003-03-12 Thread sonjaya
dear milist i want' instal php with mysql , itry like this : #./configure --with-mysql --with- apache=../apache_1.3.14 --enable-track- var and get error message like this : #ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam': /usr/local/src/php- 4.3.1/ext/mysql/libmysql/my_tempnam.c:1

[PHP] how to force a refresh?

2003-03-12 Thread christian calloway
Ok, well I have a form that uploads images, but of course the problem is, is that IE caches the uploaded images. The only way to clear the cache is to refresh, but that isn't a very user friendly approach. I've tried the following header tags: Header(Pragma: no-cache); Header(Expires: Mon, 26 Jul

Re: [PHP] Hacker problem

2003-03-12 Thread Mirek Novak
CPT John W. Holmes wrote: This is no good unless you're saving the value server side somewhere. With this method, I can still post to your page from anywhere, so long as I set the two variables the same. Who cares if the data came from your page, just validate it! No matter what you do, it can be

Re: [PHP] Threading objects

2003-03-12 Thread Ernest E Vogelsinger
At 23:23 12.03.2003, Kris said: [snip] Is it possible to some how thread a php script threw apache. There has to be something you can do, it seems there is always something you can do :) What I want is the following. I administer a mailing list that has a

Re: [PHP] how to force a refresh?

2003-03-12 Thread Liam Gibbs
but of course no luck. Is there a way I can force a refresh from my script? There is an HTML solution, but I can't remember offhand what it is. HTML would be the only way to go, I'd say, since once the page is in the browser's hands, PHP can't do anything about it. -- PHP General Mailing List

[PHP] Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Patrick LOK
There is no firewall within the LAN environment. I tried the mssql_connect too using mssql_connect(testdb,sa,) but same error returned! Any idea? ./pl Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wednesday 12 March 2003 19:28, Patrick LOK wrote: It is possible to

Re: [PHP] Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Patrick LOK
Couldn't be ! I have MS client connecting to the db-server! I tried odbc_connect for both MSSQL PostgreSQL and it is ok! However, odbc connection is no good for db processing! Further help? ./pl Niklas lampén [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Possibly the db-server

[PHP] Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Mark
A couple of things. First, I believe it's pg_connect(), not pgsql_connect(). Also, note that according to the docs, the old syntax with multiple parameters $conn = pg_connect(host, port, options, tty, dbname) has been deprecated. But more importantly, can you ping the postgres/mssql server from

[PHP] Cannot execute php applications. Problems with required library mysql.so

2003-03-12 Thread Mathieu Dumoulin
Got this problem here. I have a script i wish to run from a crontab every 2 minutes (Compiles live stats for a hockey site). This script doesn't run at all in shell mode as an application but works perfectly fine when called from the web. Problem is i can't integrate it in the web site like when

Re: [PHP] Cannot execute php applications. Problems with required library mysql.so

2003-03-12 Thread Richard Sumilang
Well for starters, you shouldn't be running a repetitive process from the web each time, thats why they have cron jobs. In order to have cron jobs execute php code as an executable, you must make sure you have php compiled as a cgi. It seems on your error message also that you don't have php

[PHP] setup connection to sybase

2003-03-12 Thread P Lok
Cannot setup connection to remote Sybase db. Using Apache 1.3.x + PHP 4.x on Windows 2000 server. Remote Sybase db on Windows 2000 server. PHP manual says Servername in sybase_connect() defines in 'interfaces' file. What are they? Where are they? rgds -- PHP General Mailing List

<    1   2   3