Re: [PHP] PHP vs. CGI

2003-03-05 Thread michael kimsal
John Taylor-Johnston wrote: Three advantages I like: 1- no more cgiwrap. 2- thus I can work in any directory and am not bound to cgi-bin 'being bound to cgi-bin' is a function of how the server is set up, not 'cgi' itself. I've worked on systems where anything ending in .cgi was treated as a cgi

[PHP] Re: Objects: Cant set object variables with refrences ...

2003-02-11 Thread michael kimsal
could end up with $this-t = $c.$d; What's being passed by reference at that point? Michael Kimsal http://www.phphelpdesk.com http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread michael kimsal
template systems usually don't have sites with much traffic anyway. I may be wrong here - it's more of a hunch than anything else. Michael Kimsal http://www.logicreate.com -- doesn't use Smarty :) 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: MySQL/PHP Associative Array Insert

2003-02-03 Thread michael kimsal
, with the 'next level' bit) --- michael kimsal [EMAIL PROTECTED] wrote: ? $x['name'] = Mike's; $x['phone'] = 'fsdlfksdf'; echo sql($x); function sql($a) { $k = implode(,,array_keys($a)); array_walk($a,'slashadd'); $v = '.implode(',',$a).'; return insert into ($k) values ($v); } function

[PHP] Re: MySQL/PHP Associative Array Insert

2003-02-02 Thread michael kimsal
no more work for you. Modify it just slightly some by using REPLACE with MySQL and you've got updates and inserts taken care of. PLUG: That's the sort of thing we get up to during our PHP Training Courses. More info at http://tapinternet.com/php Michael Kimsal http://phpappserver.com http

[PHP] Re: Graphic Pie Charts

2003-02-02 Thread michael kimsal
for jpgraph (aditus.nu I think, but can't remember) Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP3 Web Architecture Framework

2003-02-01 Thread michael kimsal
Karthikeyan.Balasubramanian wrote: Hi, I browsed the web for many different web architecture and frameworks. I found many Interesting but all wants latest version of PHP at least PHP 4.0.6. I dont want to upgrade the PHP Version(4.0.5) that i have because many clients are using it and i dont

Re: [PHP] PHP Encoders and GPL License

2003-01-19 Thread michael kimsal
made then 'sold' would either not sell at all, or would sell a couple copies then get rolled back in to the main tree of some distribution. Michael Kimsal PHP Training http://www.tapinternet.com/php 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Ever complained about lousy PHP programmers?

2003-01-18 Thread michael kimsal
of time to do extra typing just to try to shave off 2 tenths of a millisecond for the processor - computers are here to make life easier (supposedly!) :0 Michael Kimsal LogiCreate http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Source Guardian

2003-01-10 Thread michael kimsal
X, regardless of when the user downloaded it. The Zend license manager is much more flexible in that regard, but is overkill for most smaller projects. Does this help at all? Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Suggestions on FAQ application?

2003-01-10 Thread michael kimsal
. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Source Guardian

2003-01-10 Thread michael kimsal
Sean Malloy wrote: Keep in mind the Works out of the box with no changes to your server requires the use of the function dl() Good point - had forgotten that may have issues for some people. However - in our case we've used 'protected' versions only for demos, which people generally aren't

Re: [PHP] Connection pool extension?

2003-01-09 Thread michael kimsal
hold connections open for you automatically. Michael Kimsal http://www.tapinternet.com/php PHP Training Courses 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Medium to Large PHP Application Design

2003-01-09 Thread michael kimsal
newcomers to a project a good starting point for understanding a project. Of course, UML is just one facet of a project's development, which isn't even that widely embraced in most circles, but it's becoming quite common in other circles. Hope that helps some. Michael Kimsal http

[PHP] Re: something annoying about includes/relative paths.

2003-01-09 Thread michael kimsal
for you ($_SERVER['DOCUMENT_ROOT'] perhaps?) and base your includes relative to that. Michael Kimsal http://www.phpappserver.com/ 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Securing areas of a web site with PHP

2003-01-01 Thread michael kimsal
Jean-Christian Imbeault wrote: I'll try this out and see what I get. Though I have read that not all browsers follow cache-control directives ... Exactly - and some don't follow other HTTP header directives to the letter either. You will not be able to 'secure' this stuff 100% simply

Re: [PHP] php app frameworks?

2002-12-27 Thread michael kimsal
Jason Sheets wrote: If you go to www.hotscripts.com they have several PHP application frameworks listed. I've investigated PHPLIB, and horde (http://www.horde.org) but wound up creating my own framework because I have not yet found a well documented framework that does what I need it to do.

Re: [PHP] LDAP support...

2002-12-23 Thread michael kimsal
Peter Lavender wrote: OK this is lame, but I'm posting a reply straight after the message hits my box... I'm running debian and have apt-get php and openldap. openldap works, as does php. I'm now working with the ldap functions and here is where I'm stuck. apt-cache search php4 what

[PHP] Re: Good program to indent large quantity of files?

2002-12-20 Thread michael kimsal
Leif K-Brooks wrote: I haven't been indenting any of my code, but I want to start indenting to make the code more readable. It would be near-impossible for me to manually indent what's already there, though. So, I'm looking for a program to indent an entire folder of PHP files at once. Any

[PHP] Re: Training Courses in PHP MySQL

2002-12-19 Thread michael kimsal
, give me a call or drop me an email at [EMAIL PROTECTED] Our next class is in January in Detroit, but we may still be able to convince you to come out here anyway! :) I can be reached at 734-480-9961, or 1-866-745-3660 (toll free). I look forward to hearing from you. Michael Kimsal http

[PHP] Re: PDF Lib

2002-12-16 Thread michael kimsal
Bogomil Shopov wrote: hi folks Is there any way to include in PDF file .gif file with more than 8 colors? Error:Warning: Internal PDFlib warning: Color depth other than 8 bit not supported in GIF file regards Bogomil No, there's no *standard* way. I dare say that PDFlib itself could be

Re: [PHP] Session: I RTFM

2002-12-15 Thread michael kimsal
, in a case like this: -- What is the difference between: $familyname = getvar(familyname); and $familyname = getvar('familyname'); -- There's no effective difference. :) Good magazine Marco - keep it up! Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP

[PHP] Re: Session: I RTFM

2002-12-14 Thread michael kimsal
Instead of while(list($k,$v)=each($_POST)){ $_SESSION[$k]=$v; //echo _name_ b.stripslashes($k)./b _value_ b.stripslashes($v)./bbr; } why not just $_SESSION = array_merge($_SESSION,$_POST); ??? Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http

[PHP] Re: Performance issues

2002-12-12 Thread michael kimsal
you provide. We've done this before with good results, and will be happy to work with you on your issues. -- Michael Kimsal http://www.tapinternet.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Forms

2002-12-10 Thread michael kimsal
? Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support when you need it! 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: C#

2002-12-08 Thread michael kimsal
aspfriends.com (I think that's it) or learnasp.com. There are links there to many c# and other .net-related lists and boards. Good luck. Michael Kimsal http://www.phpappserver.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Done w/ PHP - VB or C# ?

2002-05-16 Thread Michael Kimsal
there now (ASP.NET webforms, for example) as well as other platforms (Java springs to mind). Just because it's not PHP shouldn't mean you ignore it or worse yet, publicly denigrate it. Michael Kimsal http://www.logicreate.com/ 734-480-9961 -- PHP General Mailing List (http://www.php.net

Re: [PHP] Done w/ PHP - VB or C# ?

2002-05-16 Thread Michael Kimsal
Reagan. Either address the fundamental injustice here or cut me some slack. Not sure how old you are or when you had this thing for Nancy - never been 'fanciable' since I've known her (but maybe I'm too much of a youngster). Michael Kimsal http://www.logicreate.com -- PHP General Mailing List

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Michael Kimsal
of whether a webserver has configured outgoing compression or not, I can control it. What's everyone else think? See above. :) Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cool PHP Tricks/Features ?

2002-05-15 Thread Michael Kimsal
is hosed, because NS tells the server it can handle zipped data, but it doesn't unzip before printing, so you'll be printing out compressed data to your printer. Don't even bother flaming me about x% of your users still use NS4 and it's a great browser and IE sucks etc. Michael Kimsal http

[PHP] Re: Done w/ PHP - VB or C# ?

2002-05-15 Thread Michael Kimsal
might not be a bit brighter in terms of sheer financial gain hitching onto the MS bandwagon - they're big, have name recognition, and it's often an easy sale. But don't assume that you need 10 languages under your belt. It helps, but it most likely won't instantly get you better results. Michael

[PHP] Re: Compatiblity: Zend-1.20 + PHP4.2.1

2002-05-14 Thread Michael Kimsal
for the ZO to lag at least a few days behind PHP releases, and I wouldn't be surprised if that's still the case. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: unhandled exception processing the ISAPI

2002-05-13 Thread Michael Kimsal
help or advice? thx This may seem a bit harsh, but don't use the ISAPI version. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: css sheets in designs

2002-05-13 Thread Michael Kimsal
, but a 50% reduction is page loading speed is something more people seem to notice. Michael Kimsal http://www.logicreate.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Debugger

2002-05-12 Thread Michael Kimsal
way or another why it was removed, but the timing seems pretty remarkable. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: To all who replied to :Newbie question to everybody...PHP

2002-05-12 Thread Michael Kimsal
though too). Use search engines first - you're bounch to find exactly what you're looking for in a fraction of a time it takes people multiple people to read and respond, then for you to get those responses. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List

Re: [PHP] Re: Debugger

2002-05-12 Thread Michael Kimsal
Rasmus Lerdorf wrote: That's just not the case. The debugger in PHP 3 would not work at all in PHP 4 and would need a complete rewrite. So, being cynical you might say that someone should have written a debugger for PHP 4 and the fact that nobody did was the conspiracy, but it makes no

[PHP] Re: Getting PHP on FreeBSD to talk to MSSQL Server 7...

2002-05-10 Thread Michael Kimsal
to point to where freetds was compiled, not the interfaces file. We don't use the interfaces file, which seems to be primarily a way to map names to IPs. We just use the IP address directly in the mssql_connect() functions and it works. Michael Kimsal http://www.phphelpdesk.com -- PHP General

[PHP] PHP Training Course announcement

2002-05-06 Thread Michael Kimsal
information. -- Michael Kimsal Tap Internet, Inc. (734) 482-1371 Toll Free 1-866-745-3660 http://www.logicreate.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Michael Kimsal
(although it would introduce a longer write/compile/test cycle). Michael Kimsal http://www.logicreate.com/ 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Secure user authentication

2002-05-03 Thread Michael Kimsal
people to just randomly put pages on your server. If someone was to randomly register a similar user object, etc - why bother? If I can put pages on your server and execute them, I'd do some something far more malicious than just pretend I'm user X. Michael Kimsal http://www.logicreate.com 734

[PHP] Re: PHP vs JSP

2002-05-03 Thread Michael Kimsal
Paras Mukadam wrote: Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser, then the next time it finds the .class file and just runs it. i.e. the compiling is just the first time !! How does it work in PHP? Does

Re: [PHP] if cant use header what should i use? or how to do this?

2002-05-03 Thread Michael Kimsal
. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Best BBS

2002-04-30 Thread Michael Kimsal
weeks ago and thought it was a horrible mishmash of code/html. But I'm not going to post a whole website about how bad it is unless without giving specific examples. :) Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Hey PHP PPL - Great Question !!!

2002-04-28 Thread Michael Kimsal
and when they don't do what you need, move to a database. Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support when you need it 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread michael kimsal
Miguel Cruz wrote: Do it in JavaScript, it works and it's client side so it will be faster. But take care - using JavaScript for site navigation is tricky business. Some people don't use it, some people can't use it (not supported by their browsers / hardware / corporate policy), and

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Michael Kimsal
Miguel Cruz wrote: On Mon, 29 Apr 2002, michael kimsal wrote: Miguel Cruz wrote: But take care - using JavaScript for site navigation is tricky business. Some people don't use it, some people can't use it (not supported by their browsers / hardware / corporate policy), and search

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Michael Kimsal
Mark Charette wrote: -Original Message- From: michael kimsal [mailto:[EMAIL PROTECTED]] Similarly, can someone point me to a company that specifically disables javascript as 'corporate policy'? Ford, General Motors, and Chrysler specifically disallow running of JavaScript, Java

[PHP] Re: PHP is making errors for no apparents reason..?

2002-04-27 Thread michael kimsal
\'); mysql_query($query); } The first select line doesn't end its quotes properly. Michael Kimsal http://www.phphelpdesk.com Guanrateed PHP support when you need it 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: web application development question

2002-04-26 Thread Michael Kimsal
this strategy for over a year and it's a good middle ground giving flexibility without having to grant access to code to people who don't need it/shouldn't have it. Michael Kimsal http://www.logicreate.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] authentication

2002-04-23 Thread Michael Kimsal
Morten Ronseth wrote: Anybody know how to revoke the HTTP authentication, i.e. log people out, using PHP? You can't --- Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support when you need it 734-480-9961 -- PHP General Mailing List (http

Re: [PHP] authentication

2002-04-23 Thread Michael Kimsal
Brian Drexler wrote: Use javascript and close the browser, that's all I can think of. I wasn't aware you could close an entire browser - only a specific window. If the browser instance has any open windows, I believe the authentication will still be active. Michael Kimsal http

[PHP] Re: Not A PHP question but I need help in a big way...

2002-04-22 Thread Michael Kimsal
. Otherwise skip it. If you're on Windows, just stick with ASP/VBScript. Michael Kimsal http://www.phphelpdesk.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] LogiCreate: looking for resellers

2002-04-22 Thread Michael Kimsal
else. If you're ready to step up your development efforts with PHP, give us a call. - Michael Kimsal 734-480-9961 http://www.logicreate.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LogiCreate: looking for resellers

2002-04-22 Thread Michael Kimsal
Richard Archer wrote: At 7:57 PM -0400 22/4/02, Michael Kimsal wrote: you won't find a stronger combination of a solid development framework and professional support anywhere else. In a word: Bollocks. This obviously an untrue claim for all but one company in the world. And I find

[PHP] Re: CMS -- central module handling

2002-04-20 Thread michael kimsal
the coders point of view, but not language-specific). Thanks, Lauri Michael Kimsal http://www.phphelpdesk.com 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Better standards in PHP-coding

2002-04-20 Thread michael kimsal
with certain styles? Why must there be some magical consensus on something which, ime, doesn't have as much impact on the language as ISAPI support, or better object handling, or stronger memory handling, or a myriad of other topics? Michael Kimsal http://www.phphelpdesk.com -- PHP General

Re: [PHP] Better standards in PHP-coding

2002-04-20 Thread michael kimsal
Mark Charette wrote: Hehehe. And I thought the OTBSW (One True Brace Style Wars) had passed into memory back some 10 or 15 years ago! Lo! They resurface yet again! 30 years in this business and still I hear them argue. Perhaps a cb style program for PHP so people can write any blasted style

[PHP] Re: Querying Oracle from PHP

2002-04-19 Thread Michael Kimsal
pretty sophisticated charting/graphing. Also, instead of PDFLib, you may want to investigate htmldoc from easysw.com first. You don't get as much fine-grained detail control, but it's much easier to work with for pdf stuff you need to crank out quickly. Michael Kimsal http://www.phphelpdesk.com 734

[PHP] Re: Nasty DoS in PHP

2002-04-17 Thread Michael Kimsal
Dustin E. Childers wrote: Hello. I have found something interesting that can kill the server. I'm not sure if this is because of Apache or PHP. If you use PHP to send a header() inside of a while loop, the httpd process will begin to use massive CPU and Memory until it is killed, or the

[PHP] Re: Storing images in MySql

2002-04-16 Thread Michael Kimsal
putting them in a database. Let the filesystem do what it's meant to do - serve files. Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support when you need it 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Definitive answer for large scale registration/authentication

2002-04-16 Thread Michael Kimsal
LDAP to be a bit faster in raw lookups for user authentication. Perhaps a combination of LDAP and a another database to store the session data would be your best bet. If you could give us more info on your hardware and requirements needs we can better assist you. Michael Kimsal http

[PHP] Re: What date/time was it 7 hours ago?

2002-04-15 Thread Michael Kimsal
the -MM-DD HH:MM:SS minus... for instance, 7 hours? What date/time was it 7 hours ago? function timebefore($time,$hours=7) { $x = strtotime($time) - ($hours * 3600); return date(Y-m-d H:i:s A,$x); } Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support when you

Re: [PHP] Re: PHP MySQL Hosting services

2002-04-15 Thread Michael Kimsal
too - that would save even MORE money, and mean even CHEAPER prices for people! There's no end to how much money he can save us! works, you should see what he drives Did he pay cash? Or is he leasing? Fake it till you make it is quite a popular lifestyle for many people. :) Michael

[PHP] Re: sablotron XMl XSLT

2002-04-09 Thread Michael Kimsal
() is a defined function. If not, then error out. If so, carry on. It's not limited to sablotron checking - check for GD, PDF, etc. Michael Kimsal http://www.phphelpdesk.com PHP support when you need it 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] ask for suggestion about printing

2002-04-01 Thread Michael Kimsal
fine for some situations, but it's not *free* for all uses. There are actually quite a number of scenarios I come across where PDFLIB isn't a 'free' package, but requires someone to pay. implementing commercial Web services with PDFlib is pretty wide open, imo. Michael Kimsal http

[PHP] Re: tired by linux - recompiling.._PHP SERVER

2002-04-01 Thread Michael Kimsal
Septic Flesh wrote: anyone found any webserver for linux to support HTML - PHP - SSL without much/any compiling . . just the binary to uncompress and run .??? I am really tired by linux.. Most Linux distributions come precompiled with PHP and SSL in Apache by default. RedHat and

[PHP] Re: Why?

2002-03-30 Thread Michael Kimsal
connotation, but they've been used as placement holder names since at least the early 80's when I started programming. Michael Kimsal http://www.phphelpdesk.com PHP support when you need it 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Advice needed

2002-03-22 Thread michael kimsal
? Could you explain your problem in more detail (offlist is fine if you want). -- Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Drawing graphs - opinions

2002-03-22 Thread michael kimsal
? -- Michael Kimsal http://www.phphelpdesk.com Guaranteed PHP support 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] object reflection in php?

2002-03-18 Thread Michael Kimsal
/function.get-object-vars.php Does that help? Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php support 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] object reflection in php?

2002-03-18 Thread Michael Kimsal
in a database, serializing wouldn't help. Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Get row number from mysql

2002-03-13 Thread michael kimsal
Why not just put a counter in there? while ($row = mysql_fetch_array($sql)) { ++$counter; $id = $row[id]; $name = $row[name]; print $counter. $nameBr; } Michael Kimsal http://www.phphelpdesk.com PHP support when you need it 734-480-9961 -- PHP General

[PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Michael Kimsal
. If it's not on, you could add a line to make it: ? $res = $HTTP_GET_VARS[res]; $l = str_replace( ,/,$res); ? body img src=?=$l;? /body --- Michael Kimsal http://www.phphelpdesk.com/ Taking the ? out of ?php 734-480-9961 -- PHP General Mailing List (http

Re: [PHP] Re: A stupid question...

2002-03-10 Thread michael kimsal
of a column's data with something, so you could do something similar to a 'substr' in PHP - but it's late and I can't remember off the top of my head. Hope that helps... -- Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961 -- PHP General

[PHP] Re: Graphing Question

2002-03-08 Thread Michael Kimsal
Chris Seymour wrote: Hi All, Does anyone know of a graphing package that will allow a line graph with labels on the data points? Thanks in advance. Chris Try JPGRAPH at: http://www.aditus.nu/jpgraph/ Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961

[PHP] Re: problem with mysql persistent connections; already read the FAQ!

2002-03-08 Thread michael kimsal
read the alt.comp.lang.php FAQ, but it didn't actually address this issue. Any help or information is appreciated! Hope that helps some. -- Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961 -- PHP General Mailing List (http

[PHP] Congrats to Rasmus?

2002-03-07 Thread Michael Kimsal
It doesn't seem to have been mentioned here unless my newsfeed is very slow, but phpdeveloper.org has a quick mention of the new addition to Rasmus' family. http://www.phpdeveloper.org/ Well, everyone's favorite PHP developer multiplied last night - Rasmus Lerdorf now has a son (9.0lbs,

[PHP] Re: require v. includes

2002-03-07 Thread Michael Kimsal
a particular execution of a script, and you want to be sure that it is included exactly once to avoid problems with function redefinitions, variable value reassignments, etc. Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961 -- PHP General Mailing List (http://www.php.net

[PHP] Re: User accounts

2002-03-07 Thread Michael Kimsal
when they submit their login data). Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mcrypt? - Can't find any good info

2002-03-07 Thread Michael Kimsal
, MCRYPT_ENCRYPT); print($code = enc w/ $key); } encryptPassword(testing); ? And i can't find any documentation on what might be causing this... anyone out there know? Is mcrypt installed in your PHP system? echo phpinfo(); and look for mcrypt Michael Kimsal http

[PHP] Re: PHP vs object.record set

2002-03-07 Thread Michael Kimsal
of a great amount of speed. MS and others will tell you that for good performance you should use 'forward only' recordsets, so it's of limited value to many people anyway. -- Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961 -- PHP General

[PHP] Re: Dbconnect

2002-03-07 Thread Michael Kimsal
Josiah Wallingford wrote: I have a file called dbconnect that stores all of my mysql information (host, user, pass) up until now I have always just used localhost as the hostname because it was on my local server. My question is what do I have to do to connect to a different server? Do I just

[PHP] Re: FYI Using Qmail PHP

2002-03-06 Thread Michael Kimsal
Steven Walker wrote: For some reason (I don't know why) qmail doesn't like the CRLF. Probably because Dan Bernstein didn't invent it. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP-Based Authentication Security?

2002-03-06 Thread Michael Kimsal
through PHP, perhaps a URL rewriting solution would work - everything it rewritten to go through PHP, then it can decide whether to 'pass thru' the file or display an error message. Michael Kimsal http://www.phphelpdesk.com 734-480-9961 -- PHP General Mailing List (http://www.php.net

[PHP] Re: How are they doing it?

2002-03-06 Thread Michael Kimsal
results back. If anyone gets 'redbook' magazine, you may have read about pillowmail.com - again, a client of ours using PHP and parsing thousands of emails per day with procmail/PHP. Michael Kimsal http://www.phphelpdesk.com 734-480-9961 -- PHP General Mailing List (http://www.php.net

[PHP] Re: HELP UNIX vs Windows

2002-03-06 Thread michael kimsal
systems? In the meantime, could you not use explode() or split() instead? list($category,$sku,$name,$sub,$price,$etc) = split(|,$cartFile[$i]); (might need to be \| instead of | - I can't remember, it's late, and I don't have easy access to test it. :0 --- Michael Kimsal

Re: [PHP] include() and paths

2002-03-06 Thread michael kimsal
. :) After writing all this I see it's basically a rehash of the 9/2/2001 posting in the user comments under include at the php manual site. Is there a reason one of those 3 options isn't viable? Michael Kimsal http://www.phphelpdesk.com Taking the ? out of ?php 734-480-9961 -- PHP General Mailing

[PHP] Re: Arrays/OOP

2002-03-05 Thread Michael Kimsal
suspect that instead of $event_object-init you need to call $this-init Does that do the trick? Wait - I looked above $event_object = new event() What is the class definition for event? Could you send more code? Michael Kimsal http://wwwphphelpdeskcom 734-480-9961 -- PHP General Mailing List

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Michael Kimsal
Joshua E Minnie wrote: Michael Kimsal wrote: Attached you will find the class definition. Thanks in advance.. Joshua E Minnie CIO [EMAIL PROTECTED] What version of PHP are you using? I took the file and it seemed to work OK in PHP 4.0.5. Michael Kimsal http

[PHP] Re: Is there a GoTo Page Function?

2002-03-05 Thread Michael Kimsal
things: Make the action of the form tag point to the new page directly That page would take care of any form data processing that needed to happen OR Have the form call itself, then when it's done, use a HEADER tag with location: to redirect header(Location: newpagephp); Hope that helps Michael

Re: [PHP] Re: Non printable page

2002-03-03 Thread Michael Kimsal
Lars Torben Wilson wrote: On Fri, 2002-03-01 at 20:03, michael kimsal wrote: Diana Castillo wrote: Is there any way tomake a page that cannot be printed?? GZIP the page and force the end user to use Netscape ??? No, still wouldn't work If the data ever gets displayed

Re: [PHP] can I sandwich html docs with PHP

2002-03-01 Thread Michael Kimsal
(which is not such a bad option perhaps) Peter I think you'll have to use url rewriting for this Not as tight integration as mod_perl, but if you have to use it, that's probably your only option at this point Good luck! Michael Kimsal http://wwwphphelpdeskcom Taking the ? out of ?php 734

[PHP] Re: Non printable page

2002-03-01 Thread michael kimsal
Diana Castillo wrote: Is there any way tomake a page that cannot be printed?? GZIP the page and force the end user to use Netscape ??? -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

[PHP] Re: Array or SQL?

2002-02-28 Thread michael kimsal
, and can return 'relevance', although it won't be '# of times word occured' as you're looking for Contact me if you want more info Michael Kimsal http://wwwphphelpdeskcom 734-480-9961 -- PHP General Mailing List (http://wwwphpnet/) To unsubscribe, visit: http://wwwphpnet/unsubphp

Re: [PHP] Upgrading PHP

2002-02-28 Thread Michael Kimsal
, but I've not been able to notice any sizable decrease in performance on production servers we work with using the DSO system Hope that helps -- Michael Kimsal http://wwwphphelpdeskcom Taking the ? out of ?php 734-480-9961 -- PHP General Mailing List (http://wwwphpnet

[PHP] Re: Login to account

2002-02-26 Thread Michael Kimsal
of concept, there are many good code examples and tutorials at places like zend.com and phpbuilder.com. (and weberdev.com if memory servers, right boaz?) :) Good luck. :) Michael Kimsal 734-480-9961 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: GD - dynamic PNG generation

2002-02-25 Thread Michael Kimsal
Holy cow that's a big graphic. 20 seconds does sound a tad long, but might not be depending on the server and memory - what are the specs? What might possibly speed it up a bit is to create multiple small versions first (20 one line graphics, for example) and build them all together at the

[PHP] Re: Email Verification

2002-02-24 Thread Michael Kimsal
Steven Walker wrote: Does anybody know any good ways (or available code) for verifying email addresses? Checking syntax is not enough.. I'd like to actually be able to test whether the email address exists. Nothing is 100%, so don't exclude people because you can't verify them. There

[PHP] Re: Newbie on Sessions/Pages Management

2002-02-23 Thread Michael Kimsal
Alexander P. Javier wrote: I'm very new to PHP, as a matter of fact, I never had any experience anything about web-enabled applications development. I've been more into local Visual Basic and MS SQL Serve devt. If there's any kind soul out there, please HLP The question is:

  1   2   3   4   >