Search found 7 matches

by p_h_p
Mon Mar 29, 2004 12:07 am
Forum: PHP - Code
Topic: Check whether the user have logged
Replies: 5
Views: 655

Hmm..but it not the session_start problem...it the deleteUser.php..when i click on the deleteUser.php without login, it redirect me to the login.php but when i try to login it still remain at the login.php..didn't change to deleteUser.php...

Why is it like that? thanks...
by p_h_p
Sun Mar 28, 2004 11:48 pm
Forum: PHP - Code
Topic: Check whether the user have logged
Replies: 5
Views: 655

Check whether the user have logged

Hi, Anyone know how to check whether the user have logged before they can enter into the page? I have tried this codes but cannot work and i not sure correct anot. Can anyone pls help me?urgent!!! loginAction.php <?php $user_id = $_POST['user_id']; $password = $_POST['password']; $db = mysql_connect...
by p_h_p
Wed Mar 17, 2004 8:25 am
Forum: PHP - Code
Topic: Get content from ms word
Replies: 9
Views: 776

The word file is only 20kb, and ytdae i have try it oso...it did not load for so long but have errors on

1) $Field = $word->ActiveDocument->Fields(1);

2) $word->Printout();
by p_h_p
Wed Mar 17, 2004 4:48 am
Forum: PHP - Code
Topic: Get content from ms word
Replies: 9
Views: 776

But now the problem is it only load half way and it stop already...
by p_h_p
Wed Mar 17, 2004 4:07 am
Forum: PHP - Code
Topic: Get content from ms word
Replies: 9
Views: 776

<? $input = "Appendix_5___Interim_Report.doc"; $word = @new COM("word.application") or die("Unable to instantiate Word"); print "Loaded Word, version {$word->Version}\n<br>"; $word->Visible = 1; print "Set Word To Visible<br>"; $word->Documents->Ope...
by p_h_p
Tue Mar 16, 2004 11:37 pm
Forum: PHP - Code
Topic: Get content from ms word
Replies: 9
Views: 776

I running on windows, then i have config the COM in the php.ini...But may i know how the codes look like? thanks.
by p_h_p
Tue Mar 16, 2004 4:11 am
Forum: PHP - Code
Topic: Get content from ms word
Replies: 9
Views: 776

Get content from ms word

Hi,
I want to create php page that gets all the content from ms word file. It means i want to publish word content directly into php page...Can someone please help me...thanks....