[PHP] Ubiquitous quoted printable encode

2005-11-26 Thread Andy Pieters
Hi list I know of the imap_8bit function that *can* be compiled into php. However I would like an encoder written in php that only uses standard extensions and functions and that therefore can work on all php 4+ installations. Does anyone know of such a beast? With kind regards Andy --

[PHP] Wanna Join me for an open source PHP Project?

2005-11-26 Thread bala chandar
Hi All, I have just started a Open source Project in SourceForget.net using PHP. Project Name: Weblook Express URL : http://sourceforge.net/projects/weblookexpress Idea came to me when i thought of porting the complete windows based Desktop outlook express Application into a Portable, Web based

Re: [PHP] Passing objects between pages

2005-11-26 Thread Andy Pieters
On Friday 25 November 2005 20:44, Matt Monaco wrote: What is the best way to pass an object between pages? Currently I am first serializing, then doing a base64_encode, this doesn't seem entirely efficient. (Especially the encode). I am however using the encode because I have the

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-26 Thread Andy Pieters
On Saturday 26 November 2005 02:45, John Nichel wrote: If you have a form like this one one page... form action=page2.php method=post input type=hidden name=foo value=bar / input type=submit / /form [snip] Dear John Please go all the way when providing an example. To prevent errors and

Re: [PHP] Is there an alternative for $_FILES['guildimage']['type'] == image/jpeg

2005-11-26 Thread Andy Pieters
On Wednesday 23 November 2005 03:15, twistednetadmin wrote: I use this line in a script for uploading pictures to a website: $_FILES['guildimage']['type'] == image/jpeg [snip] Please understand that the type is set by the browser and is never to be trusted. Especially with file uploads,

Re: [PHP] Wanna Join me for an open source PHP Project?

2005-11-26 Thread Andy Pieters
Hmmm.. Outlook is notorious for blatantly violating the standards and being a security nightmare. Instead I suggest you make an application that has the same look feel as outlook but has a core that is much smarter, safer, and better. Also, work from the ground up to generate standards

Re: [PHP] Wanna Join me for an open source PHP Project?

2005-11-26 Thread bala chandar
On 11/26/05, Andy Pieters [EMAIL PROTECTED] wrote: Hmmm.. Outlook is notorious for blatantly violating the standards and being a security nightmare. Instead I suggest you make an application that has the same look feel as outlook but has a core that is much smarter, safer, and better.

[PHP] Adding links to HTML for a CMS

2005-11-26 Thread Shaun
Hi, I am trying to create my own CMS. To being with I want to let users edit anything within a p tag. I want to have a menu to the left and display the webpage in the rest of the page, and for each set of p tags I want the user to be able to click on the link to edit that paragraph. My

[PHP] Benchmarking SPL Iterators vs for / foreach ???

2005-11-26 Thread Andrei Verovski (aka MacGuru)
Hi, Someone have benchmarked SPL iterators vs for / foreach loops? What is the performance penalty? SPL is ¨interpreted wrapper¨ on the top of C++ STL (correct me if I am wrong), and I am sure it uses STL callbacks. But unlike C++, PHP scripts are interpreted, so pointer arithmetic will work

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-26 Thread John Nichel
On Saturday 26 November 2005 02:45, John Nichel wrote: If you have a form like this one one page... form action=page2.php method=post input type=hidden name=foo value=bar / input type=submit / /form [snip] Dear John Please go all the way when providing an example. To prevent errors

[PHP] Unable to compile php 5.1 / 5.1RC ok

2005-11-26 Thread robert mena
Hi, I am trying to compile php 5.1 but it fails with pdo error messages './configure' '--with-apxs2' '--with-mysql=/usr' '--enable-soap' '--with-xmlrpc' --with-zlib --enable-pdo=shared --with-pdo-mysql=/usr ext/sqlite/.libs/sqlite.o(.text+0x1365): In function `zm_startup_sqlite':

[PHP] When to make a class

2005-11-26 Thread Todd Cary
My background is in Object Oriented Pascal (Delphi), however I am having difficulty knowing when to make a class in PHP. For instance, in my script file, functions.php, I have these functions among others: /* Input a field */ function input_field($name, $value, $size, $max) {

[PHP] SQL Password() function

2005-11-26 Thread Yaswanth Narvaneni
Hi! Is there a function (or a code snippet) in PHP for mysql password() function? I 'dont' want to use something like select * from table where table.passwd=password($passwd); Is there any other alternate way to do it? Regards, Yaswanth -- In theory there is no difference between theory and

Re: [PHP] Re: $_GET and $_POST arrays not working

2005-11-26 Thread Unknown Unknown
Thank you, my login script started to work and i'l find some functions to clean data properly

[PHP] Re: When to make a class

2005-11-26 Thread Oliver Grätz
Todd Cary schrieb: My background is in Object Oriented Pascal (Delphi), however I am having difficulty knowing when to make a class in PHP. For instance, in my script file, functions.php, I have these functions among others: /* Input a field */ function input_field($name, $value,

[PHP] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread M. Sokolewicz
I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS if I'm not mistaking), still... I wouldn't know why you'd want to write a new one in php... seems hard to make to me; might be wrong though. anyway, good luck bala

[PHP] Re: When to make a class

2005-11-26 Thread Todd Cary
Olli - A very well thought out answer. I especially liked the part, I see the benefits of a class when functions start sharing variables.. Todd Oliver Grätz wrote: Todd Cary schrieb: My background is in Object Oriented Pascal (Delphi), however I am having difficulty knowing when to make

[PHP] Re: Adding links to HTML for a CMS

2005-11-26 Thread Matt Monaco
You can use file_get_contents and use an http address as a parameter. Then use the pearl regular expressions functions to replace p with the elements you'd like. Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to create my own CMS. To being with I want to

[PHP] An event calendar

2005-11-26 Thread Todd Cary
Currently I am considering the use of ltwCalendar, however I am open to suggestions for an open source event calendar like this demo of ltwCalendar: http://209.204.172.137/sfyc/php/calendar/calendar.php I would like to be able to easily modify it so that I can have an event that links to

[PHP] Re: Adding links to HTML for a CMS

2005-11-26 Thread Matt Monaco
You can use file_get_contents and use an http address as a parameter. Then use the pearl regular expressions functions to replace p with the elements you'd like. Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to create my own CMS. To being with I want to

Re: [PHP] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread Robert Cummings
On Sat, 2005-11-26 at 11:09, M. Sokolewicz wrote: I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS if I'm not mistaking), still... I wouldn't know why you'd want to write a new one in php... seems hard to make to

[PHP] Re: SQL Password() function

2005-11-26 Thread Gustavo Narea
Hi. Yaswanth Narvaneni wrote: Hi! Is there a function (or a code snippet) in PHP for mysql password() function? I 'dont' want to use something like select * from table where table.passwd=password($passwd); Is there any other alternate way to do it? Try this: ?php $mypassword=this is my

[PHP] Re: When to make a class

2005-11-26 Thread Matt Monaco
There's really no reason making classes for those (unless you'd like to write an entire HTML class and its children - I'd be happy to use it!). Matt Todd Cary [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] My background is in Object Oriented Pascal (Delphi), however I am having

Re: [PHP] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread M. Sokolewicz
Robert Cummings wrote: On Sat, 2005-11-26 at 11:09, M. Sokolewicz wrote: I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS if I'm not mistaking), still... I wouldn't know why you'd want to write a new one in php...

Re: [PHP] Web based editor

2005-11-26 Thread Joe Wollard
On Nov 26, 2005, at 12:11 PM, Todd Cary wrote: I want to provide the user with an editor like http://209.204.172.137/FCKeditor/_samples/php/sample01.php Is it best to use a JavaScript based editor? Are there some favorites out there or is the FCKeditor about as good as they get? Todd --

Re: [PHP] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread Robert Cummings
On Sat, 2005-11-26 at 14:03, M. Sokolewicz wrote: Robert Cummings wrote: On Sat, 2005-11-26 at 11:09, M. Sokolewicz wrote: I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS if I'm not mistaking), still... I

Re: [PHP] php + cURL issue

2005-11-26 Thread Nate Nielsen
I'm adding additional bounty to my problem for anyone who can help me fix it. I'll send you a Rio Cali Sport 256 MB MP3 player - new in box. Comes with the sport ear buds, arm strap, few other accessories. You can google it for the details of it. Great for a stocking stuffer or as an extra

[PHP] Re: cms type session - how to ?

2005-11-26 Thread Raj Shekhar
in infinite wisdom Gregory Machin spoke thus On 11/23/2005 04:28 PM: Sorry for the lack of clarity on the single page... eg : http://127.0.0.1/index.php? where the index.php holds the logic of what is displayed and by passing vars back to it's self determins what is next displayed .. hope

[PHP] RecursiveDirectoryIterator RecursiveFilterIterator

2005-11-26 Thread Jared Williams
Hi, Having trouble writing a RecursiveFilterIterator to exclude linked directories from the recursive listing.. class DXLinkDirectoryRecursiveFilter extends RecursiveFilterIterator { function accept() { return TRUE; } } interface DXDirectoryVisitor { function

Re: [PHP] Web based editor

2005-11-26 Thread Todd Cary
Joe - Thank you. I like how TinyMCE integrates. Todd Joe Wollard wrote: On Nov 26, 2005, at 12:11 PM, Todd Cary wrote: I want to provide the user with an editor like http://209.204.172.137/FCKeditor/_samples/php/sample01.php Is it best to use a JavaScript based editor? Are there some

[PHP] Re: cms type session - how to ?

2005-11-26 Thread Raj Shekhar
in infinite wisdom Gregory Machin spoke thus On 11/23/2005 04:28 PM: Sorry for the lack of clarity on the single page... eg : http://127.0.0.1/index.php? where the index.php holds the logic of what is displayed and by passing vars back to it's self determins what is next displayed .. hope

[PHP] Intersecting Dates

2005-11-26 Thread Shaun
Hi, Given a start day and month and end day and month (i.e. 01-01 to 31-03) how can one check if another set intersects these dates? Thanks for your advice -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cms type session - how to ?

2005-11-26 Thread Raj Shekhar
in infinite wisdom Gregory Machin spoke thus On 11/23/2005 04:28 PM: Sorry for the lack of clarity on the single page... eg : http://127.0.0.1/index.php? where the index.php holds the logic of what is displayed and by passing vars back to it's self determins what is next displayed .. hope

[PHP] R: [PHP] Intersecting Dates

2005-11-26 Thread Sebastian \En3pY\ Zdrojewski
If you got also the year you can transform the dates into UNIX TIMESTAMP and check againist that. If you don't have that, write down a simple procedure that converts dates into days since 01/01 and use that method, but it will be faulty if the date ranges overlap years. Cheers En3pY Sebastian

Re: [PHP] Re: Wanna Join me for an open source PHP Project?

2005-11-26 Thread M. Sokolewicz
Robert Cummings wrote: On Sat, 2005-11-26 at 14:03, M. Sokolewicz wrote: Robert Cummings wrote: On Sat, 2005-11-26 at 11:09, M. Sokolewicz wrote: I'm pretty sure something like this already exists. Why? because I know somebody who uses it. Ok, so it's written in asp (by MS if I'm not

[PHP] Re: [PHP-WIN] Wanna Join me for an open source PHP Project?

2005-11-26 Thread Bob Stout
bala chandar wrote: Hi All, I have just started a Open source Project in SourceForget.net using PHP. Project Name: Weblook Express URL : http://sourceforge.net/projects/weblookexpress Idea came to me when I thought of porting the complete windows based Desktop outlook express Application into

[PHP] Re: Intersecting Dates

2005-11-26 Thread M. Sokolewicz
Shaun wrote: Hi, Given a start day and month and end day and month (i.e. 01-01 to 31-03) how can one check if another set intersects these dates? Thanks for your advice one possibility is to change the dates to timestamps, then check if the starting date (to intersect) is $start or

[PHP] Where can i find docs to create a php5 extensions with OOP as SimpleXML?

2005-11-26 Thread Edwin Barrios
Hi, I'm a PHP web programing, but i wanna learn how to develop php5 extensions. I found php5 a good language to apply Objects programing, and it has very usefull examples of OO extensions as SimpleXML, DOM, Sqlite; for this reason i wanna develope my extension following those styles of API's .

[PHP] Improving my PHP coding

2005-11-26 Thread Todd Cary
Though my applications run in a high profile environment (national class action lawsuits e.g. Enron, Microsoft, etc.), my coding style is ages old, and even then, primitive. If there is anyone who has the time to help me bring my coding up to 2005 standards, off line, I would appreciate it.

RE: [PHP] Where can i find docs to create a php5 extensions with OOP as SimpleXML?

2005-11-26 Thread vizion
-Original Message- From: Edwin Barrios [mailto:[EMAIL PROTECTED] Sent: Saturday, November 26, 2005 7:07 PM To: php-general@lists.php.net Subject: [PHP] Where can i find docs to create a php5 extensions with OOP as SimpleXML? Hi, I'm a PHP web programing, but i wanna learn how