[nyphp-talk] [OT] Web 2.0 Internet Radio Based on the Music Genome Project

2007-06-23 Thread Peter Sawczynec
http://www.pandora.com At this internet radio web site, when you arrive you enter the name of an Artist that you like and they immediately create an internet radio stream that only plays songs from the Artist you selected and other similar Artists. And you can make as many custom streams as you wo

Re: [nyphp-talk] Difference between the CONSTANT and the GLOBAL VARIABLE ??

2007-06-23 Thread Michael Southwell
At 03:30 PM 6/23/2007, you wrote: Hi, community !! Can somebody make me understand what is the difference between the CONSTANT and the GLOBAL VARIABLE ?? A CONSTANT is exactly what it says, an unchanging value.  Use this for something that you never want to change in the course of a script, like

Re: [nyphp-talk] Difference between the CONSTANT and the GLOBAL VARIABLE ??

2007-06-23 Thread David Krings
Shadab Wadiwala wrote: Hi, community !! Can somebody make me understand what is the difference between the CONSTANT and the GLOBAL VARIABLE ?? A constant is a value that never changes, whereas a variable can change its value (which means that there cannot be something like a "constant va

[nyphp-talk] Difference between the CONSTANT and the GLOBAL VARIABLE ??

2007-06-23 Thread Shadab Wadiwala
Hi, community !! Can somebody make me understand what is the difference between the CONSTANT and the GLOBAL VARIABLE ?? " Three days without programming and life becomes boring " Shadab .I. Wadiwala My homepage:-- http://shadabworld.110mb.com - D

Re: [nyphp-talk] Encapsulating $_FILE, $_SERVER ... in objects?

2007-06-23 Thread Jakob Buchgraber
I was actually asking for some design pattern making it easier to unit test my classes ;). I am probably going to implement just the same request pattern for $_FILE as for $_REQUEST. cheers, jay -- Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0 _

Re: [nyphp-talk] Filter extension problems

2007-06-23 Thread Jakob Buchgraber
Cliff Hirsch wrote: I am getting the following error message: Call to undefined function: filter_var() in I’m using XAMPP V1.5.5, PHP V5.1.6. My server check says that the filter extension is installed. Any thoughts? Anyone using the filter extension with this version on Xampp/PHP? Cl

Re: [nyphp-talk] Encapsulating $_FILE, $_SERVER ... in objects?

2007-06-23 Thread David Krings
Jakob Buchgraber wrote: Hey! I was wondering how you handle the data from $_FILE, $_SERVER etc. in your application. I mean, most of you probably use some framework that implements the request object pattern in combination with the intercepting filter pattern. So this makes unit testing easy

[nyphp-talk] Encapsulating $_FILE, $_SERVER ... in objects?

2007-06-23 Thread Jakob Buchgraber
Hey! I was wondering how you handle the data from $_FILE, $_SERVER etc. in your application. I mean, most of you probably use some framework that implements the request object pattern in combination with the intercepting filter pattern. So this makes unit testing easy and may also improve the

RE: [nyphp-talk] compare two binary files.

2007-06-23 Thread Anthony Wlodarski
I have come across this script online for things like that: http://www.holomind.de/phpnet/diff.src.php See if that is what you are really looking for. -Anthony From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Baer Sent: Saturday, June 23, 2007 9:28 AM To: NYPHP Tal

Re: [nyphp-talk] compare two binary files.

2007-06-23 Thread Jon Baer
First question is on what platform, Intel or other + are you asking about processing via PHP or just in general? The premiere tool is BinDiff (http://www.sabre-security.com/products/ screens_bindiff.html) ... A nice toolset (can probably be patched for PHP use): http://radare.nopcode.org/wik

[nyphp-talk] compare two binary files.

2007-06-23 Thread Aniesh joseph
Hi, I have two binary file name bunary1 & binary2. I need to compare these two files and find following changed byte + location +old value +new value The files are opened in read binary mod and returns each byte. Can someone suggest any method to compare bytes? Thanks. Regards Aniesh ___