php-general Digest 18 Dec 2007 09:05:11 -0000 Issue 5187
Topics (messages 265993 through 266008):
Re: nested array...
265993 by: Richard Lynch
Re: re-compiling PHP on Mac OS X
265994 by: Frank Arensmeier
Re: Writing text into images, and setting text size
265995 by: Richard Lynch
265997 by: Al
266001 by: Dave M G
266005 by: Andrés Robinet
266006 by: Andrés Robinet
Re: PRG pattern - how to implement a "load page using GET"
265996 by: Richard Lynch
265998 by: Robert Erbaron
PHP Session Vars & Flash Movie
265999 by: Luis Magaña
PHP translation needed
266000 by: Grace Shibley
266003 by: Casey
XML Extraction
266002 by: VamVan
266004 by: Nathan Nobbe
Re: Generating Random Numbers with Normal Distribution
266007 by: tedd
export data to a ms excel file using php
266008 by: abderrazzak nejeoui
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
On Mon, December 17, 2007 8:48 am, opo jal wrote:
> hi, i have a nested array
> ex:
> print_r($nestedarray):
> Array(
> [0]=>Array([id]=>1 [name]=>name1 [etc]=>etc1)
> [1]=>Array([id]=>2 [name]=>name2 [etc]=>etc2)
> [3]=>Array([id]=>3 [name]=>name3 [etc]=>etc3)
> )
>
> if I want to check whether id=5 is in that $nestedarray, how to do
> that?!?!
>
> i'd really appreciate the help..
I would have built the arrays with the ID as the index in the first
place, and then used http://php.net/isset, but maybe that's just me...
You could mess with in_array I suspect, or write an array_map that
stores the ID when you hit it...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?
--- End Message ---
--- Begin Message ---
17 dec 2007 kl. 18.23 skrev David Powers:
Frank Arensmeier wrote:
When you install PHP5 with the package from entropy.ch, the new
PHP5 will install under /usr/local/php5.
The Mac package from entropy.ch is not compatible with Leopard (Mac
OS X 10.5). Marc Liyanage is working on a Leopard-compatible
version. Check the forum on his site for the latest details.
There's an extremely long thread about PHP on Leopard. A command
line installation is somewhere around page 15 of the thread.
Thanks for the information! As a matter of fact, although I already
have a Leopard DVD, I haven't updated my development machine yet. My
impression of Leopard (installed on my iMac at home) is that the OS
still is somewhat unstable. I'll wait for 10.5.2 / 10.5.3
//frank
--
David Powers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
On Sun, December 16, 2007 7:59 pm, Dave M G wrote:
> I've been able to write text into an image using the default fonts
> available, with this command:
>
> ImageString($image, 5, $x - 20,$y-10, $text, $textColour);
>
> The problem is that the font that is identified by the index "5" is
> too
> small. But it seems that it can't be scaled in any way.
Have you tried 0, 1, 2, 3 and 4?
They are all built-in and different sizes.
> So I thought I would try to specify a font and try something like
> this:
>
> $font = '/usr/share/fonts/truetype/freefonts/FreeSans.ttf';
> $imagettftext($image, 20, 0, $x, $y-10, $textColour, $font, $text);
>
> But I'm clearly not doing things quite right, and I have some
> questions:
>
> 1. 'FreeSans.ttf' is in my /usr/share/fonts/truetype/freefonts
> directory. But specifying it doesn't seem to work. How do I get the
> system to find the font?
This should work, according to the docs...
Can the FreeSans.ttf file be read by the PHP user?
> 2. I need the scripts I'm writing to be portable, so can I be sure of
> what fonts will be available, and will I be able to locate them?
You are plain out of luck here.
There is NOTHING you can rely on for fonts installed at all, much less
where they will be.
You'd have to package them in with your own software to be safe.
And that may open up licensing/legal issues...
> 3. I'm not really concerned about what font it is, just that it's
> large
> and readable. If there are other options than what I've explored here,
> then I would be open to those too.
You could draw the image with a smaller font, and scale the whole
image up...
But that would usually not work well, as the scaling up has to
interpolate pixels, which rarely looks good...
You could also try using:
$font =
imageloadfont('/usr/share/fonts/truetype/freefonts/FreeSans.ttf');
if (!$font){
error_log("Unable to load font!");
$font = 5; //fall back to built-in font #5
}
ImageString($image, $font, $x - 20,$y-10, $text, $textColour);
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?
--- End Message ---
--- Begin Message ---
http://www.imagemagick.org/Usage/text/
You can use http://docs.php.net/manual/en/intro.imagick.php
Or exec() with Imagemagick commands directly http://www.imagemagick.org
Dave M G wrote:
PHP List,
I've been able to write text into an image using the default fonts
available, with this command:
ImageString($image, 5, $x - 20,$y-10, $text, $textColour);
The problem is that the font that is identified by the index "5" is too
small. But it seems that it can't be scaled in any way.
So I thought I would try to specify a font and try something like this:
$font = '/usr/share/fonts/truetype/freefonts/FreeSans.ttf';
$imagettftext($image, 20, 0, $x, $y-10, $textColour, $font, $text);
But I'm clearly not doing things quite right, and I have some questions:
1. 'FreeSans.ttf' is in my /usr/share/fonts/truetype/freefonts
directory. But specifying it doesn't seem to work. How do I get the
system to find the font?
2. I need the scripts I'm writing to be portable, so can I be sure of
what fonts will be available, and will I be able to locate them?
3. I'm not really concerned about what font it is, just that it's large
and readable. If there are other options than what I've explored here,
then I would be open to those too.
Thank you for any advice.
--- End Message ---
--- Begin Message ---
Andrés,
Thank you for responding.
Deploy the fonts along with your scripts... that's the only way I know.
... I do so for a custom CAPTCHA script I've made.
This sounds like a good solution. I'm having a little trouble
implementing it, however.
I have what I believe is a freely distributable font called
"FreeSans.ttf", and I put it in a directory called "fonts" in the base
directory of my site.
However, this seems not to work:
$font = 'fonts/FreeSans.ttf';
imagettftext($image, 20, 0, $x, $y, $textColour, $font, $text);
Putting a slash in front to specify starting from the base directory -
'/fonts/FreeSans.ttf' - does not seem to work either.
Looking in the manual, it seemed that maybe I needed to set the font
path with putenv:
$path = realpath('fonts');
putenv('GDFONTPATH=' . $path);
But this yielded no results.
Am I still getting the syntax wrong somehow?
Thank you for any advice.
--
Dave M G
--- End Message ---
--- Begin Message ---
I'm tempted to say that the problem is that the system is not finding the
font... you'd need to include the full path to the font (and it must be
readable for the user PHP runs on behalf).
Try the following:
Just for testing put the font and the script that generates the image in the
SAME directory, so let's say you have something like this:
arial.ttf (<<-- I just copied it from my windows fonts folder)
PrintImage.php
BOTH IN THE SAME DIRECTORY...
Then, the code for PrintImage.php would look like the following...
<?php
/************************/
/* Begin PrintImage.php */
// dirname(__FILE__) means "the full path to the directory where this file
<PrintImage.php> is sitting"
$fontFile = dirname(__FILE__).'/arial.ttf';
$imW = 200;
$imH = 100;
$im = imagecreatetruecolor($imgW, $imgH);
$bgColor = imagecolorallocate($im, 238, 239, 239);
$borderColor = imagecolorallocate($im, 208, 208, 208);
$textColor = imagecolorallocate($im, 46, 60, 31);
$whiteColor = imagecolorallocate($im, 255, 255, 255);
$fontSize = 18;
$textAngle = 0;
$codeString = 'Works!';
// Print rectangle
imagefilledrectangle($im, 0, 0, $imgW, $imgH, $bgColor);
imagerectangle($im, 0, 0, $imW-1, $imH-1, $borderColor);
// Print Text (Calculate Position)
$box = imagettfbbox($fontSize, $fontAngle, $fontFile, $codeString);
$x = (int)($imgW - $box[4]) / 2;
$y = (int)($imgH - $box[5]) / 2;
imagettftext($im, $fontSize, $fontAngle, $x, $y, $textColor, $fontFile,
$codeString);
// Output... no caching
header("Content-type: image/png");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
imagepng($im);
/* End PrintImage.php */
/**********************/
?>
Then you know what you do... you load PrintImage.php into your browser and
you'll get a nice gray rectangle with the word "Works!" in the center of it. If
you don't get that... then you have a problem that is not related to path or to
PHP per-se... maybe it's a GD issue, or the font is broken... or whatever other
issue... but this code works in windows and linux provided that you get the
"arial.ttf" in the same directory as PrintImage.php.
And... use dirname(__FILE__) or similar (meaning ABSOLUTE PATHS), as much as
possible to reference other files for inclusion or processing... doing
"./myfile.php" or "../myfile.php" leads to headaches... and usually in the
moment you can't take a headache (which is project deadlines).
Hope this helps,
Rob
> -----Original Message-----
> From: Dave M G [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 18, 2007 12:31 AM
> To: Andrés Robinet
> Cc: 'PHP List'
> Subject: Re: [PHP] Writing text into images, and setting text size
>
> Andrés,
>
> Thank you for responding.
>
> > Deploy the fonts along with your scripts... that's the only way I
> know.
> > ... I do so for a custom CAPTCHA script I've made.
>
> This sounds like a good solution. I'm having a little trouble
> implementing it, however.
>
> I have what I believe is a freely distributable font called
> "FreeSans.ttf", and I put it in a directory called "fonts" in the base
> directory of my site.
>
> However, this seems not to work:
>
> $font = 'fonts/FreeSans.ttf';
> imagettftext($image, 20, 0, $x, $y, $textColour, $font, $text);
>
> Putting a slash in front to specify starting from the base directory -
> '/fonts/FreeSans.ttf' - does not seem to work either.
>
> Looking in the manual, it seemed that maybe I needed to set the font
> path with putenv:
>
> $path = realpath('fonts');
> putenv('GDFONTPATH=' . $path);
>
> But this yielded no results.
>
> Am I still getting the syntax wrong somehow?
>
> Thank you for any advice.
>
> --
> Dave M G
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Just a correction...
Replace at the beginning of the script (I had some typos, while extracting the
code from the original script)
> $imW = 200;
> $imH = 100;
By this..
$imgW = 200;
$imgH = 100;
Regards,
Rob
Andrés Robinet | Lead Developer | BESTPLACE CORPORATION
5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 |
TEL 954-607-4207 | FAX 954-337-2695
Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace |
Web: http://www.bestplace.biz | Web: http://www.seo-diy.com
> -----Original Message-----
> From: Andrés Robinet [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 18, 2007 1:33 AM
> To: 'Dave M G'
> Cc: 'PHP List'
> Subject: RE: [PHP] Writing text into images, and setting text size
>
> I'm tempted to say that the problem is that the system is not finding
> the font... you'd need to include the full path to the font (and it
> must be readable for the user PHP runs on behalf).
>
> Try the following:
>
> Just for testing put the font and the script that generates the image
> in the SAME directory, so let's say you have something like this:
>
> arial.ttf (<<-- I just copied it from my windows fonts folder)
> PrintImage.php
>
> BOTH IN THE SAME DIRECTORY...
> Then, the code for PrintImage.php would look like the following...
>
> <?php
> /************************/
> /* Begin PrintImage.php */
>
> // dirname(__FILE__) means "the full path to the directory where this
> file <PrintImage.php> is sitting"
> $fontFile = dirname(__FILE__).'/arial.ttf';
>
> $imW = 200;
> $imH = 100;
> $im = imagecreatetruecolor($imgW, $imgH);
> $bgColor = imagecolorallocate($im, 238, 239, 239);
> $borderColor = imagecolorallocate($im, 208, 208, 208);
> $textColor = imagecolorallocate($im, 46, 60, 31);
> $whiteColor = imagecolorallocate($im, 255, 255, 255);
> $fontSize = 18;
> $textAngle = 0;
> $codeString = 'Works!';
>
> // Print rectangle
> imagefilledrectangle($im, 0, 0, $imgW, $imgH, $bgColor);
> imagerectangle($im, 0, 0, $imW-1, $imH-1, $borderColor);
>
> // Print Text (Calculate Position)
> $box = imagettfbbox($fontSize, $fontAngle, $fontFile, $codeString);
> $x = (int)($imgW - $box[4]) / 2;
> $y = (int)($imgH - $box[5]) / 2;
> imagettftext($im, $fontSize, $fontAngle, $x, $y, $textColor, $fontFile,
> $codeString);
>
> // Output... no caching
> header("Content-type: image/png");
> header("Cache-Control: no-cache, must-revalidate");
> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
> imagepng($im);
>
> /* End PrintImage.php */
> /**********************/
> ?>
>
> Then you know what you do... you load PrintImage.php into your browser
> and you'll get a nice gray rectangle with the word "Works!" in the
> center of it. If you don't get that... then you have a problem that is
> not related to path or to PHP per-se... maybe it's a GD issue, or the
> font is broken... or whatever other issue... but this code works in
> windows and linux provided that you get the "arial.ttf" in the same
> directory as PrintImage.php.
>
> And... use dirname(__FILE__) or similar (meaning ABSOLUTE PATHS), as
> much as possible to reference other files for inclusion or
> processing... doing "./myfile.php" or "../myfile.php" leads to
> headaches... and usually in the moment you can't take a headache (which
> is project deadlines).
>
> Hope this helps,
>
> Rob
> > -----Original Message-----
> > From: Dave M G [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, December 18, 2007 12:31 AM
> > To: Andrés Robinet
> > Cc: 'PHP List'
> > Subject: Re: [PHP] Writing text into images, and setting text size
> >
> > Andrés,
> >
> > Thank you for responding.
> >
> > > Deploy the fonts along with your scripts... that's the only way I
> > know.
> > > ... I do so for a custom CAPTCHA script I've made.
> >
> > This sounds like a good solution. I'm having a little trouble
> > implementing it, however.
> >
> > I have what I believe is a freely distributable font called
> > "FreeSans.ttf", and I put it in a directory called "fonts" in the
> base
> > directory of my site.
> >
> > However, this seems not to work:
> >
> > $font = 'fonts/FreeSans.ttf';
> > imagettftext($image, 20, 0, $x, $y, $textColour, $font, $text);
> >
> > Putting a slash in front to specify starting from the base directory
> -
> > '/fonts/FreeSans.ttf' - does not seem to work either.
> >
> > Looking in the manual, it seemed that maybe I needed to set the font
> > path with putenv:
> >
> > $path = realpath('fonts');
> > putenv('GDFONTPATH=' . $path);
> >
> > But this yielded no results.
> >
> > Am I still getting the syntax wrong somehow?
> >
> > Thank you for any advice.
> >
> > --
> > Dave M G
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
On Sun, December 16, 2007 2:05 pm, Robert Erbaron wrote:
> - Never show pages in response to POST
> - Navigate from POST to GET using REDIRECT
> - Always load pages using GET
I believe #3 is simply a more general way of saying #1 + #2, but may
be wrong.
And I basically completely disagree with the author in the first
place, so...
> (P.S. I'll get to the issue of rearchitecting this via require instead
> of using header() redirects,cough, cough, Richard Lynch, cough, cough
> :) in a future message. One step at a time...)
... you can probably just ignore this, as it's diametrically opposed
to the rules you're following, as I understand them.
ymmv
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?
--- End Message ---
--- Begin Message ---
>
> And I basically completely disagree with the author in the first
> place, so...
Well, that's been clear for a year. :)
> > (P.S. I'll get to the issue of rearchitecting this via require instead
> > of using header() redirects,cough, cough, Richard Lynch, cough, cough
> > :) in a future message. One step at a time...)
>
> ... you can probably just ignore this, as it's diametrically opposed
> to the rules you're following, as I understand them.
'tain't gonna ignore it. Just want to understand the PRG first. Much
better to understand something before dismissing it. Simply saying 'it
sucks' without understanding it is sorta ignorant.
Course, I may end up disagreeing with you, but we won't know that
until next week's exciting episode.
--
RE, Chicago
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a small application made in flash, that uses a set of PHP scripts
to pull data from a database. I've added sessions to this scripts so
they would only return the data if a proper session has been
initialized, the flash movie is hosted in a sessioned php as well so you
can only see it if a session has been initialized.
All of it works well, the flash movie calls the scripts and the scripts
return the data if and only if a session has been started. all of this
was tested on Apache 2.2.2 and PHP 5.1.6 and works as expected. however,
moving the whole thing to another server running Apache 2.2.6 with PHP
5.2.4 does not work, the flash movie calls the scripts, but it seems to
be calling them outside the session set in PHP, thus the scripts return
and invalid session message, if we call the scripts directly once the
session has been initialized they return the correct data.
So, the question is, is the above working because we are relaying on
some bug in the previous versions of apache+php or are we missing some
setting in the new versions ? We have tried to find a relevant setting
making a difference but so far we are not able to do so.
Thank you very much for your help.
Regards.
- --
Luis Magaña
Gnovus Networks & Software
www.gnovus.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHZzXtqSchlMT6gK4RAjHRAJ4pU81dw8BpZBf7bhF5QS7mxRqMcQCaAtIu
eTMSRMXsmddN0jvqEWUOlrw=
=fSiN
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Hi Everyone,
We have an encryption function that was written in another language that we
needed translated to PHP.
Here's the function:
function rc4 pText, pKey
-- initialize
repeat with i = 0 to 255
put i into S1[i]
end repeat
put 0 into i
repeat with n = 0 to 255
add 1 to i
if i > length(pkey) then put 1 into i
put chartonum(char i of pKey) into S2[n]
end repeat
put 0 into j
repeat with i = 0 to 255
put (j + S1[i] + S2[i]) mod 256 into j
put S1[i] into temp
put S1[j] into S1[i]
put temp into S1[j]
end repeat
-- encrypt/decrypt
put 0 into i ; put 0 into j
repeat for each char c in pText
put chartonum(c) into tChar
put (i + 1) mod 256 into i
put (j + S1[i]) mod 256 into j
put S1[i] into temp
put S1[j] into S1[i]
put temp into S1[j]
put (S1[i] + S1[j]) mod 256 into t
put S1[t] into K
put numtochar(tChar bitXor K) after tOutput
end repeat
return tOutput
end rc4
Can anyone help us with this? We don't mind paying via PayPal :)
Thanks!
grace
--- End Message ---
--- Begin Message ---
On Dec 17, 2007 7:06 PM, Grace Shibley <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> We have an encryption function that was written in another language that we
> needed translated to PHP.
>
> Here's the function:
>
> function rc4 pText, pKey
> -- initialize
> repeat with i = 0 to 255
> put i into S1[i]
> end repeat
>
> put 0 into i
> repeat with n = 0 to 255
> add 1 to i
> if i > length(pkey) then put 1 into i
> put chartonum(char i of pKey) into S2[n]
> end repeat
>
> put 0 into j
> repeat with i = 0 to 255
> put (j + S1[i] + S2[i]) mod 256 into j
> put S1[i] into temp
> put S1[j] into S1[i]
> put temp into S1[j]
> end repeat
>
> -- encrypt/decrypt
> put 0 into i ; put 0 into j
> repeat for each char c in pText
> put chartonum(c) into tChar
>
> put (i + 1) mod 256 into i
> put (j + S1[i]) mod 256 into j
> put S1[i] into temp
> put S1[j] into S1[i]
> put temp into S1[j]
> put (S1[i] + S1[j]) mod 256 into t
> put S1[t] into K
>
> put numtochar(tChar bitXor K) after tOutput
> end repeat
>
> return tOutput
> end rc4
>
> Can anyone help us with this? We don't mind paying via PayPal :)
>
> Thanks!
> grace
>
function rc4($pText, $pKey) {
// initialize
$S1 = range(0, 255);
$S2 = array();
$i = 0;
for ($n=0; $n<=255; $n++) {
$i++;
if ($i > strlen($pkey))
$i = 1;
$S2[] = ord($pKey[$i]);
}
$j = 0;
for ($i=0; $i<=255; $i++) {
$j = ($j + $S1[$i] + $S2[$i]) % 256;
$temp = $S1[$i];
$S1[$i] = $S1[$j];
$S1[$j] = $temp;
}
// encrypt/decrypt
$i = $j = 0;
$tOutput = '';
foreach (str_split($pText) as $c) {
$tChar = ord($c);
$i = ($i+1) % 256;
$j = ($j+$S1[$i]) % 256;
$temp = $S1[$i];
$S1[$i] = $S1[$j];
$S1[$j] = $temp;
$t = ($S1[$i] + $S1[$j]) % 256;
$K = $S1[$t];
$tOutput .= chr($tChar ^ $K);
}
return $tOutput;
}
I don't know what language this is. I'm curious -- what is it? It
might not work; it's untested except for syntax errors.
[EMAIL PROTECTED] ;]
-Casey
--- End Message ---
--- Begin Message ---
Hello,
I receive an output as an XML File. Please provide some scripts that I
can use for extraction of the values.
For Example:
<title>hello</title>
<title>hello2</title>
<title>hello3</title>
are 3 different records in the XML File. How can I retrieve the result set
in a loop and also sort it like DESC and ASC for example.
While()
{
xml['title'] // Value
}
Thanks,
Vamsee
--- End Message ---
--- Begin Message ---
On Dec 17, 2007 10:44 PM, VamVan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I receive an output as an XML File. Please provide some scripts that I
> can use for extraction of the values.
>
> For Example:
> <title>hello</title>
>
> <title>hello2</title>
>
> <title>hello3</title>
>
> are 3 different records in the XML File. How can I retrieve the result set
> in a loop and also sort it like DESC and ASC for example.
>
> While()
> {
> xml['title'] // Value
> }
>
<?php
$xml=
<<<XML
<container>
<title>i</title>
<title>care</title>
<title>about</title>
<title>things</title>
<arbitraryContent>xmlInPhpIsFun</arbitraryContent>
</container>
XML;
$simpleXmlElt = new SimpleXMLElement($xml);
$titleElements = $simpleXmlElt->xpath('//title');
foreach($titleElements as $curTitleElement) {
echo $curTitleElement . PHP_EOL;
}
?>
no charge ;) hehe
-nathan
--- End Message ---
--- Begin Message ---
At 5:10 PM -0600 12/15/07, Richard Lynch wrote:
On Wed, December 12, 2007 11:07 pm, Robert Cummings wrote:
Once again, we're not trying to prove order. Order obviously exists.
I'm not sure I'd agree that order exists in the first place, much less
randomness or disorder. They could all be solely our human incorrect
interpretation.
Well, that's close to my point -- order and disorder, random and
predictable are concepts in our minds that do not exist in nature.
Once a series of events, or an arrangement of objects satisfies our
mind's definition of order or random, then we define it that way.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--- End Message ---
--- Begin Message ---
can you help me to export data to a ms excel file using php. i tried to
export them to an html format and change the extension to .xls that's work
but i have lost the formatting
excel and the navigator doesn't interpret my code in the same why (celles
are not in the same size)
--- End Message ---