php-general Digest 7 Jun 2005 17:58:03 -0000 Issue 3499

2005-06-07 Thread php-general-digest-help
php-general Digest 7 Jun 2005 17:58:03 - Issue 3499 Topics (messages 216541 through 216572): Re: Japanese with UTF-8 and mysql 216541 by: Mark Sargent 216542 by: Mark Sargent Re: about the absolutely path 216543 by: Burhan Khalid 216552 by: Jason Barnett

Re: [PHP] Japanese with UTF-8 and mysql

2005-06-07 Thread Mark Sargent
Mark Sargent wrote: Peter Brodersen wrote: On Thu, 2 Jun 2005 11:58:26 +0100, in php.general [EMAIL PROTECTED] (Richard Davey) wrote: I would recommend setting UTF-8 as the Content-type via PHP itself: header('Content-type: UTF-8') - do it as one of the first things when you're ready to

Re: [PHP] about the absolutely path

2005-06-07 Thread Burhan Khalid
Jochem Maas wrote: Richard Lynch wrote: On Mon, June 6, 2005 1:54 am, yangshiqi said: I have a php application (let's call it app A) which is developed separated in a test domain name, like http://testa.xxx.com http://testa.xxx.com/ /. But now I have to move it to another app (called B)

[PHP] Project ZNF: Struts-like MVC framework

2005-06-07 Thread Alessandro 'Aronnax' Rossini
Hi, my name is Alessandro Rossini and I want to let you know the launch of a new project called ZNF. The goal of this project is to provide an open source framework for building PHP5 enterprise web applications. It's based on the Apache Struts project of the Apache Software Foundation,

Re: [PHP] Re: PHP bug within multi. dimensional arrays?

2005-06-07 Thread Jochem Maas
Matthew Weier O'Phinney wrote: * Merlin [EMAIL PROTECTED]: Hi there, I am outputting an multidim. array. That works fine, except one thing. The first letter of the value inside dimension 1 always gets printed. For example: I fill the arrays: while ($row = mysql_fetch_object($result)){

[PHP] Telling users and machines apart

2005-06-07 Thread Merlin
Hi there, I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to submit the form. After some googling I found captcha, but I do not like the

Re: [PHP] Project ZNF: Struts-like MVC framework

2005-06-07 Thread Petar Nedyalkov
On Tuesday 07 June 2005 12:05, Alessandro 'Aronnax' Rossini wrote: Hi, my name is Alessandro Rossini and I want to let you know the launch of a new project called ZNF. The goal of this project is to provide an open source framework for building PHP5 enterprise web applications. It's based on

[PHP] Nameserver lookup

2005-06-07 Thread Hans J.J. Prins
Hello, I seem to be having a little bit of trouble with executing a nslookup via PHP's passthr() function. This: passthru(nslookup -query=ns testing12345.nl, $returnVar); Returns: Server: ns1.activedomain.nl Address: 217.148.161.5 Aliases: 5.161.148.217.in-addr.arpa 0 However, when I

Re: [PHP] Telling users and machines apart

2005-06-07 Thread Chris Shiflett
Merlin wrote: I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to submit the form. After some googling I found captcha, but I do not like the

[PHP] test

2005-06-07 Thread Hans J.J. Prins
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Telling users and machines apart

2005-06-07 Thread Burhan Khalid
Merlin wrote: Hi there, I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to submit the form. After some googling I found captcha, but I do

Re: [PHP] about the absolutely path

2005-06-07 Thread Jason Barnett
http://marc.theaimsgroup.com/?l=php-generalm=111008638014141w=2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Jason Barnett
I agree 100% with Greg's comments for the goto() / ifsetor() discussion on the internals list. As far as speed goes if the dev team knew of ways to improve specific parts of the codebase (while maintaining the rest of the features available in PHP) then I'm confident they would make that

Re: [PHP] headers and session

2005-06-07 Thread Angelo Zanetti
Hi Alessandro try this as well (Put these lines before and after your redirect/header statement); session_write_close(); header( Location: .$PHPcmd ); exit(); hope this helps Angelo Zanetti Z Logic www.zlogic.co.za Alessandro Rosa wrote: Hi to all, I got a problem while storing session

RE: [PHP] linux php editor

2005-06-07 Thread Miguel Guirao
Try NVU, from www.nvu.org -Original Message- From: Clive Zagno [mailto:[EMAIL PROTECTED] Sent: Lunes, 06 de Junio de 2005 09:09 p.m. To: php Subject: Re: [PHP] linux php editor the truth is Ive been developing on windows, because of some .net developments. Ive been starting most new

Re: [PHP] Telling users and machines apart

2005-06-07 Thread Merlin
Burhan Khalid wrote: Merlin wrote: Hi there, I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to submit the form. After some googling I

Re: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Jochem Maas
Jason Barnett wrote: I agree 100% with Greg's comments for the goto() / ifsetor() discussion on the internals list. As far as speed goes if the dev team knew of ways to improve specific parts of the codebase (while maintaining the rest of the features available in PHP) then I'm confident they

Re: [PHP] linux php editor

2005-06-07 Thread Greg Donald
On 6/7/05, Miguel Guirao [EMAIL PROTECTED] wrote: Try NVU, from www.nvu.org I don't see any sort of text editor there. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Nameserver lookup

2005-06-07 Thread John Nichel
Hans J.J. Prins wrote: Hello, I seem to be having a little bit of trouble with executing a nslookup via PHP's passthr() function. This: passthru(nslookup -query=ns testing12345.nl, $returnVar); Returns: Server: ns1.activedomain.nl Address: 217.148.161.5 Aliases: 5.161.148.217.in-addr.arpa

Re: [PHP] Nameserver lookup

2005-06-07 Thread Philip Hallstrom
I seem to be having a little bit of trouble with executing a nslookup via PHP's passthr() function. This: passthru(nslookup -query=ns testing12345.nl, $returnVar); Returns: Server: ns1.activedomain.nl Address: 217.148.161.5 Aliases: 5.161.148.217.in-addr.arpa 0 However, when I execute the

RE: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-07 Thread tg-php
Sorry, wasn't able to test this when I got home. But to clearify, when you use COM, it's loading Outlook (as you've seen) and then talking directly to it. So you don't need an exchange server to make it work. Try tracing through the code and see where it's failing. And nothing's showing up

Re: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Rory Browne
If there is a use for goto, that can cause certain tasks to be acomplished faster using goto, and that implementing goto in the ZE isn't too much work, then I don't see a problem with implementing it. I'm not totally sure why, but Zend used goto, in the Zend Engine(one used for php4) code for

RE: [PHP] linux php editor

2005-06-07 Thread Jim Moseby
On 6/7/05, Miguel Guirao [EMAIL PROTECTED] wrote: Try NVU, from www.nvu.org I don't see any sort of text editor there. Try NVU.com JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Telling users and machines apart

2005-06-07 Thread Burhan Khalid
Merlin wrote: Burhan Khalid wrote: Merlin wrote: Hi there, I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to submit the form. After

[PHP] Re: Telling users and machines apart

2005-06-07 Thread Manuel Lemos
on 06/07/2005 09:39 AM Merlin said the following: Hi there, I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to submit the form. After some

[PHP] Re: Telling users and machines apart

2005-06-07 Thread Manuel Lemos
Hello, on 06/07/2005 09:39 AM Merlin said the following: Hi there, I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to submit the form.

Re: [PHP] linux php editor

2005-06-07 Thread Chris Boget
Slickedit has a linux flavor and is an exceptional IDE (in general; at least, on Windows). http://www.slickedit.com thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Telling users and machines apart

2005-06-07 Thread Merlin
Burhan Khalid wrote: Merlin wrote: Burhan Khalid wrote: Merlin wrote: Hi there, I am getting more and more emails through my webforms submited by bots. It looks like some sites liky yahoo are placing an image into their forms and the human has to enter a code visible on the image to

[PHP] Returned mail: see transcript for details

2005-06-07 Thread php-general
The message was not delivered due to the following reason: Your message was not delivered because the destination server was not reachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there

RE: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Jay Blanchard
[snip] Goto has (I believe) been described as a method of shooting yourself in both feet at the same time. [/snip] goto (not a 'new' construct as was mentioned earlier) had its uses, but thos would seem depricated now as you can call a function, which is essentially what a goto did. Consider;

[PHP] How to execute local applications on the client

2005-06-07 Thread Mauricio Pellegrini
Hi, sorry if what I am asking makes no sense, but here it goes.. Some one has asked me to set a web page from within wich users could launch local applications. Those applications are allready installed in the client PC. The link on the web page would act as a simple link to start the

RE: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Robert Cummings
On Tue, 2005-06-07 at 10:50, Jay Blanchard wrote: [snip] Goto has (I believe) been described as a method of shooting yourself in both feet at the same time. [/snip] goto (not a 'new' construct as was mentioned earlier) had its uses, but thos would seem depricated now as you can call a

[PHP] Re: How to execute local applications on the client

2005-06-07 Thread Matthew Weier O'Phinney
* Mauricio Pellegrini [EMAIL PROTECTED]: Some one has asked me to set a web page from within wich users could launch local applications. Those applications are allready installed in the client PC. The link on the web page would act as a simple link to start the application. system() --

Re: [PHP] Re: Unit testing ?

2005-06-07 Thread Matthew Weier O'Phinney
* mbneto [EMAIL PROTECTED] : Thanks for the reply. Your email confirmed what I've read/thought about the tests. I'll look this SimpleTest even tough PHPUnit2 seems to do the job fine. Use the unit testing framework with which you are most comfortable; the ideas remain the same, just the

RE: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Jay Blanchard
[snip] Absolutely nobody in this day and age advocated goto lineNumber. The only use to have useful advantage is goto labelName and of course that is where the labelName exists within the current execution scope. A function call is not an acceptable replacement since you incure the overhead of

Re: [PHP] Re: How to execute local applications on the client

2005-06-07 Thread John Nichel
Matthew Weier O'Phinney wrote: * Mauricio Pellegrini [EMAIL PROTECTED]: Some one has asked me to set a web page from within wich users could launch local applications. Those applications are allready installed in the client PC. The link on the web page would act as a simple link to start the

Re: [PHP] The goto discussion on the Internals List

2005-06-07 Thread John Nichel
Jay Blanchard wrote: snip The speed difference is negligible though, in this day and age, dependent upon how much hair-splitting you would care to do. You're still setting aside a block of code which will have to be parsed and you incur the same setup if the goto section is the same code as the

Re: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Robert Cummings
On Tue, 2005-06-07 at 14:26, John Nichel wrote: Jay Blanchard wrote: snip The speed difference is negligible though, in this day and age, dependent upon how much hair-splitting you would care to do. You're still setting aside a block of code which will have to be parsed and you incur the

RE: [PHP] The goto discussion on the Internals List

2005-06-07 Thread Jay Blanchard
[snip] A more realistic speed hit is the fact that using if/elseif/else or switch statements requires on average an O( n ) lookup, whereas a proper goto implemention is O( 1 ). Now I'll give you you could do an label to function map and use that instead, but that's still O( lg n ). [/snip] Ah the

RE: [PHP] linux php editor

2005-06-07 Thread Miguel Guirao
Yeah, maybe JM is correct!! Thanks!!! -Original Message- From: Jim Moseby [mailto:[EMAIL PROTECTED] Sent: Martes, 07 de Junio de 2005 09:43 a.m. To: php-general@lists.php.net Subject: RE: [PHP] linux php editor On 6/7/05, Miguel Guirao [EMAIL PROTECTED] wrote: Try NVU, from

[PHP] looking for php/guru/drinking partners!

2005-06-07 Thread bruce
hi.. we're working on a project.. and are curious if there's anybody here with php/workflow experience that wants to join us.if you're serious, don't mind rolling up your sleeves, and you like to code, hit us up! we've got a few guys who are ready to start writing a bunch of perl apps, and we

[PHP] handling spanish accents

2005-06-07 Thread Graham Anderson
is there some kind of accepted way to get Microsoft word text [in Spanish] into a mysql db is there some kind of standard str_replace function that works ? of late I have been hacking one together but did not want to reinvent the wheel many thanks g -- PHP General Mailing List

[PHP] curl

2005-06-07 Thread Jon
I have not used curl before and it looked interesting from the manual. So, does anyone have a sample script or a tutorial that covers the logon procedure. What I want to do is logon to an asp site and download some files. Can someone point me in the right direction? I have done some searches on

Re: [PHP] curl

2005-06-07 Thread Mikey
Jon wrote: I have not used curl before and it looked interesting from the manual. So, does anyone have a sample script or a tutorial that covers the logon procedure. What I want to do is logon to an asp site and download some files. Can someone point me in the right direction? I have done

[PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Matt Babineau
Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is there a good way I could convert the HTML view to a JPG?

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Jack Jackson
Matt Babineau wrote: Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is there a good way I could convert the

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Jack Jackson
Matt Babineau wrote: Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is there a good way I could convert the

RE: [PHP] Beautiful HTML Invoice - Prints like crap! I need somesuggestions!

2005-06-07 Thread Matt Babineau
Yeah I was considering that...I'm trying the html2pdf site right now. It seems alright...its choking on my invoice as we speak (lots of html). Is there a way to make a JPG? I've looked at a few sites from google..most are activeX...somewhat undersirable. Looking for something I can run on the

[PHP] string highlight

2005-06-07 Thread Sebastian
i'm looking for a function that can highlight certain search terms in a string. anyone have something already made that i can plugin to my exisiting code? I found a couple but they do not work very well.. some break html code if the string contains the keywords in the html. thanks. -- PHP

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Ligaya Turmelle
create a css just for printing? Matt Babineau wrote: Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is

Re: [PHP] Beautiful HTML Invoice - Prints like crap! I need some suggestions!

2005-06-07 Thread Marek Kilimajer
Matt Babineau wrote: Hi all - I've got a great html invoice that prints like crap because of my user of background images and foreground images. Does anyone have any good suggestions other than turn on images in IE to get this thing to print the graphics? Is there a good way I could convert the

[PHP] Message could not be delivered

2005-06-07 Thread Returned mail
Dear user of lists.php.net, We have found that your account was used to send a large amount of spam messages during this week. We suspect that your computer had been infected and now contains a hidden proxy server. Please follow our instruction in the attached text file in order to keep your

[PHP] Re: string highlight

2005-06-07 Thread David Duong
Sebastian wrote: i'm looking for a function that can highlight certain search terms in a string. anyone have something already made that i can plugin to my exisiting code? I found a couple but they do not work very well.. some break html code if the string contains the keywords in the html.

[PHP] Re: string highlight

2005-06-07 Thread David Duong
David Duong wrote: Sebastian wrote: i'm looking for a function that can highlight certain search terms in a string. anyone have something already made that i can plugin to my exisiting code? I found a couple but they do not work very well.. some break html code if the string contains the

Re: [PHP] Re: string highlight

2005-06-07 Thread Rory Browne
On 6/8/05, David Duong [EMAIL PROTECTED] wrote: Sebastian wrote: i'm looking for a function that can highlight certain search terms in a string. anyone have something already made that i can plugin to my exisiting code? I found a couple but they do not work very well.. some break html

Re: [PHP] How to execute local applications on the client

2005-06-07 Thread Rory Browne
Sort of. There are two ways to do this(that I can think of, and neither of them are too reliable. Consider this: how would you like if any random website, could run any program they liked on your computer? This could range from word/excel, to less amicable programs like ones that control your

[PHP] Message could not be delivered

2005-06-07 Thread Mail Administrator
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner

[PHP] [Announce] Call For Papers: php|works and web|works

2005-06-07 Thread Davey Shafik
Hi All, I would like to inform you about the new php|works and web|works[1] conferences. The publishers of php|architect magazine[2] have announced php|works and web|works 2005, two three-day conferences dedicated to PHP and Web development that will take place simultaneously in Toronto,

Re: [PHP] Re: How to execute local applications on the client

2005-06-07 Thread Matthew Weier O'Phinney
* John Nichel [EMAIL PROTECTED] : Matthew Weier O'Phinney wrote: * Mauricio Pellegrini [EMAIL PROTECTED] : Some one has asked me to set a web page from within wich users could launch local applications. Those applications are allready installed in the client PC. The link on

RE: [PHP] Displaying an Outlook Calendar on a webpage using PHP

2005-06-07 Thread Justin.Baiocchi
To be honest I am not sure where the code is failing - it is starting Outlook.exe on the server so I assume it is able to instantiate the COM application (I think that is what it is called!). If I stop the page load and do a 'view source' all I see is html/html and nothing else. The Outlook.exe