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 bit

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 > B1

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

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 hea

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

Re: [PHP] list noise [WAS: How to find 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. Bes

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,

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 2

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] 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 fr

[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 h

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 f

[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 i

[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 score

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

2006-04-25 Thread Porpoise
""Nicolas Verhaeghe"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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. . . if ($car == 'Audi') {$vorsprung_durch_technik = 'GOOD!';}

[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 >> button

[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) C

[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 relat

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 wil

Re: [PHP] At Last!

2006-04-25 Thread Porpoise
""Nicolas Verhaeghe"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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. #1 I do post in plain text #2 The problem wasn't with OE,

Re: [PHP] At Last!

2006-04-25 Thread Angelo Zanetti
Porpoise wrote: ""Nicolas Verhaeghe"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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. #1 I do post in plain text #2 The probl

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 SPA

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 h

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 b

Re: [PHP] list noise [WAS: How to find 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 g

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 di

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 of

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 ignore_u

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: 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 the image name is unique. Doe anyone see any p

Re: [PHP] shopping carts

2006-04-25 Thread John Nichel
Ryan A wrote: 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 elep

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 bar).

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 thou

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 f

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

Re: [PHP] list noise [WAS: How to find 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 r

[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 im

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.

Re: [PHP] list noise [WAS: How to find 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

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

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 orde

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 reco

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 y

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 (http://www.php.net

[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 ap

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 d

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.

[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

[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 -04

[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 Davidsen

[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 work

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 chan

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 n

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 SERVE

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

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: >>> >>> >>> 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)

[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 (http://www.

[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 h

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 i

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: http://www.

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 fast

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, f

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

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, s

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 ap

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 em

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, Ma

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 o

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

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

2006-04-25 Thread Patrick Aljord
I have a form like this: while this is working fine, I would like the url of search.php to be something like search.php?q="value+of+search_text" eg, if I enter "php rules" in my text box, the url should be http://myfakepage.com/search.php?q="php+rules"; any idea how to do that? thanx in advan

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:

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

2006-04-25 Thread Jay Blanchard
[snip] ...a pretty good discussion... [/snip] I have used output buffering to flush stuff (like lengthy data) to the client before the end of the script so that those pesky users could see something was happening (because they couldn't be bothered to watch the browser's progress meter) and at one

Re: [PHP] Amazon WSDL

2006-04-25 Thread John Meyer
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 > > Richard Nice, now I need to navigate the bloody Amaz

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

2006-04-25 Thread D. Dante Lorenso
Richard Lynch wrote: 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. Let me clarify: Assuming client/server architecture, if PHP is on the

[PHP] PHP/LDAP Setup Problem

2006-04-25 Thread Crone, James
I need to add LDAP support to my install of PHP. I had my sysadmin download OpenLDAP and install the libraries. Our current build of PHP is complex and I'd prefer not to have to rebuild just to add LDAP. I've been told to use the dl() function to load the LDAP library when needed in PHP. Whenev

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

2006-04-25 Thread D. Dante Lorenso
Richard Lynch 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 client-side technology. Not true. The graphical display is HTML, DHTML, JavaScript, etc...but the means of monitoring

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

2006-04-25 Thread Jochem Maas
Richard Lynch wrote: 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 spe

Re: [PHP] phpmailer problem with spam score

2006-04-25 Thread Sameer N Ingole
Stut wrote: 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? [snip] As of Spamassassin version 3.1.X it is BAYES_50: Ba

[PHP] Removing special chars

2006-04-25 Thread Gerry Danen
I would like to replace all chars in a string that are not a-z or 0-9 with a space. I can use a series of str_replace functions, but there has to be a faster way. I know there is a solution but my chemo-brain is slowing me down today. Sorry... Any suggestions? TIA Gerry -- PHP General Mailing

[PHP] Removing special chars

2006-04-25 Thread Gerry D
I would like to replace all chars in a string that are not a-z or 0-9 with a space. I can use a series of str_replace functions, but there has to be a faster way. I know there is a solution but my chemo-brain is slowing me down today. Sorry... Any suggestions? TIA Gerry -- PHP General Mailing

Re: [PHP] Removing special chars

2006-04-25 Thread Ligaya Turmelle
Gerry Danen wrote: I would like to replace all chars in a string that are not a-z or 0-9 with a space. I can use a series of str_replace functions, but there has to be a faster way. I know there is a solution but my chemo-brain is slowing me down today. Sorry... Any suggestions? TIA Gerry No

[PHP] Protecting index.php

2006-04-25 Thread P. Guethlein
Initial index.php file: = Hackers seem to be able to call a remote script by appending the URL to the href= command line . ( $include ) What buttons do I need to push to stop this? Does PHP have a setting to allow only local calls? or do I have to do it in the ind

  1   2   >