[PHP] Re: Searching a MySQL database?

2001-01-14 Thread Kristofer Widholm
>I remember seeing someone post something like this: > >$sql = " SELECT * FROM table_name > WHERE towns LIKE \"$town\" "; > >so if the search word is not EXACTLY like a row in the database, it may >return results to partial words. I think you mean $sql = "SELECT * FROM table_name WHERE to

[PHP] Re: Another q, this time eregi_replace

2001-01-14 Thread Kristofer Widholm
Here's what you wrote, 01-01-14: >I'd like to be able to trim out some html tags, but only certain ones. I've >used eregi_replace before and have some replacements running on some >scripts... For this, I'd use strip_tags(). Example: strip_tags($contents, "") Will remove all tags from a us

Re: [PHP] mixing HTML and PHP code

2001-01-14 Thread Kristofer Widholm
> >> > >> what are you doing making a connection to a database on the same page you > >> spit out the results from? > > As long as the password and username are on an include not available in the http doc tree, I would assume you can use that included function to connect as much as you want

[PHP] hello

2001-01-14 Thread SuiteNet Operations Manager
I was wondering what Im sure a well knowledged php expert like your self would recommend a hands on php crash course. The best way for me to jump right in to understanding php and getting started making my first data base. with php3 and mysql. I understand that is how you have to do it. See Im run

[PHP] regular expression

2001-01-14 Thread Fai
^.+@.+\\..+$ This regular expression can check if the email address is valid. But it cannot validate the email address with two "@", does anybody know how to enhance this regular expression to be able to validate the email address with two "@". -- PHP General Mailing List (http://www.php.net/

[PHP] Display who is onlin

2001-01-14 Thread TOM
Is it possible to find out who is logged in a site and display their name in PHP? -- best wishes, enethk -- 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: [

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread php3
Addressed to: Alex Black <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001 17:16:50 -0800 > > > Whoever said NFS is slow hasn't used a NetApp > OK, I'll bite. What is NetApp? Network Appliance? Is this a cache technolo

Re: [PHP] call time pass by reference - help

2001-01-14 Thread php3
Addressed to: "Matt Friedman" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Matt Friedman" <[EMAIL PROTECTED]> Sun, 14 Jan 2001 21:21:32 -0800 > > There are a number of methods in the session class of phplib. > > With phplib and php4.0.4 I am seeing the following war

Re: [PHP] REGEX

2001-01-14 Thread Rasmus Lerdorf
First, the ()'s in the split regex makes no sense. Split has no registers to save stuff to. Second, that is a rather clunky way to loop through an array. Third, since the regex in split defines the delimiter to use to split the string on, the actual "1 -->" part of the data is gone. Why are yo

Re: [PHP] tie string value together

2001-01-14 Thread Brian Clark
Hello Jacky, (Jl == "Jacky@lilst") [EMAIL PROTECTED] writes: Jl> This may sound too easy to ask but I want ot make sure if I'm Jl> correct. I have a form with date, month and year select fields in Jl> it. When I submit, i want to tie those three fields value together Jl> and insert into a fiel

Re: [PHP] SMs

2001-01-14 Thread Alain Fontaine
Hi, This "special server" is usually called an SMSC - SMS Center, run by your mobile operator. These SMSC's are pretty powerful in the way that you can access them through TCP (VPN for sure, and sometimes even HTTP), or through a direct link connexion. You'd need to talk to your mobile operator t

Re: [PHP] I once saw a site where php codes, algorithms specially, where posted.

2001-01-14 Thread Romulo Roberto Pereira
I think that is what you are looking for... http://px.sklar.com/ anyway in php.net they have a bunch of them in the links section. Have fun! Rom - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 15, 2001 1:23 AM Subject: [PHP] I once saw a sit

RE: [PHP] date comparison II

2001-01-14 Thread Jason Murray
> may be I did not make my question clear about what I try to > do. Basically if I have 2 date values in the same format like > -mm-dd, can I use both values to find out if one come > before another and then display message or something? Say I > have $date1 = 20010115 and $date2 = 20010120

RE: [PHP] I once saw a site where php codes, algorithms specially, where posted.

2001-01-14 Thread Jason Murray
> It has px...something...i cannot remember the exact site. > > could someone point me to that site? http://px.sklar.com Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

[PHP] I once saw a site where php codes, algorithms specially, where posted.

2001-01-14 Thread bbt
It has px...something...i cannot remember the exact site. could someone point me to that site? thank you. bernie -- 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

[PHP] date comparison II

2001-01-14 Thread [EMAIL PROTECTED]
Hi people, may be I did not make my question clear about what I try to do. Basically if I have 2 date values in the same format like -mm-dd, can I use both values to find out if one come before another and then display message or something? Say I have $date1 = 20010115 and $date2 = 20010120

[PHP] Parse Error

2001-01-14 Thread Wade Halsey
Hi Im getting a parse error with this: $sqlCheckLogin = sqlExecute( "Select * from Sky where SkyUName = '".$HTTP_POST_VARS['UserName']."' AND SkyPasswd = '".($HTTP_POST_VARS['Password'])."'" ) ; Help

[PHP] Re: [phplib] Call Time Pass By Reference PROBLEM.

2001-01-14 Thread Matt Friedman
Ok, but the warning says that call time pass by reference is deprecated. Will there be an update at some point to address this in phplib? Matt Friedman Spry New Media http://www.sprynewmedia.com Lead Programmer/Partner email: [EMAIL PROTECTED] phone: 250 744 3655 fax: 250 370 0436 - Origi

Re: [PHP] date comparison

2001-01-14 Thread [EMAIL PROTECTED]
all right, now I have both date values in the same format (/mm/dd), say $Date1 = 20010115 and $Date2 =20010120. If what I want is to find out if $Date1 come before $Date2, can I just use this sniplet below? if ($Date1 < $Date2) { ... } else { ... } Do I still need to use mktime()

[PHP] REGEX

2001-01-14 Thread Romulo Roberto Pereira
Hey people! What is wrong with this code? $buffer = split("([0-9] -->)",$pagedata); $x = count ($buffer); echo $x; for ($i=0;$i<$x;$i++) { ereg("([0-9] -->)", $buffer[$i], $text); ereg_replace (" -->","", $text[1]); echo $text[1]; } Since $pagedata has 8 appearences of the REGEX I a

RE: [PHP] date comparison

2001-01-14 Thread Jason Murray
> can I used the value from that variables to compare with another > date value? Say another date value I will use is also retrieved > from a field in table which is in Date data type as well. When you get into this stuff, it all starts getting a lot more complicated. If you want to compare tw

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

2001-01-14 Thread Sebastian Bergmann
Stig Bakken wrote: > ssb Sun Jan 14 17:11:06 2001 EDT > > Modified files: > /php4/ext/odbc php_odbc.c php_odbc.h > Log: > @- Added odbc_error() and odbc_errormsg() functions (Stig) PHP 4 does not build on Win32 after this patch: php_odbc.c D:\Programme\MS Visual Stu

RE: [PHP] tie string value together

2001-01-14 Thread Philip Olson
Also, a great tutorial on strings is (print this out): Using Strings: -- http://www.zend.com/zend/tut/using-strings.php by Nathan Wallace As well as the manual entry : PHP Manual

[PHP] date comparison

2001-01-14 Thread [EMAIL PROTECTED]
Greeting all, Just now I asked about to tie string values together and would like to thank Jason for that. Anyway one more thing, after I have tied string values together and assigned that to a virables. can I used the value from that variables to compare with another date value? Say another date

[PHP] call time pass by reference - help

2001-01-14 Thread Matt Friedman
There are a number of methods in the session class of phplib. With phplib and php4.0.4 I am seeing the following warnings: Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function na

[PHP] RE: PHP Schedule

2001-01-14 Thread Paul Mullen
>> For example: the week number is 26, and I have to know which >> was its first day (the date, not the day of the week), say 06/21/2001, >> monday. > >If the week number is 26, then thats 26 x 7 = 182 days into the year. That would give him the number of days into the year the last day of week

RE: [PHP] tie string value together

2001-01-14 Thread Jason Murray
> This may sound too easy to ask but I want ot make sure if I'm correct. I > have a form with date, month and year select fields in it. When I submit, i > want to tie those three fields value together and insert into a field in > table which has date data type. Is it correct to tie those three val

[PHP] tie string value together

2001-01-14 Thread [EMAIL PROTECTED]
hi all, This may sound too easy to ask but I want ot make sure if I'm correct. I have a form with date, month and year select fields in it. When I submit, i want to tie those three fields value together and insert into a field in table which has date data type. Is it correct to tie those three val

Re: [PHP] PHP vs JSP

2001-01-14 Thread Joe Stump
This has been covered extensively in the archives - just an FYI. --Joe On Sun, Jan 14, 2001 at 10:10:56PM -0600, Cal Evans wrote: > Actually, I understand what he's trying to say, even if I don't agree with > him. The main problem people have had with load balancing is sessions. If a > particul

RE: [PHP] PHP vs JSP

2001-01-14 Thread Cal Evans
Actually, I understand what he's trying to say, even if I don't agree with him. The main problem people have had with load balancing is sessions. If a particular scripting language *cough*ASP stores session information in memory then the load balancing system has to always send the session from a

RE: [PHP] transforming an HTML Comment in a HTML TAG

2001-01-14 Thread Jason Murray
> I know what you mean, but I have more than 200 rows already > with these surrounding my texts and to modify manually > would take ours... I didn't think in that before... Only 200? Why not just do a global search and replace? Or write a script to do it for you. It'll save you a headache when

Re: [PHP] transforming an HTML Comment in a HTML TAG

2001-01-14 Thread Romulo Roberto Pereira
> Either way, it should be easy enough to change that code I gave you > to do that? I know what you mean, but I have more than 200 rows already with these surrounding my texts and to modify manually would take ours... I didn't think in that before... How would be a REGEX to recognize the tag a

RE: [PHP] transforming an HTML Comment in a HTML TAG

2001-01-14 Thread Jason Murray
> This is a nice idea but would not be more efficient if I > substitute the entire block like this: Not sure - it may be slightly slower to search for a larger block. I am Jack's complete lack of clue on this matter (Rasmus?). Either way, it should be easy enough to change that code I gave you

Re: [PHP] transforming an HTML Comment in a HTML TAG

2001-01-14 Thread Romulo Roberto Pereira
This is a nice idea but would not be more efficient if I substitute the entire block like this: this is what I have in the database: ANY TEXT this is what I want: ANY TEXT  what youl be a REGEX to substitute that block for this one above? Thank you, Rom > Then, you get your complete text

Re: [PHP] transforming an HTML Comment in a HTML TAG

2001-01-14 Thread Toby Butzon
I think the ! might have an effect on the regexp interpretter... it's easy enough to escape it (\!) though. --Toby - Original Message - From: "Jason Murray" <[EMAIL PROTECTED]> To: "'Romulo Roberto Pereira'" <[EMAIL PROTECTED]>; "php-general" <[EMAIL PROTECTED]> Sent: Sunday, January 14,

RE: [PHP] Re: [PHP-DEV] cookies and sessions security

2001-01-14 Thread Jason Murray
> Very good: keep the thing on a secure connection all the time, set a > session id cookie and keep all user info (possibly including remote ip) > in the server's session db... (vulnerable to nothing I can think > of at the moment...) > > There are probably more things you could do I haven't th

RE: [PHP] transforming an HTML Comment in a HTML TAG

2001-01-14 Thread Jason Murray
> So, before the end HTML comment I would like to add an image. > How do I do that? The first thing I suggest you do is use a comment for starting and a comment for ending - this makes it all a LOT easier to parse. Start: End: Then, you get your complete text into $buffer and just: ";

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

2001-01-14 Thread Sascha Schumann
sas Sun Jan 14 19:21:05 2001 EDT Modified files: /php4/main php_ini.c php_globals.h Log: Defer loading of extensions until all configuration entries have been added to the configuration hash. Index: php4/main/php_ini.c diff -u php4/main/php_ini.c:1.47

[PHP] Re: [PHP-DEV] cookies and sessions security

2001-01-14 Thread Toby Butzon
Please note: The php-dev list is for developers of PHP (who create/maintain PHP, which is written in C); questions about programming in PHP should be addressed to [EMAIL PROTECTED] For more information, please see php.net/support.php. ---shifted to php-general from php-dev--- > I would like to as

[PHP] transforming an HTML Comment in a HTML TAG

2001-01-14 Thread Romulo Roberto Pereira
Hey Folks! I am bringing from the database HTML source like this: We are committed to our employee’s well being and professional development I would like to make this: We are committed to our employee’s well being and professional development   So, before the end HTML comment I would

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread Josh G
Another technique is use a quick-and dirty save of one line to a text file, and have a cron script or somehting similar simply run every day or every few hours that reads from your home-made log into a db table, and then empties the file. Gfunk My name was Brian McGee, I stayed up

[PHP] Re:[PHP] logging page views, which method is better????

2001-01-14 Thread George Schlossnagle
For a good distributed logging solution, check out mod_log_spread (http://www.backhand.org/mod_log_spread/). It's an apache module that handles distributed logging by writing logs to reliable multicast groups. Additionally, because it multicasts data, additional clients and log writers can be ad

Re: [PHP] Use

2001-01-14 Thread Toby Butzon
I like this one and I think I'll comment on it... > > can people give me opinions as to why > a. PHP4 specific > b. Many do not know what it is / what it does > c. Will not work when short_tags are disabled > d. Does not follow PEAR standards (ed. guess) > e. Looks funny / weird / out

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread Michael Kimsal
Use a separate DB for something like this - have a data database, and a 'logging' database. We're setting up something similar - currently we have 2 databases for separate things, and will probably merge the first two datasets back into the main database, and turn the second one into a logger.

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Michael Kimsal
Wasn't directed quite at me, but I'll chime in nonetheless We used LocalDirector for awhile, with it's 'sticky bit' functionality, and it basically didn't work with AOL. I just looked at the coyote product and they claim it works with 'large ISP' proxies - maybe a veiled reference to AOL dir

[PHP] Ooops - I forgot the question... Freaking difficul thing to do (at least for me)

2001-01-14 Thread Romulo Roberto Pereira
Hey Folks! I have the following situation: I store in a MySQL table part of the HTML code that is used to mount dinamically the pages of a web site. The file looks something like this: Before I enter any data in the database I put HTML comments like this: before and after any text that appea

[PHP] Freaking difficul thing to do (at least for me)

2001-01-14 Thread Romulo Roberto Pereira
Hey Folks! I have the following situation: I store in a MySQL table part of the HTML code that is used to mount dinamically the pages of a web site. The file looks something like this: Before I enter any data in the database I put HTML comments like this: before and after any text that appea

php-general Digest 15 Jan 2001 02:33:14 -0000 Issue 455

2001-01-14 Thread php-general-digest-help
php-general Digest 15 Jan 2001 02:33:14 - Issue 455 Topics (messages 34471 through 34539): Problems sending to several recipients with mail() using WIN NT and Apache 34471 by: Trond Straume PHP vs JSP 34472 by: hsmith.twilyt.com 34473 by: Cal Evans 34479 by:

Re: [PHP] PHP vs JSP

2001-01-14 Thread bard
> I've worked on a couple of projects with JSP, and decided to use PHP to > build binarycloud. 'nuff said :) > ok, that's ONCE today.. =) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

Re: [PHP] eval() function

2001-01-14 Thread Rasmus Lerdorf
Yes, eval() is expensive. On Sun, 14 Jan 2001, Adam Powell wrote: > > Hi, in my application I am making a lot of use of the eval() function, > however I was wondering if this is going to cause any extra load. Does it > do anything like load in the PHP engine again or anything? We just added it

[PHP] eval() function

2001-01-14 Thread Adam Powell
Hi, in my application I am making a lot of use of the eval() function, however I was wondering if this is going to cause any extra load. Does it do anything like load in the PHP engine again or anything? We just added it in and the load on our web servers went up... so I was wondering if I shou

[PHP-CVS] cvs: php4 /ext/vpopmail php_vpopmail.c php_vpopmail.h

2001-01-14 Thread David Croft
david Sun Jan 14 18:14:12 2001 EDT Modified files: /php4/ext/vpopmail php_vpopmail.c php_vpopmail.h Log: restored vadddomain/vdeldomain to use library functions rather than invoking vpopmail executables implemented vaddaliasdomain natively global variabl

Re: [PHP] DocBook Editors?

2001-01-14 Thread Rasmus Lerdorf
> No options? > > No SGML editors out there with a tag catalog, etc? Emacs -- 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]

Re: [PHP] Use

2001-01-14 Thread Brian Clark
Hello Alex, (AB == "Alex Black") [EMAIL PROTECTED] writes: AB> can people give me opinions as to why > From: [EMAIL PROTECTED] (Philip Olson) >> Newsgroups: php.general >> Date: 13 Jan 2001 12:18:08 -0800 >> Subject: Re: [PHP] Use > >> My understanding is : >> >> 1. http://www.php.net/) To u

Re: [PHP] Use

2001-01-14 Thread Philip Olson
> can people give me opinions as to why http://www.cornado.com/ On Sun, 14 Jan 2001, Alex Black wrote: > can people give me opinions as to why > me = love : > :) > > _a > > > -- > Alex Black, Head Monkey > [EMAIL PROTECTED] > > The Turing Studio, Inc. > http://www.turingstudio.com > >

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest notes.txt stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 17:52:47 2001 EDT Modified files: /php4/sapi/isapi/stresstest notes.txt stresstest.cpp Log: test now produce valid OK or FAIL. Index: php4/sapi/isapi/stresstest/notes.txt diff -u php4/sapi/isapi/stresstest/notes.txt:1.2 php4/sapi/isapi/stres

[PHP] variable tracking overview

2001-01-14 Thread Larry Jaques
Could someone give/sell me a clue as to variable tracking and/or cookie usage over multiple form pages for multiple users? Environment: website Number of variables: 390 or so. I have 4 pages of forms, 4 result pages, and want to email all the results. I put up one page of forms, they input, it sp

Re: [PHP] DocBook Editors?

2001-01-14 Thread Alex Black
> A lot of technical people aren't keen on WYSIWYG editors. Especially when I'm technical, and I'm not looking for WYSIWYG. I'm looking for something that doesn't require me to memorize yet another large set of tags. :) > dealing with something like docbook that is designed to generate > docume

Re: [PHP] mixing HTML and PHP code

2001-01-14 Thread Alex Black
> There are things that can be done to speed things up though...cacheing files > at the page level, or even cacheing templated components at the sub-page > level where possible can overcome much of the overhead of using templates. but that doesn't do you any good on pages that are getting results

[PHP-CVS] cvs: php4 /pear/DB STATUS

2001-01-14 Thread Stig Bakken
ssb Sun Jan 14 17:19:29 2001 EDT Modified files: /php4/pear/DB STATUS Log: * status update: odbc now supports errorNative Index: php4/pear/DB/STATUS diff -u php4/pear/DB/STATUS:1.13 php4/pear/DB/STATUS:1.14 --- php4/pear/DB/STATUS:1.13Sun Jan

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black
check out http://www.coyotepoint.com/ only $4000! does 512 clients! can even stick clients through the famous AOHell proxies! cheap! :) -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Ce

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 17:17:45 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: dont do results if not using test files Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.7 php4/sapi/isapi/

Re: [PHP] Use

2001-01-14 Thread Alex Black
can people give me opinions as to why http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] (Philip Olson) > Newsgroups: php.general > Date: 13 Jan 2001 12:18:08 -0800 > Subject: Re: [PH

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black
> Whoever said NFS is slow hasn't used a NetApp amen brother. -a -- 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-CVS] cvs: php4 /pear/DB odbc.php

2001-01-14 Thread Stig Bakken
ssb Sun Jan 14 17:14:59 2001 EDT Modified files: /php4/pear/DB odbc.php Log: * DB_odbc: added native error support Index: php4/pear/DB/odbc.php diff -u php4/pear/DB/odbc.php:1.24 php4/pear/DB/odbc.php:1.25 --- php4/pear/DB/odbc.php:1.24 Tue Jan 9

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black
what? you use an utterly completely stateless model? craziness! so you set cookies, and store the sig in the db? agh! :) I'm using this box from "coyote systems" called, wait for it: "THE EQUALIZER" which is a really obnoxious name, but it sticks clients with a particular server intelligen

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 17:13:51 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: clean up temp files Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.6 php4/sapi/isapi/stresstest/stresstes

Re: [PHP] mixing HTML and PHP code

2001-01-14 Thread Alex Black
the horse is back from the dead! I can't resist: > From: [EMAIL PROTECTED] ("Iván Sánchez Ortega \"MR\"") > Newsgroups: php.general > Date: 13 Jan 2001 14:17:35 -0800 > Subject: Re: [PHP] mixing HTML and PHP code > > "Alex Black" ... >>> >> connect_to_database(); >>> parse_query(); >>> execu

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

2001-01-14 Thread Stig Bakken
ssb Sun Jan 14 17:11:06 2001 EDT Modified files: /php4/ext/odbc php_odbc.c php_odbc.h Log: @- Added odbc_error() and odbc_errormsg() functions (Stig) Index: php4/ext/odbc/php_odbc.c diff -u php4/ext/odbc/php_odbc.c:1.69 php4/ext/odbc/php_odbc.c:1.7

[PHP-CVS] cvs: php4 /pear/DB/tests/odbc .cvsignore 001.phpt 002.phpt 003.phpt 004.phpt 006.phpt 007.phpt 010.phpt connect.inc dsn.inc mktable.inc skipif.inc

2001-01-14 Thread Stig Bakken
ssb Sun Jan 14 17:10:14 2001 EDT Added files: /php4/pear/DB/tests/odbc.cvsignore 002.phpt 003.phpt 004.phpt 006.phpt 007.phpt 010.phpt connect.inc dsn.inc mktable.inc Modified files:

Re: [PHP] Templates

2001-01-14 Thread Alex Black
well, I suppose it could, but it's pretty weird... why would you want to directly hook up presentation w/sql queries ? :) -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread Alex Black
the problem with that is as soon as you run a load-baanced installation, collecting apache logs start to be a pain in the a$$ :) I have given some thought to the logging thing, but am still undecided re: letting apache do its thing, and writing scripts to aggregate the logs, or turning off apache

Re: [PHP] PHP vs JSP

2001-01-14 Thread Alex Black
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html gah: "Also, any organization doing clustering or failover with PHP is in largely uncharted waters. " what _bull_! what does loadbalancing and clustering have to do with any scripting language? this guy is obviously one of th

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 16:57:16 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: check files open Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.5 php4/sapi/isapi/stresstest/stresstest.c

Re: [PHP] DocBook Editors?

2001-01-14 Thread Rasmus Lerdorf
A lot of technical people aren't keen on WYSIWYG editors. Especially when dealing with something like docbook that is designed to generate documentation in dozens of formats. vim with its syntax colouring or emacs with its validation mode really do a good job. I have been writing a lot of docbo

RE: [PHP] PHP Schedule

2001-01-14 Thread Jason Murray
> I have to write a schedule program, for which I need the following: > I have to calculate the date from a given week and vice versa. > > For example: the week number is 26, and I have to know which > was its first day (the date, not the day of the week), say 06/21/2001, > monday. If the week

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 16:56:23 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: fix file reading, add results Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.4 php4/sapi/isapi/stresstest

[PHP] PHP Schedule

2001-01-14 Thread Gabor Gludovatz
Hi, I have to write a schedule program, for which I need the following: I have to calculate the date from a given week and vice versa. For example: the week number is 26, and I have to know which was its first day (the date, not the day of the week), say 06/21/2001, monday. Thanks to Bignose,

[PHP] DocBook Editors?

2001-01-14 Thread Alex Black
hi all, anyone found a good graphical SGML editor for any platform that's no a fortune? http://www.adobe.com/store/products/framemakersgml.html It would be really annoying to have to write a bunch of documentation for binarycloud inside an plaintext xml document. I'm surprised DocBook has gain

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest notes.txt stresstest.cpp stresstest.dsp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 16:29:49 2001 EDT Modified files: /php4/sapi/isapi/stresstest notes.txt stresstest.cpp stresstest.dsp Log: Multithreaded stress test program for isapi module now supports phpt files still stuff to do before it's realy done, but does run the te

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-14 Thread Rasmus Lerdorf
rasmus Sun Jan 14 16:28:10 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: All sorts of karma for Shane Index: CVSROOT/avail diff -u CVSROOT/avail:1.38 CVSROOT/avail:1.39 --- CVSROOT/avail:1.38 Sun Jan 14 08:24:56 2001 +++ CVSROOT/avail

Re: [PHP] SMs

2001-01-14 Thread Josh G
yeah you can do that, don't know about other phones, but for nokia you need the cable, a phone with the appropriate plugs (ie a 5xx0 / 6xx0 / 7xx0 / 9xx0 model phone, not a 8xx0 or 3xx0 model), and the nokia data suite or free alternative if they exist for your operating system. Gfunk My

Re: [PHP] using ssh via popen

2001-01-14 Thread Jeff P
probably because ssh requires an interactive login; i.e. it expects STDIN as well. try adding a command after the login parameter such as "ls" and see what you get. -jeff > Can anyone shed any light on why the following code doesn't work? I'm > trying to interact with ssh through PHP's popen

Re: [PHP] SMs

2001-01-14 Thread Iván Sánchez Ortega \"MR\"
""Bastian"" ... > Hello! > > A requirement is a special server that sends them, but such a server costs > money, every message costs some. I read somewhere that you could send SMs if you had your mobile phone linked to your computer, and special software to needful to make the PC-mobile interacti

Re: [PHP] file checking

2001-01-14 Thread Philip M. Gollucci
PHP has a function called file_exits I belive... you can read about it on the php manual at php.net under file functions. * Philip M. Gollucci (p6m7g8) Web-site: http://www.p6m7g8.com E-mail : [EMAIL PROTECTED

Re: [PHP] PHP vs JSP

2001-01-14 Thread Donald Goodwill
There is an interesting ZD Net comparison of several scripting languages at http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Some time ago I did the comparison of JSP to PHP and JSP turned out to be much, much slower. Now I'm just learning CodeCharge generator and so far it s

Re: [PHP] PHP vs JSP

2001-01-14 Thread Donald Goodwill
There is an interesting ZD Net comparison of several scripting languages at http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html Some time ago I did the comparison of JSP to PHP and JSP turned out to be much, much slower. Now I'm just learning CodeCharge generator and so far it s

RE: [PHP] session cookie authentication

2001-01-14 Thread Jason Murray
> is it possible to write a script that can screen scrape a > site that uses session cookies for authentication? the reasoning > for this is so that i can add check boxes to a list so i can reset > more then one port on my isp router at a time. thanks You could have cURL make POST and GET requ

[PHP] using ssh via popen

2001-01-14 Thread Julia A . Case
Can anyone shed any light on why the following code doesn't work? I'm trying to interact with ssh through PHP's popen function. Julia "; maxpsi(0); ?> -- [ Julia Anne Case ] [Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really

[PHP-CVS] cvs: php4 /ext/vpopmail config.m4

2001-01-14 Thread David Croft
david Sun Jan 14 14:21:15 2001 EDT Modified files: /php4/ext/vpopmail config.m4 Log: vpopmail's bin dir is unnecessary as the library exports these functions Index: php4/ext/vpopmail/config.m4 diff -u php4/ext/vpopmail/config.m4:1.2 php4/ext/vpopmail/conf

Re: [PHP] Searching a MySQL database?

2001-01-14 Thread James, Yz
> Here are some queries of the above table with their results > bases='Ft. Worth' returns record 1 > bases LIKE '%Worth%' returns record 1 > bases LIKE '%Ft.%' returns 1 & 2 > bases LIKE '%' returns all records (in this case, 1 & 2) > > See? That makes perfect sense. Thank you! -- PHP Ge

Re: [PHP] Searching a MySQL database?

2001-01-14 Thread Toby Butzon
> > towns = '$town' > > ...and... > > towns LIKE '$town' > > > > ...are essentially the same without the % wildcard character. Thus, > > > > towns = '$town' > > ...is much different than... > > towns LIKE '%$town%' > > How different are they? I'm not even sure what a wildcard is? A wildcard

Re: [PHP] Another q, this time eregi_replace

2001-01-14 Thread James, Yz
Sweet! Thanks ;) > > I'd like to strip out everything but the link name, so if someone inputs: > > > > http://www.php.net">PHP! > > > > It replaces it with: > > > > PHP! > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional com

Re: [PHP] Searching a MySQL database?

2001-01-14 Thread James, Yz
> You've basically got it... the advantage of LIKE is that you can add > wildcards to specify what can be different... > > towns = '$town' > ...and... > towns LIKE '$town' > > ...are essentially the same without the % wildcard character. Thus, > > towns = '$town' > ...is much different than... > t

Re: [PHP] Searching a MySQL database?

2001-01-14 Thread Toby Butzon
You've basically got it... the advantage of LIKE is that you can add wildcards to specify what can be different... towns = '$town' ...and... towns LIKE '$town' ...are essentially the same without the % wildcard character. Thus, towns = '$town' ...is much different than... towns LIKE '%$town%'

RE: [PHP] Another q, this time eregi_replace

2001-01-14 Thread Maciek Uhlig
check http://www.php.net/strip_tags > -Original Message- > From: James, Yz [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 14, 2001 11:05 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Another q, this time eregi_replace > I'd like to strip out everything but the link name, so if someone

[PHP] Another q, this time eregi_replace

2001-01-14 Thread James, Yz
I'd like to be able to trim out some html tags, but only certain ones. I've used eregi_replace before and have some replacements running on some scripts... Some of the help pages and user notes on the quick reference functions have given me good examples of how to go about it. One thing I'm int

[PHP] Searching a MySQL database?

2001-01-14 Thread James, Yz
Can anyone tell me what I would use to query a MySQL database in a search? If the search field, was for example, a variable like "town", would the results page use something like this? : $sql = " SELECT * FROM table_name WHERE towns = \"$town\" "; I remember seeing someone post somethin

RE: [PHP] submit opens two windows/pages

2001-01-14 Thread Cal Evans
I'd do it with JavaScript. Dynamically composed JavaScript if need be. But it seems to me that it would be easier to do this on the client side. Cal http://www.calevans.com -Original Message- From: Tom Beidler [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 14, 2001 2:33 PM To: php lis

[PHP] template API for standard PHP

2001-01-14 Thread Maciek Uhlig
In Tobias Ratschiller & Till Gerken book (Web Application Development) the authors mention at least two times about Andrei Zmievski plan to incorporate template API in standard PHP. I'd like to ask if the plan is in the works and if it will be implemented. Maciek -- PHP General Mailing Li

  1   2   >