[PHP-WIN] differences between (IIS PHP GD) & (Apache PHP GD)

2004-05-03 Thread De Greef Sébastien
Hi, i just made a little site with a nice counter, i use gd to draw the number in a chosen TTF no problem for that, but when i run the same source on IIS the string is much bigger and doesn't fit in the image anymore. i can adapt it again but it will be much smaller in apache then. Somebody knows s

[PHP-WIN] Passing a Multidimensional Array through a hidden form element

2004-05-03 Thread Ron.Herhuth
I have a multidimensional array that is created on one page and I need to send it to another page, preferrably using a hidden field in a $_POST form. This is what the array structure looks like: $mArray[0][5][1]="sampleElement"; I tried implode/explode but this just creates a long nasty string o

Re: [PHP-WIN] Passing a Multidimensional Array through a hidden form element

2004-05-03 Thread Ignatius Reilly
You can pass them in the following form: then your REQUEST var will be a 2-dimensional array there is a splendid PEAR HTML_Javascript class that converts PHP variables into JS variables. HTH Ignatius _ - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PR

RE: [PHP-WIN] differences between (IIS PHP GD) & (Apache PHP GD)

2004-05-03 Thread Gryffyn, Trevor
I'm not sure on the pixels/points thing on the two systems, you could always check a server variable and see what system you're on and do the compensation internally so it comes out properly on both systems without having to have two different scripts. But I'm curious.. I know that if you creat

RE: [PHP-WIN] Passing a Multidimensional Array through a hidden form element

2004-05-03 Thread Gryffyn, Trevor
Have you tried using the serialize() function in PHP? That should keep your array in order while it's being passed, then just unserialize it on the other end. -TG > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, May 03, 2004 9:02 AM > To: [EMA

Re: [PHP-WIN] differences between (IIS PHP GD) & (Apache PHP GD)

2004-05-03 Thread De Greef Sébastien
well, in fact it is the same system both running windows and its the same source directory, he finds the found ok no problem for that but sizing isn't right. I made a loop that checks if the image is too big and resize it till it's small enough but this doesn't really solves the problem i don't hav

[PHP-WIN] Serialization

2004-05-03 Thread Ron.Herhuth
Okay, I am trying to use serialization to pass my multidimensional array from one page to the other. I wrote a simple test page that passes the serialized data to the page and then attempts to print it out. But for some reason I keep getting an error that reads : "Notice: unserialize() failed at

[PHP-WIN] MCrypt Windows Problems

2004-05-03 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hi, Running Windows XP, using PHP Triad 2.2(Apache(1.3.23), MySQL(3.23.48) and PHP(4.1.1)). Been trying to install the MCrypt library and get it to work. I have tried the php manual and several other sources of help but cannot get it to work. I have downloaded the libmcrypt.dll and php_mcrypt.d

[PHP-WIN] Re: MCrypt Windows Problems

2004-05-03 Thread DvDmanDT
What I did (working) was to just place libmcrypt.dll in the system32 folder.. To test, use the examples at php.net/mcrypt -- // DvDmanDT MSN: dvdmandt?hotmail.com Mail: dvdmandt?telia.com "Phpdiscuss - Php Newsgroups And Mailing Lists" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED