[PHP] Mastercard Securecode

2009-06-19 Thread Ian
Hi, A search of google has been unsuccessfull so I am posting here in the hope someone can help. We have recently been told that we must implement the Mastercard Securecode 'feature' for all our Maesto transactions or face fines of up $25000 per month. Our merchant has provided a SDK which

RE: [PHP] sessions tutorial

2009-06-19 Thread Arno Kuhl
-Original Message- From: PJ [mailto:af.gour...@videotron.ca] Sent: 18 June 2009 11:28 PM To: php-general@lists.php.net Subject: [PHP] sessions tutorial Top of the list is for real dummies at tizag.com. So I don't have to search 282,000 entries for php sessions tutorial (doesn't this say

[PHP] [PHP-DEV] PHP 5.3.0RC4

2009-06-19 Thread Lukas Kahwe Smith
Hello! we have packaged PHP 5.3.0RC4, which you can find here: http://downloads.php.net/johannes/ Windows binaries are available here: http://windows.php.net/qa/ This this release candidate focused on bug fixes and stability improvements and we hope to only require minimal changes ahead of the

Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-19 Thread Thodoris
Hey all, Any one use the PEAR Spreadsheet_Excel_Writer package? I need to know how to implement the setLocked method to lock out a cell, but can't figure out how this would be done. Do you add it as a format? But then how is it applied to a cell. It's not documented on the PEAR pages.

Re: [PHP] sessions tutorial

2009-06-19 Thread Thodoris
Top of the list is for real dummies at tizag.com. So I don't have to search 282,000 entries for php sessions tutorial (doesn't this say something about the stupidity on the internet - just how many of those entries could possibly be real and worth looking at? Since you gurus (I kowtow) have

Re: [PHP] Calendar

2009-06-19 Thread Tom Chubb
http://lmgtfy.com/?q=javascript+calendar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calendar

2009-06-19 Thread Sudheer Satyanarayana
salmarayan wrote: Does Any body please have the code of A Java Script Calendar that works with a PHP Html Form.. if yes can you please send it as i have one but does not work that Efficiently. Thanks in advance This might help if you are looking for a date picker

[PHP] RE: [PHP-DEV] PHP 5.3.0RC4

2009-06-19 Thread Uwe Schindler
Hallo, I just wanted to compile PHP 5.3.0RC4 on my Solaris 10 box: panga...@pansrv1:~/install/php-5.3.0RC4$ gcc -v Reading specs from /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5/specs Configured with: ../sources/gcc-3.4.5/configure --prefix=/opt/csw/gcc3 --with-local-prefix=/opt/csw

[PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Shawn Simmons
Greetings Gurus! I am attempting to use PHP+MYSQL+APACHE and I have downloaded all the latest verions and installed them on a fresh windows XP install. Got the Apache server up and running, got MySQL up and running and installed PHP. Tested PHP with a script containing phpinfo().

[PHP] 500 Internal Error

2009-06-19 Thread Shawn Simmons
Greetings Gurus! I am attempting to use PHP+MYSQL+APACHE and I have downloaded all the latest verions and installed them on a fresh windows XP install. Got the Apache server up and running, got MySQL up and running and installed PHP. Tested PHP with a script containing phpinfo().

Re: [PHP] Re: Help: PHP version not up to date after apt-get install php5-dev

2009-06-19 Thread Thodoris
Why not just compile it yourself? Why not let the ports system compile it for you and then have the choice to remove it as package whenever you like... You get it compiled and packaged the same time... :-) I guess BSD is the way to make your life easier... -- Thodoris -- PHP

Re: [PHP] 500 Internal Error

2009-06-19 Thread Thodoris
Greetings Gurus! I am attempting to use PHP+MYSQL+APACHE and I have downloaded all the latest verions and installed them on a fresh windows XP install. Got the Apache server up and running, got MySQL up and running and installed PHP. Tested PHP with a script containing phpinfo().

Re: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Paul Scott
On Thu, 2009-06-18 at 22:10 -0400, Shawn Simmons wrote: Wrote a small script to connect to the MySql database. Tried to run the script (http://localhost/dbscript.php) and I get a 500 Internal Server error. I have been up and down the web for two days looking for a solution and I am

RE: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Yuri Yarlei
Check the mysql user permissions, then check the root directory permissions, if you use some .htacess file, check this to. This error occurs when you have, permissions errors, server is not working well, .htacess errors and other things, try acess your script to with http://127.0.0.1 Yuri

RE: [PHP] isset question

2009-06-19 Thread Ford, Mike
On 18 June 2009 20:25, LAMP advised: using !empty() instead isset() will work if you don't care for PHP Notice: Undefined variable... If you want to avoid PHP Notice you have to use both: $msg.= (isset($_POST['mort']) and !empty($_POST['mort'])) ? The mortgage amount is $mort\n : ;

Re: [PHP] 500 Internal Error

2009-06-19 Thread Bastien Koert
Ensure that you have 'show friendly error messages in the Internet explorer is turned off ( unchecked ). IE does like to hide errors with this feature. Bastien On Thursday, June 18, 2009, Shawn Simmons elcid...@gmail.com wrote: Greetings Gurus! I am attempting to use PHP+MYSQL+APACHE and

Re: [PHP] sessions tutorial

2009-06-19 Thread Michael A. Peters
PJ wrote: I would appreciate hearing of a tutorial that will give something more than you can use sessions in to store information; like what kind of information Information on how to skin a cat. It's amazing how many ways there are too do it. I think it is in the neighborhood of 282,000.

Re: [PHP] 500 Internal Error

2009-06-19 Thread Michael A. Peters
Bastien Koert wrote: Ensure that you have 'show friendly error messages in the Internet explorer is turned off ( unchecked ). IE does like to hide errors with this feature. A 500 internal server error is likely due to apache/php mis-configuration, it's doubtful any useful errors would have

Re: [PHP] 500 Internal Error

2009-06-19 Thread Daniel Brown
On Thu, Jun 18, 2009 at 22:05, Shawn Simmonselcid...@gmail.com wrote: Wrote a small script to connect to the MySql database.  Tried to run the script (http://localhost/dbscript.php) and I get a 500 Internal Server error.  I have been up and down the web for two days looking for a solution and

Re: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Daniel Brown
On Thu, Jun 18, 2009 at 22:10, Shawn Simmonselcid...@gmail.com wrote: Greetings Gurus! Also, please keep new threads on the list limited to one at a time, except in extenuating circumstances. And as a developer, there certainly are and will be more of those circumstances. ;-P -- /Daniel

Re: [PHP] Mastercard Securecode

2009-06-19 Thread Eddie Drapkin
I've not heard of anything like that, but turning the C API into an extension would be a huge plus for PHP and I heartily recommend it (as long as it's not me writing it ^.^)! On Fri, Jun 19, 2009 at 4:14 AM, Ianphp_l...@fishnet.co.uk wrote: Hi, A search of google has been unsuccessfull so I

Re: [PHP] sessions tutorial

2009-06-19 Thread Bastien Koert
[snip] Information on how to skin a cat. It's amazing how many ways there are too do it. I think it is in the neighborhood of 282,000. [/snip] Still tastes like chicken! -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Shawn Simmons
Sorry about thatI wasn't sure if it went the first time when I didn't see the post sfter a refresh8-) Daniel Brown danbr...@php.net wrote in message news:ab5568160906190558u1a585cedpf73eb5690330d...@mail.gmail.com... On Thu, Jun 18, 2009 at 22:10, Shawn Simmonselcid...@gmail.com

Re: [PHP] How to read excel sheet and display it's contents.

2009-06-19 Thread jadhavpradip
Hi, There is oleread.inc file in Excel Folder. Please rename that file to oleread.php it will work.. =) Regards, Pradip Jadhav srihari naidu wrote: Hi, can any suggest me how to read and display the content in a html page. I tried phpexcelreadrer at

Re: [PHP] How to read excel sheet and display it's contents.

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 09:17, jadhavpradipjadhavpradi...@gmail.com wrote: Hi, There is oleread.inc file in Excel Folder. Please rename that file to oleread.php it will work.. =) Please check the dates before posting on third-party sites to this list. That thread is over a

[PHP] OCSP DER encoding implemenation?

2009-06-19 Thread Greg Beaver
Hi, Does anyone have a non-GPLed implementation of DER encoding for an OpenSSL certificate authority OCSP request floating around, or even a basic DER encoder? Thanks, Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Bastien Koert
Correct, I send the @ Bastien On Friday, June 19, 2009, Jonathan Tapicer tapi...@gmail.com wrote: Works for me:         var_dump(filter_var('bastien_k(a)hotmail.com http://hotmail.com', FILTER_VALIDATE_EMAIL) !== false); //replace (a) with @ Gives:         bool(true) You are sending

[PHP] Re: Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Jonathan Tapicer
Did you execute the code I sent? Does it give you a false? Jonathan On Fri, Jun 19, 2009 at 12:17 PM, Bastien Koertphps...@gmail.com wrote: Correct, I send the @ Bastien On Friday, June 19, 2009, Jonathan Tapicer tapi...@gmail.com wrote: Works for me:         

[PHP] Re: accessing level above $_SERVER['DOCUMENT_ROOT']

2009-06-19 Thread Peter Ford
LAMP wrote: hi, I have this structure: /home/lamp/mydomain/html /home/lamp/mydomain/logs /home/lamp/mydomain/config etc. html directory is the only one accessible from outside. to access config file I can use this: required_once('/home/lamp/mydomain/config'); but this is the

[PHP] Re: Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Bastien Koert
On Fri, Jun 19, 2009 at 11:20 AM, Jonathan Tapicertapi...@gmail.com wrote: Did you execute the code I sent? Does it give you a false? Jonathan On Fri, Jun 19, 2009 at 12:17 PM, Bastien Koertphps...@gmail.com wrote: Correct, I send the @ Bastien On Friday, June 19, 2009, Jonathan Tapicer

Re: [PHP] Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Jonathan Tapicer
Works for me: var_dump(filter_var('bastien_k(a)hotmail.com', FILTER_VALIDATE_EMAIL) !== false); //replace (a) with @ Gives: bool(true) You are sending an @ instead of at , right? Jonathan On Fri, Jun 19, 2009 at 11:49 AM, Bastien Koertphps...@gmail.com wrote: Hey guys,

[PHP] Re: Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Shawn McKenzie
Bastien Koert wrote: On Fri, Jun 19, 2009 at 11:20 AM, Jonathan Tapicertapi...@gmail.com wrote: Did you execute the code I sent? Does it give you a false? Jonathan On Fri, Jun 19, 2009 at 12:17 PM, Bastien Koertphps...@gmail.com wrote: Correct, I send the @ Bastien On Friday, June 19,

[PHP] Re: accessing level above $_SERVER['DOCUMENT_ROOT']

2009-06-19 Thread Shawn McKenzie
Peter Ford wrote: LAMP wrote: hi, I have this structure: /home/lamp/mydomain/html /home/lamp/mydomain/logs /home/lamp/mydomain/config etc. html directory is the only one accessible from outside. to access config file I can use this: required_once('/home/lamp/mydomain/config'); but

Re: [PHP] Re: Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Bastien Koert
On Fri, Jun 19, 2009 at 11:46 AM, Shawn McKenzienos...@mckenzies.net wrote: Bastien Koert wrote: On Fri, Jun 19, 2009 at 11:20 AM, Jonathan Tapicertapi...@gmail.com wrote: Did you execute the code I sent? Does it give you a false? Jonathan On Fri, Jun 19, 2009 at 12:17 PM, Bastien

Re: [PHP] Re: Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Jonathan Tapicer
Can you check if the code is using true or false branch of the first if? On Fri, Jun 19, 2009 at 12:56 PM, Bastien Koertphps...@gmail.com wrote: On Fri, Jun 19, 2009 at 11:46 AM, Shawn McKenzienos...@mckenzies.net wrote: Bastien Koert wrote: On Fri, Jun 19, 2009 at 11:20 AM, Jonathan

Re: [PHP] 500 Internal Error

2009-06-19 Thread Carlos Medina
Hi, can you get a test echo with: echo test;exit when you call your dbscript.php? If not so. Your Problem is a install problem and need more info about where, what and permissions (Permissions are allways a problem for this strange cases) If you get a test then you problem can be the MySQL

RE: [PHP] isset question

2009-06-19 Thread Ashley Sheridan
On Fri, 2009-06-19 at 12:36 +0100, Ford, Mike wrote: On 18 June 2009 20:25, LAMP advised: using !empty() instead isset() will work if you don't care for PHP Notice: Undefined variable... If you want to avoid PHP Notice you have to use both: $msg.= (isset($_POST['mort']) and

[PHP] This Friday's OT Thread

2009-06-19 Thread Daniel Brown
Hey, folks; It's been a while since we've launched a Friday OT thread, so here ya' go. Feel free to post nonsense, babble, share links, blow off some steam, bitch and complain about a colleague, whatever. Just remember that you're live to the world and are being archived and preserved

Re: [PHP] Calendar

2009-06-19 Thread Ashley Sheridan
On Fri, 2009-06-19 at 15:30 +0530, Sudheer Satyanarayana wrote: salmarayan wrote: Does Any body please have the code of A Java Script Calendar that works with a PHP Html Form.. if yes can you please send it as i have one but does not work that Efficiently. Thanks in advance

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Jason Pruim
Wow dan, must be nice to have the time to read all that :P I could rant about how hard it is to find a job when you don't have much verifiable experience But instead I put together a website which has links to everywhere that I'm watching. So if anyone is in central Florida and looking

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Robert Cummings
Jason Pruim wrote: Wow dan, must be nice to have the time to read all that :P I could rant about how hard it is to find a job when you don't have much verifiable experience But instead I put together a website which has links to everywhere that I'm watching. So if anyone is in central

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:05, Robert Cummingsrob...@interjinn.com wrote: I'm self-employed. I don't plan on ever laying myself off. Mind out of the gutter, Rob. Words like self, laying, and off will get you flagged. -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Bastien Koert
On Fri, Jun 19, 2009 at 3:07 PM, Daniel Browndanbr...@php.net wrote: On Fri, Jun 19, 2009 at 15:05, Robert Cummingsrob...@interjinn.com wrote: I'm self-employed. I don't plan on ever laying myself off.    Mind out of the gutter, Rob.  Words like self, laying, and off will get you flagged.

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Robert Cummings
Daniel Brown wrote: On Fri, Jun 19, 2009 at 15:05, Robert Cummingsrob...@interjinn.com wrote: I'm self-employed. I don't plan on ever laying myself off. Mind out of the gutter, Rob. Words like self, laying, and off will get you flagged. Gutter? It's sounds like your alluding to basic

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:00, Jason Pruimja...@jasonpruim.com wrote: Wow dan, must be nice to have the time to read all that :P I could rant about how hard it is to find a job when you don't have much verifiable experience But instead I put together a website which has links to

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Jason Pruim
Jason Pruim On Jun 19, 2009, at 3:14 PM, Daniel Brown danbr...@php.net wrote: On Fri, Jun 19, 2009 at 15:00, Jason Pruimja...@jasonpruim.com wrote: Wow dan, must be nice to have the time to read all that :P I could rant about how hard it is to find a job when you don't have much

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:22, Jason Pruimja...@jasonpruim.com wrote: I just had my interview with them today. They are starting the background check right now. Ahh, fantastic! Let me know the area code from which they'll be calling so that, if they do, I'll make it a priority to answer

RE: [PHP] This Friday's OT Thread

2009-06-19 Thread Jay Blanchard
[snip] ...stuff... [/snip] NRSFW - but it is just words and a chick flipping you off and some other really funny stuff (some of it reminds me of our very own PJ); http://www.27bslash6.com/strata.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: accessing level above $_SERVER['DOCUMENT_ROOT']

2009-06-19 Thread LAMP
Peter Ford wrote: LAMP wrote: hi, I have this structure: /home/lamp/mydomain/html /home/lamp/mydomain/logs /home/lamp/mydomain/config etc. html directory is the only one accessible from outside. to access config file I can use this: required_once('/home/lamp/mydomain/config'); but this

Re: [PHP] about locale settings

2009-06-19 Thread Per Jessen
Daniel Brown wrote: On Thu, Jun 18, 2009 at 14:52, Per Jessenp...@computer.org wrote: Now Dan, I hate to be a pest, but them minutes of yours seem to be running a teeny bit slow? :-) It's the uhh time difference between Zurich and Scranton...? [*blushes*] Sorry about

Re: [PHP] about locale settings

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:40, Per Jessenp...@computer.org wrote: http://bugs.php.net/bug.php?id=48612 See my email to you a moment ago on the impeccability of your timing, as well. ;-P -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ ||

Re: [PHP] PEAR Spreadsheet_Excel_Writer setLocked method

2009-06-19 Thread Skip Evans
Thodoris wrote: I've used it for some time but never needed to lock a cell. Here is a piece of code that shows how to apply a format to a cell: Hope it helps. I think that by doing something like this: $format_bold-setLocked(); while creating the format could do the trick but it is not

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Nitsan Bin-Nun
Collage? you better try highschool ;) Anyway tomorrow my sis has bat-mitzva ;) Good night folks! On Fri, Jun 19, 2009 at 8:42 PM, Daniel Brown danbr...@php.net wrote: Hey, folks; It's been a while since we've launched a Friday OT thread, so here ya' go. Feel free to post nonsense,

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Dotan Cohen
I'm self-employed. I don't plan on ever laying myself off. Wow, I really replaced laying with getting in my mental eye and that sentence made too much sense. Please, don't ever do that to me again! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- PHP General Mailing List

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Dotan Cohen
I'm self-employed. I don't plan on ever laying myself off.    Mind out of the gutter, Rob.  Words like self, laying, and off will get you flagged. How naive I was to think that I might be the only one to make the connection! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Eddie Drapkin
Wait, that's not how everyone else gets ready for a coding marathon? You guys are doing it wrong! On Fri, Jun 19, 2009 at 7:03 PM, Dotan Cohendotanco...@gmail.com wrote: I'm self-employed. I don't plan on ever laying myself off.    Mind out of the gutter, Rob.  Words like self, laying, and

Re: [PHP] isset question

2009-06-19 Thread Paul M Foster
On Fri, Jun 19, 2009 at 07:52:40PM +0100, Ashley Sheridan wrote: On Fri, 2009-06-19 at 12:36 +0100, Ford, Mike wrote: On 18 June 2009 20:25, LAMP advised: using !empty() instead isset() will work if you don't care for PHP Notice: Undefined variable... If you want to avoid PHP Notice