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

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 Cohen 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" wil

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://gibber

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 Li

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 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, babble, share

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 te

Re: [PHP] about locale settings

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:40, Per Jessen 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.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Sha

Re: [PHP] about locale settings

2009-06-19 Thread Per Jessen
Daniel Brown wrote: > On Thu, Jun 18, 2009 at 14:52, Per Jessen 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 that.

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 is

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: http://www.php.net/un

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:22, Jason Pruim 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 it rather than lett

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 wrote: On Fri, Jun 19, 2009 at 15:00, 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

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:00, 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 watch

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 Cummings 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 personal mainten

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Bastien Koert
On Fri, Jun 19, 2009 at 3:07 PM, Daniel Brown wrote: > On Fri, Jun 19, 2009 at 15:05, Robert Cummings 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.br...@

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Daniel Brown
On Fri, Jun 19, 2009 at 15:05, Robert Cummings 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.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http:/

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 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] 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 adva

[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 fo

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'

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] 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 Koert wrote: > On Fri, Jun 19, 2009 at 11:46 AM, Shawn McKenzie wrote: >> Bastien Koert wrote: >>> On Fri, Jun 19, 2009 at 11:20 AM, Jonathan Tapicer wrote: Did you execute the

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 McKenzie wrote: > Bastien Koert wrote: >> On Fri, Jun 19, 2009 at 11:20 AM, Jonathan Tapicer 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 Koert wrote: Correct, I

[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/my

[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 Tapicer 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 Koert wrote: >>> Correct, I send the @ >>> >>> >>> Bastien >>> >>> On Friday, June 19, 2009,

[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 Tapicer 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 Koert wrote: >> Correct, I send the @ >> >> >> Bastien >> >> On Friday, June 19, 2009, Jonathan Tapicer wrote: >>> Works

[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 thi

[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 Koert wrote: > Correct, I send the @ > > > Bastien > > On Friday, June 19, 2009, Jonathan Tapicer wrote: >> Works for me: >> >>          var_dump(filter_var('bastien_k(a)hotmail.com 

[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 wrote: > 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 @

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 Koert wrote: > Hey guys, > > Running the

[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] Issue with filter_var and FILTER_VALIDATE_EMAIL

2009-06-19 Thread Bastien Koert
Hey guys, Running the new version of PHPMailer and my hotmail address fails the validation. Email address is bastien_k at hotmail dot com Any ideas? -- Bastien Cat, the other other white meat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

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, jadhavpradip 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 year-and-a-half old. -

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 > http://sourceforge

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" wrote in message news:ab5568160906190558u1a585cedpf73eb5690330d...@mail.gmail.com... On Thu, Jun 18, 2009 at 22:10, Shawn Simmons wrote: Greetings Gurus! Also,

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, vis

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, Ian wrote: > Hi, > > A search of google has been unsuccessfull so I am posting here in th

Re: [PHP] PHP MySQL 500 Internal Error

2009-06-19 Thread Daniel Brown
On Thu, Jun 18, 2009 at 22:10, Shawn Simmons 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.br...@parasane.net

Re: [PHP] 500 Internal Error

2009-06-19 Thread Daniel Brown
On Thu, Jun 18, 2009 at 22:05, 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 complete

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 b

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 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 wrote: > Greetings Gurus! > > > I am attempting to use PHP+MYSQL+APACHE and I have download

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] 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 Yarl

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 com

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(). Everyt

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 Genera

[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(). Everythin

[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(). Everythin

[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 --

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 http://techchorus.net/ad

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] 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 be

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. An

[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] 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 s

[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