Re: [PHP] Session data lost in Firefox

2012-10-26 Thread Andrew Ballard
On Fri, Oct 26, 2012 at 8:49 AM, John Boy serv...@greenholdings.co.ukwrote: Hi I have a wesite where PHP session data is passed page to page then shells out to Paypal for payment then back to my website for completion of transaction and update of mysql file. When using Firefox our session

Re: [PHP] Session data lost in Firefox

2012-10-26 Thread John Boy
Looks like it was a corrupted Paypal cookie lurking about on my test machine. Clearing all Paypal cookies cured the problem. Hours can be spent looking for needles like this in a very complex haystack and it turns out to be the simplest solution that's not even related directly to the programming.

Re: [PHP] Session data lost in Firefox

2012-10-26 Thread Andrew Ballard
On Fri, Oct 26, 2012 at 12:12 PM, John Boy serv...@greenholdings.co.ukwrote: Looks like it was a corrupted Paypal cookie lurking about on my test machine. Clearing all Paypal cookies cured the problem. Hours can be spent looking for needles like this in a very complex haystack and it turns

Re: [PHP] Secure data management

2011-10-04 Thread Stuart Dallas
On 4 Oct 2011, at 20:23, Jim Giner wrote: I thought I knew how to do this. I have a form that collects some data fields. My script checks if magic quotes are off and (since they are) executes addslashes on each input field. Then I run a query to INSERT these 'slashed' vars into the

Re: [PHP] Secure data management

2011-10-04 Thread Jim Giner
Stuart Dallas stu...@3ft9.com wrote in message news:da8b3499-4d11-4053-9834-68b34d030...@3ft9.com... 1. Why are you using addslashes? 2. MySQL will strip one level of backslashes. * I thought you were supposed to do an addslashes to protect your appl from malicious d/e. Did not know

Re: [PHP] Secure data management

2011-10-04 Thread Jeremiah Dodds
On Tue, Oct 4, 2011 at 2:44 PM, Jim Giner jim.gi...@albanyhandball.com wrote: I thought you were supposed to do an addslashes to protect your appl from malicious d/e. To protect your app from malicious stuff going to SQL queries, you should be using prepared statements, see

Re: [PHP] Secure data management

2011-10-04 Thread Stuart Dallas
On 4 Oct 2011, at 20:44, Jim Giner wrote: Stuart Dallas stu...@3ft9.com wrote in message news:da8b3499-4d11-4053-9834-68b34d030...@3ft9.com... 1. Why are you using addslashes? 2. MySQL will strip one level of backslashes. * I thought you were supposed to do an addslashes to

Re: [PHP] Filtering data not with mysql...

2011-05-19 Thread Andre Polykanine
Hi Richard, Oh my... I hate those pdf's :-(( Could someone tell me in some words what do I need to do beside mysql_real_escape_string() and Html input sanitizing? Thanks and sorry for the inconvenience) -- With best regards from Ukraine, Andre Skype: Francophile My blog:

RE: [PHP] Filtering data not with mysql...

2011-05-19 Thread admin
[mailto:an...@oire.org] Sent: Thursday, May 19, 2011 7:38 AM To: ad...@buskirkgraphics.com Cc: 'Jason Pruim'; php-general@lists.php.net Subject: Re: [PHP] Filtering data not with mysql... Hi Richard, Oh my... I hate those pdf's :-(( Could someone tell me in some words what do I need to do

Re: [PHP] Filtering data not with mysql...

2011-05-19 Thread tedd
At 2:38 PM +0300 5/19/11, Andre Polykanine wrote: Oh my... I hate those pdf's :-(( Could someone tell me in some words what do I need to do beside mysql_real_escape_string() and Html input sanitizing? Thanks and sorry for the inconvenience) Hi: Here is part of what I wrote for my PHP

Re: [PHP] Filtering data not with mysql...

2011-05-19 Thread Alex Nikitin
For input sanitizing, and this will be helpful to anyone who writes code, listen to dan kaminsky's keynote at The Next Hope. He did a very good job at explaining the landscape of web programming and the essence of SQL injection and XSS, as well as proposed pretty neat ways to fix these. If you

RE: [PHP] Filtering data not with mysql...

2011-05-18 Thread admin
To quote Jonathan Well, mysql_real_escape_string doesn't protect against sql injections more than addslashes, but that's not the reason you use it. addslashes() was from the developers of PHP whereas mysql_real_escape_string uses the underlying MySQL C++ API (i.e. from the developers of MySQL).

Re: [PHP] Filtering data not with mysql...

2011-05-18 Thread Adam Richardson
On Wed, May 18, 2011 at 9:18 PM, Jason Pruim li...@pruimphotography.comwrote: Hey Everyone, Probably a simple question but I wanted to make sure I was right before I got to far ahead of my self I have a form that I am working on and this form will be emailed to the recipient for

Re: [PHP] Filtering data not with mysql...

2011-05-18 Thread Adam Richardson
On Wed, May 18, 2011 at 10:46 PM, Adam Richardson simples...@gmail.comwrote: I'm a security expert by any means, as I've made mistakes in the past that have provided education the hard way! Just to be very clear, this is a mistake (as the rest of the sentence implies), and it should have

RE: [PHP] accessing data from an array within an array.

2011-05-07 Thread admin
I would suggest you print out the array to get a better understanding of the structure first. Print_r('PRE'); Print_r($array); Print_r('PRE'); You can foreach over the $array['row'] Foreach($array['row'] as $key=$values) { Echo $values.PHP_EOL; } Richard L.

Re: [PHP] accessing data from an array within an array.

2011-05-07 Thread Adam Preece
hi, worked it out, thankyou. On 7 May 2011, at 16:57, ad...@buskirkgraphics.com wrote: I would suggest you print out the array to get a better understanding of the structure first. Print_r('PRE'); Print_r($array); Print_r('PRE'); You can foreach over the $array['row']

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-21 Thread Nazish Zafar
Thanks! -- I'll definitely look into Netbeans. (The IDE that I was using didn't seem to recognize syntax errors.) On Mon, Feb 21, 2011 at 4:13 AM, Pete Ford p...@justcroft.com wrote: Nazish, Find yourself an editor or development environment that does source code highlighting - this sort

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Daniel Brown
On Sun, Feb 20, 2011 at 12:55, Daniel Brown danbr...@php.net wrote: On Sun, Feb 20, 2011 at 12:53, Daniel Brown danbr...@php.net wrote:    If the value isn't that of your database password, there's your problem: register_globals.  A simpler way is to check the output of phpinfo(); to see if

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Nazish
Update: I added echo statements after mysql_connect and mysql_select_db to check where the code was broken. These statements show up on the login.php page after submitting the form, which means the MySQL connection works. So, the problem seems to lie with the *$insert *query... ideas? On Sun,

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Nazish
). ' The double quote is in the wrong place. -Original Message- From: Nazish [mailto:naz...@gmail.com] Sent: Sunday, February 20, 2011 3:54 PM To: php-general@lists.php.net Subject: Re: [PHP] Submitting data to MySQL database using HTML/PHP form Update: I added echo statements after

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Andre Polykanine
Hello Nazish, Try to do the following in your login.php: ?php print_r($_POST); // assign your variables echo br$loginbr$passwordbr$insertbr; So we'll see the result. -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Andre Polykanine
Hello Nazish, Echo the $insert variable. -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Nazish

RE: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread admin
, February 20, 2011 3:54 PM To: php-general@lists.php.net Subject: Re: [PHP] Submitting data to MySQL database using HTML/PHP form Update: I added echo statements after mysql_connect and mysql_select_db to check where the code was broken. These statements show up on the login.php page after

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Tamara Temple
I'm wondering if anyone is going to comment on the transmittal and storage of plain text passwords -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Submitting data to MySQL database using HTML/PHP form

2011-02-20 Thread Andre Polykanine
Hello Tamara, :-)) I assume that was a testcase... -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From:

Re: [PHP] session data

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 21:54 +0100, Colin Finnis wrote: I'm having a problem with session data. I have a login setup which holds the user ID and password in the session data once the user has initially logged in. When the user goes to a new page or accesses a pop up window the users session

Re: [PHP] Validation data - question

2009-06-24 Thread Per Jessen
Dušan Novaković wrote: Hi guys, Does anyone know how to write validation for data witch contains letters such as šđčćž (those are Serbian letters)? Here is part of my code where it does validation: $admins_validation = array('name' = '/^[[:alnum:][:punct:][:space:]]{1,50}$/',

Re: [PHP] Persistent data between two executions

2009-06-17 Thread LinuxManMikeC
(Man, this reply-all takes some getting used to...) As long as your objects don't contain any reference variables (see manual) you can just assign the object to an element of $_SESSION and leave it at that. The session management code takes care of the serialization. So you're just duplicating

Re: [PHP] Persistent data between two executions

2009-06-16 Thread Martin Scotta
You can use $_SESSION to store the object, and serialize to convert to string and reverse http://ar2.php.net/manual/en/language.oop.serialization.php // file one.php require 'user.php'; $user = new User(); $_SESSION[ 'user' ] = serialize( $user ); // file two.php require 'user.php'; // the

Re: [PHP] Persistent data between two executions

2009-06-16 Thread James Colannino
Martin Scotta wrote: You can use $_SESSION to store the object, and serialize to convert to string and reverse I like that idea. I think I may end up going that route. I have one question. This is VERY hypothetical, and mostly just to satisfy a curiosity, but let's assume that you write an

Re: [PHP] Comparing data - big file

2009-06-01 Thread Per Jessen
דניאל דנון wrote: As continuation to my last question, I got another one. a brief summary: I had to process a file that contains 700,000 lines, each line contained some data (lets assume each line was like: name|age|work|lastaccessed) age contains the person's age in time() format, how

[PHP] re[PHP] moving data from old users (session_set_save_handler ??)

2009-05-20 Thread pere roca
hi all, I need to remove data when user leaves my webapplication. I fire an unload event (that calls a php script) but sometimes fails, so I need a more secure option. I wonder if session_set_save_handler is what I need. I think so but not sure. So, EVEN if the user leaves my webapplication,

[PHP] re[PHP] moving data from old users (session_set_save_handler ??)

2009-05-13 Thread pere roca
hi all, I need to remove data when user leaves my webapplication. I fire an unload event (that calls a php script) but sometimes fails, so I need a more secure option. I wonder if session_set_save_handler is what I need. I think so but not sure. So, EVEN if the user leaves my webapplication,

Re: [PHP] Session data files

2009-05-09 Thread phphelp -- kbk
Thanks, Tom - - On May 8, 2009, at 12:37 PM, Tom Worster wrote: On 5/8/09 11:09 AM, phphelp -- kbk phph...@comcast.net wrote: Just something I'm curious about: When I run PHP on my development box (W2K), I just get one session file per connection which gets deleted (usually) after the

Re: [PHP] Session data files

2009-05-08 Thread Tom Worster
On 5/8/09 11:09 AM, phphelp -- kbk phph...@comcast.net wrote: Just something I'm curious about: When I run PHP on my development box (W2K), I just get one session file per connection which gets deleted (usually) after the session expires. When I look at the session files on the client

Re: [PHP] URL data decoding problem

2009-04-21 Thread Ashley Sheridan
On Tue, 2009-04-21 at 08:39 +0200, Anders Norrbring wrote: I'm working on a PayPal IPN module, and PayPal returns a lot of data in a GET call. The problem is that international characters entered by a user on the PayPal site gets encoded really weird, and I don't see an obvious way to decode

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-11 Thread Shawn McKenzie
tedd wrote: At 9:12 PM -0700 4/9/09, Jim Lucas wrote: tedd wrote: At 5:03 PM +0200 4/9/09, Jan G.B. wrote: You might want to use htmlspecialchars($str, ENT_QUOTES) OUT from db to html and mysql_real_escape_string(stripslashes($_POST['yourself'])); The above tells me that you probably

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-11 Thread Shawn McKenzie
tedd wrote: I think you want to look for magic_quotes_gpc -- Thanks! -Shawn -Shawn: You were right. I'll fix it. Thanks, tedd I normally have a prep4display() and prep4store() type function that do all of the sensitization/prep for either storing or displaying. So

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-11 Thread Shawn McKenzie
Shawn McKenzie wrote: tedd wrote: I think you want to look for magic_quotes_gpc -- Thanks! -Shawn -Shawn: You were right. I'll fix it. Thanks, tedd I normally have a prep4display() and prep4store() type function that do all of the sensitization/prep for either storing or

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-10 Thread tedd
At 9:12 PM -0700 4/9/09, Jim Lucas wrote: tedd wrote: At 5:03 PM +0200 4/9/09, Jan G.B. wrote: You might want to use htmlspecialchars($str, ENT_QUOTES) OUT from db to html and mysql_real_escape_string(stripslashes($_POST['yourself'])); The above tells me that you probably need to

Re: [PHP] Escape Data In/Out of db

2009-04-09 Thread Jan G.B.
2009/4/9 tedd t...@sperling.com: Hi gang: -.- I'm gathering information from a user, storing that data in a db, and then showing it back to the user. It's a simple process and can bee seen here in this address book demo (not real people): http://php1.net/a/edit-db-demo I gather

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-09 Thread tedd
At 5:03 PM +0200 4/9/09, Jan G.B. wrote: You might want to use htmlspecialchars($str, ENT_QUOTES) OUT from db to html and mysql_real_escape_string(stripslashes($_POST['yourself'])); IN to db from html Thanks, that worked. Cheers, tedd -- --- http://sperling.com

Re: [PHP] Escape Data In/Out of db [solved]

2009-04-09 Thread Jim Lucas
tedd wrote: At 5:03 PM +0200 4/9/09, Jan G.B. wrote: You might want to use htmlspecialchars($str, ENT_QUOTES) OUT from db to html and mysql_real_escape_string(stripslashes($_POST['yourself'])); The above tells me that you probably need to look at your magic quotes setting. Typically,

Re: [PHP] XML data extraction

2009-04-02 Thread Peter Ford
Andrew Williams wrote: Best All, How can you best and accurately extract XLM data to DB table. e.g.: EXCHANGE_LIST AMOUNT=3 - EXCHANGE ID_EXCHANGE20/ID_EXCHANGE CODE_EXCHANGEFRA/CODE_EXCHANGE NAME_EXCHANGEFrankfurt/NAME_EXCHANGE /EXCHANGE - EXCHANGE ID_EXCHANGE28/ID_EXCHANGE

Re: [PHP] XML data extraction

2009-04-02 Thread Peter Ford
Andrew Williams wrote: Best All, How can you best and accurately extract XLM data to DB table. e.g.: EXCHANGE_LIST AMOUNT=3 - EXCHANGE ID_EXCHANGE20/ID_EXCHANGE CODE_EXCHANGEFRA/CODE_EXCHANGE NAME_EXCHANGEFrankfurt/NAME_EXCHANGE /EXCHANGE - EXCHANGE ID_EXCHANGE28/ID_EXCHANGE

Re: [PHP] XML data extraction

2009-04-02 Thread Per Jessen
Andrew Williams wrote: Best All, How can you best and accurately extract XLM data to DB table. e.g.: Use XSLT to generate SQL INSERT statements. /Per -- Per Jessen, Zürich (11.3°C) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML data extraction

2009-04-02 Thread Igor Escobar
@Jessen I read your answer and... You have any article speaking about that you are saying? Regards, Igor Escobar systems analyst interface designer www . igorescobar . com On Thu, Apr 2, 2009 at 8:38 AM, Per Jessen p...@computer.org wrote: Andrew Williams wrote: Best All, How can you

Re: [PHP] XML data extraction

2009-04-02 Thread Per Jessen
Igor Escobar wrote: @Jessen I read your answer and... You have any article speaking about that you are saying? Hi Igor I don't have anything handy, but there's plenty of good material on the internet about XSLT. The main point is - XSLT is just reformatting the data from XML format to a

Re: [PHP] Importing Data with Field Names

2009-03-20 Thread Ashley Sheridan
On Fri, 2009-03-20 at 13:46 -0700, revDAVE wrote: Newbie... I have phpmyadmin... I'm basically looking for a quick way to import records and avoid hand- typing many field names (I can set the field types later) Is there a way to import into mySql with let's say a csv file - (or Tab

Re: [PHP] Importing Data with Field Names

2009-03-20 Thread Michael A. Peters
revDAVE wrote: Newbie... I have phpmyadmin... I'm basically looking for a quick way to import records and avoid hand- typing many field names (I can set the field types later) Is there a way to import into mySql with let's say a csv file - (or Tab delimited file) and have the first row be

Re: [PHP] Importing Data with Field Names

2009-03-20 Thread Jim Lucas
revDAVE wrote: Newbie... I have phpmyadmin... I'm basically looking for a quick way to import records and avoid hand- typing many field names (I can set the field types later) Is there a way to import into mySql with let's say a csv file - (or Tab delimited file) and have the first row be

Re: [PHP] verify data in fields

2009-03-09 Thread haliphax
On Sun, Mar 8, 2009 at 4:52 PM, PJ af.gour...@videotron.ca wrote: Ashley Sheridan wrote: On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know how to verify what exactly is the data... is it an array, an integer, an alphanumeric character or what?

Re: [PHP] verify data in fields

2009-03-08 Thread Ashley Sheridan
On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know how to verify what exactly is the data... is it an array, an integer, an alphanumeric character or what? vardump($whatever) returns null; the structure of the table is no null for the column fields and

Re: [PHP] verify data in fields

2009-03-08 Thread PJ
Ashley Sheridan wrote: On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know how to verify what exactly is the data... is it an array, an integer, an alphanumeric character or what? vardump($whatever) returns null; the structure of the table is no

Re: [PHP] verify data in fields

2009-03-08 Thread George Larson
Ash certainly does raise an interesting point. :) Couldn't you just use DESCRIBE or EXPLAIN the tables through MySQL? On Sun, Mar 8, 2009 at 4:35 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know

[PHP] Re: [PHP-DB] data from db to a page and then to another page

2009-01-07 Thread Dan Shirah
On Wed, Jan 7, 2009 at 4:54 AM, Mika Jaaksi mika.jaa...@gmail.com wrote: I already can get the data from database to a page. Now I want to make link from that data to next page and on that new page it should show all the data that is related. example: data from database -- page1 where

[PHP] Re: [PHP-DB] data from db to a page and then to another page

2009-01-07 Thread Shawn McKenzie
Dan Shirah wrote: On Wed, Jan 7, 2009 at 4:54 AM, Mika Jaaksi mika.jaa...@gmail.com wrote: I already can get the data from database to a page. Now I want to make link from that data to next page and on that new page it should show all the data that is related. example: data from

Re: [PHP] Posting Data?

2009-01-02 Thread Jim Lucas
Stephen Alistoun wrote: Hi all, I have my own register system and I want to Post my values from my register system and post those values into the punbb register form. I do not want to register my values from the punbb form but rather from my login system. How would i be able to do

Re: [PHP] clean data

2008-10-28 Thread Bastien Koert
On Mon, Oct 27, 2008 at 9:53 PM, Micah Gersten [EMAIL PROTECTED] wrote: In that case, I suggest you look to the MySQL lists for tips on handling data coming in. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com blackwater dev wrote: Yes, I agree but

Re: [PHP] clean data

2008-10-27 Thread Micah Gersten
Are you using MySQL abstraction? That's the easiest way to control what data goes into your DB in a central place. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com blackwater dev wrote: I have a project now where we would like to properly remove unwanted

Re: [PHP] clean data

2008-10-27 Thread blackwater dev
Yes, I agree but the code I am inheriting doesn't use abstraction unfortunately. On Mon, Oct 27, 2008 at 9:38 PM, Micah Gersten [EMAIL PROTECTED] wrote: Are you using MySQL abstraction? That's the easiest way to control what data goes into your DB in a central place. Thank you, Micah

Re: [PHP] clean data

2008-10-27 Thread Micah Gersten
In that case, I suggest you look to the MySQL lists for tips on handling data coming in. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com blackwater dev wrote: Yes, I agree but the code I am inheriting doesn't use abstraction unfortunately. On Mon, Oct

Re: [PHP] export data to a ms excel file using php

2008-10-23 Thread gopi krishnan
Hi, Could any one explain better. I need just the grid lines for the excel sheet. I already tried that table border=1 but it shows the linings only to the valued cells. But i need to show the grid as in MS Excel. I tried TEXT/XML but i get the following error --- The XML

RE: [PHP] export data to a ms excel file using php

2008-10-23 Thread Jay Blanchard
[snip] Could any one explain better. I need just the grid lines for the excel sheet. I already tried that table border=1 but it shows the linings only to the valued cells. But i need to show the grid as in MS Excel. I tried TEXT/XML but i get the following error [/snip]

Re: [PHP] export data to a ms excel file using php

2008-10-23 Thread gopi krishnan
Dear all, I found the solution for my problem. try this core... --- ?php #Setting MIME Type in header /*header(Content-Type: application/vnd.ms-excel); */ header(Content-Type:

Re: [PHP] export data to a ms excel file using php

2008-10-23 Thread Yeti
I'm not into MS Office, but isn't there some weird Office XML format since Office 2007? At MSDN I could find a nice description of the wannabe standard [1]. So if the new Excel can take XML it wouldn't be too difficult to export the data I guess. [1]

RE: [PHP] export data to a ms excel file using php

2008-10-23 Thread Boyd, Todd M.
-Original Message- From: Yeti [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 9:36 AM To: gopi krishnan; PHP - General Subject: Re: [PHP] export data to a ms excel file using php I'm not into MS Office, but isn't there some weird Office XML format since Office 2007

Re: [PHP] export data to a ms excel file using php

2008-10-23 Thread Jim Lucas
gopi krishnan wrote: Dear all, I found the solution for my problem. try this core... --- ?php #Setting MIME Type in header /*header(Content-Type:

Re: [PHP] export data to a ms excel file using php

2008-10-23 Thread Ashley Sheridan
On Thu, 2008-10-23 at 13:05 +0530, gopi krishnan wrote: Hi, Could any one explain better. I need just the grid lines for the excel sheet. I already tried that table border=1 but it shows the linings only to the valued cells. But i need to show the grid as in MS Excel. I tried TEXT/XML but

Re: [PHP] export data to a ms excel file using php

2008-10-22 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Hi, I have tried your MS-Excel MIME type in PHP. But am facing a small problem. I can't get the grid lines as look like in normal Excel file. Am using windows XP, Internet explorer 6.0, MS Excel 2003 Thanks in advance.-- Jim Lucas wrote : abderrazzak nejeoui

Re: [PHP] export data to a ms excel file using php

2008-10-22 Thread Ashley Sheridan
On Wed, 2008-10-22 at 11:20 -0700, Jim Lucas wrote: [EMAIL PROTECTED] wrote: Hi, I have tried your MS-Excel MIME type in PHP. But am facing a small problem. I can't get the grid lines as look like in normal Excel file. Am using windows XP, Internet explorer 6.0, MS Excel 2003

Re: [PHP] export data to a ms excel file using php

2008-10-22 Thread Nitsan Bin-Nun
And what about users who use office version 2003 (which do NOT support .xml charts) You can google a bit, I'm pretty sure I have already encountered a class for this case at Manuel's site (phpclasses). Nitsan On Wed, Oct 22, 2008 at 9:00 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Wed,

Re: [PHP] export data to a ms excel file using php

2008-10-22 Thread ceo
The easiest solution is to output CSV, and use the Content-type to force it to be eXcel. Excel will suck the CSV in just fine, with minimal hassle by the user. It also makes a file that is useful for many more applications, not just Excel. -- PHP General Mailing List

Re: [PHP] export data to a ms excel file using php

2008-10-22 Thread Ashley Sheridan
On Wed, 2008-10-22 at 22:04 +, [EMAIL PROTECTED] wrote: The easiest solution is to output CSV, and use the Content-type to force it to be eXcel. Excel will suck the CSV in just fine, with minimal hassle by the user. It also makes a file that is useful for many more

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-28 Thread tedd
At 9:29 AM +0800 9/28/08, Shelley wrote: 2008/9/28 tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] At 1:06 PM +0800 9/27/08, Shelley wrote: 2008/9/26 tedd mailto:mailto:[EMAIL PROTECTED][EMAIL PROTECTED]mailto:[EMAIL PROTECTED][EMAIL PROTECTED] there are three that you apparently don't know.

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-27 Thread tedd
At 1:06 PM +0800 9/27/08, Shelley wrote: 2008/9/26 tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] there are three that you apparently don't know. ??? What is three, excuse me? You say in your link: 20-24 Your are an expert blah blah... So you know 24 of them. I say there are 27 -- so, the

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-27 Thread Shelley
2008/9/28 tedd [EMAIL PROTECTED] At 1:06 PM +0800 9/27/08, Shelley wrote: 2008/9/26 tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] there are three that you apparently don't know. ??? What is three, excuse me? You say in your link: 20-24 Your are an expert blah blah... So you know 24

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-26 Thread Robert Cummings
On Fri, 2008-09-26 at 14:02 +0800, Shelley wrote: Fyi, The interpretation of the score is added. Welcome to check your programming knowledge level: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test :) From the interpretation: 20–24 You are an expert

Re: [PHP] The Data Literacy Test

2008-09-26 Thread Tom Chubb
2008/9/24 Shelley [EMAIL PROTECTED] http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test The Data Literacy Test: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test -- With best regards, Shelley Shyan http://www.phparch.cn WTF! Don't you

Re: [PHP] The Data Literacy Test

2008-09-26 Thread Nathan Rixham
Tom Chubb wrote: 2008/9/24 Shelley [EMAIL PROTECTED] http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test The Data Literacy Test: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test -- With best regards, Shelley Shyan http://www.phparch.cn

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-26 Thread tedd
At 2:02 PM +0800 9/26/08, Shelley wrote: Fyi, The interpretation of the score is added. Welcome to check your programming knowledge level: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test :) The answer as I see it is 27. While we both agree that elongated stream,

Re: [PHP] The Data Literacy Test

2008-09-26 Thread Philip Thompson
On Sep 24, 2008, at 8:22 PM, Shelley wrote: 2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote:

Re: [PHP] The Data Literacy Test

2008-09-26 Thread Shelley
yeah, already saw that. 2008/9/26 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 8:22 PM, Shelley wrote: 2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed,

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-26 Thread Shelley
Actually, I think the author meant that you already read through those books and learned those terms, rather than mean that you are cheating on the test. As the author recommended you read the books listed below if you are not an expert yet. Those recommended books are also added on the

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-26 Thread Shelley
2008/9/26 tedd [EMAIL PROTECTED] At 2:02 PM +0800 9/26/08, Shelley wrote: Fyi, The interpretation of the score is added. Welcome to check your programming knowledge level: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test :) The answer as I see it is 27.

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-26 Thread Robert Cummings
On Sat, 2008-09-27 at 13:02 +0800, Shelley wrote: Actually, I think the author meant that you already read through those books and learned those terms, rather than mean that you are cheating on the test. As the author recommended you read the books listed below if you are not an expert yet.

Re: [PHP] The Data Literacy Test

2008-09-25 Thread Ashley Sheridan
On Wed, 2008-09-24 at 21:45 -0400, Eric Butera wrote: On Wed, Sep 24, 2008 at 9:22 PM, Shelley [EMAIL PROTECTED] wrote: 2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote:

Re: [PHP] The Data Literacy Test

2008-09-25 Thread Jochem Maas
Ashley Sheridan schreef: On Wed, 2008-09-24 at 21:45 -0400, Eric Butera wrote: On Wed, Sep 24, 2008 at 9:22 PM, Shelley [EMAIL PROTECTED] wrote: 2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley

Re: [PHP] The Data Literacy Test

2008-09-25 Thread Bill Guion
At 9:22 AM +0800 9/25/08, Shelley wrote: 2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote:

Re: [PHP] The Data Literacy Test

2008-09-24 Thread Ashley Sheridan
On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote: http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-testThe Data Literacy Test: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test What the smeg is this? Ash www.ashleysheridan.co.uk -- PHP

Re: [PHP] The Data Literacy Test

2008-09-24 Thread tedd
At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote: http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-testThe Data Literacy Test: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test What the smeg is

Re: [PHP] The Data Literacy Test

2008-09-24 Thread Maciek Sokolewicz
tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote: http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-testThe Data Literacy Test: http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test

Re: [PHP] The Data Literacy Test

2008-09-24 Thread Philip Thompson
On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote: http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test The Data Literacy Test:

Re: [PHP] The Data Literacy Test

2008-09-24 Thread Shelley
2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote: http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test

Re: [PHP] The Data Literacy Test

2008-09-24 Thread Eric Butera
On Wed, Sep 24, 2008 at 9:22 PM, Shelley [EMAIL PROTECTED] wrote: 2008/9/25 Philip Thompson [EMAIL PROTECTED] On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote: tedd wrote: At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote: On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote:

RE: [PHP] pulling data from array

2008-09-08 Thread Boyd, Todd M.
-Original Message- From: Richard Kurth [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2008 1:55 PM To: PHP General List Subject: [PHP] pulling data from array I am trying to pass the data from a table to a google.visualization.OrgChart javascript I have converted the data

RE: [PHP] pulling data from array

2008-09-08 Thread Boyd, Todd M.
-Original Message- From: Boyd, Todd M. Sent: Monday, September 08, 2008 2:28 PM To: 'Richard Kurth'; 'php-general@lists.php.net' Subject: RE: [PHP] pulling data from array ---8--- snip ?php # now loop through your object array and translate to js function calls foreach

Re: [PHP] pulling data from array

2008-09-08 Thread Jim Lucas
Richard Kurth wrote: I am trying to pass the data from a table to a google.visualization.OrgChart javascript I have converted the data to an array called $customf_array. Look down in the script to where I need to pull the data out of the array to see the reset of my question $query =

RE: [PHP] pulling data from array

2008-09-08 Thread Boyd, Todd M.
-Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2008 2:38 PM To: Richard Kurth Cc: PHP General List Subject: Re: [PHP] pulling data from array ---8--- snip $query1 = SELECT sponserrep,rep,firstname,lastname,phonenumber FROM contacts

Re: [PHP] push data directlly to the client(was Creating zip files)

2008-07-08 Thread It flance
Hi, Thank you for your answer. Now i figured out how to build the zip archive. I am using a class that returns the compressed data: $zipedresult = $zipfile-zipped_file(); This data, i can write it to a file. but i would like to make it downloadable without having to store it in the server. Is

  1   2   3   4   5   6   7   >