473,387 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

passing form data to an email address/Excel sheet on a local computer

Hi,

I am right now learning PHP & want to know if there is a way to send
web form data to an Excel sheet located on a network. My windows xp PC
doesnot have a copy of Excel. Also i am not connected to the internet,
its a local computer.

What i am trying to do is to make a PHP script which will send a simple
form data to an excel sheet (or create a new Excel sheet) on another PC
on a network.

Since i am not connected to the internet, i will not be able to send an
email (anyway, sendmail is not available on Windows OS), nor do i have
any server on windows.

Is it possible to send form data to Excel sheet on local computer? Even
my PC is a local PC. Some one was saying its possible thru Windows
Scheduler.

Please advice.

Warm Regards,

Eijaz

Sep 1 '05 #1
9 4257
>I am right now learning PHP & want to know if there is a way to send
web form data to an Excel sheet located on a network. My windows xp PC
doesnot have a copy of Excel. Also i am not connected to the internet,
its a local computer.
If you don't have a (legal) copy of Excel, you don't have a license
to create Excel spreadsheets.
What i am trying to do is to make a PHP script which will send a simple
form data to an excel sheet (or create a new Excel sheet) on another PC
on a network.
You could create a file which can be imported into Excel (for
example, in .csv format, which, if you've got the data, shouldn't
be too hard to create).
Since i am not connected to the internet, i will not be able to send an
email (anyway, sendmail is not available on Windows OS), nor do i have
any server on windows.
What *DO* you have in the way of communication between the two systems?
A shared file system? A browser on one computer and a web server with
PHP on another?
Is it possible to send form data to Excel sheet on local computer? Even
my PC is a local PC. Some one was saying its possible thru Windows
Scheduler.


Gordon L. Burditt
Sep 1 '05 #2
let me explain in a better way.

I have 2 Local Windows PC's connected thru LAN card. One has PHP
installed, no Servers, no MS Excel. Have a simple webform which i fill
with Data.

The other PC has MS Excel installed, no Servers, no PHP installed.

I want to fill the webform & send the data using Outlook Express or Ms
Outlook or any other means or Transfer it to Excel sheet on other PC or
create a new Excel sheet on other PC using PHP coding.

Please HELP!

Warm Regards,

Eijaz

Sep 1 '05 #3
Hello!
What i am trying to do is to make a PHP script which will send a simple
form data to an excel sheet (or create a new Excel sheet) on another PC
on a network.


You should have a look at PEAR::Spreadsheet_Excel_Writer

You can find it here:
http://pear.php.net/package/Spreadsheet_Excel_Writer
HTH
Hero Wanders
Sep 1 '05 #4
On 31 Aug 2005 17:37:17 -0700, sifar wrote:
I have 2 Local Windows PC's connected thru LAN card. One has PHP
installed, no Servers, no MS Excel. Have a simple webform which i fill
with Data.

The other PC has MS Excel installed, no Servers, no PHP installed.


According to the PHP manual you need a server to run PHP!
Sep 1 '05 #5
On 31 Aug 2005 17:17:08 -0700, sifar wrote:
Hi,

I am right now learning PHP & want to know if there is a way to send
web form data to an Excel sheet located on a network. My windows xp PC
doesnot have a copy of Excel. Also i am not connected to the internet,
its a local computer.

What i am trying to do is to make a PHP script which will send a simple
form data to an excel sheet (or create a new Excel sheet) on another PC
on a network.

Since i am not connected to the internet, i will not be able to send an
email (anyway, sendmail is not available on Windows OS), nor do i have
any server on windows.

Is it possible to send form data to Excel sheet on local computer? Even
my PC is a local PC. Some one was saying its possible thru Windows
Scheduler.


Try doing a Google search for Excel, ODBC, PHP. I'm not sure, but I
think you may be able to create an ODBC DSN then link to that.

I'm not sure also whether you'd get the ODBC drivers - without
installing Office or Excel <??>.

Adam.
Sep 1 '05 #6
sifar wrote:
let me explain in a better way.

I have 2 Local Windows PC's connected thru LAN card. One has PHP
installed, no Servers, no MS Excel. Have a simple webform which i fill
with Data.

The other PC has MS Excel installed, no Servers, no PHP installed.

I want to fill the webform & send the data using Outlook Express or Ms
Outlook or any other means or Transfer it to Excel sheet on other PC or
create a new Excel sheet on other PC using PHP coding.

Please HELP!

Warm Regards,

Eijaz


Hmmm, how do you fill out the web form without IIS or Apache for a web server?
You need something to display the forms.

Once you have the form filled out, there are a couple of ways you could do this.
For instance, you could install ArGoSoft Mail Server, an inexpensive sendmail
replacement. Although I've never done it, you may be able to run Exim, a free,
full MTA (Mail Transport Agent) like sendmail. But the latter is probably
overkill - it does a lot and is hard for the newbie to configure.

Alternatively, you could request the information through your browser. For
instance, you could create a temporary file and dynamically link to that file.
That would allow the user to download the file.

And as others have said, it will probably be easier to generate a CSV file with
the data and import it into Excel than to create a native Excel file.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 1 '05 #7
The form is a simple html form on a local computer.......
I just wanted to transfer text (initally when i was connected to
internet) entered in textboxes or inputs selected, thru mail clients
like MS Outlook or Outlook Express (using the mailto option), which was
happening.
The data does not go or appear. So, i want to use something else. I do
understand i require PHP or Perl with a webserver.
I want to find a way to send the data locally using local network to
another PC (connected to this PC) which has an Excel application &
enter data into Excel.

How do i do that?

Rgds,

Eijaz

Sep 2 '05 #8
Hi Jerry, You said......
Alternatively, you could request the information through your browser.
For
instance, you could create a temporary file and dynamically link to
that file.
That would allow the user to download the file.

I did not understand that....could you please explain????

Sep 2 '05 #9
sifar wrote:
The form is a simple html form on a local computer.......
I just wanted to transfer text (initally when i was connected to
internet) entered in textboxes or inputs selected, thru mail clients
like MS Outlook or Outlook Express (using the mailto option), which was
happening.
The data does not go or appear. So, i want to use something else. I do
understand i require PHP or Perl with a webserver.
I want to find a way to send the data locally using local network to
another PC (connected to this PC) which has an Excel application &
enter data into Excel.

How do i do that?

Rgds,

Eijaz


Hi, Eijaz,

OK, well, you get your web server and PHP set up on your local computer.
That will allow you to fill out the form and get the data into PHP.

Next question - if you weren't using PHP how would you get the data to
the other computer? Email? ftp? Networked Drive? Other?

You can do it the same way with PHP. But first you need to identify how
you would get it to the other system without PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Sep 3 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Harshal | last post by:
Hi all, we are trying to load Korean data from a Excel Sheet in to Oracle Database (8.1.7.3 with NLS_LANG=American_America.UTF8) We successfully transferred the Unicode file to our Unix...
1
by: S. van Beek | last post by:
Dear reader, Is there somebody who can tell me the VBA code for the following action? To import data from an Excel sheet by referring to a cell name in the Excel sheet.
3
by: natrajsr | last post by:
Hi, I want to load the data of a excel sheet or in the exact excel sheet format into a Rich TextBox control. I have already worked with loading WORD into a Rich TextBox. It is working fine.;...
0
by: derik | last post by:
can anyone help how to create a table in sql wit the data given in excel sheet
7
by: eklavyavats | last post by:
I am able to import data from the database to excel sheet. But i was unable to load the data from the excel sheet to my sql.I have connected the excel sheet to my sql but the data that is imported to...
3
by: smith jones | last post by:
Hi all, Can you plz guide me as to how to write data to an excel sheet using C+ + code? Thnks very much for your help!!!
0
by: safh | last post by:
hi, i need urgently a help to retrieve data from an excel sheet(all values of a single column one by one) and need to match with all the values of a column in a table of a database(oracle). it is...
1
by: ielamrani | last post by:
Hi, I have the following code which works fine. It export current access form record to an excel sheet: DoCmd.OutputTo acOutputForm, "frmsubformtest", acFormatXLS, "C:\Details.xls", True Is it...
4
ammoos
by: ammoos | last post by:
Hi Friends, I need to read data from an excel sheet. I am keeping this excel sheet in a remote machine. I am using OLEDB connection to read the data from this excel sheet. But when I am trying to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.