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

2004-06-12 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

[PHP] return string size in bytes

2004-06-12 Thread PHP4web
I now there are function to calc file size but I want function to get string size in bytes

[PHP] re: return string size in bytes

2004-06-12 Thread Dascalu Marius
php4web wrote: I now there are function to calc file size but I want function to get string size in bytes Maybe what you want is strlen()? http://www.php.net/strlen http://www.php.net/strlen HTH Marius

Re: [PHP] Limit the number of characters in a string

2004-06-12 Thread Richard Harb
actually it is: substr($string, 0, 100); http://www.php.net/substr -Original Message- From: php-general Sent: Friday, June 11, 2004, 3:17:15 PM substr( xxx, 1, 100) Hi Anyone know how to clip the number of characters in a string? For instance, I have a string carrying a long piece of

[PHP] finding text strings in html code

2004-06-12 Thread Kathleen Ballard
I am beginning a project that will involve moving data from an mssql table to xml files. In addition to fixing non-xml compliant html in the text fields and outputting the data to a new xml format, I need to find certain chunks of text marked by standard html comments at the start and end,

[PHP] Re: PHP 5/OOP, Functionality similar to an Abstract method?

2004-06-12 Thread Justin Patrin
Chris wrote: I have an abstract class with quite a few 'children'. Essentially I want to be able to interchange calls between children (Take a script, written with ClassA and redefine the variable as ClassB etc.) Though there is a large subset of methods all of these children declare, there

Re: [PHP] Re: PHP 5/OOP, Functionality similar to an Abstract method?

2004-06-12 Thread Chris
Justin Patrin wrote: Chris wrote: I have an abstract class with quite a few 'children'. Essentially I want to be able to interchange calls between children (Take a script, written with ClassA and redefine the variable as ClassB etc.) Though there is a large subset of methods all of these

[PHP] Re: export from mysql to csv file

2004-06-12 Thread Kim Steinhaug
You are also probably using PHPMyAdmin, if not you should be using this. Exporting to CVS is fairly simple, and if your used to quering the databsae you should be able to do this very easilly yourself if your looking for a sollution you can do from scripts. Basically what you do is simply do a

[PHP] Re: Header target?

2004-06-12 Thread Kim Steinhaug
Steve Douville had a long answer, the short answer : no -- -- Kim Steinhaug -- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't.

[PHP] Re: array_rand() not random

2004-06-12 Thread Kim Steinhaug
Hmm... Ive been having same problems with mysql and picking random numbers, I ended up having to program a rather more sofisticated system to eliminate the stats you were referring to. You could, not that it will be any better, try another approach : Something like : $count =

[PHP] Multidimensional Array advice from a newbie

2004-06-12 Thread grahama
Hi :) I am creating an XML file out of a mysql query with nested arrays. Currently I can get 1 element and 1 child with a properly formatted XML file with the below script . My question is: How do I add 3 to 4 more child elements to the below 'playlist' array ? Currently ,I have one parent

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

2004-06-12 Thread Kim Steinhaug
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 outside the windows platform however. If your looking

Re: [PHP] PHP pros and cons

2004-06-12 Thread Steve Douville
Yes, pardon me for actually providing to the spirit of this list, to help people find ways to meet their objectives. Just saying no isn't very constructive, now is it? :-) Kim Steinhaug [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Steve Douville had a long answer, the short

[PHP] THREADS IN PHP

2004-06-12 Thread jack bauer
hi, i'm looking for a methode to use threads in php (on linux) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] finding text strings in html code

2004-06-12 Thread Curt Zirzow
* Thus wrote Kathleen Ballard ([EMAIL PROTECTED]): I am beginning a project that will involve moving data from an mssql table to xml files. ... I have played with code using substr/str_pos, running html tidy with exec() and it works. But searching the archives, it seems like the new

[PHP] session_start() warnings

2004-06-12 Thread PaoAge
Hi, all: When I use session_start function, I receive the following warning messages: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/w4t3c101/public_html/ListClientInfo.php:2) in /home/w4t3c101/public_html/SessionControl.php on line 9

Re: [PHP] session_start() warnings

2004-06-12 Thread Larry E . Ullman
When I use session_start function, I receive the following warning messages: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/w4t3c101/public_html/ListClientInfo.php:2) in /home/w4t3c101/public_html/SessionControl.php on line 9 Warning:

Re: [PHP] session_start() warnings

2004-06-12 Thread PaoAge
Larry E . Ullman wrote: When I use session_start function, I receive the following warning messages: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/w4t3c101/public_html/ListClientInfo.php:2) in

[PHP] Re: THREADS IN PHP

2004-06-12 Thread Aidan Lister
Please don't hype your post, or you'll find, as do many children, no one will pay it any attention. Jack Bauer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi, i'm looking for a methode to use threads in php (on linux) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: THREADS IN PHP

2004-06-12 Thread Ryan A
Please don't hype your post, or you'll find, as do many children, no one will pay it any attention. YEP, THE ABOVE IS TRUE! :-p -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookie Security?

2004-06-12 Thread phpmail
My login script sets unique, secure, cookies that identify the user. Some of my pages only display content if a secure cookie is present. Is this a bad idea for secure pages with sensitive details as I have heard that cookies can be faked? I am always interested in creating a secure environment