RE: [PHP-WIN] Re: [PHP] Replace of ' in a query

2004-02-17 Thread Svensson, B.A.T. (HKG)
Never trust the web... Esacping is bad practis. Doing it, is to ask for trouble when you try to port the code to another system that a) escapes in another way, or b) does not escape at all, the transparent way to handle quote are to quote them. This has been working for the last 40 to 50 years or

php-windows Digest 18 Feb 2004 07:13:25 -0000 Issue 2127

2004-02-17 Thread php-windows-digest-help
php-windows Digest 18 Feb 2004 07:13:25 - Issue 2127 Topics (messages 22873 through 22885): Replace of ' in a query 22873 by: carlos castillo 22874 by: Torsten Schabdach Re: HELP CSV's 22875 by: trystano.aol.com 22885 by: Svensson, B.A.T. (HKG) Re: [PHP] Rep

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
Is there some special reason that prevents you from trying to test this your self? And by the way, your message is off topic by light years in this e-mail list. -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 2004-02-17 20:56 S

[PHP-WIN] Patrick Roane has sent you an Evite

2004-02-17 Thread Patrick Roane
Patrick Roane has invited you to "Franklin's Kind show!". Click below to visit Evite for more information about the event and also to RSVP. http://www.evite.com/pages/invite/viewInvite.jsp?inviteId=XQNYSJAKFHYTNVBCQCVH&src=email **If you are having trouble viewing the above web address, copy

Re: [PHP-WIN] Re: Emailing via mail(), secondary servers

2004-02-17 Thread Justin Patrin
Manuel Lemos wrote: On 02/17/2004 07:26 PM, Justin Patrin wrote: However, I am more interested in legitimate users that download and try the code. This helps me test my code more intensively and iron any bugs or limitations much faster. I do not even wish or expect people to thank me. As long

Re: [PHP-WIN] Re: Emailing via mail(), secondary servers

2004-02-17 Thread Manuel Lemos
On 02/17/2004 11:11 PM, H Marc Bower wrote: -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Obviously, the "knowledge s*ckers" will not provide any valuable feedback. Actually some of them even come in public just to b*tch that I require them to login to download my stu

RE: [PHP-WIN] Re: Emailing via mail(), secondary servers

2004-02-17 Thread H Marc Bower
> -Original Message- > From: Manuel Lemos [mailto:[EMAIL PROTECTED] > >> Obviously, the "knowledge s*ckers" will not provide any valuable > >> feedback. Actually some of them even come in public just > to b*tch that > >> I require them to login to download my stuff. Some even threat to

Re: [PHP-WIN] Re: Emailing via mail(), secondary servers

2004-02-17 Thread Manuel Lemos
On 02/17/2004 07:26 PM, Justin Patrin wrote: However, I am more interested in legitimate users that download and try the code. This helps me test my code more intensively and iron any bugs or limitations much faster. I do not even wish or expect people to thank me. As long as they test the code

[PHP-WIN] Problem with PHP variables in url...

2004-02-17 Thread Leonardo Luarte
Hi, i Got 3 apache servers (same apache) with php 4.3.4 (same PHP also) 1 with Win98, another with 98SE, and another one with Win2k... but in neither of them i can send variables thru the URL, i.e. myscript.php?myvar=23 So the only way i have to make PHP work is by POSTed Variables wich not a

Re: [PHP-WIN] Re: Emailing via mail(), secondary servers

2004-02-17 Thread Justin Patrin
Once more into the breach. Manuel Lemos wrote: Hello, On 02/13/2004 08:13 AM, B.A.T. Svensson wrote: Why would you go watching TV in the neighbours house when you have your own TV working at home? Because of the usual reasons: they might have a bigger or better TV, or they might have a broad

[PHP-WIN] Re: [PHP] Replace of ' in a query

2004-02-17 Thread Brent Baisley
Look at the addslashes command. You should always escape the values you are accepting from user input. If you read almost any article on web site security, it will mention something called SQL injection among other things. This is a way to compromise your data. For instance, what if a user enter

[PHP-WIN] Re: [PHP] Replace of ' in a query

2004-02-17 Thread Chris Shiflett
--- carlos castillo <[EMAIL PROTECTED]> wrote: > Hi , i have the following problem, i have a form where a user can input > any text, on that text may be a char is ' char(39) when i try to execute > the sql query, i have an error for that ', i need to replace it for the > html tag, for example " is

Re: [PHP-WIN] HELP CSV's

2004-02-17 Thread trystano
If I was to save an excel file as CSV file, would the file then just contain a list of values (the excel cell values) delimited by commas? No column headings(assuming Excel allows column headings). Cheers Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP-WIN] Replace of ' in a query

2004-02-17 Thread Torsten Schabdach
Hi Carlos, you have to quote your string. Either: http://www.php.net/addslashes or, if you use a database, i.e. MySQL, it would be better to use this: http://www.php.net/mysql-escape-string Cheers Torsten -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP-WIN] Replace of ' in a query

2004-02-17 Thread carlos castillo
Hi , i have the following problem, i have a form where a user can input any text, on that text may be a char is ' char(39) when i try to execute the sql query, i have an error for that ', i need to replace it for the html tag, for example " is " or by chr(39) i dont know, and then execute the sql

php-windows Digest 17 Feb 2004 19:08:58 -0000 Issue 2126

2004-02-17 Thread php-windows-digest-help
php-windows Digest 17 Feb 2004 19:08:58 - Issue 2126 Topics (messages 22857 through 22872): Re: using backslash \ in php 22857 by: Duane Lakoduk 22867 by: Svensson, B.A.T. (HKG) Re: header-session problem 22858 by: Sudeep Sarath 22865 by: Svensson, B.A.T. (HK

[PHP-WIN] ID drscsn... thanks

2004-02-17 Thread mike
Yours ID axytvjnkif -- Thank <> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
On Tue, 2004-02-17 at 08:39, idrifter wrote: > As far as the newline characters I don't know if its > feasible for your particular project but you could > strip the newline characters out with something like > this: If the CSV file is proper formated, then Excel will be able to handle those new l

[PHP-WIN] Easy install for PHP5

2004-02-17 Thread cyruss
Hail folks, A friend of mine create an easy installer for PHP5. It is called WAMP5 (means what ??? ;) ) and you can acces by this website : http://www.wamp5.com/en/ The objectives is to have a "stable" version (+/- beta 4) and to make regulary some 'snaps'. We hope this can help people to track

RE: [PHP-WIN] header-session problem

2004-02-17 Thread Svensson, B.A.T. (HKG)
I gave three example solution, didn't I? But I can make up some more if you want, but then I need to bill you. On Tue, 2004-02-17 at 11:43, Sudeep Sarath wrote: > So, in your opinion there is no solution to this problem other than > switching over to Apache > > SuDeEp > > Yahoo! India Insuranc

RE: [PHP-WIN] header-session problem

2004-02-17 Thread Sudeep Sarath
So, in your opinion there is no solution to this problem other than switching over to Apache SuDeEp Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

RE: [PHP-WIN] using backslash \ in php

2004-02-17 Thread Svensson, B.A.T. (HKG)
And what happends with the backslaches if some idiot (read: user) makes this happens: $dummy = stripslashes("http:\\www.microsoft.hell\"); (Bill's web browser's accepts this syntax) -Original Message- From: Duane Lakoduk To: 'Harpreet'; 'php-windows' Sent: 17-2-2004 5:38 Subject: RE: [PH

RE: [PHP-WIN] Convert time

2004-02-17 Thread Svensson, B.A.T. (HKG)
That solution is like walking over the river to get water. -Original Message- From: Meteorlet Woody To: php-windows Sent: 17-2-2004 1:44 Subject: Re: [PHP-WIN] Convert time Harpreet,Hello! Another easy way like this: $min = Date('i', mktime(0, 0, $totsec, 0, 0, 2004));

RE: [PHP-WIN] header-session problem

2004-02-17 Thread Svensson, B.A.T. (HKG)
Well, I think the call was clear: Don't run php as a CGI app, or use Apache, or don't page forward. -Original Message- From: Sudeep Sarath To: [EMAIL PROTECTED] Sent: 17-2-2004 6:11 Subject: Re: [PHP-WIN] header-session problem No solution yet for my session-header problem S

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
By the way, I tested if Excel (2000) is able to handle new lines in tab delimited files. And it was not. On the other hand, Excel is able to handle new lines in CVS files. On Tue, 2004-02-17 at 10:24, Svensson, B.A.T. (HKG) wrote: > And what will then happen when you data contains tabs? > > > On

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
And what will then happen when you data contains tabs? On Tue, 2004-02-17 at 09:24, Angelo Zanetti wrote: > you could also delimit the fields by tab spaces (tab delimited) use > google... > > -Original Message- > From: dwight ian [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 17, 20

Re: [PHP-WIN] HELP CSV's

2004-02-17 Thread Svensson, B.A.T. (HKG)
The trivial standard solution is to quote the entries, and quote quotes inside the entires. On Tue, 2004-02-17 at 07:15, dwight ian wrote: > Good day to you All, > > Hi Im working on a project where it is nessary to download the values of the tables > in the database and > format them in csv

RE: [PHP-WIN] HELP CSV's

2004-02-17 Thread Angelo Zanetti
you could also delimit the fields by tab spaces (tab delimited) use google... -Original Message- From: dwight ian [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 8:16 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] HELP CSV's Good day to you All, Hi Im working on a project where