[PHP] PHP Magazine

2005-07-01 Thread Nadim Attari
Hello, Two PHP magazines available are: - php|arch (www.phparch.com) - phpMag (www.php-mag.net) Want to subscribe to one of these 2. Please help me decide by sending your comments on these 2 mags. Regards, Nadim Attari Alienworkers.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] Technology Forums

2005-07-01 Thread anshul
Hi all, We've our new Technology Forums started from India. http://forums.mediasworks.com/ I invite you all to join our community. http://forums.mediasworks.com/ Thanks regards. This mail is not a SPAM or solicitation badly. This is a one-time notification news. You won't recieve this

Re: [PHP] Technology Forums

2005-07-01 Thread Robert Cummings
On Fri, 2005-07-01 at 02:20, anshul wrote: Hi all, We've our new Technology Forums started from India. http://forums.mediasworks.com/ I invite you all to join our community. http://forums.mediasworks.com/ My eyes, my eyes!!! It's like someone ran over kermit. FYI it's still spam since it's

Re: [PHP] Technology Forums

2005-07-01 Thread Chris Kay
Considering it dont even have 1 post... spam it is.. :P And yes i am getting a heap of spam recently... can someone do something about this.. :P CK On Fri, 2005-07-01 at 02:45 -0400, Robert Cummings wrote: On Fri, 2005-07-01 at 02:20, anshul wrote: Hi all, We've our new Technology

Re: [PHP] PHP Magazine

2005-07-01 Thread Richard Lynch
On Thu, June 30, 2005 11:23 pm, Nadim Attari said: Two PHP magazines available are: - php|arch (www.phparch.com) - phpMag (www.php-mag.net) Want to subscribe to one of these 2. Please help me decide by sending your comments on these 2 mags. Can you afford the digital version of both?... :-)

Re: [PHP] Conversion of period and space for $_GET, $_REQUEST, etc. is rather senseless

2005-07-01 Thread Richard Lynch
On Thu, June 30, 2005 8:47 pm, Joe Krahn said: PHP imports GET and POST data to array elements by senselessly converting periods and spaces to underscore. The intent is to make strings variable-name compatible for conversion directly into global variables via import_request_variables or

Re: [PHP] Upload and Read pdf file

2005-07-01 Thread Richard Lynch
On Thu, June 30, 2005 8:53 pm, Bagus Nugroho said: is possible to upload pdf file into MySQL database, then read in web browser using php? And how? Yes, but... Yes, it's possible. You'd do it just like the people do images in MySQL. But, it's probably *WAY* better to just store the PDF in a

Re: [PHP] Writing a PHP Web application

2005-07-01 Thread Mark Rees
Philip Hallstrom [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What are the options to get code to run on the server (every XX minutes), without any user interaction, etc. If you are running on a unix like system (linux, freebsd, solaris, etc.) cron can do this for you. See

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Stut
When you reply please include the list in the recipients! Andrew Scott wrote: Well at least I know that there are a few developers in here that are not very savvy when it comes to Enterprise Solutions with J2EE then. That's a fair point, but rather than pointing it out it would be helpful if

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread david forums
Hi I'm migrating also to posgresql. The easyest way to manage incrementation with postgres is to use sequences. How to : Create a sequence for each table that need autoincrementation. use pgMyAdmin, to make all needed changes before any insert call the id. select nextval('tablename_seq');

[PHP] MySQL error

2005-07-01 Thread Wessley Roche
Hi, I'm having a problem with the following code: $sql = LOAD DATA LOCAL INFILE '/path/to/file.txt' INTO TABLE `mytable` FIELDS TERMINATED BY '\t' ESCAPED BY '\' LINES TERMINATED BY '\n'; mysql_query($sql) or die('brbr'.mysql_error()); I get this MySQL error: You have an error in your SQL

[PHP] Re: MySQL error

2005-07-01 Thread Jasper Bryant-Greene
Wessley Roche wrote: I'm having a problem with the following code: $sql = LOAD DATA LOCAL INFILE '/path/to/file.txt' INTO TABLE `mytable` FIELDS TERMINATED BY '\t' ESCAPED BY '\' LINES TERMINATED BY '\n'; mysql_query($sql) or die('brbr'.mysql_error()); I get this MySQL error: You have an

Re: [PHP] PHP Magazine

2005-07-01 Thread Richard Davey
Hello Nadim, Friday, July 1, 2005, 7:23:44 AM, you wrote: NA Two PHP magazines available are: NA - php|arch (www.phparch.com) NA - phpMag (www.php-mag.net) NA Want to subscribe to one of these 2. Please help me decide by sending your NA comments on these 2 mags. They're both good. I only read

Re: [PHP] MySQL error

2005-07-01 Thread Richard Davey
Hello Wessley, Friday, July 1, 2005, 10:55:16 AM, you wrote: WR $sql = LOAD DATA LOCAL INFILE '/path/to/file.txt' INTO TABLE WR `mytable` FIELDS TERMINATED BY '\t' ESCAPED BY '\' LINES TERMINATED WR BY '\n'; WR mysql_query($sql) or die('brbr'.mysql_error()); WR I get this MySQL error: WR You

Re: [PHP] newline and pregreplace

2005-07-01 Thread Dotan Cohen
On 7/1/05, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, June 24, 2005 3:18 pm, Dotan Cohen said: I've got a line like this: $str=preg_replace( -regex here-, '\nnote\1/note', $str); Which has one of two problems: If I leave the single quotes around the second argument, then it returns

[PHP] I have mails in text plain, how i can imap_fetchstructure() ?

2005-07-01 Thread America del Sur
Hello, I have a list of mails taken from my old host in cPanel Now i want read this messages, and they are in text plain. Wath i can do ? I submit each message to me BD MySQL, but when i do this:[PHPNET]SELECT * FROM mails WHERE...[/PHPNET] And

Re: [PHP] Re: Removing nonlatin characters

2005-07-01 Thread Dotan Cohen
On 6/29/05, Rene Brehmer [EMAIL PROTECTED] wrote: I think you mean something like this: function stripAccents($string) { $returnString = strtr($string, 'àáâãäçèéêëìíîïñòóôõöšùúûüýÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖŠÙÚÛÜÝ', 'acnosyACNOSY'); $returnString =

Re: [PHP] Technology Forums

2005-07-01 Thread Ryan A
Hi, We've our new Technology Forums started from India. http://forums.mediasworks.com/ I invite you all to join our community. http://forums.mediasworks.com/ Thanks regards. This mail is not a SPAM or solicitation badly. This is a one-time notification news. You won't recieve this

Re: [PHP] Strange is_dir() behavior

2005-07-01 Thread Marcos Mendonça
Well, i´ll check it out, but i think i don´t have that code anymore. Since it wasn´t working i did the same using opendir instead of dir. Thanx anyway. On 6/30/05, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, June 25, 2005 8:54 am, Marcos Mendonça said: Yes, if i try to to echo the variable

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread Jason Wong
On Friday 01 July 2005 09:55, Richard Lynch wrote: There are innumerable on-line forums that (incorrectly) state that an OID could be returned that is not connection-specific, so two HTTP requests in parallel would criss-cross OIDs. This is patently false, and any user of PostgreSQL can

Re: [PHP] PHP Magazine

2005-07-01 Thread Nadim Attari
Richard Davey a écrit dans le message Hello Nadim, Friday, July 1, 2005, 7:23:44 AM, you wrote: NA Two PHP magazines available are: NA - php|arch (www.phparch.com) NA - phpMag (www.php-mag.net) NA Want to subscribe to one of these 2. Please help me decide by sending your NA comments on

Re: [PHP] Technology Forums

2005-07-01 Thread Jason Wong
On Friday 01 July 2005 20:19, Ryan A wrote: I would rather say go screw yourself you dirty spammer than just deleting it...but thats just me. People, if you feel you *need* to respond to spam, could you please snip out the spam so that it doesn't receive more coverage than it deserves? --

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
Hey it's not my fault that this stupid list needs a reply all! I am going to guess Stut, that you don't know even know what the difference between a singleton instantiated object is to a standard instantiated object? You know for a php developer your really don't know your own product to well,

Re: [PHP] Technology Forums

2005-07-01 Thread Ryan A
My bad, sorry. Have a habit of hitting the reply all button, used to only reply to the person who sent the email but then got told to reply to the list too as others too can follow the help thread.. so made a habit of that Damned if i do, damned if i dont :-) -Ryan I would rather say go

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Jay Blanchard
[snip] Hey it's not my fault that this stupid list needs a reply all! [/snip] That's enough. This has begun to degrade into a pissing contest. Personal attacks don't fly here. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread John Nichel
Andrew Scott wrote: Hey it's not my fault that this stupid list needs a reply all! snip Learn how to use your mail client instead of expecting someone to bastardize the email headers. Andrew, meet /dev/null; /dev/null this is Andrew. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
John you're funny. No serious, these php lists don't work like the normal mailing lists where it send to an email address that is then broadcast to subscribers. But I guess you get what you pay for:-) -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Saturday, 2

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread Martín Marqués
El Vie 01 Jul 2005 06:27, david forums escribió: before any insert call the id. select nextval('tablename_seq'); and pass this id to your insert. No. Best is to but a DEFAULT clause of nextval('tablename_seq') in the table definition. -- select 'mmarques' || '@' || 'unl.edu.ar' AS

Re: [PHP] Object Oriented PHP (5)

2005-07-01 Thread Brad Pauly
On 6/30/05, Richard Lynch [EMAIL PROTECTED] wrote: snip great post I was going to comment on a few of these points, but found I mostly wanted to add ++ after each one. I do want to echo the comments about fun projects and working with other developers. You can really learn a lot by playing

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread George Pitcher
You need to define 'normal mailing list'. I'm on about 20 different lists and only one of them has a default of 'reply to all'. George -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: 1 July 2005 3:22 pm To: 'John Nichel'; php-general@lists.php.net Subject: RE:

Re: [PHP] Object Oriented PHP (5)

2005-07-01 Thread Jason Barnett
Richard Lynch wrote: ... Ooooh. At the risk of being branded a heretic, try to pick up another language or two. Start with something a whole lot like PHP. Maybe Perl, or even C. You'll have to shove all your PHP knowledge over to one side of your brain, cram all the new stuff into the other

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
Well I am on about 20-30 as well, and when I press reply it goes to a mailinglist address for broadcasting not the posters email address. -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: Saturday, 2 July 2005 12:26 AM To: Andrew Scott; 'John Nichel';

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread John Nichel
George Pitcher wrote: You need to define 'normal mailing list'. I'm on about 20 different lists and only one of them has a default of 'reply to all'. 'Normal', as in 'point and click users' mailing lists. You know the lists where they have to _hack_ the headers to add a Reply-To because the

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Greg Donald
On 7/1/05, Andrew Scott [EMAIL PROTECTED] wrote: Hey it's not my fault that this stupid list needs a reply all! My reply-to-all button is right next to my reply button. Sounds like the pebkac to me. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Greg Donald
On 7/1/05, Andrew Scott [EMAIL PROTECTED] wrote: But I guess you get what you pay for:-) Feel free to go away if the deal isn't working for you. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread John Nichel
Greg Donald wrote: snip Sounds like the pebkac to me. What is my marketing manager doing over there? ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Richard Davey
Hello Andrew, Friday, July 1, 2005, 3:32:14 PM, you wrote: AS Well I am on about 20-30 as well, and when I press reply it goes to a AS mailinglist address for broadcasting not the posters email address. Most likely because they've bastardised the mail headers to force in a reply-to address that

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Stut
Andrew Scott wrote: Hey it's not my fault that this stupid list needs a reply all! While I agree with Jay that this is degrading into a meaningless slanging match (of which I hope I have not caused) but I feel that I must respond to your comments despite your personal attacks. I am going

Re[2]: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Richard Davey
Hello Andrew, Friday, July 1, 2005, 3:06:49 PM, you wrote: AS You know for a php developer your really don't know your own product to AS well (blah blah blah) Isn't it time to run off and write another check to Adobe or something? Rather than personally attacking other list members. Best

Re: [PHP] reading PDF's

2005-07-01 Thread Jason Barnett
Richard Lynch wrote: On Fri, June 24, 2005 12:10 pm, Jon said: Is it possible to read text from a PDF file with PHP? How? ... There may be a free one, or even an OpenSource one, but I've never heard of it, possibly because they'd have to pay a license to Adobe (Macromedia this week?) to be

[PHP] Delivery reports about your e-mail

2005-07-01 Thread Mail Delivery Subsystem
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] php OOP book ¿...?

2005-07-01 Thread enriquebris
I´m looking for a book dedicated to OOP in PHP ... Now I´m reading ¨Core PHP Programming (Third Edition) (2003)¨ but it has just a few information about OOP. Do you know another book? ¿Do you have it? If anyone wants this book (Core PHP Programming (Third Edition) (2003)) just email me

RE: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
Stut, FYI here is a copy of the text after installing php. Windows Installer The Windows PHP installer is available from the downloads page at http://www.php.net/downloads.php. This installs the CGI version of PHP and for IIS, PWS, and Xitami, it configures the web server as well.

RE: Re[2]: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Andrew Scott
Actually that's not true, reply to: is not a hack and is very much a standard to include in the headers, its part of the rfc standard, after having written a mail server as a project its not hard to create a mailinglist option that sets this info up properly. If you setup your mail client with

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread Philip Hallstrom
OIDs *can* get re-used *IF* you end up having more than 32-bits (2 billion plus) of objects in the lifetime of your application. For normal usage, that ain't a big problem, honestly... Though I should have stated it for the record, cuz maybe the OP has a site where 2 BILLION INSERTs are gonna

Re: Re[2]: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Stéphane Bruno
Hello, I followed the discussions closely. I wanted to reply to some questions I saw in the discussions. I am using both PHP and Coldfusion, but both on Linux platforms. So, I am not bound to Microsoft technologies, and CF runs faster on Linux/Unix than on Windows. Like PHP, there is no need

Re: [PHP] reading PDF's

2005-07-01 Thread Ben Ramsey
Is it possible to read text from a PDF file with PHP? How? There may be a free one, or even an OpenSource one, but I've never heard of it, possibly because they'd have to pay a license to Adobe (Macromedia this week?) to be legal... Free (as in beer):

[PHP] Re: cUrl and proxies

2005-07-01 Thread Manuel Lemos
Hello, on 06/30/2005 01:27 PM Mark Rees said the following: UPDATE: I think it is a bug in cURL, according to this link (I am using an ISA proxy). https://sourceforge.net/tracker/?func=detailatid=100976aid=1188280group_i d=976 In that case you may want to try this PHP HTTP client class that

[PHP] [case closed][Fwd: Re: [PHP-DEV] [Fwd: [PHP] constant() - php5]]

2005-07-01 Thread Jochem Maas
thanks for that explanation, case closed. :-) Original Message Return-Path: [EMAIL PROTECTED] X-Original-To: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] [Fwd: [PHP] constant() - php5] X-Virus-Scanned: amavisd-new at moulin.nl Due to PHPs dynamic typing, unquoted strings are

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Stut
On 01/07/05, Andrew Scott [EMAIL PROTECTED] wrote: Stut, FYI here is a copy of the text after installing php. snip Warning Be aware, that this setup of PHP is not secure. If you would like to have a secure PHP setup, you'd better go on the manual way, and set every option

Re: [PHP] PHP Magazine

2005-07-01 Thread Richard Lynch
On Fri, July 1, 2005 6:36 am, Nadim Attari said: Richard Davey a écrit dans le message disjointed nature of the content isn't the authors fault, it's just the way they are edited at the moment. Regular columns (such as Security Corner in php|a or Guru Speak in php-mag) are helping to address

Re: [PHP] postgres - mysql last_inserted_id

2005-07-01 Thread Richard Lynch
On Fri, July 1, 2005 6:24 am, Jason Wong said: On Friday 01 July 2005 09:55, Richard Lynch wrote: If there's a reliable, web-safe, connection-dependent way of getting the sequence ID used in an INSERT, it sure ain't documented, and I've never seen it discussed on the PostgreSQL list (which I

Re: [PHP] newline and pregreplace

2005-07-01 Thread Richard Lynch
On Fri, July 1, 2005 3:35 am, Dotan Cohen said: By the way, I see that you advertise offices on all the planets and most of the major moons, but when I try to get in contact with the Uranus branch, I'm told that the nearest operating office is on Earth. There's 3 planets and over 20 big moons

Re: [PHP] newline and pregreplace

2005-07-01 Thread Richard Lynch
On Fri, July 1, 2005 3:35 am, Dotan Cohen said: By the way, I see that you advertise offices on all the planets and most of the major moons, but when I try to get in contact with the Uranus branch, I'm told that the nearest operating office is on Earth. There's 3 planets and over 20 big moons

Re: [PHP] newline and pregreplace

2005-07-01 Thread Dotan Cohen
On 7/2/05, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 1, 2005 3:35 am, Dotan Cohen said: By the way, I see that you advertise offices on all the planets and most of the major moons, but when I try to get in contact with the Uranus branch, I'm told that the nearest operating office

Re: [PHP] shell expansion (globbing) from inside php cli script

2005-07-01 Thread Brian V Bonini
On Thu, 2005-06-30 at 10:47, Bob Winter wrote: Brian, Is /www/files/services/ the correct relative path?? You could try using the absolute path to see if it fixes the problem. Also, and maybe more significant, I use tcsh . . . if you use bash this could be the conflict. I see that

Re: [PHP] reading PDF's

2005-07-01 Thread Jasper Bryant-Greene
Ben Ramsey wrote: Another, easy way to create PDFs with PHP is to use PDML: http://pdml.sourceforge.net/ As for reading the text from a PDF, maybe there's some sort of OCR library for PHP out there, but I don't know about it. It'd be a great thing to see, though. You wouldn't need OCR in

Re: [PHP] PHP vs. ColdFusion

2005-07-01 Thread Mark Charette
Stéphane Bruno wrote: Once you get to do very advanced things, you need to code using Object Oriented approaches, modular programming, web services, etc. which both products allow you to do. I guess those non-linear crash codes I wrote in Fortran not so many years ago aren't very advanced

[PHP] New Free PHP Framework: Lampshade

2005-07-01 Thread Aaron Greenspan
Hi everyone, We've been charging for our PHP framework, Lampshade, for a long time, but we just decided to make it free for personal and academic use: http://www.thinkcomputer.com/corporate/news/pressreleases.html?id=22 If you have any questions or would like a copy for yourself, let me

[PHP] WebHosting suggestions

2005-07-01 Thread John Jairo Vega Angulo
Hi, hope you have a good programming: I'm still a novice in php topics and I'm looking forward to find a FREE hosting site to publish my .php's, so I hope you could give me an advise, and if the service provides MySQL hosting too, it would be great. That's all, greetings from a really php