php-general Digest 17 Mar 2006 05:38:31 -0000 Issue 4020

2006-03-16 Thread php-general-digest-help
php-general Digest 17 Mar 2006 05:38:31 - Issue 4020 Topics (messages 232040 through 232079): Re: help with setting menu styles with PHP 232040 by: tedd 232053 by: Anthony Ettinger Re: How does one obtain the resolution of an image in PHP? 232041 by: Simon M.

[PHP] Re: how do i select this list

2006-03-16 Thread Barry
Mark wrote: THANKS THAT WORKED GREAT You might need this in the future: http://dev.mysql.com/doc/refman/5.0/en/index.html Thare are lot's of examples, also the problem you stated is described there. -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP

[PHP] Re: Updating form

2006-03-16 Thread Barry
Sugrue, Sean wrote: Does anyone know how to update an option list queried from a database table after an insert/delete action on that table? Sean To be as precise with my answer as your question: Read the HTML manual about meta tags. have fun! -- Smileys rule (cX.x)C --o(^_^o) Dance for

[PHP] Problem

2006-03-16 Thread Bikram Suri
Hi, I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp installed on my machine but before wamp I had done a standalone installation of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the c:\PHP5 directory from my system. How can i reset the include

Re: [PHP] imap_mail_compose not working

2006-03-16 Thread Karel Kozlik
What version of imap do you have on both servers? Maybe one is older and has some bugs that have been fixed. Hi, phpinfo on both servers reporting: IMAP c-Client Version: 2001 The strange think is that imap_mail_compose were working on the windows server few months ago. But now when I

Re: [PHP] imap_mail_compose not working

2006-03-16 Thread chris smith
On 3/16/06, Karel Kozlik [EMAIL PROTECTED] wrote: What version of imap do you have on both servers? Maybe one is older and has some bugs that have been fixed. Hi, phpinfo on both servers reporting: IMAP c-Client Version: 2001 The strange think is that imap_mail_compose were

[PHP] Re: Can I specify alternative php.ini in httpd.conf

2006-03-16 Thread Karel Kozlik
Khai napsal(a): Hi All, I am using php as an apache module. In my httpd.conf, is there a way to specify which php.ini to use? Thanks Khai Yes, add this line (with your own location of course) to httpd.conf PHPIniDir c:/Program Files/Apache Group/php4 Karel -- PHP General Mailing List

Re: [PHP] Problem

2006-03-16 Thread chris smith
On 3/16/06, Bikram Suri [EMAIL PROTECTED] wrote: Hi, I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp installed on my machine but before wamp I had done a standalone installation of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the c:\PHP5

Re: [PHP] Re: Updating form

2006-03-16 Thread Robert Cummings
On Thu, 2006-03-16 at 03:08, Barry wrote: Sugrue, Sean wrote: Does anyone know how to update an option list queried from a database table after an insert/delete action on that table? Re-Query? Cheers, Rob. -- .. | InterJinn

Re: [PHP] imap_mail_compose not working

2006-03-16 Thread Karel Kozlik
chris smith napsal(a): On 3/16/06, Karel Kozlik [EMAIL PROTECTED] wrote: What version of imap do you have on both servers? Maybe one is older and has some bugs that have been fixed. Hi, phpinfo on both servers reporting: IMAP c-Client Version: 2001 The strange think is that

Re: [PHP] php 5 installation problem

2006-03-16 Thread Jochem Maas
tedd wrote: Hi gang: I asked my host to install the current versions of php 5 and the following was his answer: Sorry but php has some issues with cpanel. cpanel has issues with php5 not the other way around :-) Anyone heard of any problems or a work-around? get a different hosting

[PHP] Re: [PHP-DEV] Re: Problem

2006-03-16 Thread Kamesh Jayachandran
See what 'Configuration File (php.ini) Path' shows and identify the php.ini used accordingly. Please don't [post this kind of help request to internals. With regards Kamesh Jayachandran Bikram Suri wrote: Thanks for all your replies. I have changed the include_path settings in php.ini which

[PHP] Re: Problem

2006-03-16 Thread Bikram Suri
Thanks for all your replies. I have changed the include_path settings in php.ini which is in c:\wamp\php but still it takes the include path as c:\php5\PEAR Please help regards Bikram Bikram Suri [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I do phpinfo(); and I see the

Re: [PHP] dumping array to file

2006-03-16 Thread Jochem Maas
blackwater dev wrote: I am doing a select from a mssql db and will then pump it into a mysql db. What is the easiest way to take the result array from the mssql db and dump it to a file that I can just pull into MySQL short of writing out to the file row by row. how else are you going to

[PHP] Re: [PHP-DEV] Re: Problem

2006-03-16 Thread Bikram Suri
I changed that it was windows but still did not change anything. I even reinstalled wamp but still the include_path variable in phpinfo(); shows c:\php5\pear Please help as this putting a stop on my work regards and thank you for all the help -- Bikram Suri Kamesh Jayachandran [EMAIL

[PHP] Re: [PHP-DEV] Re: Problem

2006-03-16 Thread Bikram Suri
I changed that it was windows but still did not change anything. I even reinstalled wamp but still the include_path variable in phpinfo(); shows c:\php5\pear Please help as this putting a stop on my work regards and thank you for all the help -- Bikram Suri Kamesh Jayachandran [EMAIL

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Jochem Maas
Al wrote: I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to about double, not be 4x as

Re: [PHP] Problems with SSI, Apache PHP!

2006-03-16 Thread Alberto Ferrer
I got only a test.shtml with this: html body !--#include virtual=test.php -- /body /html and a test.php with: ? echo 'Hello World'; ? PHP 4.4.2 , Apache 1.3.34 , nothing weird, Compiled Options: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml'

[PHP] Detect calling function with debug_backtrace()

2006-03-16 Thread Mathijs
Hello, i want to use debug_backtrace() in the function called by register_shutdown_function but it only displays the function we are currently in (the shutdown function) Is there any way to trace what class, methode or line caused php to call the shutdown function ?? Thx in advanced -- PHP

Re: [PHP] Re: REG-EXPR: Allowing limited number of spe cial chars in usernames

2006-03-16 Thread Holger Sunke
Yes thank you, that's all I need! -Ursprüngliche Nachricht- Von: Rafael [EMAIL PROTECTED] Gesendet: 16.03.06 07:34:15 An: php-general@lists.php.net Betreff: [PHP] Re: REG-EXPR: Allowing limited number of special chars in usernames Holger Sunke wrote: I dont know that much

Re: [PHP] Re: REG-EXPR: Allowing limited number of special chars in usernames

2006-03-16 Thread Barry
Holger Sunke wrote: Yes thank you, that's all I need! * beware that you're saying *anything* other than alpha-numeric chars Yeah that's why it wont work with asian or kyrillian users. Probably writing a function that counts each special char could be an answer ... prolly -- Smileys

Re: [PHP] Detect calling function with debug_backtrace()

2006-03-16 Thread Jochem Maas
Mathijs wrote: Hello, i want to use debug_backtrace() in the function called by register_shutdown_function but it only displays the function we are currently in (the shutdown function) Is there any way to trace what class, methode or line caused php to call the shutdown function ?? the

[PHP] Re: Need shopping cart for online updating

2006-03-16 Thread Lisa A
I have looked everywhere, but it's hard to tell. I was hoping someone else had found one that they put on their site so their clients could add merchandise themselves failry easy. I know I have oscommerce on my cpanel, but it is rather difficult it seems. thanks. Lisa A Nadim Attari [EMAIL

Re: [PHP] Re: Need shopping cart for online updating

2006-03-16 Thread John Nichel
Lisa A wrote: I have looked everywhere, but it's hard to tell. I was hoping someone else had found one that they put on their site so their clients could add merchandise themselves failry easy. I know I have oscommerce on my cpanel, but it is rather difficult it seems. thanks. Lisa A

Re: [PHP] Re: [PHP-DEV] Re: Problem

2006-03-16 Thread Miles Thompson
At 07:47 AM 3/16/2006, Bikram Suri wrote: I changed that it was windows but still did not change anything. I even reinstalled wamp but still the include_path variable in phpinfo(); shows c:\php5\pear Please help as this putting a stop on my work regards and thank you for all the help --

Re: [PHP] Need shopping cart for online updating

2006-03-16 Thread tedd
I currently use Pay Pal shopping cart, but I need to find a good, cheap shopping cart that my clients can update themselves. Does anyone know of something I can install so they can work on it easily. They need to do this online. thanks, Lisa A Lisa: You might also want to review:

[PHP] umask is not being restored when each request is finished.

2006-03-16 Thread Manuel Vacelet
Hi all, I copied/pasted the title of the following bug: http://bugs.php.net/bug.php?id=36630 It seems already fixed in CVS for 5.1.x branch of PHP. Actually, I'm running php4 (4.3.2 shiped by RHEL3) and I'm facing the same bug. And I'm not alone, you can look at http://bugs.php.net/28401.

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Al
Jochem Maas wrote: Al wrote: I'm trying to resize GIF images and up with very large files For example: Original width = 720 New width = 980 Original height = 1008 New height = 1274 Original filesize = 80kb After resizing = 235kb Based on the area increase; I'd expect the file size to about

[PHP] Re: setcookie security concerns

2006-03-16 Thread tedd
Rafael: You said: Inspite of all this, I would really recomend you not to rely on register_globals=On, since: it's not a good idea, it's actually deprecated (someday it will be removed) and makes your code a little bit more confused, since it's not clear where do that variables come from.

[PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Good morning, folks. Can any one direct me to a snippet or suggest an approach to obtaining the resolution of an image [file] with PHP. exif_read_data() is great if the image was taken with a camera that is exif compliant, but is no help with my scanned images. getimagesize() gives me height

[PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Good morning, folks. Can any one direct me to a snippet or suggest an approach to obtaining the resolution of an image [file] with PHP. exif_read_data() is great if the image was taken with a camera that is exif compliant, but is no help with my scanned images. getimagesize() gives me height

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread tedd
Based on the area increase; I'd expect the file size to about double, not be 4x as large. $src_img = imagecreatefromgif($filename); $dest_img = imagecreatetruecolor($new_width, $new_height); Can anyone explain or have a solution? Here's my take -- gif's are no longer supported by the GD

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread tedd
Good morning, folks. Can any one direct me to a snippet or suggest an approach to obtaining the resolution of an image [file] with PHP. exif_read_data() is great if the image was taken with a camera that is exif compliant, but is no help with my scanned images. getimagesize() gives me height

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Al
tedd wrote: Based on the area increase; I'd expect the file size to about double, not be 4x as large. $src_img = imagecreatefromgif($filename); $dest_img = imagecreatetruecolor($new_width, $new_height); Can anyone explain or have a solution? Here's my take -- gif's are no longer supported

[PHP] help with setting menu styles with PHP

2006-03-16 Thread Bruce Gilbert
am trying to accomplish something utlizing PHP. What I have is a menu marked up as such: div id=navcontainer ul id=navlist li id=activea href=About_Me.php title=you know you want to learn more about me id=currentAbout Me/a/li lia href=Skillset.php title=I've got skillzSkill set/a/li lia

Re: [PHP] help with setting menu styles with PHP

2006-03-16 Thread tedd
http://www.inspired-evolution.com/About_Me.php What I want to do next is to change the menu from being hard coded on all of my pages to being an include making the menu more manageable. The stumbling block is I want to be able to keep the CSS functionality where you have the active indicator

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Thank you for your response, Tedd. T There was a discussion on this a few weeks back -- you might look through the archives. I'm reasonably certain I saw the thread but it was no help. I will go back and review it in case I missed something. T However, the bottom line was that images (other

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread John Nichel
tedd wrote: snip Here's my take -- gif's are no longer supported by the GD library because of patent problems. So development of how to deal with them has been moved to png. /snip Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the support was

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread tedd
tedd wrote: snip Here's my take -- gif's are no longer supported by the GD library because of patent problems. So development of how to deal with them has been moved to png. /snip Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the support was

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread tedd
Simon: Thank you for your response, Tedd. No problem, glad to help if I can. I think so, but I am a bit dense. I'm not concerned with image size but rather native resolution. Thanks again for taking the time. Simon Yes, but that's a different question. On one hand, you have an image

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread tedd
Simon: One more link: http://www.weberdev.com/Manuals/PHP/function.exif-read-data.html There's code there. HTH's tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] yahoo webshosting

2006-03-16 Thread pfancy
Does anyone use yahoo webhosting? I have a question about enabling php ftp module or something like that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] yahoo webshosting

2006-03-16 Thread Jay Blanchard
[snip] Does anyone use yahoo webhosting? I have a question about enabling php ftp module or something like that. [/snip] No. I have answers about enabling php ftp module or something like that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] yahoo webshosting

2006-03-16 Thread Anthony Ettinger
dreamhost.com On 3/16/06, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Does anyone use yahoo webhosting? I have a question about enabling php ftp module or something like that. [/snip] No. I have answers about enabling php ftp module or something like that. -- PHP General Mailing List

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Thanks again, Tedd. I've checked out the links but still no luck. As I stated (Or implied.) in my first post, I have played with exif_read_data() but it is of little use with the scanned images I've examined. You can see results of my experiments with exif_read_data() and getimagesize() at:

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread John Hinton
Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand scanned images with resolution ranging from 72 PPI up to 1200 PPI (As reported by Paint Shop Pro) and want to discard, or

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Richard Lynch
On Thu, March 16, 2006 1:31 pm, John Hinton wrote: Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand scanned images with resolution ranging from 72 PPI up to 1200 PPI (As

Re: [PHP] GD2 gif resizing problem

2006-03-16 Thread Al
John Nichel wrote: tedd wrote: snip Here's my take -- gif's are no longer supported by the GD library because of patent problems. So development of how to deal with them has been moved to png. /snip Untrue. GIF images *are* supported by the GD library. They were briefly taken out, but the

Re: [PHP] help with setting menu styles with PHP

2006-03-16 Thread Anthony Ettinger
I did something similar on my page. I did a simple comparison in a loop through the menu DOM, foreach ($nodeList as $node){ if ($currentPage eq $nodeHref) { //set class attribute = 'active'; } } On 3/16/06, tedd [EMAIL PROTECTED] wrote: http://www.inspired-evolution.com/About_Me.php What

[PHP] Two functions, one javascript, one php, one on_click event?

2006-03-16 Thread Jay Blanchard
I have a button. When the button is clicked it performs a JavaScript function. I need it to perform a PHP function before it performs the JavaScript function. Is this a case where I do the PHP function and then output the JavaScript with PHP? My head hurts. -- PHP General Mailing List

Re: [PHP] yahoo webshosting

2006-03-16 Thread pfancy
Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] Does anyone use yahoo webhosting? I have a question about enabling php ftp module or something like that. [/snip] No. I have answers about enabling php ftp module or something like that. smile could you help me with

RE: [PHP] Two functions, one javascript, one php, one on_click event? [SOLVED]

2006-03-16 Thread Jay Blanchard
[snip] I have a button. When the button is clicked it performs a JavaScript function. I need it to perform a PHP function before it performs the JavaScript function. Is this a case where I do the PHP function and then output the JavaScript with PHP? My head hurts. [/snip] Yes. -- PHP General

Re: [PHP] Two functions, one javascript, one php, one on_click event?

2006-03-16 Thread Satyam
Unless you want to refresh the page, you would have to use Ajax, called from JavaScript and take the reply and continue processing via JavaScript. - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, March 16, 2006 8:51 PM Subject:

[PHP] adding code and beginning and end without includes

2006-03-16 Thread blackwater dev
Is there a way to intercept and add code at the beginning and end of every http request - WITHOUT having to put an include at the top and bottom of every page? This is something we need to be app specific so don't really want to do it globally like chanse the php.ini or something. Thanks!

Re: [PHP] adding code and beginning and end without includes

2006-03-16 Thread Jochem Maas
blackwater dev wrote: Is there a way to intercept and add code at the beginning and end of every http request - WITHOUT having to put an include at the top and bottom of every page? This is something we need to be app specific so don't really want to do it globally like chanse the php.ini or

Re: [PHP] adding code and beginning and end without includes

2006-03-16 Thread Claudio Corlatti
search in google php +prepend +htaccess http://www.codingforums.com/showthread.php?t=78287 bye bye Claudio blackwater dev wrote: Is there a way to intercept and add code at the beginning and end of every http request - WITHOUT having to put an include at the top and bottom of every page?

Re: [PHP] php 5 installation problem

2006-03-16 Thread Anthony Ettinger
dreamhost let's you choose php4 or 5, as I'm sure others do as well. On 3/16/06, Jochem Maas [EMAIL PROTECTED] wrote: tedd wrote: Hi gang: I asked my host to install the current versions of php 5 and the following was his answer: Sorry but php has some issues with cpanel. cpanel

Re: [PHP] php 5 installation problem

2006-03-16 Thread Miles Thompson
At 05:40 PM 3/16/2006, Anthony Ettinger wrote: dreamhost let's you choose php4 or 5, as I'm sure others do as well. snipped all 'dat stuff A little more on dreamhost. PHP5 is installed as CGI, not Apache module. Does anyone have any experience with Nexcess.net -- advertisers on back page of

[PHP] IE quirk

2006-03-16 Thread PHP
Hi, I created a small bannering program. It works great in Firefox. But I have a problem with IE. If I place the banner on a different domain than the bannering program, Ex: www.bannerserver.com www.otherserver.com has img tag calling from www.bannerserver.com I use a session to keep track

Re: [PHP] php 5 installation problem

2006-03-16 Thread Anthony Ettinger
On 3/16/06, Miles Thompson [EMAIL PROTECTED] wrote: At 05:40 PM 3/16/2006, Anthony Ettinger wrote: dreamhost let's you choose php4 or 5, as I'm sure others do as well. snipped all 'dat stuff A little more on dreamhost. PHP5 is installed as CGI, not Apache module. Is there a drawback to

RE: [PHP] IE quirk

2006-03-16 Thread Jay Blanchard
[snip] I created a small bannering program. It works great in Firefox. But I have a problem with IE. If I place the banner on a different domain than the bannering program, Ex: www.bannerserver.com www.otherserver.com has img tag calling from www.bannerserver.com I use a session to keep

[PHP] VxWorks PHP port??

2006-03-16 Thread Shawn N
Hello, Does a VxWorks port of the PHP interpreter currently exist? If no, is any such project in the pipeline?? We'd like to run PHP scripts as CGIs in some of our embedded devices. Thanks for the info. -- Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] VxWorks PHP port??

2006-03-16 Thread Shawn N
Hello, Does a VxWorks port of the PHP interpreter currently exist? If no, is any such project in the pipeline?? We'd like to run PHP scripts as CGIs in some of our embedded devices. Thanks for the info. -- Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] MySQL NOT IN Query not working

2006-03-16 Thread Kevin Murphy
Anyone want to point me to why this isn't working: $hr_query = select dp_lname,dp_fname,dp_id FROM dir_all WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2) ORDER BY dp_lname; There are two tables, dir_all (the main list

Re: [PHP] php 5 installation problem

2006-03-16 Thread Miles Thompson
At 06:23 PM 3/16/2006, Anthony Ettinger wrote: On 3/16/06, Miles Thompson [EMAIL PROTECTED] wrote: At 05:40 PM 3/16/2006, Anthony Ettinger wrote: dreamhost let's you choose php4 or 5, as I'm sure others do as well. snipped all 'dat stuff A little more on dreamhost. PHP5 is installed as

Re: [PHP] MySQL NOT IN Query not working

2006-03-16 Thread Miles Thompson
At 08:41 PM 3/16/2006, Kevin Murphy wrote: Anyone want to point me to why this isn't working: $hr_query = select dp_lname,dp_fname,dp_id FROM dir_all WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2) ORDER BY dp_lname;

Re: [PHP] MySQL NOT IN Query not working

2006-03-16 Thread Ligaya Turmelle
Kevin Murphy wrote: Anyone want to point me to why this isn't working: $hr_query = select dp_lname,dp_fname,dp_id FROM dir_all WHERE dp_id NOT IN (SELECT sup_id FROM dir_title2) ORDER BY dp_lname; There are two tables, dir_all (the main list of everyone) and

Re: [PHP] MySQL NOT IN Query not working

2006-03-16 Thread Kevin Murphy
Yup. Thats the problem. I'm running 4.0.21. Thanks. -- Kevin Murphy Webmaster - Information and Marketing Services Western Nevada Community College www.wncc.edu (775) 445-3326 On Mar 16, 2006, at 4:48 PM, Miles Thompson wrote: At 08:41 PM 3/16/2006, Kevin Murphy wrote: Anyone want to

[PHP] Best practice to set up register_globals locally?

2006-03-16 Thread Nicolas Verhaeghe
One of my clients has an os commerce install which requires register_globals to be set to on, for some reason. It is set up to off in php.ini, as it should, but I'd like to know what the best fashion would be for me to set it on locally for this domain only. Thanks! -- PHP General Mailing List

Re: [PHP] Best practice to set up register_globals locally?

2006-03-16 Thread Chris
Nicolas Verhaeghe wrote: One of my clients has an os commerce install which requires register_globals to be set to on, for some reason. It is set up to off in php.ini, as it should, but I'd like to know what the best fashion would be for me to set it on locally for this domain only. If you

[PHP] Best practice to set up register_globals

2006-03-16 Thread Nicolas Verhaeghe
One of my clients has an os commerce install which requires register_globals to be set to on, for some reason. It is set up to off in php.ini, as it should, but I'd like to know what the best fashion would be for me to set it on locally for this domain only. Thanks!

Re: [PHP] Best practice to set up register_globals

2006-03-16 Thread Curt Zirzow
On Thu, Mar 16, 2006 at 08:46:07PM -0700, Nicolas Verhaeghe wrote: One of my clients has an os commerce install which requires register_globals to be set to on, for some reason. It is set up to off in php.ini, as it should, but I'd like to know what the best fashion would be for me to set it

Re: [PHP] Re: setcookie security concerns [medium]

2006-03-16 Thread Rafael
(Comments inline) tedd wrote: [···] One last question, considering the above code, would the following code be a suitable replacement? ?php $thestyle= htmlentities($_POST['thestyle']); setcookie ('thestyle', $set, time()+31536000, '/', '', 0); header(Location: $HTTP_REFERER); ?

[PHP] session_cache_expire()

2006-03-16 Thread suresh kumar
I searched php.net/session and weberdev website and implemented session_cache_limiter() and session_cache_expire() function.but i am not getting the output what i want.i spend whole day on searching.any one give the solution for my problem in windows,if user idle for 1 minute,his desktop screen

Re: [PHP] php 5 installation problem

2006-03-16 Thread - Edwin -
Hi! On Thu, 16 Mar 2006 20:45:29 -0400 Miles Thompson [EMAIL PROTECTED] wrote: At 06:23 PM 3/16/2006, Anthony Ettinger wrote: [...] Is there a drawback to running php5 as CGI? Anthony, I really don't know, because computers are much faster, so there may not be the time lags there

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread - Edwin -
Hi! On Thu, 16 Mar 2006 08:13:41 -0800 Simon M. Campden-Main [EMAIL PROTECTED] wrote: [ . . . ] I want ppi! [ . . . ] I'm running the current Cent OS [ . . . ] See if you have ImageMagick installed. You could probably use the identify command to find the info you need. For more

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Arnaldo Gandol
hi, I have troubles with strangers characters in my html pages, I've fixed them by using mb_convert_encoding() function with UTF-8 encoding but I've hear that mbstring library is unstable in some linux distributions. Does any body knows how to solve this problem without using mbstring library.

[PHP] testing 234

2006-03-16 Thread John Taylor-Johnston
Are any of my posts getting through? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] testing 234

2006-03-16 Thread Robert Cummings
On Fri, 2006-03-17 at 01:47, John Taylor-Johnston wrote: Are any of my posts getting through? They don't appear to be. This one only made it halfway :P Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com |

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread - Edwin -
Hi! On Thu, 16 Mar 2006 14:31:38 -0500 John Hinton [EMAIL PROTECTED] wrote: Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand scanned images with resolution ranging

[PHP] making a tutorial

2006-03-16 Thread John Taylor-Johnston
I'm making a tutorial and don't really understand how to do this myself :) pWhich of the following pets do have at home: br /input type=checkbox name=favourite[] value=dogdog br /input type=checkbox name=favourite[] value=catcat br /input type=checkbox name=favourite[] value=snakesnake br /input

Re: [PHP] testing 234

2006-03-16 Thread John Taylor-Johnston
Are any of my posts getting through? They don't appear to be. This one only made it halfway :P Yeah, it doesn't seem to accept my email from another address. Thanks Rob. I was trying to post something last night and it never got through. This email seems acceptable to the group Gods. -- PHP

Re: [PHP] making a tutorial

2006-03-16 Thread admin
Parse.. It will be an array after you submit the form. So depends on what you wanna do with it. Do a print_r($favourite); after form submit and you will see. How to store it.. well if you wanna it in seperate fields you can loop through it and do an insert on every array element in your DB or

Re: [PHP] making a tutorial

2006-03-16 Thread - Edwin -
Hi! On Fri, 17 Mar 2006 01:51:41 -0500 John Taylor-Johnston wrote: I'm making a tutorial and don't really understand how to do this myself :) pWhich of the following pets do have at home: br /input type=checkbox name=favourite[] value=dogdog br /input type=checkbox name=favourite[]

Re: [PHP] making a tutorial

2006-03-16 Thread Gustav Wiberg
- Original Message - From: John Taylor-Johnston [EMAIL PROTECTED] To: PHP-General php-general@lists.php.net Sent: Friday, March 17, 2006 7:51 AM Subject: [PHP] making a tutorial I'm making a tutorial and don't really understand how to do this myself :) pWhich of the following pets