Re: [PHP] Anybody got a little spare time to help me out with a little OOP

2008-06-01 Thread Michael Kubler
joined. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Ted Wood wrote: On 1-Jun-08, at 8:15 AM, Ryan S wrote: Thanks for replying, but how and where do I put that into the script? all that this- stuff is confusing Tony Marsten's links seem to be very good, but let

Re: [PHP] strlower problem

2008-06-02 Thread Michael Kubler
Does : /echo strtolower(CL22);/ work? You could also try : /var_dump($strLow); / Ed Curtis wrote: Richard Heyes wrote: Ed Curtis wrote: I'm converting upper case characters in a string to lower case and am coming up with an empty string. As I've done a million times before with other

Re: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Michael Kubler
File Permissions? PHP safe mode? Mail server locking the file? Can you /tail /path/to/file-with-contents-at-bottom / ?? Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Mathijs van Veluw wrote: I get the error message: Can't open mailbox. While on the live server

Re: [PHP] how to create a slide show using PHP5

2008-07-02 Thread Michael Kubler
is the plugin for browsers, while PicLens lite uses javascript and lets people who don't have the browser plugin view the photos. http://piclens.com/lite/webmasterguide.php Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz philip wrote: Hi everyone, I want to create

Re: [PHP] Problem with special characters - PHP AJAX

2008-07-07 Thread Michael Kubler
=%28detect+automatically%29doctype=Inlinegroup=0, nor character Encoding set. It might be something else, but I haven't played with enough AJAX to debug the javascript. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz bperquku wrote: Hi all, I'm writing a simple dictionary

Re: [PHP] Re: geolocation

2008-09-21 Thread Michael Kubler
can't purely rely on IP addresses, although it is the easiest thing from a webservers PoV, and usually right 90% of the time (as far as I am aware, although haven't tested, nor have any good ways of testing besides Traceroute). Michael Kubler *G*rey *P*hoenix *P*roductions http

Re: [PHP] Mailing lists

2008-10-29 Thread Michael Kubler
then have multiple lists on that domain, such as [EMAIL PROTECTED], [EMAIL PROTECTED] etc.. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Bjoern Bartels wrote: Dotan Cohen wrote .. 2008/10/29 Richard Heyes [EMAIL PROTECTED]: Hi, Anyone know of a good

Re: [PHP] Weird Syntax Error

2008-11-13 Thread Michael Kubler
Hi Kyle, The line looks fine in my text editor (SciTE). Have you checked the line above it is properly enclosed and ended? Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Kyle Terry wrote: I keep getting this syntax error on the following string... syntax error

Re: [PHP] Another question about Google maps

2008-11-16 Thread Michael Kubler
searching for a different Google Maps location. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz tedd wrote: Hi gang: I posted this question on the Google Map Discussion group/list thingie, but got zip in replies. Maybe someone here might have an idea. Here's the url: http

Re: [PHP] how can I make an email bounce

2008-11-24 Thread Michael Kubler
/anti_virus_test_file.htm file is a semi-standardised anti-virus test. Then again, I run exim4, and haven't bothered looking at trying to force certain bounce messages without reconfiguring the server. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz [EMAIL PROTECTED] wrote: On Nov 23

Re: [PHP] Text To Speech Update

2008-11-29 Thread Michael Kubler
a computer. My Dad blurted out when I first went to your site 'Ohh I was playing with text to speech 30 years ago.' I can see things like this being a big plus for usability. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Nathan Nobbe wrote: On Sat, Nov 29, 2008 at 5:21

Re: [PHP] Accessing the 'media' attribute in php

2008-12-03 Thread Michael Kubler
A couple of sites about making CSS print stylesheets. http://www.alistapart.com/articles/goingtoprint/ http://www.webdesignschoolreview.com/css-printing.html I'd send you links to more, but my Internet connection is shaped, and it's too slow to look through many more. Michael Kubler *G*rey

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-06 Thread Michael Kubler
the PHP filter_var() function? I've seen plenty of libraries for AJAX, and the like (Prototype, jquery, etc), but haven't run across any for standard form input validation. Thanks. Michael Kubler* * http://www.greyphoenix.biz Nathan Rixham wrote: where as I think validation always needs

Re: [PHP] array_reverse() and garbage collection

2008-12-07 Thread Michael Kubler
the ram for two copies of the array in memory at the same time. Not sure if that actually helps, seeing as array_reverse() is already a function that's probably written in C which could just make a copy with re-arrange the pointers or something. Michael Kubler *G*rey *P*hoenix *P*roductions http

Re: [PHP] Online Members

2008-12-26 Thread Michael Kubler
keep a track of the last activity from a user, and assume they are online if they have had any activity within the last 30mins, assuming they haven't logged out. Hope that helps a little, unless I've completely mis-interpreted the question. Michael Kubler *G*rey *P*hoenix *P*roductions http

Re: [PHP] PHP webhosting - USA

2009-01-24 Thread Michael Kubler
, amount of data transferred, HDD space left, ram used, uptime, and current load, and all sorts of things. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Daniel Brown wrote: On Sat, Jan 24, 2009 at 10:03, Martin ZvarĂ­k mzva...@gmail.com wrote: Hi, I currently

Re: [PHP] New PHP User with a simple question

2009-01-24 Thread Michael Kubler
urlencode http://au.php.net/manual/en/function.urlencode.php and urldecode http://au.php.net/url_decode. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Christopher W wrote: At least I hope it is simple... I am trying to get an HTML menu link to set a variable's value

Re: [PHP] Re: process creation

2009-01-25 Thread Michael Kubler
Hmm, are people getting confused between and = ? for($icount=0;$icount11;$icount++) (is less than 11) for($icount=0;$icount=10;$icount++) (is less than or equal to 10) Both iterate 10 times. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Per Jessen wrote: Tom

Re: [PHP] profiler web server

2009-01-26 Thread Michael Kubler
survive a slashdot (it turns out that without some tweaking of apache mine can't). Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Boyd, Todd M. wrote: Statements do not end with question marks... He is asking a question. It looks to me like he wants to know which

Re: [PHP] Kinda 0.T... php site and maintenance

2009-01-26 Thread Michael Kubler
ever create anyway. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz PS : Sorry to everyone about the long email replies... seems to be my thing today. Ryan S wrote: Hey, Got a question for you guys who make a lot of personal sites. I got a US client who wants me

Re: [PHP] Dirty Button

2009-01-26 Thread Michael Kubler
selection is listed next to the actual buttons, but it's at least something to be aware of. My 2c. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Nitsan Bin-Nun wrote: Since you are using JS why not just update the content straight away? (ajax/etc) On Sun, Jan 25, 2009

Re: [PHP] Re: unlink file rights problem

2009-01-28 Thread Michael Kubler
http://au2.php.net/cli PHP via command line. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Shawn McKenzie wrote: Merlin Morgenstern wrote: Hi there, I am trying to unlink a file which is inside a folder that is not writable to phps user www. Of course

Re: [PHP] Web Shop Management

2009-01-31 Thread Michael Kubler
you host, and you'd basically need to create a new one for each project. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Sancar Saran wrote: Not really. It was someting like customer tracking. Finding 200 apache directory with no info was very frustrating

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-01 Thread Michael Kubler
Maybe you can use Firebug http://getfirebug.com/, or the Web Developer https://addons.mozilla.org/en-US/firefox/addon/60 plugins for Firefox? Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Ashley Sheridan wrote: On Sun, 2009-02-01 at 13:42 -0600, Terion Miller

Re: [PHP] Question about version control.. sorta..

2009-02-06 Thread Michael Kubler
easier than using windows network file transfer. Plus the fact that I have a script to automatically backup the repository regularly, so once the data is in the repository I'm highly unlikely to loose it (esp as I've got local cached copies on 3 computers). Best of all? IT'S FREE! my 2c. Michael

[PHP] php validate user password

2009-02-09 Thread Michael Kubler
These days SHA should really be used instead of MD5, and you should be SALTing the password as well. Here's a great guide : http://phpsec.org/articles/2005/password-hashing.html Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Jan G.B. wrote: 2009/2/9 Andrew Williams

[PHP] Looking for some PHP OO programming guides

2009-02-10 Thread Michael Kubler
make small mistakes (hopefully). -- Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz

Re: [PHP] Google Apps AuthSub = missing $_GET element

2009-02-15 Thread Michael Kubler
Do you have magic quotes on? Also, try a *print_r($_SERVER);* or even a *var_dump($_GET);* See what's actually in the arrays. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz John Corry wrote: I am completely baffled by this. I have a PHP script that is using

[PHP] PHP AS an FTP server

2009-02-17 Thread Michael Kubler
a script that does this (at least accepting FTP connections), or is this a crazy idea that's just not possible? Should I just compile the latest version of some FTP server, and try and configure that to do what I want instead? Thanks. -- Michael Kubler *G*rey *P*hoenix *P*roductions http

Re: [PHP] PHP AS an FTP server

2009-02-18 Thread Michael Kubler
Anonymous FTP login, or MySQL (which is what I want), but the server wouldn't work with the MySQL plugin. Looks like I'll have to compile from source... joy. Thanks for all the replies though. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Thodoris wrote: The local

Re: [PHP] Working directory of PHP pages?

2009-03-10 Thread Michael Kubler
You can configure different index file names for Apache to check for. e.g index.html, index.htm, index.php, default.htm I had one webserver where it would only accept default.htm as the file, and didn't allow .htaccess files. Michael Kubler *G*rey *P*hoenix *P*roductions http

Re: [PHP] PHP bandwidth control

2009-04-06 Thread Michael Kubler
accurate but also slower. For bandwidth you can use something like the bandwidth mod for Apache which will allow you to prevent your webserver from completely saturating your Internet connection, allowing you to still surf the net or play games while people are accessing your site. Michael

Re: [PHP] Add php.net to my browser search box

2009-07-17 Thread Michael Kubler
to perform a PHP.net search Not sure if you can do this with other browsers, but I have found it to be very useful. Jim Lucas I second that. It's great to be able to type something like PHP str_replace into Firefox's address bar and go straight to the documentation on that function. Michael

Re: [PHP] Shoutbox suggestion needed

2009-11-17 Thread Michael Kubler
). For a PHP based implementation check this out http://www.zeitoun.net/articles/comet_and_php/start. Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Mobile : 0433483008 I believe in a better world. I support the Zeitgeist Movement http://www.zeitgeistsa.com. Ashley

Re: [PHP] RSYNC - who knows more?

2010-01-18 Thread Michael Kubler
is great when you get a whole heap of corrupt data that gets sync'd across, you can go back to an old snapshot instead of loosing everything. -- Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Mobile : 0433483008 I believe in a better world. I support the Zeitgeist Movement

Re: [PHP] Do you use a public framework or roll your own?

2010-01-26 Thread Michael Kubler
that being a Open Source project it is being worked on by lots of people and constantly getting better. So I'd have to vote twice. I've used my own frameworks, but now using a proper one. My 2c. -- Michael Kubler I believe in a better world. I support the Zeitgeist Movement http

Re: [PHP] Re: Good source for sample data?

2010-01-29 Thread Michael Kubler
generated, or you can use the GEONames database http://www.geonames.org/ to generate actual locations. Also, wasn't there some test data available by MySQL? I think it was the Sakila http://dev.mysql.com/doc/sakila/en/sakila.htmldatabase http://forums.mysql.com/list.php?121. -- Michael Kubler I

Re: [PHP] Mail Function In PHP

2010-03-10 Thread Michael Kubler
), sending emails that are too big, or simply sending too many emails or emails with too many recipients, then it'll tighten the restrictions. Over time if your good then those restrictions will be released and eventually you'll be able to send at normal rates. -- Michael Kubler I believe