[PHP-WIN] End of Page characters

2003-08-25 Thread Gerardo Rojas
Quick question: Is there any special characters that make up a Page Break in MS Word? I know that "\r\n" make a line break and carriage return. Is there anything for Page Break? -- Gerardo S. Rojas mailto:[EMAIL PROTECTED]

[PHP-WIN] More COM Issues

2003-08-25 Thread Herhuth, Ron
I have created a snazzy little PHP widget that creats an actual hard HTML page from a bunch of included pages and saves it as a temp.html file on the server. The app then invokes MS Word's COM object and opens the HTML file, converts it to a Word doc and then creates a link to it. The problem I'

RE: [PHP-WIN] please help with table again (Best book)

2003-08-25 Thread Donatas
"PHP and MySQL Web Development" by Luke Welling and Laura Thomson I read only 250 of this book but it gave me marvelous introduction to PHP and MySQL. After reading those pages I started doing some eproject and now I feel very comfortable with PHP. Btw, I knew some Pascal and C++ already and that

RE: [PHP-WIN] Session Vars

2003-08-25 Thread Dean Hayes
I used the code below with $_SESSION[] and i have been able to get the username and password to save to the session file but i get and error of Notice: Undefined variable: PHPSESSID in c:\apache\htdocs\editor\index.php on line 4 can anyone tell me what this means I am new to php and have only

RE: [PHP-WIN] Session Vars

2003-08-25 Thread Disko_kex
Try this instead: Session_start(); $_SESSION["id"] = $PHPSESSID; $_SESSION["user_name"] = $form_username; $_SESSION["user_pass"] = $form_pass; print "$_SESSION[id], $_SESSION[user_name], $_SESSION[user_pass]"; // jocke -Original Message- From: Dean Hayes [mailt

RE: [PHP-WIN] Array question

2003-08-25 Thread Joachim
// This is how I would do it. The first question is easily solved by putting a mathematical // expression inside the array brackets. $selectIndex = 50; // The index you're interested in $selectedValue = yourArray[$select]; $selectedValueMinus2 = yourArray[$select-2]; $selectedValuePlus1 = yourArr

RE: [PHP-WIN] Array question

2003-08-25 Thread Disko_kex
Well its not exactly what I was looking for but you gave me some ideas, but still got this small problem: If I know the value in the array, say for example 49. Then I want to store the previous and next value in the array? I know the other way when I have the position, just use pos($dataarray) the

[PHP-WIN] Re: Array question

2003-08-25 Thread Sek-Mun Wong
hi again jocke... seems i'll give a go at answering your questions again ;-) If I understand your question properly, I doubt the previous poster's response would be useful to you. The bad news (I think): there are limited functions that deal with array pointers. There are plenty to deal with arra

RE: [PHP-WIN] Array question

2003-08-25 Thread Warren Vail
in my experience, using numeric indices to your array, you can deposit and reference occurances as follows; however your reference is not a valid array definition; [0] => 1 [1] => 2 [2] => 3 ... [99] => 100 (I don't believe these are valid as a definition) numeric indices would be defined as fo

[PHP-WIN] Session Vars

2003-08-25 Thread Dean Hayes
Hey, I have a script that needs to save the session id and username but when i use the following code it will not save anything to the session file, can anyone help out here? The same script use to work when i ran it under Win 98 and Mandrake Linux but since i have installed WinXP it stops work

AW: [PHP-WIN] Re: MS Word COM Object formatting

2003-08-25 Thread Sven Schnitzke
Hi, sadly enough it's not that easy. But it is possible: $word->visible = 0; $word->Options->ConfirmConversions = false; // menu: options->general->confirm conversions // search for HTML Converter $fcList = $word->FileConverters(); $count = $fcList->Count(); for($i=1; $i<=$count; $i++) { $fc =

php-windows Digest 25 Aug 2003 06:58:02 -0000 Issue 1885

2003-08-25 Thread php-windows-digest-help
php-windows Digest 25 Aug 2003 06:58:02 - Issue 1885 Topics (messages 21223 through 21234): Re: please help with table again 21223 by: BQ777 21224 by: Duane Lakoduk 21229 by: Svensson, B.A.T. (HKG) 21231 by: Amzadi problem in VB 21225 by: cmkpl this

[PHP-WIN] Array question

2003-08-25 Thread Disko_kex
If I have an array like this > [0] => 1 [1] => 2 [2] => 3 ... [99] => 100 If I want to select [50] => 51 and store the value that's 2 positions before and 1 position after, how can I do? If I want to know what position value 71 have? I have search the PHP-manual and found some functions as