[PHP] Is there any Possible Way to get data from Excel File?

2002-03-19 Thread Jack
Dear all What i'm planning to do is to use php to grep the data from a Excel file and then insert it to the MySQL Database, so is there any possible way that the php can grep the data from an Excel File? Thx all Jack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsu

RE: [PHP] Is there any Possible Way to get data from Excel File?

2002-03-19 Thread Niklas Lampén
I think that the smartest way to insert data from Excel to mySQL is saving Excel file as CSV and then inserting the whole file. This is ofcourse only if you wan't to insert the whole file. Niklas -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: 20. maaliskuuta 2002 8:01

Re: [PHP] Is there any Possible Way to get data from Excel File?

2002-03-19 Thread Justin French
Anything is possible :) I'd recommend that the Excell file be exported as a CSV, which will be a LOT easier to munch through, because it won't contain formatting, or anything else. Justin French indent.com.au soundpimps.com Jack wrote: > > Dear all > What i'm planning to do is to use php to

Re: [PHP] Return the column names of MySQL table?

2002-03-19 Thread J.F.Kishor
Hi, Try the following, Column name ($index) : $columnName"; $index++; } ?> On Tue, 19 Mar 2002, Kevin Stone wrote: > Forgive me for the off topic question. This is a MySQL question.. has > nothing to do with PHP directly. However I was not able to find an > answer in th

[PHP] mail()

2002-03-19 Thread Jennifer
Hi guys, I'm new to PHP and i'm trying to set it up so that i can use the mail() function to send emails. I'm using Mac OS X 10.1.3, PHP 4.1.2 and Apache/1.3.20. I've copied the php.ini-dist to usr/local/lib and renamed it php.ini I have also uncommented the following lines from the httpd.co

Re: [PHP] mail()

2002-03-19 Thread Miguel Cruz
On Wed, 20 Mar 2002, Jennifer wrote: > I'm new to PHP and i'm trying to set it up so that i can use the mail() > function to send emails. I'm using Mac OS X 10.1.3, PHP 4.1.2 and > Apache/1.3.20. > > ... nothing seems to happen ei. the mail was not sent. There's a problem with the default con

Re: [PHP] mail()

2002-03-19 Thread Miguel Cruz
On Wed, 20 Mar 2002, Jennifer wrote: > $to="[EMAIL PROTECTED]"; > $from="[EMAIL PROTECTED]"; > $subject="Hi"; > $message="this message"; > mail($to, $subject, $message, "$from\r\nX-Priority: 1 (Highest)"); By the way, your From line is also mangled. You should have: $from = "From: [EMAIL PROTEC

Re: [PHP] mail()

2002-03-19 Thread Jennifer
sorry...i should have mentioned also that I am not using the internal mail server but i am using an external mail server On Wednesday, March 20, 2002, at 05:24 PM, Jennifer wrote: > Hi guys, > > I'm new to PHP and i'm trying to set it up so that i can use the mail() > function to send emails.

[PHP] $DOCUMENT_ROOT behavior linux vs solaris

2002-03-19 Thread Dennis Moore
I use the $DOCUMENT_ROOT environment variable quite ofter to build an absolute path to files in the web tree.  I just ran into a problem moving my code from a linux box (RH6.2) to a SunW Ultra 60.   Both machines are running the same version of Apache 1.3.20 and PHP4.0.6.   Here's the rub.  

Re: [PHP] Can anyone help me with this problem(uploads via a form)?

2002-03-19 Thread heinisch
At 19.03.2002 14:16, you wrote: > >I'm having a problem with file uploads via a HTML form. I've no luck getting >it to work. After a bit of research I think I've determined that the problem >lies with my host having safe mode enabled and setting a open_basedir that >is outside my scope. > Hi Jac

[PHP] Re: Problem with strtotime() and 2002-03-31

2002-03-19 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Thanks guys. You were right. I have been playing around and just found an > extra 3600 seconds on 31/3/2002.!!! > > Thats a trap for us young players. > > Will develop a creative fix. > > Does this mean that there is a day with only 2

[PHP] Re: scripting behind the scenes

2002-03-19 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > hi there, > > can someone tell me how i can get my php script (which is run via a console, > rather than a browser) to read the settings i've included in php.ini. > > is this possible? > > thanks for the help! > a Do you mean read th

[PHP] Generating Static files

2002-03-19 Thread Tony Crockford
Hi what's the best way to generate static files using PHP/MySQL? I've read a couple of tutorials and got a bit lost. What I'd like to do is use PHP to generate static pages in the way that GDIdb pro does (run a script/template combination, output html files all linked up) this is where I'm usi

<    1   2   3