[PHP] Re: Problems when trying to use ibm_db2 extension

2007-04-17 Thread Leo Jokinen
use php command line interface Anyone disagree? -Leo- Leo Jokinen wrote: Hi all, I've been banging my head into the wall cause I can't get ibm_db2 extension working with Apache 2.0.59 and PHP 5.2.1 (as apache module). (Operating system is winxp pro SP2) For some reason, this code is working

[PHP] Problems when trying to use ibm_db2 extension

2007-04-16 Thread Leo Jokinen
PHPIniDir C:/php-5.2.1/ Can someone point out the right direction for me? Regards Leo Jokinen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array_intersect problem

2006-12-25 Thread Leo Liu
intersection instead of me getting 3 as a result, I got the array 1 unchanged. Seems like intersection doesn't take place at all. Anyway to solve this problem? Regards, Leo Reality starts with Dream __ Do You Yahoo!? Tired of spam

[PHP] Poping array which has the matching value

2006-12-20 Thread Leo Liu
(); function it will only pop the last element inside the array and the array will become {a,b,c,d,e} Anyway to search the desire element inside the array and took it out from the array? Regards, Leo Reality starts with Dream __ Do You Yahoo!? Tired

Re: [PHP] Comment management

2006-10-23 Thread Rocco Di Leo
Hi Tedd, you may want to check out a Blog-Software like Wordpress if it fulfills your requirements and relaunch your website using it. From what i see on your page, it could pretty much replace the functionality and add the benefits of comments, nice urls, etc Greets Rocco -- New Identity AG

[PHP] Re: [PHP-WIN] can I use Apache v 2 with PHP?

2005-08-03 Thread Leo G. Divinagracia III
Taksam wrote: Now, my question is: can I use Apache version 2 with PHP? And, even if I can use it in my development environment... is it safe to use Apache 2+PHP in a production environment? running apache 2 with php 4, not 5... -- Leo G. Divinagracia III [EMAIL PROTECTED] -- PHP

Re: [PHP] date math question

2003-03-27 Thread Leo Spalteholz
On March 27, 2003 09:15 pm, Charles Kline wrote: I am storing my dates as unix timestamp (epoch). Am I right in assuming that if I need to add or subtract days from this it is done in seconds? yes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] reloading a page..

2003-03-23 Thread Leo Spalteholz
they;re coming from. Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reloading a page..

2003-03-23 Thread Leo Spalteholz
']); and it should work. HTH, Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and IIS

2003-03-22 Thread Leo Spalteholz
to uploadtemp and sessionsdata directories. Also in IIS enable script execution for your website or virtual folder. Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Subtracting two dates

2003-03-11 Thread Leo Spalteholz
On March 11, 2003 09:35 pm, Justin French wrote: READ THE F***ING MANUAL!!! http://php.net/round clearly shows you how to round to a whole number. if you want to round ALL decimals up, then you might have to create something from scratch, but ceiling and floor functions are part of nearly

Re: [PHP] strange behaviour with login page

2003-03-09 Thread Leo Spalteholz
of the time in IE. For some reason it always took a few tries to login. Then I moved the call to session_start() to the beginning of the script and it worked fine. Not sure if this applies to your problem though... Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Can someone explain this? include problem.....?

2003-03-09 Thread Leo Spalteholz
the souce code I see this: input type=text name=goals SIZE=5 The value= has been stripped from the code Look really hard at that second line.. Notice anything missing? I dont know why its stripped from your browser source but theres an obvious mistake. leo -- PHP General Mailing List

[PHP] Executing PHP code in a database

2003-03-07 Thread Leo Spalteholz
include a file would it have access tio the local variables? Ie. In a class I have this: $strContent = blah, this is the content I got from the database; include(includefilefromdatabase.php); Is the $strContent variable then available from the include file? Thanks, Leo -- PHP General Mailing

Re: [PHP] Executing PHP code in a database

2003-03-07 Thread Leo Spalteholz
On March 7, 2003 09:15 pm, Leo Spalteholz wrote: Hi, I have a table that stores all the boxes that my website will display on the sides. So far the content is simply stored in a text field and then substituted for the box body. However this way I can't have any php code in the boxes

Re: [PHP] Difference between

2003-03-07 Thread Leo Spalteholz
; // should print 0 $x = 0; if(false $x++) print impossible; print $x; // should print 1 Warning: This may only work for Java or maybe I just can't remember it properly.. leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] ICQ # validation

2003-03-03 Thread Leo Spalteholz
? My icq is 6 digits Would be kinda cool if your scirpt did a search on icq.com and if it found a result then the ICQ # is valid.. of course that means you're relying on the icq server to be up and the search page to stay consistant.. leo -- PHP General Mailing List (http://www.php.net

Re: [PHP] Arrays and MySQL

2003-03-02 Thread Leo Spalteholz
], $totals[0][5] through $totals[19][5], etc. for each stat. I thought of putting them in a for loop and just adding them, but this seemed kind of messy and the long way around You can use array_sum(). What about SELECT SUM(Goals), SUM(assists)? Leo -- PHP General Mailing List (http

Re: [PHP] testing for 0

2003-02-28 Thread Leo Spalteholz
On February 28, 2003 10:41 am, Leif K-Brooks wrote: Try $timeb ''. Well whatta ya know I learn something new every day.. I thought the only valid not equal operator was !=... I'm used to using only for SQL server stored procedures or VB.. leo -- PHP General Mailing List (http

Re: [PHP] include

2003-02-24 Thread Leo Spalteholz
On February 23, 2003 11:08 pm, John Taylor-Johnston wrote: Which variable should I use? _SERVER[HTTP_HOST] _SERVER[SERVER_NAME] HTTP_HOST Server_NAME Host Docs are your friend. or JUST TRY IT. leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP Script

2003-02-24 Thread Leo Spalteholz
, and then starts the main script. So you set some variables but where are these used? The only configuration a php script may need will be so specific that a general interface cannot handle it. Leo PS: Microsoft copyrighted images. Commercial app. Bad idea. Seriously. On February 24, 2003 12:05 pm

[PHP] MSSQL Stored procedure return values

2003-02-22 Thread Leo Spalteholz
variable is set correctly there so that isn't the problem. Does anyone know what could be the problem there? I guess I could return ReturnCode in the recordset but that would be kinda hokey. Thanks, Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP running on Win 2000 and IIS

2003-02-22 Thread Leo Spalteholz
For help with getting MSSQL to work with php, check the comments for the mssql_execute and mssql_bind functions in the online php manual. You need some extra dlls. Leo On February 21, 2003 09:43 pm, John W. Holmes wrote: I wish to run PHP on a Win 2000 server, MS SQL and IIS. Can someone

Re: [PHP] flashing text possible on PDA?

2003-02-22 Thread Leo Spalteholz
how I can make text flash on a PDA considering that the PDA browsers do not support many Javascript commands? No! Just when I thought the blink tag was finally dead and gone someone wants to bring it to PDAs... :) Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] MAC address user recognition?

2003-02-20 Thread Leo Spalteholz
address with a (previously obtained) database of addresses and if it matches they would automatically be logged in. So I could preauthorize my friends and remember other users once they have signed up. It seemed like a cool idea but is this at all possible or am I just insane? Thanks, Leo -- PHP

Re: [PHP] MAC address user recognition?

2003-02-20 Thread Leo Spalteholz
:) Thanks, Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include() problems IGNORE PARENT

2003-02-14 Thread Leo Spalteholz
Never mind. Apparently I can't tell the difference between a capital and a lowercase B. time to crash methinks. leo On February 13, 2003 11:59 pm, Leo Spalteholz wrote: I just ran into a somewhat strange problem with an include failing. I have the following in my script: include(dirname

[PHP] Include() problems

2003-02-13 Thread Leo Spalteholz
for inclusion). My directory structure is: /LNDataBase LNDataBase.php /LNScreens LNScrMain.php index.php The file exists and it seems to be the exact same syntax as what I used to include the other file. What else could possibly be wrong? Thanks for any help, Leo -- PHP

[PHP] Static functions

2003-02-09 Thread Leo Spalteholz
it more seperate. Thanks, Leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Static functions

2003-02-09 Thread Leo Spalteholz
ah! thank you very much. Thats exactly what I was looking for. Leo On February 9, 2003 01:49 pm, David Eisenhart wrote: yes, you can call a static method on a class by specifying the class name, then 2 colons and finally the function name: classname :: functionname([arg

Re: [PHP] Re: Static functions

2003-02-09 Thread Leo Spalteholz
handling(20). Ok thats my (very unrealistic) wishlist for PHP :) leo On February 9, 2003 02:09 pm, David Eisenhart wrote: you may find the following link interesting http://www.tek271.com/articles/JavaOrPhp.html David Eisenhart -- PHP General Mailing List (http://www.php.net

[PHP] checking

2002-06-28 Thread Leo
if a varible is empty or not? leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] char function

2002-06-25 Thread Leo
i want a logical function (true or false) that search a character into a string.(like indexOf() in javascript) example: i want to find char '@ ' in the string [EMAIL PROTECTED] leo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 4.1.2 and gdbm

2002-03-05 Thread Leo
Hello, all! I have one problem i can't bild php --with-gdbm support I have it on my Linux: gdbm-180-10 and during install there are no errors, but when i try use function in my program (dbmopen(), dblist()) PHP write that it is undefined function Thanks! -- PHP General Mailing List

[PHP] sharing variables

2001-03-09 Thread Leo
hi i'm currently programming a php web application and i have the following problem: i need a login scheme; programmed a simple one. Whichever page the user reaches, in some i need their userid, for extra validation. so basically, i'm looking for a mechanism to share a variable between