[PHP] sessions working? not working?

2013-08-12 Thread Clifford Shuker
Hi List, Hi have the following (below) session code at the top of each page.. The 'print_r' (development feature only) confirms that on one particular page I do log out as the session var = (). but, on testing that page via the URL I still get to see the page and all its contents - session

Re: [PHP] sessions working? not working?

2013-08-12 Thread Tedd Sperling
On Aug 12, 2013, at 4:27 AM, Clifford Shuker clifford.shu...@ntlworld.com wrote: Hi have the following (below) session code at the top of each page.. The 'print_r' (development feature only) confirms that on one particular page I do log out as the session var = (). but, on testing that page

Re: [PHP] List working?

2012-03-27 Thread Jay Blanchard
[snip] y u no help me !! i have white page withg my php codes in my page ! help please !! asap please i put codes in my file and is white [/snip] You put code in your e-mail? Or code in your web page? If it is your web page you need to start a new thread and post the code that you used

Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread a...@ashleysheridan.co.uk
, 2010 21:20 Subject: [PHP] PDO working via Apache but not at the command line? To: p...@lists.php.net, php-general@lists.php.net I have the following very simple script that uses PDO/FreeTDS to connect to a mssql server. I have PHP Version 5.3.3 running on Linux under Apache. When I view

Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Scott Baker
On 10/18/2010 02:17 PM, a...@ashleysheridan.co.uk wrote: It's most likely because both cli and web modules are using different php.ini config files. See what the output of a phpinfo() call in both browser and command line. I didn't even think about it parsing different php.ini files. Checking

[PHP] Re: [PDO] Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Wez Furlong
Things to check: - Environment: what env vars are set or not set in your Apache vs. CLI - Owner: are you running as the same user as your web server? - Do you or the web server have some kind of rc file that might impact how things run? Suggestion: Use sudo -u webserverusername -s to run a

[PHP] Re: [PDO] Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Scott Baker
On 10/18/2010 06:27 PM, Wez Furlong wrote: Things to check: - Environment: what env vars are set or not set in your Apache vs. CLI - Owner: are you running as the same user as your web server? - Do you or the web server have some kind of rc file that might impact how things run? Wez you're

[PHP] Re: [PDO] Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Stanley Sufficool
Sounds like the error message SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9) could be more informative, but I think this is returned by FreeTDS, not PDO. On Mon, Oct 18, 2010 at 7:35 PM, Scott Baker bak...@canbytel.com wrote: On 10/18/2010 06:27

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-10-03 Thread Fred Silsbee
--- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc: php-general@lists.php.net Date: Monday, August 31, 2009, 6:35 AM Please

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-02 Thread hack988 hack988
: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc: php-general@lists.php.net Date: Monday, August 31, 2009, 6:35 AM Please set log_error=on,error_reporting=E_ALL,error_log=syslog in php.ini and then,see error detail in syslog. 2009/8/31 Fred

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-02 Thread Fred Silsbee
/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc: php-general@lists.php.net Date: Wednesday, September 2, 2009, 6:03 AM Use Event Viewer and log

Re: [PHP] Re: windows 5.2.10 PHP not working with phpinfo

2009-09-01 Thread Ashley Sheridan
On Mon, 2009-08-31 at 02:11 +0200, Ralph Deffke wrote: use wamp 2 !! http://www.wampserver.com/ no easier way under windows ralph_def...@yahoo.de Fred Silsbee fredsils...@yahoo.com wrote in message news:43633.64942...@web59909.mail.ac4.yahoo.com... I got 5.3 working but found out

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-01 Thread Fred Silsbee
thanks! I am new to this science! where is syslog? XP Prof event log? --- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc: php

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-09-01 Thread Fred Silsbee
I looked high and low but no syslog I am currently working under XP Prof SP3 --- On Mon, 8/31/09, hack988 hack988 hack...@dev.htwap.com wrote: From: hack988 hack988 hack...@dev.htwap.com Subject: Re: [PHP] windows 5.2.10 PHP not working with phpinfo To: Fred Silsbee fredsils...@yahoo.com Cc

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-31 Thread hack988 hack988
Please set log_error=on,error_reporting=E_ALL,error_log=syslog in php.ini and then,see error detail in syslog. 2009/8/31 Fred Silsbee fredsils...@yahoo.com: I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I had to return to 5.2.8 but I found no

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-31 Thread David Robley
hack988 hack988 wrote: Please set log_error=on,error_reporting=E_ALL,error_log=syslog in php.ini and then,see error detail in syslog. 2009/8/31 Fred Silsbee fredsils...@yahoo.com: I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I had to

[PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-30 Thread Fred Silsbee
I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I had to return to 5.2.8 but I found no 5.2.8 so I am trying 5.2.10 _problem: under IE8: http://72.47.28.128:8080/phpinfo.php with: ?php

[PHP] Re: windows 5.2.10 PHP not working with phpinfo

2009-08-30 Thread Ralph Deffke
use wamp 2 !! http://www.wampserver.com/ no easier way under windows ralph_def...@yahoo.de Fred Silsbee fredsils...@yahoo.com wrote in message news:43633.64942...@web59909.mail.ac4.yahoo.com... I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I

[PHP] continue working after finishing up with the http client

2009-05-27 Thread Tom Worster
what options are there to do the following: 1. receive request from client (including post data) 2. do some work, update the db, prepare output for client 3. send output and finish up with the client 4. do some more work that might take considerable time, updating the db some more it would be

RE: [PHP] continue working after finishing up with the http client

2009-05-27 Thread bruce
] Sent: Wednesday, May 27, 2009 6:27 AM To: php-general@lists.php.net Subject: [PHP] continue working after finishing up with the http client what options are there to do the following: 1. receive request from client (including post data) 2. do some work, update the db, prepare output for client 3

Re: [PHP] continue working after finishing up with the http client

2009-05-27 Thread Tom Worster
the http transition and then continuing on to do the cache update work? -Original Message- From: Tom Worster [mailto:f...@thefsb.org] Sent: Wednesday, May 27, 2009 6:27 AM To: php-general@lists.php.net Subject: [PHP] continue working after finishing up with the http client what

Re: [PHP] continue working after finishing up with the http client

2009-05-27 Thread David Otton
2009/5/27 Tom Worster f...@thefsb.org: without getting into whether or not this cache design makes sense, my question in this example is: what options are there for ending the http transition and then continuing on to do the cache update work? You either continue processing then-and-there

RE: [PHP] continue working after finishing up with the http client

2009-05-27 Thread bruce
...@thefsb.org] Sent: Wednesday, May 27, 2009 7:14 AM To: bruce; php-general@lists.php.net Subject: Re: [PHP] continue working after finishing up with the http client On 5/27/09 9:50 AM, bruce bedoug...@earthlink.net wrote: exacly what are you trying to accomplish? is this in a web app? has the user hit

Re: [PHP] continue working after finishing up with the http client

2009-05-27 Thread Tom Worster
[mailto:f...@thefsb.org] Sent: Wednesday, May 27, 2009 7:14 AM To: bruce; php-general@lists.php.net Subject: Re: [PHP] continue working after finishing up with the http client On 5/27/09 9:50 AM, bruce bedoug...@earthlink.net wrote: exacly what are you trying to accomplish

Re: [PHP] continue working after finishing up with the http client

2009-05-27 Thread Tom Worster
On 5/27/09 10:33 AM, David Otton phpm...@jawbone.freeserve.co.uk wrote: 2009/5/27 Tom Worster f...@thefsb.org: without getting into whether or not this cache design makes sense, my question in this example is: what options are there for ending the http transition and then continuing on to

[PHP] Problems working with HTML using PHP's XML tools (placing mixed text/html into xpath-specified nodes...)

2009-05-21 Thread Weston C
Is there a straightforward way (or, heck, any way) of placing mixed html/text content into xpath-specified nodes using any of PHP's XML tools? So far, I've tried SimpleXML and the DOM and things aren't coming out well. SimpleXML: /* $filename contains path to valid XML file, $xpathxpr

Re: [PHP] Problems working with HTML using PHP's XML tools (placing mixed text/html into xpath-specified nodes...)

2009-05-21 Thread Michael A. Peters
Weston C wrote: Is there a straightforward way (or, heck, any way) of placing mixed html/text content into xpath-specified nodes using any of PHP's XML tools? So far, I've tried SimpleXML and the DOM and things aren't coming out well. Not sure if it is of any use to you, I don't use XPath at

Re: [PHP] Re: Working directory of PHP pages?

2009-03-12 Thread haliphax
On Thu, Mar 12, 2009 at 12:47 AM, Clancy clanc...@cybec.com.au wrote: On Wed, 11 Mar 2009 13:03:19 -0500, halip...@gmail.com (haliphax) wrote: On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: Clancy wrote: It is my understanding that when you open a page the PHP

[PHP] Re: Working directory of PHP pages?

2009-03-11 Thread Shawn McKenzie
Clancy wrote: It is my understanding that when you open a page the PHP server looks for index.php in the site root directory, and loads it. As a result the working directory of the page will be the root directory of the site. I have always worked on this assumption, and it has always

Re: [PHP] Re: Working directory of PHP pages?

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: Clancy wrote: It is my understanding that when you open a page the PHP server looks for index.php in the site root directory, and loads it. As a result the working directory of the page will be the root directory

Re: [PHP] Re: Working directory of PHP pages?

2009-03-11 Thread Clancy
On Wed, 11 Mar 2009 13:03:19 -0500, halip...@gmail.com (haliphax) wrote: On Wed, Mar 11, 2009 at 12:44 PM, Shawn McKenzie nos...@mckenzies.net wrote: Clancy wrote: It is my understanding that when you open a page the PHP server looks for index.php in the site root directory, and loads it. As

Re: [PHP] Re: Working directory of PHP pages?

2009-03-11 Thread 9el
On Thu, Mar 12, 2009 at 11:47 AM, Clancy clanc...@cybec.com.au wrote: Something Stewart said the other day made me realise that there was a fundamental error in the way I was thinking about this question. I had been thinking that opendir (.) opened the root directory, and that paths such as

Re: [PHP] Last working day of a month

2008-12-04 Thread Andrew Ballard
On Thu, Dec 4, 2008 at 9:03 AM, Angelo Zanetti [EMAIL PROTECTED] wrote: Hi all, I am busy trying to figure out how to get the last working day in a month. I was wondering if there was a script already written, but this is what I imagine should work: Get the current day and see if it's the

[PHP] Last working day of a month

2008-12-04 Thread Angelo Zanetti
Hi all, I am busy trying to figure out how to get the last working day in a month. I was wondering if there was a script already written, but this is what I imagine should work: Get the current day and see if it's the last day of the month. If its true check if it's a Saturday or Sunday if

RE: [PHP] Last working day of a month

2008-12-04 Thread Boyd, Todd M.
-Original Message- From: Andrew Ballard [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 8:32 AM To: Angelo Zanetti Cc: php-general@lists.php.net Subject: Re: [PHP] Last working day of a month Importance: Low On Thu, Dec 4, 2008 at 9:03 AM, Angelo Zanetti [EMAIL

Re: [PHP] Last working day of a month

2008-12-04 Thread Jochem Maas
Angelo Zanetti schreef: Hi all, I am busy trying to figure out how to get the last working day in a month. I was wondering if there was a script already written, but this is what I imagine should work: Get the current day and see if it's the last day of the month. If its true check if

Re: [PHP] Last working day of a month

2008-12-04 Thread Govinda
you need a process with a few simple steps. 1. find the last day of the month, this is quite easy ... google gives answers as does the manual. e.g.: http://lutrov.com/blog/php-last-day-of-the-month-calculation/ 2. determine if this is a week day. if yes go to step three else 'roll the

[PHP] send emails in php not working

2008-10-27 Thread Marc Fromm
We recently moved to a new server. Our code that would send out emails is no longer sending emails. There are no messages in the httpd logs associated with running the email.php files. The email scripts worked on the old server. Is there a special setting in php.ini for sending emails in php or

Re: [PHP] send emails in php not working

2008-10-27 Thread Chris
Marc Fromm wrote: We recently moved to a new server. Our code that would send out emails is no longer sending emails. There are no messages in the httpd logs associated with running the email.php files. The email scripts worked on the old server. Is there a special setting in php.ini for

RE: [PHP] send emails in php not working

2008-10-27 Thread Marc Fromm
:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 2:55 PM To: Marc Fromm Cc: php-general@lists.php.net Subject: Re: [PHP] send emails in php not working Marc Fromm wrote: We recently moved to a new server. Our code that would send out emails is no longer sending emails. There are no messages

Re: [PHP] send emails in php not working

2008-10-27 Thread Chris
Marc Fromm wrote: You need a local mail server. Sendmail 8.13.8-2.el5 is installed on the new server and the old server (sendmail-8.13.8-1.fc5). echo 'test' | mail -s 'test' [EMAIL PROTECTED] The above line sends on email on the old server but not the new server. Is sendmail running (ps

[PHP] Re: Working with XML: DomDocument or SimpleXML?

2007-09-21 Thread Rob
Colin Guthrie wrote: snip / I know I definitely want to do XSLT stuff and for that I need to use DomDocument (I'm sure there are other ways but this works fine for me so far!). Fairly unknown tidbit: you can pass SimpleXML objects to the XSL extension. XSL will use the document from it.

[PHP] Re: Working with XML: DomDocument or SimpleXML?

2007-09-21 Thread Colin Guthrie
Rob wrote: Fairly unknown tidbit: you can pass SimpleXML objects to the XSL extension. XSL will use the document from it. Nice to know... /me will have to experiment! if ($xml instanceof SimpleXMLElement) { $rv = new DOMDocument('1.0', 'utf-8'); $node =

[PHP] Re: Working with XML: DomDocument or SimpleXML?

2007-09-21 Thread Colin Guthrie
Rob wrote: It had to have been for some other reason as the return type for the above example is a DOMDocument. A raw DOMNode is *NEVER* returned from the DOM extension. It is simply a base class for most of the DOM classes, such as DOMDocument. I think I just didn't do the -ownerDocument or

[PHP] Re: Working with XML: DomDocument or SimpleXML?

2007-09-21 Thread Rob
Colin Guthrie wrote: Rob wrote: if ($xml instanceof SimpleXMLElement) { /* No copying, just use the existing XML tree directly */ $node = dom_import_simplexml($xml); return $node-ownerDocument; } Yeah I had that initially too but that did not produce a DOMDocument Object but a

[PHP] Re: Working with XML: DomDocument or SimpleXML?

2007-09-20 Thread Colin Guthrie
Robert Cummings wrote: I still use PHP4 so I wrote my own XML handling class that wraps the xml_xxx() series of functions. Haven't had a problem with it. Makes working with XML very easy since it uses a path string syntax to focus/access nodes and attributes: Cheers for that. I know I

[PHP] php not working anymore in IIS

2007-07-29 Thread Guus Ellenkamp
After changing my php folder from e:\php to f:\php php does not work anymore in my webserver. I found out regsvr32 phpisapi.dll gives an error. I remember having a similar problem but am not sure what and how. Anyone know how to fix? -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP not working after Mac 10.3.9 install

2007-07-23 Thread Steve Marquez
Greetings, I am a very novice user of PHP. I have run PHP 4 on my Powerbook for about three years. When I installed Mac OS 10.3.9, PHP does not work. I forgot how to get it running again. Can anyone help me with this? Thanks, -- Steve Marquez

[PHP] Re: [SPAM] Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-06-01 Thread Jason Pruim
On May 31, 2007, at 5:43 PM, Richard Lynch wrote: On Thu, May 31, 2007 2:25 pm, Jason Pruim wrote: Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on.

[PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Jason Pruim
Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on. Here is the code I am using to display the results of the search: echo ('table border=1'); echo

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Davi
Em Quinta 31 Maio 2007 16:25, Jason Pruim escreveu: Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on. Here is the code I am using to display the results

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Robert Cummings
On Thu, 2007-05-31 at 15:25 -0400, Jason Pruim wrote: Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on. Here is the code I am using to display the

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Dave Goodchild
Your problem is this: $result_row[] = mysql_query($query) or die(mysql_error()); ...you are assigning a query to a variable. What you need to do is something like this: $result = mysql_query($query) or die(mysql_error()); while ($result_row = mysql_fetch_array($result)) { . }

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Jason Pruim
On May 31, 2007, at 3:27 PM, Davi wrote: Em Quinta 31 Maio 2007 16:25, Jason Pruim escreveu: Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on. Here is

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Davi
Em Quinta 31 Maio 2007 16:38, Jason Pruim escreveu: while($result_row = mysql_fetch_array($result) { Worked perfectly after adding a closing ) Thanks for the tip! Forgive me for that!!! #'_'# I *always* forget the closing )... =P -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] --

Re: [PHP] Attempting to search a MySQL database from PHP not working

2007-05-31 Thread Richard Lynch
On Thu, May 31, 2007 2:25 pm, Jason Pruim wrote: Hi Everyone, I am attempting to setup a search field on a database application I'm dinking around with and running into problems that I'm hoping someone might be able to shed some light on. Here is the code I am using to display the results

[PHP] Re: working with class inheritance

2007-03-20 Thread Jeff Taylor
OOPS!... typo Please replace implements with extends: class Child extends Parent Sorry about that Jeff Taylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class:

[PHP] Re: working with class inheritance

2007-03-20 Thread Jeff Taylor
I forgot to mention that I have some __construct operations in the parent class, and I want to add to those (and overwrite sometimes) in the child class __construct i.e Parent class __construct $this-foo = 'Bar'; $this-foo2 = '10'; Child class __construct

Re: [PHP] Re: working with class inheritance

2007-03-20 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-03-20 19:14:17 +1030: Jeff Taylor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent { $private type;

[PHP] Re: working with class inheritance

2007-03-20 Thread Gregory Beaver
Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent { $private type; public function __construct() { } public function GetType() { return $this-type; }

[PHP] Sessions working/not

2007-02-07 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - -- - Would anyone be so kind as to un-stick my brain? I can't get sessions to work on my development machine (localhost). They work fine on my testing server (an internal IP). Development: W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2. The php.ini SESSION settings are

[PHP] Re: Working with a config file

2006-02-20 Thread Jens Kleikamp
Benjamin Adams wrote: I'm trying to parse a config file, example of the config is: [fred] id=8782 section=s1 years=4 download1=mirror1 [frank] id=8372 section=s3 years=4 download1=mirror12 download2=mirror2 . . . I want to parse this so I can only call frank or freds data and move id,

Re: [PHP] Re: Working with a config file

2006-02-20 Thread Paul Scott
On Tue, 2006-02-21 at 00:14 +0100, Jens Kleikamp wrote: Benjamin Adams wrote: I'm trying to parse a config file, example of the config is: [fred] id=8782 section=s1 years=4 download1=mirror1 [frank] id=8372 section=s3 years=4 download1=mirror12 download2=mirror2 .

[PHP] Anyone working with UPS Online Tools?

2005-04-04 Thread Chris W. Parker
Hello, I am in the process of integrating my site with UPS' Online Tools. Specifically Address Validation, and Rates and Service. The problem I'm seeing is that it's quite slow. I'm doing all my tests on the test server and thought that querying the test server would be the reason for the

[PHP] Re: Working with 3 arrays

2005-03-10 Thread M. Sokolewicz
Robert Sossomon wrote: I need to work with 3 different arrays where I get the value of the same key for all 3 (probably a term for this one). The three arrays are: field[] type[] char[] and each will be assigned via another form. What will happen is at the end of the form I want to be able to

Re: [PHP] Re: Working with 3 arrays

2005-03-10 Thread Robert Sossomon
!--SNIP -- $fields = $_POST[field]; foreach ($fields as $field) { $currentType = next($type); $currentChar = next($char); // Do the stuff } Thanks!! I knew I was missing something simple in doing this! Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development

[PHP] Offline working

2005-01-12 Thread Lester Caine
Because of the problems working with the email version of the php lists, I'm forced to use the newgroup interface. Up until recently I could happily get up in the morning and 'Download Now' in Mozilla so I can scan messages quickly locally. Since xmas the 'Download Now' simply gets the first

Re: [PHP] PHP Working With Excel File ?

2004-11-03 Thread p80
With excel, export your exel file to CSV (by doing save as...) then you can import your CSV file to mysql using the phpmyadmin import interface On Tuesday 02 November 2004 04:11 am, Sejati Opreker wrote: Yes, I'm planning to work with MySQL, but the problem accour from the first time, 'cause

RE: [PHP] PHP Working With Excel File ?

2004-11-03 Thread Jay Blanchard
[snip] With excel, export your exel file to CSV (by doing save as...) then you can import your CSV file to mysql using the phpmyadmin import interface [/snip] http://search.cpan.org/src/JMCNAMARA/Spreadsheet-WriteExcel-0.37/WriteEx cel/doc/WriteExcel.html There is a PHP version -- PHP General

Re: [PHP] PHP Working With Excel File ?

2004-11-01 Thread Matt M.
Can PHP work with Excel files as database ? If not, how can I conver it to MySQL format and reconvert it to Excel 'coz I need it to report it in Excel format, if you are on windows you could use a com object. if you have access to perl, you could use

Re: [PHP] PHP Working With Excel File ?

2004-11-01 Thread Ben Ramsey
Matt M. wrote: Can PHP work with Excel files as database ? If not, how can I conver it to MySQL format and reconvert it to Excel 'coz I need it to report it in Excel format, if you are on windows you could use a com object. if you have access to perl, you could use

Re: [PHP] PHP Working With Excel File ?

2004-11-01 Thread Erich Kolb
I think the easiest way is to store your data in MySQL and then create a DSN via MyODBC and connect to your spreadsheet. Matt M. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can PHP work with Excel files as database ? If not, how can I conver it to MySQL format and reconvert it

Re: [PHP] PHP Working With Excel File ?

2004-11-01 Thread Sejati Opreker
Yes, I'm planning to work with MySQL, but the problem accour from the first time, 'cause the source is in Excel file, is MySQL able to read the CVS format ?, and can you please show me some PHP script that make outputs the contents of report to a CSV from MySQL ? --- Ben Ramsey [EMAIL PROTECTED]

[PHP] PHP Working With Excel File ?

2004-10-31 Thread Sejati Opreker
Hi, Can PHP work with Excel files as database ? If not, how can I conver it to MySQL format and reconvert it to Excel 'coz I need it to report it in Excel format, Thx ___ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now.

Re: [PHP] PHP Working With Excel File ?

2004-10-31 Thread p80
On Monday 01 November 2004 02:58 am, Sejati Opreker wrote: Hi, Can PHP work with Excel files as database ? If not, how can I conver it to MySQL format and reconvert it to Excel 'coz I need it to report it in Excel format, With exel, export your exel file to CSV (by doing save as...) then you

Re: [PHP] PHP Working With Excel File ?

2004-10-31 Thread p80
On Monday 01 November 2004 02:58 am, Sejati Opreker wrote: Hi, Can PHP work with Excel files as database ? If not, how can I conver it to MySQL format and reconvert it to Excel 'coz I need it to report it in Excel format, Thx With exel, export your exel file to CSV (by doing save as...)

Re: [PHP] PHP not working with apache2

2004-08-15 Thread Burhan Khalid
Grant wrote: I'm running Gentoo Linux, and emerged (installed) squirrelmail which automatically installed all of its dependencies including PHP and (I think) mod_php. PHP doesn't seem to be working though, as I always end up looking at the raw PHP code in a browser. I do have apache and apache2

[PHP] PHP not working with apache2

2004-08-14 Thread Grant
I'm running Gentoo Linux, and emerged (installed) squirrelmail which automatically installed all of its dependencies including PHP and (I think) mod_php. PHP doesn't seem to be working though, as I always end up looking at the raw PHP code in a browser. I do have apache and apache2 installed on

Re: [PHP] PHP not working with apache2

2004-08-14 Thread John Holmes
Grant wrote: I'm running Gentoo Linux, and emerged (installed) squirrelmail which automatically installed all of its dependencies including PHP and (I think) mod_php. PHP doesn't seem to be working though, as I always end up looking at the raw PHP code in a browser. I do have apache and apache2

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Grant
--- John Holmes [EMAIL PROTECTED] wrote: Grant wrote: I'm running Gentoo Linux, and emerged (installed) squirrelmail which automatically installed all of its dependencies including PHP and (I think) mod_php. PHP doesn't seem to be working though, as I always end up looking at

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Jason Wong
On Sunday 15 August 2004 07:45, Grant wrote: I'm running Gentoo Linux, and emerged (installed) squirrelmail which automatically installed all of its dependencies including PHP and (I think) mod_php. PHP doesn't seem to be working though, as I always end up looking at the raw PHP code in a

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Grant
, but everything except PHP is working great. This is the absolute last thing standing in the way of going live. When I see the raw code I am hitting apache2 as apache is not running. The only reason I need PHP is squirrelmail. Is mod_php necessary in this situation? - Grant

Re: [PHP] PHP not working with apache2

2004-08-14 Thread Jason Wong
, but everything except PHP is working great. This is the absolute last thing standing in the way of going live. That's a good idea. Like I said unless you know what you're doing having both apaches installed is not a very good idea. When I see the raw code I am hitting apache2 as apache is not running

[PHP] cron job for php not working

2004-05-20 Thread Merlin
Hi there, I am trying to install following cron job: 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php The script works, if I run this php /home... line manually it works out, but it does not automaticaly at 6 am as supposed. I do also see in /var/log/messages that the cron job

RE: [PHP] cron job for php not working

2004-05-20 Thread Jay Blanchard
[snip] I am trying to install following cron job: 0 6 * * * php /home/www/project/app_cron/follow_up_new_members.php The script works, if I run this php /home... line manually it works out, but it does not automaticaly at 6 am as supposed. I do also see in /var/log/messages that the cron job

Re: [PHP] cron job for php not working

2004-05-20 Thread James E Hicks III
On Thursday 20 May 2004 11:35 am, Jay Blanchard wrote: At the command line type which php and it will return the full path to php. Modify your line in the crontab with the full path... 0 6 * * * /usr/local/bin/php /home/www/project/app_cron/follow_up_new_members.php I always put the

Re: [PHP] cron job for php not working

2004-05-20 Thread Tim Traver
It looks like that cron line is making it so that the command runs as the user php... so, you should check if that user has permission to run the script. Tim. At 08:33 AM 5/20/2004, Merlin wrote: Hi there, I am trying to install following cron job: 0 6 * * * php

[PHP] Re: Working with MS-SQL

2004-02-24 Thread Jakes
Make sure you have the dll or so loaded. mssql_connect(IP#, username, password); [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, How can we connect to MS-SQL Server ? What tools ( where can we download ) must be installed ? Thank a lots. PS : the php programs under

[PHP] Re: Working with a Front Page developer

2004-02-11 Thread rush
Chris De Vidal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can anyone recommend some template engines? Or tips on using PHP to parse an HTML doc, replacing it with real data? You could also try TemplateTamer, and I would be glad to help you out if with it if needed. rush --

Re: [PHP] PHP not working with Apache

2004-02-01 Thread Paul Furman
The php installer doesn't do everything for a windows installation. You'll need to edit php.ini httpd.config for apache, as described in the installation guide. Raditha Dissanayake wrote: Yes sounds like you have not read the installation guide. Mark Mark wrote: I am running Apache 1.3.29

[PHP] PHP not working with Apache

2004-01-31 Thread Mark Mark
I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work. Then, I install the php installer and and copied the windows binary files. I followed the instruction to run as a module and I even uninstalled the php files and tried to run PHP as just a CGI binary, both

Re: [PHP] PHP not working with Apache

2004-01-31 Thread Raditha Dissanayake
Yes sounds like you have not read the installation guide. Mark Mark wrote: I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work. Then, I install the php installer and and copied the windows binary files. I followed the instruction to run as a module and I even

[PHP] Re: working with files

2004-01-28 Thread DvDmanDT
Did you try file(); ? -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com Tony [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] hi, i have problem with writing a reading to file i want to write emails in files. like this [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL

[PHP] Re: working with files

2004-01-28 Thread tony
I'm new to php, and i tried file() no luck $lines = file('$filename'); foreach ($lines as $line_num = $line) { print (option value=\$line\$line/option); } thanx for the help Dvdmandt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Did you try file(); ? -- // DvDmanDT MSN:

[PHP] Re: working with files

2004-01-28 Thread DvDmanDT
I use to do this: $lines=file($filename); $num_lines=count($lines); for($i=0;$i$num_lines;$i++)echo 'option value='.$lines[$i].''.$lines[$i].'/option'; -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com Tony [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] I'm new to

Re: [PHP] Re: working with files

2004-01-28 Thread John Nichel
tony wrote: I'm new to php, and i tried file() no luck $lines = file('$filename'); foreach ($lines as $line_num = $line) { print (option value=\$line\$line/option); } $lines = file ( $filename ); $size = sizeof ( $lines ); for ( $i = 0; $i $size; $i++ ) { echo ( 'option value=' .

[PHP] include working....but confusion

2004-01-20 Thread Ryan A
Hi, A bit confused here... this is my programs logic: if(multipleProducts==1) {include multiple_products_looping_code.php;} else {include single_products_code.php;} I am doing the above because some of the code is pretty big and it makes life simlier if I just add the code when I need it. Only

Re: [PHP] include working....but confusion

2004-01-20 Thread CPT John W. Holmes
From: Ryan A [EMAIL PROTECTED] Do I have to start and end the included files with ?php ? ? Yes. One day you'll learn to spend the two seconds trying this instead of asking the list. I'll be so proud of you then! ;) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] include working....but confusion

2004-01-20 Thread Ryan A
Hey, Thanks for the very informative reply but I did try itproblem is, it seems to work with and without...thats why the confusion. I have one program like the one i outlined and the second one, like this: some html code goes here some output stuff goes here something ? php stuff? something

Re: [PHP] include working....but confusion

2004-01-20 Thread CPT John W. Holmes
From: Ryan A [EMAIL PROTECTED] Thanks for the very informative reply but I did try itproblem is, it seems to work with and without...thats why the confusion. I have one program like the one i outlined and the second one, like this: some html code goes here some output stuff goes here

  1   2   >