Re: [PHP] Re: very very small CMS

2008-07-19 Thread Frank Arensmeier
bout a 3 or 4 weeks. If you can wait till then, just ask. Al. Al: Here's a CMS I've been working on. http://www.webbytedd.com/a/easy-page-db The idea is to allow the user edit pages in situ. That specific layout is only one of several different types. That's a really

[PHP] Function parameters and arrays

2008-09-18 Thread Frank Stanovcak
letters of [0][0] [0][0] = O [0][1] = E [0][2] = S Did I do something wrong, or is this not possible? I have done an array processing this way before, but not multidimmed. Frank. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Function parameters and arrays

2008-09-18 Thread Frank Stanovcak
Actually Stut pointed out that I was calling both dimmensions when my sorry butt should only have been referencing the second one. I had everything over expanded so I could see where the code was breaking. Thank you everyone for the help! That was fantastic! Frank ""Frank Stanovcak

[PHP] Filters and sanitizing a regexp

2008-09-25 Thread Frank Stanovcak
Is it possible to use the php filter function to sanitize a regular expression such as to return just the date part of a string that may be passed by an nonobservant user? "#\d\d/\d\d/\d\d\d\d#" input would be something like as02/05/2008df I want to use the filter to give me just the date shou

[PHP] Re: Filters and sanitizing a regexp

2008-09-25 Thread Frank Stanovcak
by the by I'm using filter_var($string, FITER_VALIDATE_REGEXP, blah blah blah) ""Frank Stanovcak"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is it possible to use the php filter function to sanitize a regular > expression such as to

[PHP] Sterilizing regexp

2008-09-30 Thread Frank Stanovcak
A while ago I asked a question and got a few answers, so I thought I would toss this out there as a follow up. I'm going to be using this to return filtered regexp values for a user interface. I haven't had a chance to enter this into my code yet, so if anyone sees something wrong please hamme

Re: [PHP] Sterilizing regexp

2008-09-30 Thread Frank Stanovcak
news:[EMAIL PROTECTED] Frank Stanovcak wrote: > A while ago I asked a question and got a few answers, so I thought I > would toss this out there as a follow up. I'm going to be using this > to return filtered regexp values for a user interface. > > I haven't had a chanc

Re: [PHP] store array into session variable and get it back later

2008-10-01 Thread Frank Arensmeier
'name']; echo ""; } how can i get the 'name' value for each row in this session stored array ? thx. ... The function you need to look into is called "serialize". http://www.php.net/manual/en/function.serialize.php //frank -- PHP General Mai

Re: [PHP] Login

2008-10-09 Thread Frank Stanovcak
"Wolf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> Redirects make sense IMO. IIRC the Yahoo guidelines say not to >> redirect after a form POST, but unless you have a ka-jillion page >> views a second (or, "a lot"), then I don't think it's a concern. > > Wait, Yahell has gui

[PHP] Yeah I'm sortof a noob

2008-10-09 Thread Frank Stanovcak
I'm trying to follow the three precepts of accepting user entries... 1. never trust it. 2. never trust it. 3. never trust it ever! I have one entry that may equal 0 on submission, and if it does is tripping a bool false result, so I came up with this work around. However when I put this in my c

[PHP] Re: Yeah I'm sortof a noob

2008-10-09 Thread Frank Stanovcak
Please disregard It was a code fragment elsewhere that got put in when I went to save. Thank you for looking though! Frank Savant at Large ""Frank Stanovcak"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm trying to follow the three precept

[PHP] Re: Yeah I'm sortof a noob

2008-10-10 Thread Frank Stanovcak
TY. That should help greatly! "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Frank Stanovcak wrote: >> I'm trying to follow the three precepts of accepting user entries... >> 1. never trust it. >> 2. never trust it. &

[PHP] MYSQL insert problems

2008-10-17 Thread Frank Stanovcak
I'm using the following code to try and do a simple insert query. However it won't insert the data into the table, and I get no error messages. What have I done wrong this time? $value) { echo $key . ' : ' . $value . ''; }; echo ''; }; mysql_close($connection); include('..\VariableReveal

[PHP] Re: MYSQL insert problems

2008-10-17 Thread Frank Stanovcak
Just incase the problem was refrencing an array in an SQL statement I tried this too with the same result. $value) { echo $key . ' : ' . $value . ''; }; echo ''; }; mysql_close($connection); include('..\VariableReveal.php'); ?> -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Frank Stanovcak
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, Oct 17, 2008 at 12:11 PM, Jay Blanchard <[EMAIL PROTECTED]> > wrote: >> >> It's Friday night, shouldn't you be going to the pub instead? > >In another eight years he'll be glad to do that. Little-known >

[PHP] Waste of storage space?

2008-10-28 Thread Frank Arensmeier
that the build-in compression functions from PHP5 are more efficient when it comes to large texts. Any other ideas? thank you. //frank ps. I notice that Mediawiki also stores complete articles in the db (every time an article is updated, the hole article is stored in the database). ds.

Fwd: [PHP] Waste of storage space?

2008-10-29 Thread Frank Arensmeier
Från: Yeti <[EMAIL PROTECTED]> Datum: ti 28 okt 2008 23.07.11 GMT+01:00 Till: "Frank Arensmeier" <[EMAIL PROTECTED]> Ämne: Re: [PHP] Waste of storage space? Hej, why not do a simple strlen() before comparison? Like if strlen (or mb_strlen()) is less than 50 do not serializ

Re: [PHP] Waste of storage space?

2008-10-29 Thread Frank Arensmeier
e efficient when it comes to large texts. All compression techniques (in or out of php) will work better on more text. I noticed that too. //frank -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Waste of storage space?

2008-10-29 Thread Frank Arensmeier
29 okt 2008 kl. 00.00 skrev Maciek Sokolewicz: Frank Arensmeier wrote: Hi all. In short, I am working on a system that allows me to keep track of changes to a large amount of short texts (a couple of thousand text snippets, two or three sentences per text). All text is stored in a

Re: [PHP] Waste of storage space?

2008-10-29 Thread Frank Arensmeier
29 okt 2008 kl. 01.08 skrev Bastien Koert: On Tue, Oct 28, 2008 at 4:24 PM, Frank Arensmeier <[EMAIL PROTECTED]> wrote: Hi all. In short, I am working on a system that allows me to keep track of changes to a large amount of short texts (a couple of thousand text snippets, two or

Re: [PHP] Printing Web Page

2008-11-06 Thread Frank Arensmeier
a php file. This might be a good starting point. http://www.alistapart.com/articles/printyourway //frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Waste of storage space? [follow-up]

2008-11-07 Thread Frank Arensmeier
1 nov 2008 kl. 16.27 skrev Michelle Konzack: Hello Frank, Do you use Linux or Windows? Initially, the system I am working on will be installed under Mac OS X Server. If Windows you have already lost since the cluster size of e.g. Windows 2003 is 32 kByte or 64 kByte... If

Re: [PHP] Googlebot

2004-01-27 Thread Frank Tudor
That's not very helpful. I am also curious about this. Anyone have a more thought provoking answer? Frank --- Raditha Dissanayake <[EMAIL PROTECTED]> wrote: > If you read the pages on google you will know the answer. > > Hartley, Matt wrote: > > >Is Googleb

[PHP] Local sysadmin DFW needed

2004-03-23 Thread Frank Tudor
endly we are also deadline oriented/success driven. Thanks, Frank __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Namespaces in PHP

2004-03-29 Thread Frank Tudor
plistic examples would help. It appears > however, you weren't really interested in the answer, rather you were > interested in splitting hairs with respect to the definition of > "namespace". My humble apologies for wasting your time. > Pay attention people: 'Rob&

[PHP] undefined mysql_connect() ???

2005-06-21 Thread Frank Whitsell
libs, which are in /usr/lib/mysql. PHP gives no other error messages. I'm out of ideas. Can anyone make any suggestions? TIA --frank-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] undefined mysql_connect() ???

2005-06-21 Thread Frank Whitsell
owered-By: PHP/4.3.9 [EMAIL PROTECTED] tst]$ exit Script done on Tue 21 Jun 2005 03:49:34 PM CDT --frank-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] undefined mysql_connect() ???

2005-06-21 Thread Frank Whitsell
es/ should load the correct module. But there is no mention at all of "libphp4.so" in the httpd.conf file, or anywhere else I can find. In fact, a search for "php" in the httpd.conf file finds nothing. I'm really stumped. --frank-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] undefined mysql_connect() ???

2005-06-22 Thread Frank Whitsell
should I specify the pkg name? I want php4, not php5, and I want mysql 3.23.58 (or later if any) but not mysql 4. So would I use: yum install php, or yum install php-4.3, or yum install php-4.3.9 to get the same version I have currently installed, or what? Thanks again for your sai

[PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Frank Arensmeier
eal p.i.t.a. when it comes to all kinds of web standards. And my best guess is that this could have to do with headers, or? Google was not my friend this time, I might say. /frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-22 Thread Frank Arensmeier
sn't so good after all. I mean, if I do the same thing with a usual GET request, even Explorer won't make any trouble. But on the other hand, the "PDF-generating-thing" is supposed to be on an other server than the webserver. And I don't like to expose this server to th

Re: [PHP] PDF Thumbnails

2005-09-26 Thread Frank Arensmeier
Hi. I've tried some different kinds of setups to do this. And my recommendation for you would be Ghostscript, maybe together with ImageMagick. Have a look at: http://www.imagemagick.org/script/index.php http://www.cs.wisc.edu/~ghost/ regards, frank 2005-09-26 kl. 07.42 skrev [

Re: [PHP] Problem with Internet Explorer when downloading / viewing dynamically generated PDF files

2005-09-26 Thread Frank Arensmeier
apache.org, but this list seems to have very low traffic. /frank 2005-09-22 kl. 12.59 skrev Frank Arensmeier: Hello list-members I have written a script which dynamically generates PDF documents (with PDFlib). The link to the PDF file is presented as a static link (thanks btw to Richard Lync

[PHP] Array Select from database

2005-09-28 Thread Frank Keessen
value of array 1'" So that the query loops through the whole array... Thanks, Frank

Re: [PHP] Array Select from database

2005-09-28 Thread Frank Keessen
t;select * from client WHERE clientaccountmanager='$value of array1' OR '$2nd value of array 1'" How can i loop through the query with all the values out of the array as OR value.. Thanks, Frank On 9/28/05, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > [snip]

[PHP] array_shift not working?

2005-09-28 Thread Frank Keessen
( [count] => 2 [0] => 210 [1] => 149 ) How can i remove the 'count' from the array? Regards, Frank

Re: [PHP] Is there a way to determine wich browser a visitor uses in php?

2005-11-23 Thread Frank Armitage
ng IE: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) > > Does that just mean that it's not completely accurate? > Try get_browser() http://php.net/manual/en/function.get-browser.php HTH Frank -- tradeOver | http://www.tradeover.net ready to become the King of the World?

Re: [PHP] Regexp trouble

2005-11-24 Thread Frank Armitage
#x27;; $pattern = '/^(\w{3})\s(\d{2})\s(\d{2}):(\d{2}):(\d{2})/'; if (preg_match($pattern, $subject, $matches)) { print_r($matches); } nicely prints: Array ( [0] => Nov 22 06:51:36 [1] => Nov [2] => 22 [3] => 0

Re: [PHP] Regexp trouble

2005-11-24 Thread Frank Armitage
Andy Pieters wrote: > > Err.. why NOT use character classes? What is easier [0-9] or \d or maybe > [a-zA-Z] or [\w], ... ? > Well, first of all the square brackets in [\w] aren't needed, \w already means 'any "word" character'. Secondly, [a-zA-Z] is not the same as \w: " A "word" character i

[PHP] preg_replace - I don't have a clue

2006-01-12 Thread Frank Bax
As I understand the docs for preg_replace(), I can enclose an PCRE expression in parenthesis and use a backreference in the replace string; but it's not working! Data coming from another system contains a lot of data in one text record which I must parse. Individual elements in the record are

[PHP] Re: preg_replace - I don't have a clue

2006-01-13 Thread Frank Bax
Is this the wrong forum for this question - or does no-one else have a clue about this either? At 09:43 AM 1/12/06, Frank Bax wrote: As I understand the docs for preg_replace(), I can enclose an PCRE expression in parenthesis and use a backreference in the replace string; but it'

Re: [PHP] preg_replace - I don't have a clue

2006-01-13 Thread Frank Bax
At 05:15 PM 1/13/06, Anthony Best wrote: On 1/12/06, Frank Bax <[EMAIL PROTECTED]> wrote: > > reg_replace( ' (\d+\$)', '+$0', $prop ); /* results in > dollar-alpha-space-space-plus-digits-dollar */ > $Fencing +11$Lumber +17$Weight: 317 Stone

Re: [PHP] Zend IDE price plans

2001-01-27 Thread Frank Joerdens
'. If X happens to be Y/12, it's still not the same. Just my $0.02. - Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] No input file specified. (using PHP for shell and CGI scripting)

2001-01-30 Thread Frank Joerdens
nign the PHP script "standalone" it will only produce "No input specified.", with or without -q. I'm stumped. What input is PHP expecting? It behaves like any scripting language on the command line but does weird things when http is involved it seems. Can anyone enlighten

[PHP] Apache won't start after installing php4

2001-02-02 Thread Frank Passek
-module enabled, it crashes with a segmentation fault. Any Ideas about this? Please let me know if you need further information. Thanks a lot Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Frank Joerdens
. #!/usr/local/bin/php -q Is what you do. Annoyingly, though, this does not work if you use PHP this way for CGI Programming . . . Regards, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

RE: [PHP] Piping/parsing Apache logs though PHP?

2001-02-13 Thread Balak, Frank
I don't know if this will do it for you, but try mod_log_mysql. This module logs all request to tables of your definition. It doesn't do the error log though. Frank -- Franklin J. Balak Jr. Quality Assurance Data Analyst Brown Printing Company Waseca Divis

RE: [PHP] email.. (check this one out!)

2001-02-14 Thread Balak, Frank
use a \n (newline character) in your string where you want the break. Frank -- Franklin J. Balak Jr. Quality Assurance Data Analyst Brown Printing Company Waseca Division Waseca, MN. 56093 Voice: 507-835-0253 Fax: 507-835-0293

Re: [PHP] Creative solution with XML,PHP,MYSQL

2001-02-17 Thread Tim Frank
e usable. Tim Frank >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 17/02/01, 9:23:00 AM, [EMAIL PROTECTED] (Siim Einfeldt aka Itpunk) wrote regarding [PHP] Creative solution with X

Re: [PHP] .php3 in PHP4?

2001-02-17 Thread Tim Frank
Or you could just put them all on one line like AddType application/x-httpd-php .php .php3 .php4 .phtml if you prefer. Tim Frank >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<&l

Re: [PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-09 Thread Frank M. Kromann
it and create the data in a MSSQL server on a Win32 box (PHP is running on your AIX box). - Frank > Hi, > > I got a little project and I need to come up with a solution on how to > finish it and was hoping if you guys can give me any ideas. > > I have a PERL script on a Uni

Re: [PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-09 Thread Frank M. Kromann
it and create the data in a MSSQL server on a Win32 box (PHP is running on your AIX box). - Frank > Hi, > > I got a little project and I need to come up with a solution on how to > finish it and was hoping if you guys can give me any ideas. > > I have a PERL script on a Uni

RE: [PHP] PHP / Apache 2.0.39 issues

2002-07-26 Thread Frank S. Kicenko
Yes I found it... thank you! -Original Message- From: Aaron Gould [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 9:56 AM To: Frank S. Kicenko; [EMAIL PROTECTED] Subject: Re: [PHP] PHP / Apache 2.0.39 issues Searching the list archives will reveal the answer. I've answered

[PHP] PHP / Apache 2.0.39 issues

2002-07-26 Thread Frank S. Kicenko
Hello again.. I have another compile problem, I'm wondering if someone can help me. I've built and installed Apache 2.0.39 and am recompiling PHP4.2.2. Below are the details.. ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr --with-oci8=`dbhome` Compiling... Entering direct

[PHP] Oracle 8i SQL Problem..

2002-07-28 Thread Frank S. Kicenko
Hi, This really isn't a PHP issue..sorry. I'm having a nightmare with Oracle 8i (pos!). I'm writing common SQL which works for MSSQL 2K and seems correct for Oracle... but keeps giving me a Error.. ORA-00933 SQL command not properly ended on the following query... SELECT grp.grpdescrip, grp.grp

[PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
U... Does anybody know why this doesn't work... Example: $cap = 16383; $cap1 = dechex($cap); // cap1 is now equal to 3FFF; $bit = ($cap1 | 0x01); //bit should equal 3FFF, but it doesn't.. it is always = 3 !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

RE: [PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
I think the goofy variable is getting truncated (3FFF | 4) is returning 7 (4FFF | 4) is returning 8 -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 6:37 PM To: Frank S. Kicenko; [EMAIL PROTECTED] Subject: RE: [PHP] Hex operations

RE: [PHP] Hex operations

2002-06-20 Thread Frank S. Kicenko
sorry... (4FFF | 4) is returning 4 -Original Message- From: Frank S. Kicenko Sent: Thursday, June 20, 2002 7:34 PM To: Martin Towell; [EMAIL PROTECTED] Subject: RE: [PHP] Hex operations I think the goofy variable is getting truncated (3FFF | 4) is returning 7 (4FFF | 4) is

[PHP] Scheduling tasks

2002-07-05 Thread Frank S. Kicenko
Hi, I couldn't find anything in the help files or the faq... but. Are there any scheduling fuctions with PHP? What I'm looking for is something functionally close to a crontab. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP CGI-Binary

2001-02-25 Thread Frank M. Kromann
IF you dont specify --with-apache or --with-apxs configure options you will build the CGI ! - Frank >Ok, I give up... how do I build PHP as a CGI-Binary? I've spent two days >searching the configure file for this. > >Julia > >-- >[ Julia Anne Case ] [

[PHP-CVS] cvs: php4 /ext/standard info.c

2001-03-03 Thread Frank M. Kromann
fmk Sat Mar 3 18:41:27 2001 EDT Modified files: /php4/ext/standard info.c Log: Changed code layout to remove PHP warning when running php as a CGI. Index: php4/ext/standard/info.c diff -u php4/ext/standard/info.c:1.129 php4/ext/standard/info.c:1.130 --- p

[PHP-CVS] cvs: php4 /main main.c

2001-03-07 Thread Frank M. Kromann
fmk Wed Mar 7 08:33:14 2001 EDT Modified files: /php4/main main.c Log: Removing a compiler warning Index: php4/main/main.c diff -u php4/main/main.c:1.355 php4/main/main.c:1.356 --- php4/main/main.c:1.355 Sat Mar 3 17:45:19 2001 +++ php4/main/main.c

[PHP-CVS] cvs: php4 /ext/mssql php_mssql.c php_mssql.h

2001-03-09 Thread Frank M. Kromann
fmk Fri Mar 9 15:37:56 2001 EDT Modified files: /php4/ext/mssql php_mssql.h php_mssql.c Log: Adding a new function mssql_next_result() allowing the query to return more than one result. This can be done with a stored procedure or by sending more than o

[PHP-CVS] cvs: php4 /ext/odbc php_odbc.c php_odbc.h

2001-03-09 Thread Frank M. Kromann
lt;[EMAIL PROTECTED]> | - | Frank M. Kromann <[EMAIL PROTECTED]> Support for DB/2 CLI | + | Frank M. Kromann <[EMAIL PROTECTED]> Support for DB/2 CLI | +--+ */ -/* $Id: php_odb

[PHP-CVS] cvs: php4 /ext/mssql php_mssql.c php_mssql.h

2001-03-13 Thread Frank M. Kromann
. | +--+ - | Authors: Frank M. Kromann <[EMAIL PROTECTED]> | + | Authors: Frank M. Kromann [EMAIL PROTECTED]> | +--+ */ -/* $Id: php_

[PHP-CVS] cvs: php4 /ext/pcre php_pcre.c

2001-03-13 Thread Frank M. Kromann
fmk Tue Mar 13 08:39:48 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Fixing compiler warning on win32 Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.89 php4/ext/pcre/php_pcre.c:1.90 --- php4/ext/pcre/php_pcre.c:1.89

[PHP-CVS] cvs: php4 /ext/fbsql .cvsignore Makefile.in config.m4 fbsql.dsp php_fbsql.c php_fbsql.h

2001-03-13 Thread Frank M. Kromann
oup "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=.\php_fbsql.c # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # Begin Source File SOURCE=.\php_fbsql.h # End Source File # End Gr

[PHP-CVS] cvs: php4 /win32 php_modules.dsw

2001-03-13 Thread Frank M. Kromann
fmk Tue Mar 13 13:02:52 2001 EDT Modified files: /php4/win32 php_modules.dsw Log: Adding FrontBase extension to modules Index: php4/win32/php_modules.dsw diff -u php4/win32/php_modules.dsw:1.38 php4/win32/php_modules.dsw:1.39 --- php4/win32/php_modules.dsw:

[PHP-CVS] cvs: php4 /ext/printer CREDITS

2001-03-15 Thread Frank M. Kromann
2000 +++ php4/ext/printer/CREDITSThu Mar 15 22:15:58 2001 @@ -0,0 +1,2 @@ +PRINTER +Daniel Beulshausen, Frank M. Kromann -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP-CVS] cvs: php4 /ext/standard array.c

2001-03-16 Thread Frank M. Kromann
fmk Fri Mar 16 11:48:40 2001 EDT Modified files: /php4/ext/standard array.c Log: Fixing build on Win32 by adding missing BLS_FETCH(); Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.102 php4/ext/standard/array.c:1.103 --- php4

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-20 Thread Frank M. Kromann
fmk Tue Mar 20 11:21:45 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Converting to c-style comments. Adding prototypes to all exported function Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.1 php4/ext/fbsql/php_f

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-20 Thread Frank M. Kromann
fmk Tue Mar 20 12:25:55 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing crash when result conrains 0 rows Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.2 php4/ext/fbsql/php_fbsql.c:1.3 --- php4/ext/fbsql/php_fbs

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-04-16 Thread Frank M. Kromann
fmk Mon Apr 16 09:27:12 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing memory leek on CancelFetch. Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.10 php4/ext/fbsql/php_fbsql.c:1.11 --- php4/ext/fbsql/php_fbsql.c

Re: [PHP] Wrong parameter count

2001-04-16 Thread Frank M. Kromann
According to the documentation http://php.net/manual/en/function.mysql-result.php mysql_result takes 2 and an optional third parameter. The second parameter should be the row number. - Frank > Hi, can some one please help me figure out why the value $device isn't being passed >on

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c php_fbsql.h

2001-04-17 Thread Frank M. Kromann
fmk Tue Apr 17 10:39:43 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.h php_fbsql.c Log: Adding fbsql_fetch_assoc() functon Index: php4/ext/fbsql/php_fbsql.h diff -u php4/ext/fbsql/php_fbsql.h:1.2 php4/ext/fbsql/php_fbsql.h:1.3 --- php4/ext/fbsql/p

Re: [PHP] ACSII in PHP

2001-04-18 Thread Frank M. Kromann
You can use $temp = ord("A"); And you will then see that it's 65 end not 99 :-) - Frank > Is there any function in PHP that I could use to know the number of the > ASCII table of letter "A" for example? > > > something like: $tmp=function_name("

[PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-23 Thread Frank M. Kromann
fmk Mon Apr 23 10:33:22 2001 EDT Modified files: /php4/main config.w32.h php_ini.c Log: Fix build on WIn32 Should the new directorys be static? Index: php4/main/config.w32.h diff -u php4/main/config.w32.h:1.40 php4/main/config.w32.h:1.41 --- php4/main/co

Re: RE: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-23 Thread Frank M. Kromann
Hi James, No problem. I change it to #define PHP_CONFIG_FILE_PATH getenv("SystemRoot") What about all the other directories ? These should be configureable too. - Frank > > fmk Mon Apr 23 10:33:22 2001 EDT > > > > Modified files: > > /php

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-23 Thread Frank M. Kromann
We can not use regestry settingns unless we have an installer or at least a reg file to help users configure these. I woud suggest the method with environment variables as step one. - Frank > Monday, April 23, 2001, 10:19:36 PM, you wrote: > > It should be the Program Files

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.h

2001-04-25 Thread Frank M. Kromann
fmk Wed Apr 25 11:00:55 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.h Log: removed unused code Index: php4/ext/fbsql/php_fbsql.h diff -u php4/ext/fbsql/php_fbsql.h:1.3 php4/ext/fbsql/php_fbsql.h:1.4 --- php4/ext/fbsql/php_fbsql.h:1.3 Tue Apr

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-04-25 Thread Frank M. Kromann
fmk Wed Apr 25 11:01:23 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: make fbsql_field_flags return a value Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.12 php4/ext/fbsql/php_fbsql.c:1.13 --- php4/ext/fbsql/php_fbsq

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-04-25 Thread Frank M. Kromann
fmk Wed Apr 25 12:45:14 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Remove c++ comment Move errormessage when FBExec is not running. This error should not show if we connect through a port number. Index: php4/ext/fbsql/php_fbsql.c diff

Re: [PHP] PHP, MSSQL7 & Transactions

2001-04-25 Thread Frank M. Kromann
you just have to execute a statement starting and ending the transaction. BEGIN TRANSACTION COMMIT ROLLBACK Yuu send thes commands to the server with mssql_query() as any other SQL statement. - Frank > I am trying to implement transactions using PHP and MSSQL 7 (Microsoft). Please &g

Re: [PHP] timezones

2001-04-30 Thread Frank M. Kromann
I would use gmktime() to create a UTC timestamp stored in the database, and then use the knowledge about each users timezone to convert this information when showing it. - Frank > I have a quick question regarding timezones ... > > On the local side a record is inserted into the DB b

[PHP] Re: [PHP-DB] Connect to IBM DB2

2002-01-02 Thread Frank M. Kromann
--with-ibm-db2 and get the ODBC functions linked directly with CLI. This is not currently available on Windows. - Frank > To connect to Microsoft SQL 7 I'm using the following script which works > fine: > > $query="SELECT * FROM DB1"; > $queryupd="UPDA

Re: [PHP] win2k..grrr

2002-01-04 Thread Frank M. Kromann
I do that all the time without any problems. Could you give us a (small) sample script ? - Frank > Hey, > Does anyone know WHY form scripts, that submit to themselves, dont work on > windows boxes?? Example : > I have a script called mail.php. The first part of the script display

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-21 Thread Frank M. Kromann
fmk Wed Mar 21 11:56:34 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: changed arg types from pval* to zval** Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.3 php4/ext/fbsql/php_fbsql.c:1.4 --- php4/ext/fbsql/php_fbsq

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-21 Thread Frank M. Kromann
fmk Wed Mar 21 13:53:45 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: setting right params to zend_get_parameters_ex Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.4 php4/ext/fbsql/php_fbsql.c:1.5 --- php4/ext/fbsql/

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-22 Thread Frank M. Kromann
fmk Thu Mar 22 13:16:23 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Adding warning when query fails Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.5 php4/ext/fbsql/php_fbsql.c:1.6 --- php4/ext/fbsql/php_fbsql.c:1.5

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-03-22 Thread Frank M. Kromann
fmk Thu Mar 22 16:58:59 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Removing extra check for warnings. Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.6 php4/ext/fbsql/php_fbsql.c:1.7 --- php4/ext/fbsql/php_fbsql.c:1

Re: [PHP] PHP error parsing SQL string containing assoc. array

2001-03-23 Thread Frank M. Kromann
SER_ID'], $user_fields['MINS_TILL_EXPIRE']); Your sample code also mised a ' after the first variable ! - Frank > I'm trying to write a sql statement (for Oracle) that uses an associative > array element as a dynamic value. PHP is choking on this line: >

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-04-03 Thread Frank M. Kromann
fmk Tue Apr 3 11:09:02 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing crash when listing databsaes Fixing rowcount to woirk when the result contains an array og data. Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsq

Re: [PHP] Change the filename sent via html header

2001-04-03 Thread Frank M. Kromann
You can use something like this: this will change the mime type and filename of the content send to the browser. - Frank > On 4/3/01 12:34 PM, "Spunk S. Spunk III" <[EMAIL PROTECTED]> wrote: > > > I've got a script that returns a smil file in a header but I

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c php_fbsql.h

2001-04-04 Thread Frank M. Kromann
fmk Wed Apr 4 13:10:14 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.h php_fbsql.c Log: Adding empty RSHUTDOWN function. Index: php4/ext/fbsql/php_fbsql.h diff -u php4/ext/fbsql/php_fbsql.h:1.1 php4/ext/fbsql/php_fbsql.h:1.2 --- php4/ext/fbsql/php

[PHP-CVS] cvs: php4 /ext/fbsql php_fbsql.c

2001-04-10 Thread Frank M. Kromann
fmk Tue Apr 10 11:44:51 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: Fixing database password to actually work Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.9 php4/ext/fbsql/php_fbsql.c:1.10 --- php4/ext/fbsql/php_f

Re: RE: [PHP] mssql and uniqueidentifier's

2001-06-29 Thread Frank M. Kromann
handle the convertion "select id from mytable" will return binary data if id is a UNIQUEIDENTIFIER. "select case(id as varchar(36)) from mytable" will do the convertion on the server and return a valid string. - Frank > well, the SQL statement you're trying to execute >

Re: [PHP] Large Text Fields from MS SQL DB Truncated

2001-07-02 Thread Frank M. Kromann
Have a look at these two settings in your php.ini ; Valid range 0 - 2147483647. Default = 4096. ;mssql.textlimit = 4096 ; Valid range 0 - 2147483647. Default = 4096. ;mssql.textsize = 4096 - Frank > Hi, > I've hit a little problem... When retreiving large TEXT data (eq

Re: [PHP] What is PHP's equivalent?

2001-09-17 Thread Frank M. Kromann
Hi Eric, You can use COM in PHP if your scripts run on Windows 32. You can also use Java clases directly from yor php scripts. - Frank > What is PHP's equivalent to ASP/COM or JSP/EJB? Basically, I want to get an > idea of what methods there are of having multi tier development i

Re: [PHP] real simple regex

2001-09-17 Thread Frank M. Kromann
Take a look at http://php.net/manual/en/function.imap-rfc822-parse-adrlist.php This function will do the trick. You can also have a look at http://php.net/manual/en/function.imap-mail.php. This is an extended mail function and it works on both WIndows and *nix. - Frank > I had to write

Re: [PHP] real simple regex

2001-09-18 Thread Frank M. Kromann
The imap_mail() function connects to a SMTP the same way mail() does. It just takes a few paremeters more allowing you to set Reply-To and other headers normaly defined in PHP.INI. In general the imap functions can be used with IMAP¤ and POP3 servers to read mails. - Frank > but can i

<    1   2   3   4   5   6   >