Re: [PHP] list noise [WAS: How to find img tag and get src of image]

2006-04-25 Thread Richard Lynch
On Mon, April 24, 2006 11:24 am, Paul Novitski wrote: At 06:29 AM 4/24/2006, Philip Thompson wrote: I think you are too kind. I think my response would have been likes Jay's... RTFM. However, you went above and beyond. Isn't this listserv great!! =D Thanks, Philip. There may or may not be

Re: [PHP] PHP Variables sizes

2006-04-25 Thread Richard Lynch
On Sun, April 23, 2006 10:43 pm, David Killen wrote: Is there a maximum size for a variable in PHP. A client of mine is having problems working with a file of around 4Mb. Not really being a php developer I cannot really answer him. To quote him: We are not uploading excel from ftp. We are

Re: [PHP] shopping carts

2006-04-25 Thread Richard Lynch
PURISTS READRS SHOULD DELETE THIS NOW!!! On Mon, April 24, 2006 2:31 am, Jochem Maas wrote: cheers Richard! you brightened up my monday morning. the badger reference will keep me going till wednesday ;-) badger? Where do you do your shopping?... :-) While we're on the topic... What's the

Re: [PHP] PHP Script to open phpBB2 accounts

2006-04-25 Thread Richard Lynch
On Sat, April 22, 2006 1:51 pm, Gerr D wrote: Richard, On 4/20/06, Richard Lynch [EMAIL PROTECTED] wrote: Or perhaps you believe you have already completely mined out those resources, and PHP-General was your last resort. Which is fine, but that should have been in your original post.

RE: [PHP] Booleans in lowercase or uppercase

2006-04-25 Thread Nicolas Verhaeghe
I've seen the usage of both TRUE, true, FALSE and false all over the php.net site. Yet, there does not seem to be a clear distinction between the uppercase and lowercase variants. Will it make any difference if i use lowercase or uppercase? I would be thankful if someone could shed some

RE: [PHP] PHP Variables sizes

2006-04-25 Thread Nicolas Verhaeghe
Nicolas Verhaeghe - White Echo Technologies Is there a maximum size for a variable in PHP. A client of mine is having problems working with a file of around 4Mb. Not really being a php developer I cannot really answer him. To quote him: We are not uploading excel from ftp. We are reading

Re: [PHP] CMS for Auto Parts

2006-04-25 Thread Richard Lynch
On Sat, April 22, 2006 11:02 am, CK wrote: I've been commissioned to design a web application for auto parts sales. The Flash Front end will communicate with a MySQL DB via PHP. In addition, PHP/XML should be used with a client-side Web GUI to upload images, part no., descriptions and

RE: [PHP] PHP Standard style of writing your code

2006-04-25 Thread Nicolas Verhaeghe
From: Martin Zvarík [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 10:51 PM To: PHP Subject: [PHP] PHP Standard style of writing your code Hi, I see everyone has its own way of writing the code. If there is 10 programmers working on same thing, it would be good if they would have

Re: [PHP] list noise [WAS: How to find img tag and get src of image]

2006-04-25 Thread Ma Siva Kumar
On Mon April 24 2006 9:54 pm, Paul Novitski wrote: Rushed, grumpy defender of the underdog, Paul For those of you who are making a joke out of my question, glad to have given you all a laugh. I want to thank everyone else for being so nice and helpful to beginners. Lisa I am not an

RE: [PHP] At Last!

2006-04-25 Thread Nicolas Verhaeghe
Well, that was hardly an intuitive process - to get to the point of being able to post to the group. Why couldn't they put clearer instructions on the website? Or, maybe it's just me being thick. ;-) Or, maybe I just lost the [SPAM] PHP list posting confirmation for... amongst the

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 12:51 am, Martin Zvarík wrote: I see everyone has its own way of writing the code. If there is 10 programmers working on same thing, it would be good if they would have same style of writing the PHP code. So, my question is: Is there anything what would define

Re: [PHP] Using Header() to pass information...

2006-04-25 Thread Richard Lynch
On Sat, April 22, 2006 10:15 am, Todd Cary wrote: if ($send) header(location: mypage.php?message= . $message); the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL? Without copying and pasting a lot of bits and

Re: [PHP] sorting troubles

2006-04-25 Thread Richard Lynch
On Sat, April 22, 2006 4:49 am, William Stokes wrote: I have a column in DB that contains this kind of data, A20,B16,B17C14,C15,D13,D12 etc. I would like to print this data to a page and sort it ascending by the letter an descending by the number. Can this be done? Like A20 B17 B16 C15

Re: [PHP] Using Header() to pass information...

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 2:12 am, Richard Lynch wrote: I left out some steps... 1. Writes a bunch of data to hard drive in $_SESSION Or to your db, which ends up on your hard drive anyway, most likely. Okay, this bit could get real complicated and picuyane, but let's just agree that it uses up

Re: [PHP] cURL cookies

2006-04-25 Thread Richard Lynch
On Sat, April 22, 2006 3:12 am, Peter Hoskin wrote: I'm trying to produce an sms sending script, however having problems with curl and storing cookies. The login page works fine, however the second http request returns a login page rather than authenticated content. Additionally, in the

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread Dave Goodchild
Chcek out the PEAR site for a pretty good style, but then again it is a matter of preference and I code any way I choose unless I am working within a team where some kind of consistency makes sense. On 25/04/06, Martin Zvarík [EMAIL PROTECTED] wrote: Hi, I see everyone has its own way of

Re: [PHP] list noise [WAS: How to find img tag and get src of image]

2006-04-25 Thread T.Lensselink
Don't know about the postgre list. But answers to such questions can easilly be found on the web. Just use google or RTFM. I answered because i like to help. Hope it was helpfull :) But i can also understand the laughter/frsustration. Don't take it to personal. They just encourage you to RTFM.

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread T.Lensselink
Hi, I see everyone has its own way of writing the code. If there is 10 programmers working on same thing, it would be good if they would have same style of writing the PHP code. So, my question is: Is there anything what would define standard style of writing PHP code? Thanks, Martin

Re: [PHP] sorting troubles

2006-04-25 Thread William Stokes
Thanks for your input everyone! The easiest way to do this was ansding this to the SELECT clause: select col from DB order by substring(col, 1, 1) ASC, substring(col, 2) DESC Seems to work fine. -Will Richard Lynch [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] On Sat, April 22,

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread Satyam
- Original Message - From: Richard Lynch [EMAIL PROTECTED] On Tue, April 25, 2006 12:51 am, Martin Zvarík wrote: I see everyone has its own way of writing the code. If there is 10 programmers working on same thing, it would be good if they would have same style of writing the PHP

[PHP] Serveral forms in a page.

2006-04-25 Thread William Stokes
Hello, This might be more HTML stuff but anyway... I have several forms in a page which is ok otherwise but the reset buttons doesn't clear anything that is queried from DB and printed to the text fields. Any idea how to create Reset buttons that clear the fields even when the data is not

[PHP] Re: Serveral forms in a page.

2006-04-25 Thread Barry
William Stokes wrote: Hello, This might be more HTML stuff but anyway... Yeah, anyway who cares if it belongs in here or not. I have several forms in a page which is ok otherwise but the reset buttons doesn't clear anything that is queried from DB and printed to the text fields. Any idea

Re: [PHP] shopping carts

2006-04-25 Thread Jochem Maas
Richard Lynch wrote: PURISTS READRS SHOULD DELETE THIS NOW!!! On Mon, April 24, 2006 2:31 am, Jochem Maas wrote: cheers Richard! you brightened up my monday morning. the badger reference will keep me going till wednesday ;-) badger? you wrote 'baggers', I read 'badgers' - where I grew up

[PHP] Re: Serveral forms in a page.

2006-04-25 Thread David Robley
William Stokes wrote: Hello, This might be more HTML stuff but anyway... I have several forms in a page which is ok otherwise but the reset buttons doesn't clear anything that is queried from DB and printed to the text fields. Any idea how to create Reset buttons that clear the fields

[PHP] phpmailer problem with spam score

2006-04-25 Thread Merlin
Hi there, I am operating page where user receive a message which they do have to confirm. The message does have about 5 links inside to give the user administration to his postings. Now recently I discovered that the message does not go through to everybody since the spam score is 4.2! This

[PHP] Re: phpmailer problem with spam score

2006-04-25 Thread Barry
Merlin wrote: Hi there, I am operating page where user receive a message which they do have to confirm. The message does have about 5 links inside to give the user administration to his postings. Now recently I discovered that the message does not go through to everybody since the spam

[PHP] Re: CC [PHP] PHP Standard style of writing your code

2006-04-25 Thread Porpoise
Nicolas Verhaeghe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip Another good thing to remember is that English is our common language and that it is usually a good practice to give variables an English name. /snip . . if ($car == 'Audi') {$vorsprung_durch_technik =

[PHP] Re: Serveral forms in a page.

2006-04-25 Thread William Stokes
Mulkku? Barry [EMAIL PROTECTED] kirjoitti viestissä:[EMAIL PROTECTED] William Stokes wrote: Hello, This might be more HTML stuff but anyway... Yeah, anyway who cares if it belongs in here or not. I have several forms in a page which is ok otherwise but the reset buttons doesn't clear

[PHP] How to convert a string( 23/04/2006) to a string 23042006 in javascript?

2006-04-25 Thread Pham Huu Le Quoc Phuc
Hi you! I am a newbie to web programming, I have a following problem: I have a string: 23/04/2006, want to convert it become 23042006 in javascript. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to convert a string( 23/04/2006) to a string 23042006 in javascript?

2006-04-25 Thread Richard Davey
On 25 Apr 2006, at 10:59, Pham Huu Le Quoc Phuc wrote: I am a newbie to web programming, I have a following problem: I have a string: 23/04/2006, want to convert it become 23042006 in javascript. If it always follows that notation you could just strip out the / character (str_replace)

[PHP] Re: How to convert a string( 23/04/2006) to a string 23042006 in javascript?

2006-04-25 Thread Barry
Pham Huu Le Quoc Phuc wrote: Hi you! I am a newbie to web programming, I have a following problem: I have a string: 23/04/2006, want to convert it become 23042006 in javascript. Thanks. YOU! Hi! And you are a newbie to mailing lists as it seems. This is a PHP mailing list so only stuff

Re: [PHP] Re: phpmailer problem with spam score

2006-04-25 Thread Paul Scott
On Tue, 2006-04-25 at 11:47 +0200, Barry wrote: - Tell the people to put your domain on the whitelist or the specific mailadress it comes from. - Use plaintext only mails The scroe is so high because of the links. Also, remember to put in a Reply-To header. A lot of SPAM software will

Re: [PHP] At Last!

2006-04-25 Thread Porpoise
Nicolas Verhaeghe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip Well, first of all, try to post in plain text. Second, yes, it's a good thing to learn to use your Outlook Express before joining a mailing list. /snip #1 I do post in plain text #2 The problem wasn't with

Re: [PHP] At Last!

2006-04-25 Thread Angelo Zanetti
Porpoise wrote: Nicolas Verhaeghe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip Well, first of all, try to post in plain text. Second, yes, it's a good thing to learn to use your Outlook Express before joining a mailing list. /snip #1 I do post in plain text #2 The

Re: [PHP] Re: phpmailer problem with spam score

2006-04-25 Thread Merlin
Paul Scott schrieb: On Tue, 2006-04-25 at 11:47 +0200, Barry wrote: - Tell the people to put your domain on the whitelist or the specific mailadress it comes from. - Use plaintext only mails The scroe is so high because of the links. Also, remember to put in a Reply-To header. A lot of

Re: [PHP] shopping carts

2006-04-25 Thread Ryan A
While we're on the topic... What's the difference between a dozen eggs and an elephant... er? 2 metrics tons? no? put me out of my misery then :-) If you dont know I am not going to send you to the store for a dozen eggs... Didnt know we had elephant joke fans here...heres

Re: [PHP] Re: phpmailer problem with spam score

2006-04-25 Thread Sameer N Ingole
Merlin wrote: Paul Scott schrieb: I believe that is should be possible to send html e-mails containing links that have a spam score of 0 as for example news.com does this. Not sure about spam score 0 but you can reduce it to negligible. Does anybody know how phpmailer sents its messages out

Re: [PHP] list noise [WAS: How to find img tag and get src of image]

2006-04-25 Thread Leonard Burton
Hi guys, RTFM answers with links to the info are fine. I neverminded something like RTFM http://www.php.net/switch. I have found that finding the easier answers can be the most difficult. I have been doing PHP for 3 years. Sometimes there is something simple about a function I cannot quite

Re: [PHP] shopping carts

2006-04-25 Thread Philip Thompson
I am anxiously awaiting the answers!.g0g0g0g0g0!! On Apr 25, 2006, at 7:26 AM, Ryan A wrote: 1) Why can't you get an Elephant to screw in a lightbulb? 2)What the difference between a herd of Elephants and a bunch af grapes? 3)What did the peanut say to the elephant? 4)Why

Re: [PHP] [ Way Too OT] Jokes [was: shopping carts]

2006-04-25 Thread Sameer N Ingole
Philip Thompson wrote: I am anxiously awaiting the answers!.g0g0g0g0g0!! Me too. May be OP of Questions should tell the answers now.. On Apr 25, 2006, at 7:26 AM, Ryan A wrote: 1) Why can't you get an Elephant to screw in a lightbulb? 2)What the difference between a herd

Re: [PHP] Session Array Disappears

2006-04-25 Thread Al
Richard Lynch wrote: I'm thinking the guy who suggested ignore_user_abort(TRUE) is just doing Voodoo Programming :-) It may or may not be something you want, but I doubt it will have any affect whatsoever on your posted problem. Actually, I think anywhere that somebody thinks they need

Re: [PHP] New image already cached. (SOLVED)

2006-04-25 Thread tedd
At 9:56 PM -0500 4/23/06, Richard Lynch wrote: On Sun, April 23, 2006 5:25 pm, tedd wrote: img src=images/the_image.png?id=?php rand(); ? Neither the image tag nor the file cares if there is a random number attached to the file's url. But, by doing this, most (perhaps all) browsers think

Re: [PHP] shopping carts

2006-04-25 Thread John Nichel
Ryan A wrote: snip 1) Why can't you get an Elephant to screw in a lightbulb? Because it's an elephant 2)What the difference between a herd of Elephants and a bunch af grapes? The grapes are purple. 3)What did the peanut say to the elephant? Nothing. Peanuts can't talk. 4)Why did the

Re: [PHP] Session Array Disappears

2006-04-25 Thread Webmaster
Hello, Thank you for the reply. Richard Lynch wrote: On Mon, April 24, 2006 2:48 pm, Webmaster wrote: In reading the www.php.net/manual/en/ref.session.php page, I'd like to point out we do not use cookies. The session id is propagated in the URL (although it's not visible in the URL

Re: [PHP] Session Array Disappears

2006-04-25 Thread Webmaster
Richard Lynch wrote: I'm thinking the guy who suggested ignore_user_abort(TRUE) is just doing Voodoo Programming :-) I love the term Voodoo Programming! I'm guilty of doing it myself. :-) My 2 cents.I could see times when ignore_user_abort(TRUE) could be very handy. I'm wondering

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread tedd
Hmmm. It would be Really Nifty if some fancy IDE out there would automatically render one's PHP code in the style preferred by the developer... So no matter what was actually typed, *I* would see: function foo ($x) { //body } but some heretic who doesn't know any better would see: function

RE: [PHP] shopping carts

2006-04-25 Thread tedd
At 1:19 PM -0500 4/24/06, Jay Blanchard wrote: [snip] Another aspect is this: Why do we call it a shopping cart? [/snip] We discarded this terminology in favor of 'order fulfillment system' or OFS Or perhaps, Shipping and Handling Internet Technology -- the acronym I leave to you. tedd

Re: [PHP] shopping carts

2006-04-25 Thread tedd
At 11:18 AM -0700 4/24/06, Ryan A wrote: Hey. That ain't a shopping cart That's a friggin' store. LOL You're absolutely right -- tho, it sounds like good stuff for a comedy routine. Pity it would fly over the heads of most people though, only us geeks (term used loosely) would get

Re: [PHP] list noise [WAS: How to find img tag and get src of image]

2006-04-25 Thread Robert Cummings
On Tue, 2006-04-25 at 08:45, Leonard Burton wrote: From pressing a few posters of RTFM answers in other projects' forums I have found out two things: 1) most of them are script kiddies. 2) most of them do not know the answer. They think it is more fun to post the RTFM than to not respond.

[PHP] Permission problem

2006-04-25 Thread tedd
Hi gang: A while back I was persuaded by this illustrious group into thinking that placing images in a file system was superior to placing them in mySQL -- after all, what could go wrong with a file system solution, right? So I did. Now, I have a small problem. Unfortunately, most of the

RE: [PHP] Permission problem

2006-04-25 Thread Jay Blanchard
[snip] A while back I was persuaded by this illustrious group into thinking that placing images in a file system was superior to placing them in mySQL -- after all, what could go wrong with a file system solution, right? So I did. Now, I have a small problem. Unfortunately, most of the images

RE: [PHP] Permission problem

2006-04-25 Thread Robert Cummings
On Tue, 2006-04-25 at 12:30, Jay Blanchard wrote: [snip] A while back I was persuaded by this illustrious group into thinking that placing images in a file system was superior to placing them in mySQL -- after all, what could go wrong with a file system solution, right? So I did.

Re: [PHP] [ Way Too OT] Jokes [was: shopping carts]

2006-04-25 Thread Ryan A
I am anxiously awaiting the answers!.g0g0g0g0g0!! Me too. May be OP of Questions should tell the answers now.. Oops sorry, had no idea there was such interest, also note that I have adopted the new subject instead of just plain old shopping carts as this is way OT. John

Re: [PHP] list noise [WAS: How to find img tag and get src of image]

2006-04-25 Thread Ahmed Saad
On 4/25/06, Robert Cummings [EMAIL PROTECTED] wrote: If you carefully comb the archives you'll see that many of us that make quite liberal use of RTFM also quite often give answers to the same simple questions, and often quite recently. That's a _quite_ true statement, I think :) I have been

Re: [PHP] cURL cookies

2006-04-25 Thread Eric Butera
On 4/25/06, Richard Lynch [EMAIL PROTECTED] wrote:Oh, and here's the REAL problem: If you use CURLOPT_HEADER, 1, then, like, for some reason beyond my ken, the COOKIEJAR/COOOKIEFILE stuff just plain doesn't get done. This really sucks if you need *other* headers and want curl to manage the

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread Ahmed Saad
On 4/25/06, Richard Lynch [EMAIL PROTECTED] wrote: Now *THAT* would be a feature worth paying for in an IDE! :-) Well, you actually don't have to pay anything. TruStudion PHP foundation version (read free/open source version) has a decent code formatter and a pretty neat editor: argument order,

Re: [PHP] Reusable Singleton pattern using PHP5

2006-04-25 Thread Stut
Jochem Maas wrote: Simas Toleikis wrote: thing :-/ Though i wonder if there are any other hacks using some sort of classkit/other class manipulation functions? probably runkit (or is it classkit - can't remember which of those is more actively developed) might give a way out - but I would

Re: [PHP] Using Header() to pass information...

2006-04-25 Thread Stut
Richard Lynch wrote: If you are doing your sanitization/filtering/validation correctly, you shouldn't even be READING $_POST after the first 3 lines of your PHP code anyway. (Okay, maybe first 10 lines.) The same goes for $_GET data also. The longer you use header(Location: ...) the more

Re: [PHP] Re: Serveral forms in a page.

2006-04-25 Thread Stut
William Stokes wrote: Mulkku? 'Cause insulting us is the way to convince this list to answer your irrelevant questions? Seriously tho, if I may, go join an HTML/Javascript list for these questions and try to stick with PHP on this one. -Stut -- PHP General Mailing List

[PHP] Upload Progress Meter - what's the latest?

2006-04-25 Thread D. Dante Lorenso
All, I'm trying to figure out which direction the PHP community is going when it comes to an upload progress meter. I've just recently discovered the ease of installing packages using PECL and see that this package is defined: http://pecl.php.net/package/postparser Yet, there does not

Re: [PHP] phpmailer problem with spam score

2006-04-25 Thread Stut
Merlin wrote: X-Spam: high X-Spam-score: 4.2 X-Spam-hits: BAYES_50, EXTRA_MPART_TYPE, FORGED_RCVD_HELO, HTML_MESSAGE, HTML_TAG_BALANCE_BODY, MIME_HTML_MOSTLY, SARE_OBFU_PART_ING Is there something I can do about this? These headers are coming from SpamAssassin. I suggest you look at their

Re: [PHP] Using Header() to pass information...

2006-04-25 Thread Robert Cummings
On Tue, 2006-04-25 at 13:47, Stut wrote: Richard Lynch wrote: If you are doing your sanitization/filtering/validation correctly, you shouldn't even be READING $_POST after the first 3 lines of your PHP code anyway. (Okay, maybe first 10 lines.) The same goes for $_GET data also. The

[PHP] Re: phpmailer problem with spam score

2006-04-25 Thread Manuel Lemos
Hello, on 04/25/2006 06:43 AM Merlin said the following: Hi there, I am operating page where user receive a message which they do have to confirm. The message does have about 5 links inside to give the user administration to his postings. Now recently I discovered that the message does

[PHP] mccabes complexity parser

2006-04-25 Thread Mark Steudel
I was wondering if anyone knew of a program that I could run my scripts through and it would return mccabes complexity metric on it ... Thanks, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Forms Validation library

2006-04-25 Thread Murtaza Chang
Hi I just wanted to know if there's a generalised library available for Forms validation in php? -- Murtaza Chang

RE: [PHP] Permission problem

2006-04-25 Thread tedd
[snip] In any event, I can't back-up, download, copy, change permissions, or do anything with the chmod 600 group. Any suggestions as to what I can do with these files? [/snip] At 11:30 AM -0500 4/25/06, Jay Blanchard wrote: After uploading have PHP CHMOD them properly and At 12:41 PM

[PHP] Upload Progress Bar (PHP/AJAX?)

2006-04-25 Thread Rahul S. Johari
Ave, I wrote a File Manager application for my company which allows the management our clients to upload files share files. The application has been running fine since a while now, but lately I thought about adding a Progress Bar for the file upload form. I searched a bit to find that PHP is

[PHP] Install GD2 Library - $ Reward

2006-04-25 Thread Aleksander Davidsen
Hi, I have trouble with installing GD2 library correctly, someone want to take a look at it and maybe fix it? It`s a symbolic reward of 10$ to the one who solves the problem and make it work correctly :) Please send me an E-Mail at [EMAIL PROTECTED] asap. Thanks in advance, Aleksander

[PHP] Re: Forms Validation library

2006-04-25 Thread Manuel Lemos
Hello, on 04/25/2006 04:38 PM Murtaza Chang said the following: Hi I just wanted to know if there's a generalised library available for Forms validation in php? http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator

Re: [PHP] Install GD2 Library - $ Reward

2006-04-25 Thread Jochem Maas
Aleksander Davidsen wrote: Hi, I have trouble with installing GD2 library correctly, someone want to take a look at it and maybe fix it? start by supplying details on your OS, php build and everything related. It`s a symbolic reward of 10$ to the one who solves the problem and make it

Re: [PHP] Reusable Singleton pattern using PHP5

2006-04-25 Thread Jochem Maas
Stut wrote: Jochem Maas wrote: Simas Toleikis wrote: thing :-/ Though i wonder if there are any other hacks using some sort of classkit/other class manipulation functions? probably runkit (or is it classkit - can't remember which of those is more actively developed) might give a way out -

Re: [PHP] Using Header() to pass information...

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 12:47 pm, Stut wrote: As long as we're throwing foreign money into the ring, I'd just like to say that I make a point of redirecting to another page after a post request, otherwise you get unsightly errors in the browser when the user tries to use the back/forward

[PHP] Using linkDisplayFields of FormBuilder

2006-04-25 Thread Tom
Hello all, I've successfully generated my DataObjects for my database and have a set of objects that extend these generated classes so that my logic is separate from the generated code (so that any slight schema changes won't overwrite my code). My question concerns using FormBuilder to

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-25 Thread Jochem Maas
Tom wrote: Hello all, ..bla.. This may fall more into how to structure my application. I want to separate the generated do code from my 'business logic' and separate the form/display details from the business logic. your asking something about a specific code/tools (that I for one have

Re: [PHP] Upload Progress Meter - what's the latest?

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 12:18 pm, D. Dante Lorenso wrote: I'm trying to figure out which direction the PHP community is going when it comes to an upload progress meter. Since that meter would necessarily be CLIENT side, the PHP community is pretty much ignoring it, since PHP runs on the SERVER.

Re: [PHP] Permission problem

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 11:16 am, tedd wrote: A while back I was persuaded by this illustrious group into thinking that placing images in a file system was superior to placing them in mySQL -- after all, what could go wrong with a file system solution, right? So I did. Now, I have a small

Re: [PHP] Using Header() to pass information...

2006-04-25 Thread Stut
Richard Lynch wrote: On Tue, April 25, 2006 12:47 pm, Stut wrote: As long as we're throwing foreign money into the ring, I'd just like to say that I make a point of redirecting to another page after a post request, otherwise you get unsightly errors in the browser when the user tries to use the

Re: [PHP] New image already cached. (SOLVED)

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 8:56 am, tedd wrote: At 9:56 PM -0500 4/23/06, Richard Lynch wrote: On Sun, April 23, 2006 5:25 pm, tedd wrote: img src=images/the_image.png?id=?php rand(); ? Neither the image tag nor the file cares if there is a random number attached to the file's url. But, by

[PHP] Re: Forms Validation library

2006-04-25 Thread Jens Kleikamp
Murtaza Chang wrote: Hi I just wanted to know if there's a generalised library available for Forms validation in php? -- Murtaza Chang http://pear.php.net/package/HTML_QuickForm http://ez.no/doc/components/view/latest/(file)/introduction_UserInput.html -- PHP General Mailing List

[PHP] Amazon WSDL

2006-04-25 Thread John Meyer
Hey, is it possible to use the Amazon WSDL within PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpmailer problem with spam score

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 4:43 am, Merlin wrote: I am operating page where user receive a message which they do have to confirm. The message does have about 5 links inside to give the user administration to his postings. This has NOTHING to do with PHP... Now recently I discovered that the

Re: [PHP] Re: phpmailer problem with spam score

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 7:19 am, Merlin wrote: Paul Scott schrieb: On Tue, 2006-04-25 at 11:47 +0200, Barry wrote: Does anybody know how phpmailer sents its messages out by default? I believe it does this via the php function mail. But there can also be a smtp server specified. Do I have to

Re: [PHP] Serveral forms in a page.

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 3:46 am, William Stokes wrote: I have several forms in a page which is ok otherwise but the reset buttons doesn't clear anything that is queried from DB and printed to the text fields. Any idea how to create Reset buttons that clear the fields even when the data is not

Re: [PHP] Amazon WSDL

2006-04-25 Thread Richard Collyer
John Meyer wrote: Hey, is it possible to use the Amazon WSDL within PHP? Lookie what the first google entry for Amazon WSDL php was: http://www.onlamp.com/pub/a/php/2003/07/03/php_amazon_soap.html Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Amazon WSDL

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 4:56 pm, John Meyer wrote: Hey, is it possible to use the Amazon WSDL within PHP? http://php.net/soap should do it. If you're stuck with PHP 4, then Google nuSoap, I guess. But php 5 SOAP is about a zillion times better, imho. You type less, it just works, it's way

Re: [PHP] Amazon WSDL

2006-04-25 Thread Jochem Maas
Richard Collyer wrote: John Meyer wrote: Hey, is it possible to use the Amazon WSDL within PHP? Lookie what the first google entry for Amazon WSDL php was: http://www.onlamp.com/pub/a/php/2003/07/03/php_amazon_soap.html why use their WDSL when 98% of the their webservices users connect

Re: [PHP] Amazon WSDL

2006-04-25 Thread Jochem Maas
Richard Lynch wrote: On Tue, April 25, 2006 4:56 pm, John Meyer wrote: Hey, is it possible to use the Amazon WSDL within PHP? http://php.net/soap should do it. If you're stuck with PHP 4, then Google nuSoap, I guess. But php 5 SOAP is about a zillion times better, imho. You type less, it

Re: [PHP] Using Header() to pass information...

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 4:47 pm, Stut wrote: 3b) User clicks on a normal link, goes to another page then hits back... user sees an evil-looking and unexpected question asking whether to resubmit the form values. Most users I know will hit OK because they don't understand it. This is bad, form

Re: [PHP] Upload Progress Meter - what's the latest?

2006-04-25 Thread Jochem Maas
Richard Lynch wrote: On Tue, April 25, 2006 12:18 pm, D. Dante Lorenso wrote: I'm trying to figure out which direction the PHP community is going when it comes to an upload progress meter. Since that meter would necessarily be CLIENT side, the PHP community is pretty much ignoring it, since

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 4:26 pm, Tom wrote: I've successfully generated my DataObjects for my database and have a ... My question concerns using FormBuilder to change the displayfield for Of the 3000+ people on this list devoted to *GENERAL* PHP Topics, let's be generous and assume about 300 of

Re: [PHP] Upload Progress Meter - what's the latest?

2006-04-25 Thread D. Dante Lorenso
Richard Lynch wrote: On Tue, April 25, 2006 12:18 pm, D. Dante Lorenso wrote: I'm trying to figure out which direction the PHP community is going when it comes to an upload progress meter.Since that meter would necessarily be CLIENT side, the PHP community is pretty much ignoring it,

Re: [PHP] cURL cookies

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 11:50 am, Eric Butera wrote: On 4/25/06, Richard Lynch [EMAIL PROTECTED] wrote:Oh, and here's the REAL problem: If you use CURLOPT_HEADER, 1, then, like, for some reason beyond my ken, the COOKIEJAR/COOOKIEFILE stuff just plain doesn't get done. On an application I

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-25 Thread Tom
I've mailed this list per the instructions on the pear.php.net site. I first thought to email the lead maintainer (Justin Patrin) for the DB_DataObject_FormBuilder package (http://pear.php.net/package/DB_DataObject_FormBuilder) but the email form page gave these instructions: Do not send

Re: [PHP] [W O T] mccabes complexity parser

2006-04-25 Thread Jochem Maas
Mark Steudel wrote: I was wondering if anyone knew of a program that I could run my scripts through and it would return mccabes complexity metric on it ... not that I know of (actually didn't know the term until I read your post :-) but I bet Windows Vista scores well above 50 ;-) Thanks,

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-25 Thread Jochem Maas
Thomas Supercinski wrote: Jochem, I've mailed this list per the instructions on the pear.php.net site. I first thought to email the lead maintainer for the DB_DataObject_FormBuilder package (http://pear.php.net/package/DB_DataObject_FormBuilder) you should have given that link in the first

Re: [PHP] Upload Progress Meter - what's the latest?

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 5:28 pm, D. Dante Lorenso wrote: Richard Lynch wrote: On Tue, April 25, 2006 12:18 pm, D. Dante Lorenso wrote: Anything you see with PHP upload progress meter together has to be some kind of hack whose under-pinning is NOT PHP at all, but is JavaScript or similar

Re: [PHP] Upload Progress Meter - what's the latest?

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 5:28 pm, D. Dante Lorenso wrote: Everything PHP returns from a server is client side, so your Oh yeah. I forgot to say... The above presumption is patently false. :-) -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Upload Progress Meter - what's the latest?

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 5:27 pm, Jochem Maas wrote: Richard Lynch wrote: On Tue, April 25, 2006 12:18 pm, D. Dante Lorenso wrote: Why don't you ask the guys who write BROWSERS why *they* don't provide a nice API/interface to display progress, or, better yet, why the browser itself doesn't

[PHP] need help to put input text value into url

2006-04-25 Thread Patrick Aljord
I have a form like this: form action=search.php method=post target=_self input type=text name=search_text cols=20 rows=10/input input type=submit name=submit_search value=search / /form while this is working fine, I would like the url of search.php to be something like

RE: [PHP] need help to put input text value into url

2006-04-25 Thread Ing. Edwin Cruz
Only chage method=post for method=get Regards! -Mensaje original- De: Patrick Aljord [mailto:[EMAIL PROTECTED] Enviado el: Martes, 25 de Abril de 2006 06:19 p.m. Para: php-general@lists.php.net Asunto: [PHP] need help to put input text value into url I have a form like this: form

  1   2   >