Reply to Opening Excel on client side

Your name:

Reply:


Posted by Djim on 12/21/05 00:33

Hello,

i am starting PHP, and after 2 days of search, i am posting.

MY PURPOSE : opening a XLS files (in MS Excel) on the client side, the
user can update anything, then it will be automaticly saved on the
server again (when client use save button or close Excel).

MY TESTS : I had coded that (in php) :
echo "<FORM METHOD=post TARGET=_blank> ";
echo "<INPUT TYPE='button' VALUE=Open the file'
onClick='ouvrir(\"myfileexcel.xls\")'>";
echo "</FORM>";
---------------------------------------------------------------------------­-----

Actualy that doesn't work, my button is here but do nothing when you
clic it.
---------------------------------------------------------------------------­-----


function ouvrir($nomfic)
{
# test to check the call :
echo "COUCOU";
# $workbook = "docs/".$nomfic;
# $sheet = "myshet";
# $ex = new COM("Excel.sheet");
# $wkb = $ex->application->Workbooks->Open($workbook) or Die ("File do
not open");
# $ex->application->ActiveWorkbook->Close("False");
# unset ($ex);
}


MY QUESTION : Anyone know how to do this (with code example plz) ?



PS : i am french so sorry for my bad english.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация