[PHP] Best method for threading?

2005-01-15 Thread Galen
I'm working on a web spider application where the server has considerable latency in serving the information I require, but simultaneous requests do not have a significant performance hit. I have a nice little class that handles all the sessions, cookies, etc perfectly. What's the best way to b

Re: [PHP] Re: PHP Crypt on MacOSX

2004-10-26 Thread Galen
usual file path so typing "md5" in the command line will pull it up and "man md5" gives all the info you could need on using it. I don't encourage the use of the command line version of md5 for php because it will be slower than the built in php function, but it is there!

[PHP] PHP Online Appointment Scheduler?

2004-10-23 Thread Galen
ivacy requirements? (This is a U.S. thing) I did some googling, but now that google searches the URL as well as the content of the page for your query, searches including "php" have become dramatically less useful. (.php, ?phpsessid, etc) Thoughts or products/projects anybody? -Galen -- PHP Gener

[PHP] PHP Online Appointment Scheduler?

2004-10-23 Thread Galen
ivacy requirements? (This is a U.S. thing) I did some googling, but now that google searches the URL as well as the content of the page for your query, searches including "php" have become dramatically less useful. (.php, ?phpsessid, etc) Thoughts or products/projects anybody? -Galen -- PHP Gener

Re: [PHP] What's faster? MySQL Queries or PHP Loops?

2004-09-08 Thread Galen
imple function like this to benchmark: $time_start = microtime_float(); // Sleep for a while usleep(100); $time_end = microtime_float(); $time = $time_end - $time_start; echo "Did nothing in $time seconds\n"; ?> (from http://php.net/microtime ) -Galen On Sep 8, 2004, at 8:22 A

Re: [PHP] help ???

2004-07-02 Thread Galen
nd is not. And if you can possibly, please give us more than a sentence of detail. -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Best Lossless Hi-Res Photo Storage with PHP

2004-06-13 Thread Galen
On Jun 12, 2004, at 4:36 PM, Kim Steinhaug wrote: well, there are formats that have impressed me. The Mpg-4 format which requires plugins all over the place is really amazing, from e-vue. They also provide a plugin atleast for IE to browse the images. I dont know if you can compress images outsid

[PHP] Best Lossless Hi-Res Photo Storage with PHP

2004-06-11 Thread Galen
I'm working on a photo site and most of it is working. The intent is to store original high-resolution photos that will only be accessed when purchased, and then a variety of thumbnails that will be accessed when viewing. Because they're high-resolution, I need maximal image compression but I c

[PHP] PHP + JPEG2000

2004-06-10 Thread Galen
I'm developing a photo gallery/store site. I am storing full-resolution, full-quality images on my server and generating (and caching) lower resolution thumbnails for previewing the images. As it stands, I accept PNG and JPEG images via the GD image functions. Typically, I upload PNG files, but

Re: [PHP] Help installing imagick

2004-06-06 Thread Galen
e specific process you're working on, if you really want _that_ installation, somebody else will have to tell you how to make it work. I don't know the specific process off hand. -Galen On Jun 6, 2004, at 5:03 PM, Robert Duran wrote: PHP 4.3.6 Image Magick 5.5.7 imagick 0.9.10 OS: Mac OS X (

[PHP] PHP & User Interface

2004-06-05 Thread Galen
e something to accelerate this process, but before I look at doing this (and spend hours upon hours doing it), I want to check and see that nothing else is already out there. Thoughts anybody? -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ColdFusion / SQL > PHP / mySQL HELP!

2004-05-30 Thread Galen
(just spend 3 minutes googling), we can help and we promise not to group-lynch you :) -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD createpng and getting different png formats

2004-05-15 Thread Galen
the command line) and working with things there. I haven't yet found enough of a need for it to play with it yet, but I would bet you could do all sorts of things that might help file size (better color reduction, etc) and it doesn't look too tricky. Good luck! -Galen On May 14, 2004, a

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Galen
btly wrong on a few of these smaller points, and please accept my apologies if I am, but the gist is that you need a palette-based image to get 8-bit PNGs! -Galen On May 14, 2004, at 4:27 PM, Sam Joseph wrote: Hi Galen, Many thanks for your reply. I tried to find things in the php manual rel

Re: [PHP] GD createpng and getting different png formats

2004-05-14 Thread Galen
round the GD image reference section in the PHP manual. Sorry if this is too vague, it's all off the top of my head but I think it will give you enough to go on. -Galen On May 14, 2004, at 3:05 PM, Sam Joseph wrote: Hi all, I've recently got the GD libraries set up and working with

Re: [PHP] PHP Web-Chat Software

2004-04-13 Thread Galen
web browser performance is much less than optimal. -Galen On Apr 13, 2004, at 5:56 AM, Will wrote: Hi, I had a thought while reading the postings. You could open a frameset with one frame a hundred% and the other *, thus hiding the frame. The hidden frame could be the on checking the db and

Re: [PHP] PHP Web-Chat Software

2004-04-13 Thread Galen
ome browsers I'm poking around looking for something with a little more advanced approach if possible. Anyone else got suggestions? -Galen On Apr 13, 2004, at 1:28 AM, Elfyn McBratney wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Galen, On Tuesday 13 Apr 2004 07:12, Galen wrot

[PHP] PHP Web-Chat Software

2004-04-13 Thread Galen
this has gotta be PHP/MySQL only - no daemons please! The requirements are simple, so I don't need loads of complex stuff, simpler (interface-wise) is better here, but I most need something that plain works! Thanks, Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Measurement Problem

2004-03-27 Thread Galen
ect number. The trickier part will be going in the opposite direction, although that too is manageable. Good luck! -Galen On Mar 27, 2004, at 6:55 PM, Karl Timmermann wrote: Hi, I am working on a PHP/MySQL solution to have a webpage where users can rate cigars. I ran into a problem though. On

Re: [PHP] slow script

2004-03-27 Thread Galen
e wrong - some applications are very complex) that you are not coding efficiently. Very few of my projects even approach 160 KB of pure PHP, even things as massive as a complete online store creation and management application I developed not too long ago. Good luck! Re-post to php-general if yo

Re: [PHP] Re: Domain & Sub-domain Handling with PHP

2004-03-23 Thread Galen
Yeah, I'm aware PHP doesn't do DNS stuff, at least not directly. But I am curious as to how people handle subdomains. The 404 error seems like an interesting option, how does anyone else handle this? -Galen On Mar 23, 2004, at 10:58 AM, Justin Patrin wrote: Galen wrote: Hi, I

[PHP] Domain & Sub-domain Handling with PHP

2004-03-23 Thread Galen
e for doing all this (if there is one)? I'm sure I could hack something together (I always have) but I'd really like the "best" way - cleanest, fastest, whatever the technique may be. Thanks, Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] e - comerce website

2004-03-17 Thread Galen
k. What exactly are you having trouble with regarding sessions? We _can_ and _do_ help people when they ask something in specific. If you want a tutorial on building a simple ecommerce site, Google for one. I bet you'll find several good ones. Good luck! -Galen On Mar 15, 2004, at 6:07 PM

Re: [PHP] Let's start a php-advanced list!

2004-03-06 Thread Galen
hat type of thing to get lost. Obviously, the community doesn't think this is a good idea, and I do see validity in many of your points, so I'll drop this topic unless someone else wants to pursue it. -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Let's start a php-advanced list!

2004-03-05 Thread Galen
ode" or "How do I " (which a search in the manual would have found the function to do this) to the php-general list. That would leave our group free to discuss meaty things and really get somewhere. Anybody else interested in this type of list? -Galen -- PHP General Mailing Lis

[PHP] Advanced PHP Mailing List?

2004-03-05 Thread Galen
tart just listening and see what's going on. I would like to hear about very complex, high-end PHP coding and techniques and perhaps interact a little too. Anyone got suggestions? Anyone else have the same interest? Feel free to reply off-list if you don't think this is on-topi

Re: [PHP] Unique ID - again

2004-02-12 Thread Galen
k application - this stuff is pretty fundamental programming and database concepts. If your overall skill level isn't very high, you're likely to make mistakes, and either have errors, problems in functionality, or, worse, security problems. -Galen On Feb 12, 2004, at 3:00 AM, Alex wro

Re: [PHP] Re: speeding up PHP

2004-02-10 Thread Galen
internet connection. Even 1/4 second script parsing feels peppy with a big, low-latency pipe, simple HTML formatting, and on-the-fly compression. Just look at Google. -Galen On Feb 10, 2004, at 5:46 AM, Manuel Lemos wrote: Hello, On 02/09/2004 11:36 PM, Merlin wrote: I do have a performanc

Re: [PHP] how to conver a string to float

2004-02-07 Thread Galen
Look at: exec() Be careful if you don't control the input of course. -Galen On Feb 7, 2004, at 7:56 AM, Sebastian wrote: Is there a possibility to convert a string like "10*500" (parsed from a XML-File) to a float? When i try to store this String in a float variable it only c

[PHP] Selling PHP Code? PHP Careers?

2004-02-02 Thread Galen
something I'm seriously considering - or in some kind of start up company. What are your thoughts and feelings? Do you like it? Feel free to reply off-list if you think this topic is off-topic and/or you don't want to blast your information to the whole world. Thanks, Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Size of Arrays

2004-01-30 Thread Galen
a bit. Good luck with your arrays! -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
off base with my comments, please correct me. I am still seeking a solid way to get some sort of thread functionality working. -Galen On Jan 24, 2004, at 1:15 PM, Mark Charette wrote: On Sat, 24 Jan 2004, Galen wrote: Hi, This may be completely crazy, but let me tell you what I want to do: thread

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
Sorry, no-can-do. No root access - it's a lightly loaded shared machine. No Apache 2. Other ideas? Full info at: http://zinkconsulting.com/phpinfo.php -Galen On Jan 24, 2004, at 6:16 PM, Chris Shiflett wrote: --- Galen <[EMAIL PROTECTED]> wrote: This may be completely crazy, but

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
Looks great, except it's not setup on my remote host. I have SSH, FTP, etc access but I do not administrate the system nor can I request something like recompiling PHP just for me. You can see for yourself: http://zinkconsulting.com/phpinfo.php Any other ideas? -Galen On Jan 24, 2004,

Re: [PHP] Threading & PHP

2004-01-25 Thread Galen
ading won't work out very well here because a lot of data has to be handed back and fourth here, and it doesn't really improve response times when I am sorting or whatever. So now to look at the next replies -Galen On Jan 24, 2004, at 12:54 PM, Lucas Gonze wrote: One possibility

[PHP] Threading & PHP

2004-01-24 Thread Galen
to make some PHP code run as a "thread" that would serve these purposes? -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about array limits & practicallity

2004-01-21 Thread Galen
Considering all this, a few ideas for you. 1) Store all questions in a MySQL table. Maybe add a column for "test number" or something so it can handle all the questions necessary for several tests. When generating the test, load everything into an array and create the test from that array. Be s

[PHP] PHP & QuickBooks Integration

2004-01-20 Thread Galen
? All suggestions are welcome, I hear this can be a tough topic. -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Lexical PHP stuff? (Thesaurus and similar)

2003-12-11 Thread Galen
ons not be enabled, which I use all over my site. Secondly, it only supports an older version of WordNet (as far as I can tell). These two limitations, especially the first, tend to make this a poor choice for me. Does anybody know anything about this? -Galen -- PHP General Mailing

Re: [PHP] Palm OS Processor

2003-12-11 Thread Galen
quitous and available in more forms (many sizes of pdas, cell phones, even watches now), so php for the Palm would be more useful. Plus, they already have source and binaries of php, apache, etc for the Zaurus, but not for the Palm, at least that I can find. Any other ideas? -Galen --

Re: [PHP] Palm OS Processor

2003-12-11 Thread Galen
I would love one of these too! PHP programming in my pocket! And how about a mini database for Palm OS also? (SQLite?) Anybody know anything more about this? I'm not finding much with Google that seems relevant for PHP running on the Palm. -Galen On Dec 11, 2003, at 7:47 AM, Stephen C

Re: [PHP] PHP's MySQL Query Length Limit? (Long SQL failing!)

2003-12-11 Thread Galen
Yes, it's the max_allowed_packet size! I already saw that variable and assumed it was related to packet length - as in TCP/IP packet length - not query length. It's all working now. Thanks! -Galen On Dec 11, 2003, at 2:36 AM, Rich Gray wrote: I have a script that accepts large fil

[PHP] PHP's MySQL Query Length Limit? (Long SQL failing!)

2003-12-11 Thread Galen
not do it for various reasons. I'm trying to solve this problem of long queries failing. If I can't solve it, I'll look into other options to do what I need to do. Thanks! -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Galen
problems. Give it a try. You might like it. -Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Images in MySQL vs directory/file?

2003-12-10 Thread Galen
ur images. You'll get the convenience of database and the performance boost of caching, and as always, if the cache fails, just hit the database for the information. For your needs, give it a try. I doubt you'll have performance problems, and you can always switch back to the filesystem if you

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread Galen
loaded, dual 3 GHz linux boxes with 1.5 GB of RAM make this almost a moot issue. :) -Galen On Dec 9, 2003, at 5:14 PM, Al wrote: There's a command line, open-source utility called ImageMagick (http://www.imagemagick.org/) available for all major platforms that allows you to do lots of powe

Re: [PHP] Best practices for sharing members database between different portals

2003-12-09 Thread Galen
Cookies & sessions just don't span multiple domains! -Galen On Dec 9, 2003, at 1:26 PM, Tariq Murtaza wrote: Dear All, Please comment on Best Practices for sharing members database between different portals. Suppose we have 3 portals running on different networks. Assignment is t

Re: [PHP] Re: getimagesize() & MySQL Image Storage (Running functions on contents of variables)

2003-12-07 Thread Galen
So you're saying there's no way to do what I want to do. Anybody got any other ideas? It seems so stupid to be unable to run functions that accept files on variables, with so many people using databases and whatnot these days. -Galen On Dec 7, 2003, at 1:46 AM, Justin Patrin wro

[PHP] getimagesize() & MySQL Image Storage (Running functions on contents of variables)

2003-12-07 Thread Galen
should be a way for almost any function that runs off a file to run off the contents of a variable, it's just binary data. Thanks, Galen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Working as a PHP/database developer..

2003-12-02 Thread Galen
ations on how many people can be in the database through PHP. This code I will compile so it can't easily be changed or modified for reuse. I also have a few other projects like this in the works. I'm still learning about the best ways to do all this, but I think you might fi

[PHP] Fastest loop code/best way to get database results into array

2003-12-01 Thread Galen
I'm working on some code that deals with a LOT of results from a MySQL database and drops them into an array. It deals with about 17,200 results on a very fast box in about 0.5 seconds, which is not too bad, until I realize I may need to call it on about that many results several times in a pag

[PHP] Suggestions for optimization?

2003-11-29 Thread Galen
I'm working on some database search ranking code. It currently represents 95-98% of the time spent when doing fuzzy seaches. I have tried my best to optimize my code - algorithmic shortcuts, eliminating session variables, unsetting irrelevant results, etc and benchmarking to find the best techn

[PHP] Optimizing PHP Relevancy Ranking Algorithm

2003-11-28 Thread Galen
ould use another sorting option to meet my sorting needs for this complex situation. Anybody got a few ideas on how to speed up these two sluggish lines of code? I'm pretty much out of ideas. And if you have any other suggestions to speed things up, I

Re: [PHP] Standalone PHP Client?

2003-06-20 Thread Galen P. Zink
On Friday, June 20, 2003, at 11:42 AM, Brian V Bonini wrote: On Fri, 2003-06-20 at 13:57, Galen P. Zink wrote: I work for a small networking company. We're working on a piece of software that will be run server-side with PHP and MySQL. It allows the user to develop an online store and ha

Re: [PHP] Standalone PHP Client?

2003-06-20 Thread Galen P. Zink
are there any existing products along these lines? It probably wouldn't be practical to develop a whole project our selves, but if there was something already out there, we might use it. -Galen On Friday, June 20, 2003, at 11:04 AM, Michael A Smith wrote: Why not have them all do that? HTML th

[PHP] Standalone PHP Client?

2003-06-20 Thread Galen P. Zink
ws is by far the majority in market share and the other OSes could easily just pop into an HTML document that directs them to our online version. Thanks, Galen P. Zink -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php