Re: [PHP] How to ask "if private IP"?

2007-11-26 Thread William Betts
"192.168.0.0") && ($ip <= "192.168.255.255")) || (($ip >= "172.16.0.0") && ($ip <= "172.31.255.255")) ) { return true; } return false; } if (privateIP("192.168.1.1")) { pr

Re: [PHP] IDE

2007-11-16 Thread William Betts
Have you ever used Zend Studio? If so how does it compare to PhpED? On Nov 16, 2007 5:37 AM, Arno Kuhl <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: David Giragosian [mailto:[EMAIL PROTECTED] > Sent: 16 November 2007 05:21 > To: php-general@lists.php.net > Subject: Re: [PHP]

Re: [PHP] Re: file_exists

2007-11-15 Thread William Betts
ow valid system logins. You can get the contents to dump by using www.somehost.com/index.php?page=../../../../../../../../../etc/passwd%00 The %00 is what you call a null terminator. This will drop anything that's add after it. I hope this helps. William Betts On Nov 15, 2007 4:03 PM

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-15 Thread William Betts
Great with the times. :P It's not invite anymore. On Nov 15, 2007 3:40 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > I know a good deal of us here are already using Gmail accounts, > but if you're not one of us and would like to be, let me know. I > still have 95 invites left, and whomever wo

Re: [PHP] IDE

2007-11-15 Thread William Betts
I like Zend Studio. www.zend.com. William Betts On Nov 15, 2007 2:35 PM, Jammer <[EMAIL PROTECTED]> wrote: > Hi All, > > This is my first post here ... I'm very much a newbie to php but work > during the day using SQL Server, VS2005 and Foxpro. Looking to gen up > on

Re: [PHP] file_exists

2007-11-14 Thread William Betts
om the browser. Find the img tag and see what is src="" and try to goto that file in your browser. Also can you use a pastebin and post your code and give his the url to the site in question? William Betts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie question - current date - time

2007-11-14 Thread William Betts
Hello, Use the date function http://us3.php.net/date. Regards, William Betts [EMAIL PROTECTED] wrote: Hi Folks, Newbie question : - how do I get and display the current date? - how do I get and display the current time? I see the getdate function - but I'm not sure if this is the