php-general Digest 25 Mar 2008 15:22:44 -0000 Issue 5367

2008-03-25 Thread php-general-digest-help
php-general Digest 25 Mar 2008 15:22:44 - Issue 5367 Topics (messages 272060 through 272074): question about linux editor 272060 by: Sudhakar 272061 by: Casey 272063 by: Mark Weaver 272064 by: Casey 272066 by: Nilesh Govindrajan 272067 by:

[PHP] Re: question about linux editor

2008-03-25 Thread Nilesh Govindrajan
Sudhakar wrote: i need to connect to the linux server using an editor. can anyone suggest which would be an ideal linux editor to connect to the server. apart from the ip address, username and password are there any other details i would need to connect to the server. please advice. thanks.

[PHP] Re: question about linux editor

2008-03-25 Thread Ross McKay
On Tue, 25 Mar 2008 11:28:07 +0900, Sudhakar wrote: i need to connect to the linux server using an editor. can anyone suggest which would be an ideal linux editor to connect to the server. Geany - http://geany.uvena.de/ Also look at: Quanta Plus - http://quanta.kdewebdev.org/ Bluefish -

[PHP] mysql joins

2008-03-25 Thread Steven Macintyre
I have three tables, namely; User - UID - Firstname - Surname - Tel - Cell - Email Tracker - UID - Points Winners - UID - Datetime (-00-00 00:00:00) I need to get the following information from the above tables (in my logical sense) All users from user with sum(points) as points and

Re: [PHP] mysql joins

2008-03-25 Thread Andrew Ballard
On Tue, Mar 25, 2008 at 8:20 AM, Steven Macintyre [EMAIL PROTECTED] wrote: I have three tables, namely; User - UID - Firstname - Surname - Tel - Cell - Email Tracker - UID - Points Winners - UID - Datetime (-00-00 00:00:00) I need to get the following

RES: [PHP] mysql joins

2008-03-25 Thread Thiago Pojda
not sure how timestamps work in MySQL, but I've written this in Oracle: CREATE TABLE USaR ( UsID char(255) null, Firstname char(255) NULL, Surname char(255) NULL, Tel char(255) NULL, Cell char(255) NULL, Email char(255) NULL ) / CREATE TABLE Tracker( UsID CHAR(255) NULL, Points

Re: [PHP] question about linux editor

2008-03-25 Thread Daniel Brown
On Mon, Mar 24, 2008 at 10:28 PM, Sudhakar [EMAIL PROTECTED] wrote: i need to connect to the linux server using an editor. can anyone suggest which would be an ideal linux editor to connect to the server. apart from the ip address, username and password are there any other details i would

Re: [PHP] Date math

2008-03-25 Thread Ron Piggott
Could someone then help me modify the PHP script so I won't have this timezone issue? I don't understand from looking at the date page on the PHP web site the change(s) I need to make. Thanks, Ron ? $date1 = strtotime($date1); $date2 = strtotime($date2); $factor = 86400; $difference =

RE: [PHP] question about linux editor

2008-03-25 Thread Jay Blanchard
[snip] i need to connect to the linux server using an editor. can anyone suggest [/snip] I use Putty to connect and then call all sorts of command line editors. I may have Putty windows open to many servers at once. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Why won't this query work?

2008-03-25 Thread Zoltán Németh
2008. 03. 24, hétfő keltezéssel 14.40-kor Daniel Brown ezt írta: On Mon, Mar 24, 2008 at 2:29 PM, Jason Pruim [EMAIL PROTECTED] wrote: It's already been escaped, $business is pulled out of the database after they log in. :) I don't care, Prune. (I still get a kick out of

Re: [PHP] Manipulating PDF

2008-03-25 Thread Zoltán Németh
2008. 03. 23, vasárnap keltezéssel 11.57-kor tedd ezt írta: At 4:36 PM +0100 3/23/08, Aschwin Wesselius wrote: Again, I'm not after PHPLib or FPDF, since these libraries are either old or insufficient for what I want. Hey, don't discount old things. :-) I can do just about anything I

Re: [PHP] Date math

2008-03-25 Thread Casey
(top-posting!) Add either the round function or ceil function. On Mar 25, 2008, at 6:47 AM, Ron Piggott [EMAIL PROTECTED] wrote: Could someone then help me modify the PHP script so I won't have this timezone issue? I don't understand from looking at the date page on the PHP web site

Re: [PHP] question about linux editor

2008-03-25 Thread Wolf
Sudhakar [EMAIL PROTECTED] wrote: i need to connect to the linux server using an editor. can anyone suggest which would be an ideal linux editor to connect to the server. apart from the ip address, username and password are there any other details i would need to connect to the server.

[PHP] tidy configuration disabled still html is generated

2008-03-25 Thread Nilesh Govindrajan
I have tried everything. setting tidy.clean_output = Off or 0 in php.ini OR using ini_set but still tidy makes a plaintext file html. help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql joins

2008-03-25 Thread Wolf
Steven Macintyre [EMAIL PROTECTED] wrote: I have three tables, namely; User - UID - Firstname - Surname - Tel - Cell - Email Tracker - UID - Points Winners - UID - Datetime (-00-00 00:00:00) I need to get the following information from the above tables (in my

[PHP] tidy configuration disabled still html is generated solved

2008-03-25 Thread Nilesh Govindrajan
Nilesh Govindrajan wrote: I have tried everything. setting tidy.clean_output = Off or 0 in php.ini OR using ini_set but still tidy makes a plaintext file html. help. I am sorry. :) It was a silly problem. FIXED. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] tidy configuration disabled still html is generated

2008-03-25 Thread Wolf
Nilesh Govindrajan [EMAIL PROTECTED] wrote: I have tried everything. setting tidy.clean_output = Off or 0 in php.ini OR using ini_set but still tidy makes a plaintext file html. help. Contact the creators of Tidy -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] tidy configuration disabled still html is generated

2008-03-25 Thread Nilesh Govindrajan
Wolf wrote: Nilesh Govindrajan [EMAIL PROTECTED] wrote: I have tried everything. setting tidy.clean_output = Off or 0 in php.ini OR using ini_set but still tidy makes a plaintext file html. help. Contact the creators of Tidy I told na it was a silly problem. didn't you get

Re: [PHP] tidy configuration disabled still html is generated

2008-03-25 Thread Wolf
Nilesh Govindrajan [EMAIL PROTECTED] wrote: Wolf wrote: Nilesh Govindrajan [EMAIL PROTECTED] wrote: I have tried everything. setting tidy.clean_output = Off or 0 in php.ini OR using ini_set but still tidy makes a plaintext file html. help. Contact the

Re: [PHP] Beware of round() function

2008-03-25 Thread Kirk . Johnson
Thanks for the info, Jeremy. Regardless of the technical details, my code still broke. I am little discouraged that an operation that should be so simple has these sorts of gotchas. BTW, I ended up casting to int as my solution. Kirk Jeremy Privett [EMAIL PROTECTED] wrote on 03/24/2008

Re: [PHP] question about linux editor

2008-03-25 Thread Ray Hauge
Sudhakar wrote: i need to connect to the linux server using an editor. can anyone suggest which would be an ideal linux editor to connect to the server. apart from the ip address, username and password are there any other details i would need to connect to the server. please advice. thanks.

Re: [PHP] losing session in new window (IE only) [WAS: loosing...]

2008-03-25 Thread Paul Novitski
At 3/25/2008 12:49 PM, Lamp Lists wrote: i have a list of people on one page. each row, on the end has link a href=person.php?id=123 target=_blankview details/a. it's requested to open detail page in new window. very few people complained they can't open detail page. all of them use IE. Try

Re: [PHP] losing session in new window (IE only) [WAS: loosing...]

2008-03-25 Thread Lamp Lists
- Original Message From: Paul Novitski [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, March 25, 2008 3:05:43 PM Subject: Re: [PHP] losing session in new window (IE only) [WAS: loosing...] At 3/25/2008 12:49 PM, Lamp Lists wrote: i have a list of people on one page. each

[PHP] loosing session in new window (IE only)

2008-03-25 Thread Lamp Lists
hi, i have a list of people on one page. each row, on the end has link a href=person.php?id=123 target=_blankview details/a. it's requested to open detail page in new window. very few people complained they can't open detail page. all of them use IE. I wasn't able to reproduce the error, though

Re: [PHP] loosing session in new window (IE only)

2008-03-25 Thread Andrew Ballard
On Tue, Mar 25, 2008 at 3:49 PM, Lamp Lists [EMAIL PROTECTED] wrote: hi, i have a list of people on one page. each row, on the end has link a href=person.php?id=123 target=_blankview details/a. it's requested to open detail page in new window. very few people complained they can't open

Re: [PHP] loosing session in new window (IE only)

2008-03-25 Thread Lamp Lists
- Original Message From: Andrew Ballard [EMAIL PROTECTED] To: PHP General list php-general@lists.php.net Sent: Tuesday, March 25, 2008 3:41:35 PM Subject: Re: [PHP] loosing session in new window (IE only) On Tue, Mar 25, 2008 at 3:49 PM, Lamp Lists [EMAIL PROTECTED] wrote: hi, i have

[PHP] testing

2008-03-25 Thread PHP General Users Mailing List
testing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] testing

2008-03-25 Thread Mark Weaver
PHP General Users Mailing List wrote: testing so I wasn't imagining things then? -- Mark - the rule of law is good, however the rule of tyrants just plain sucks! Real Tax Reform begins with getting rid of the IRS. == Powered

[PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
Hi all, I suspect I already know part of the answer to this, but I'm not sure which way to go with it. I've got a project I'm working on and one of the things it's got to do is set cookies and then read them later. When the app was first written I was doing everything in PERL and cookies are

[PHP] session var not changed if file not found error

2008-03-25 Thread Eric Wood
This has baffled me all day on my FC6 php-5.1.6 based server. On a normal working page, I set a session variable at the top and another session variable in the middle of the page/script. This page has no errors nor missing links. So everything works great. Now, if I cause at least 1 image

Re: [PHP] session var not changed if file not found error

2008-03-25 Thread Daniel Brown
On Tue, Mar 25, 2008 at 9:29 PM, Eric Wood [EMAIL PROTECTED] wrote: This has baffled me all day on my FC6 php-5.1.6 based server. On a normal working page, I set a session variable at the top and another session variable in the middle of the page/script. This page has no errors nor

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Andrew Ballard
On Tue, Mar 25, 2008 at 9:31 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Tue, Mar 25, 2008 at 9:11 PM, Mark Weaver [EMAIL PROTECTED] wrote: Hi all, [snip!] Cookie Test Page == if (isset($_COOKIE[cookiename])){ list($first,$second,$third) =

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Casey
On Mar 25, 2008, at 6:11 PM, Mark Weaver [EMAIL PROTECTED] wrote: Hi all, I suspect I already know part of the answer to this, but I'm not sure which way to go with it. I've got a project I'm working on and one of the things it's got to do is set cookies and then read them later. When

Re: [PHP] session var not changed if file not found error

2008-03-25 Thread Eric Wood
Daniel Brown wrote: Also, check and see what is included in the 404 response. Is it a custom page? Right-click the missing image and click view image to view the configured 404 response. There may be a page that is instantiating its own session, destroying all sessions, or doing

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Daniel Brown
On Tue, Mar 25, 2008 at 9:11 PM, Mark Weaver [EMAIL PROTECTED] wrote: Hi all, [snip!] Cookie Test Page == if (isset($_COOKIE[cookiename])){ list($first,$second,$third) = explode('|',$_COOKIE[cookiename]); echo pI found your cookie/p\n;

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
Andrew Ballard wrote: On Tue, Mar 25, 2008 at 9:31 PM, Daniel Brown [EMAIL PROTECTED] wrote: On Tue, Mar 25, 2008 at 9:11 PM, Mark Weaver [EMAIL PROTECTED] wrote: Hi all, [snip!] Cookie Test Page == if (isset($_COOKIE[cookiename])){

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Andrew Ballard
On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver [EMAIL PROTECTED] wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's so much to learn. It seems that Java was easier. ;) That's not specific to PHP. It's just how http works, so it's the same for ASP, Perl, I suspect

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Casey
On Mar 25, 2008, at 7:12 PM, Andrew Ballard [EMAIL PROTECTED] wrote: On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver [EMAIL PROTECTED] wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's so much to learn. It seems that Java was easier. ;) That's not specific to

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
Andrew Ballard wrote: On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver [EMAIL PROTECTED] wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's so much to learn. It seems that Java was easier. ;) That's not specific to PHP. It's just how http works, so it's the same for

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Andrew Ballard
On Tue, Mar 25, 2008 at 10:19 PM, Casey [EMAIL PROTECTED] wrote: On Mar 25, 2008, at 7:12 PM, Andrew Ballard [EMAIL PROTECTED] wrote: On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver [EMAIL PROTECTED] wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Jim Lucas
Mark Weaver wrote: Andrew Ballard wrote: On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver [EMAIL PROTECTED] wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's so much to learn. It seems that Java was easier. ;) That's not specific to PHP. It's just how http works,

Re: [PHP] Cookie Trouble: getting the information back out...

2008-03-25 Thread Mark Weaver
Jim Lucas wrote: Mark Weaver wrote: Andrew Ballard wrote: On Tue, Mar 25, 2008 at 9:59 PM, Mark Weaver [EMAIL PROTECTED] wrote: Thank you Andrew... Now it all makes perfect sense. Good grief! there's so much to learn. It seems that Java was easier. ;) That's not specific to PHP. It's