[PHP-WIN] Is there anyway to save a file into Mysql database

2002-03-24 Thread Jack
Dear all Can someone pls tell me is php will be able to grep text from MS Word and then save that word file into MYSQL database? Which means is MYSQL will be able to store files into it's table? Thx a lot jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubs

[PHP-WIN] How to Pass the Username which from Windows Login

2002-03-24 Thread Jack
lot Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Get Username From Windows Login

2002-04-21 Thread Jack
ere anyway that make the IIS to detect the username see if it is a valid account, then pass that account to php instead of using "IUSER_MICROSFOT". I want to show the user account of the real logged in user, not "IUSER_MICROSOFT". -- Thx a lot! Jack [EMAIL PROTECTED]

[PHP-WIN] Can't import CSV data to Mysql

2002-04-24 Thread Jack
Dear all i had posted this question to mysql@list, but got no reponse, therefore i think this group might help! I had made a TXT file from XLS, the field is seperate by comma, there are 4 fields in mysql table (hkd_rate), then i tried this command on mysql: "LOAD DATA LOCAL INFILE 'c:\hkd_rate.txt

[PHP-WIN] Can't load CSV file into Mysql Table using "LOAD Data"

2002-04-24 Thread Jack
Dear all i had posted this question to mysql@list, but got no reponse, therefore i think this group might help! I had made a TXT file from XLS, the field is seperate by comma, there are 4 fields in mysql table (hkd_rate), then i tried this command on mysql: "LOAD DATA LOCAL INFILE 'c:\hkd_rate.txt

[PHP-WIN] I want to learn more COM for my php script

2002-04-24 Thread Jack
Dear all i know if i want the php script to access data from MS Word or Excel, i got to know about COM, but i don't know where to start on COM, so is there any Recommendation on books which i can learn about COM from the Beginning! -- Thx a lot! Jack [EMAIL PROTECTED] -- PHP Wi

[PHP-WIN] Date Comparsion

2002-06-18 Thread Jack
ovide this operation? -- Thx a lot! Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] How to Show my Own Error Message Instead of Mysql Error?

2002-06-20 Thread Jack
ation Form, it mean the Login Name is Duplicated! But i want to show my own message to the user for this error instead the Mysql Error! It is meanness to show User the Mysql Error, cause they won't understand it!!! Could Someone pls tell me how i can do this? -- Thx a lot! Jack [EMAIL PROTEC

[PHP-WIN] How to dectect if a file exist in specific Folder

2002-07-10 Thread Jack
date at the end of the string as the file name. 3. If the filename exist in that specific folder, then it will show a hyperlink for each exist report, otherwise nothing will shows up! I want to know how i can use php to detect if such file is exist in that specific Folder? -- Thx a lot! Jack

[PHP-WIN] Problem on file_exists()

2002-07-15 Thread Jack
environment! Please help me! -- Thx a lot! Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Problem on file_exists() function

2002-07-17 Thread Jack
(file_exists("c:\\pdf_reports\\test.txt")) { print ("exist"); } else { print ("Doesn't Exist!"); } Then it can detect the file is there! why? -- Thx a lot! Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] How to Detect File in a Specifc Directory on Window Env?

2002-07-19 Thread Jack
e from Right to Left). If you have any other suggestion, pls help me! -- Thx a lot! Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Try to get php to fopen a Word document

2001-08-16 Thread Jack
type in!!! IS there any good suggestion for performing this task??? User Input ---> Copy content to a file ---> Read content & display to browser! Thx jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Jack
ot;, but when i read some article from internet, some of them say that the Application Extension should point to "php.exe", so could anyone tell me which is the truth! and pls help me with that, because i got to get to other website working with PHP as well!! Thx Jack [EMAIL PROTECTED]

[PHP-WIN] Mutiline read as Sigle Line!

2001-08-21 Thread Jack
a joke! I want the browser could display exactly the same as the user input! even the lines and format! Could anyone pls help me with this? Thx Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-WIN] How to get the content of a file into the value of a text column

2001-08-23 Thread Jack
Dear all Actually i'm trying to get the content of a file, and make it as a default value of a input text column. Is there anyway could do it? Thx jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP-WIN] Multi-Task on PHP by submitting a form!

2001-08-20 Thread Jack
ess had finish, which will insert the data from the from to mysql_database. Thx Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EM

[PHP-WIN] appear in Text file

2001-08-27 Thread Jack
that txt file to the text box in (input box). Is there anyway that i can do to avoid grebing the from txt file to my input box's value? or anyway that i can delete the when the data is greb from input box to txt file?? Thanks a lot Jack [EMAIL PROTECTED] -- PHP Windows Mailing

[PHP-WIN] Use the User Input Critia as part of Query! (Mysql)

2001-09-03 Thread Jack
quest where Staff_Number="" and authorized is null"; But said there is error on this line, which is what i expected!! So could anyone pls tell me how i can get the varaible into part of the Query of Mysql? Thx jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] Print out the form When click Submit?

2001-08-30 Thread Jack
o get approveral, but is there any script for php that when the user click the submit button, the Regenerated page which print to user default printer automatically?? Pls help Thx Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-WIN] Can PHP and Java work together?

2001-08-31 Thread Jack
i set before though? Thx Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] mail problem with php as cgi

2001-09-11 Thread Jack
Hi! I've installed php as cgi (so not as apache module) using cygwin. It works fine except that mail() send to I-don't-know-where. My php.ini is fine with smtp=localhost (I do have a server), sendmail_from= me@localhost, and sendmail_path commented out. But when running phpinfo, I get path to sen

[PHP-WIN] shebang appearing

2001-09-14 Thread Jack
Hi! I've installed php as cgi on windows98 and everything's fine except that when running a script, the shebang (#!/usr/local/bin) appears on top of every page. Why? Thanks. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

[PHP-WIN] Seeing in input box

2001-11-11 Thread Jack
of in the input box, as much time i submit to the input box, the more will come out and display in the box. So is there anyway that i can skip the appear in my input box??? The input box is actually read the content from the heading and content.txt file. Thx Jack [EMAIL PROTECTED] -- PHP

[PHP-WIN] What is a class

2001-10-27 Thread Jack
perator : $this->edible = $edible; What is the "$this -> " stand for? Could someone please tell me more??? Thx jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP-WIN] Passing Logined in Name form One Form to other Page

2001-12-19 Thread Jack
need to select data from MYSQL, it will read the Username which passed from the Login Form and select the only Record to him! I heard about the Session, but how i can pass the Username to other page using Session?? Pls Help! Thx a lot ! jack [EMAIL PROTECTED] -- PHP Windows Mailing List

[PHP-WIN] FrameSet Problem with PHP, Pls Help!

2001-12-21 Thread Jack
scrpt: This Check.php is actually the script which will verify the Username and Password passed from Login.php. Once and add into Index.html, then there is nothing shows up, not even frames, menu or any Banner!! Could someone pls help me with this!! I'm Stuck!!! Thx a lot!! Jack [EMAIL PROT

[PHP-WIN] Problem with Getting Values from Cookie

2001-12-21 Thread Jack
lose(); session_register("KT_login_failed"); $KT_login_failed = true; header ("Location: $KT_redirectLoginFailed"); exit; } ?> What i want to do is after i had set the cookie, then i got to main.php which is one of the page within the site and i type : It got

[PHP-WIN] Cookie Can't Display Name on other page

2001-12-21 Thread Jack
Username Password   I had use the setcookie function in the script which is , then in the Main.php page, i set another scr

[PHP-WIN] Login and select Query in Mysql

2001-12-26 Thread Jack
into index.htm. Could someone pls give me a idea how i should make this system work?? Thx Jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [

[PHP-WIN] Call another page after the menu had been selected

2001-12-27 Thread Jack
rompt from a blank window when the item A is selected? and another page when Item B is selected! thx a lot jack [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP-WIN] Problem on Date Function

2003-06-03 Thread Jack
Dear all Here is the situation : Our automation system will generate a large number of pdf file to a specific folder every day. The name format for all these pdf file is ".20030602.pdf". is the name of the file, 20030602 is last working date. what i want to do is: 1. create a sub-folder

[PHP-WIN] Security Alert when trying to access a php file

2003-08-04 Thread Jack
stall.windows>." I had check the php.ini which inside the c:\winnt, and turn the cgi.force_redirection from 1 to 0, but still showing the same warning again!!! Can someone please tell me what to do? Thx Jack -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Can't Pass variable to other page

2003-08-14 Thread Jack
ffice which got php5.0 above installed, using the same script, but it won't pass any parameters to page.php! How come? I heard there is something to set in the php5.0's php.ini before i can do so, is that right? Please could anyone give me a hand on this? Thx alot Jack -- PHP Windows

[PHP-WIN] Still can't pass variable through url

2003-08-14 Thread Jack
sing php 5.0 above , if the same case apply to php4.04, then there is no problem at all! Can anyone please give me more help on this? Thx alot Jack -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Install PHP4.2.3 with Apache 2.0.40 on Window 2000

2002-11-26 Thread Jack R.
Hi, Can someone please help with my PHP installation? The install.txt said I just need to add these in my Apache config file, but there is no "sapi" sub-directory exists under c:\php and I can't find php4apache.dll. LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c

[PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000

2002-11-27 Thread Jack R.
I am trying to install php 4.2.3 with apache 2.0.43 on window 2000. I copy php4ts.dll to winnt/system32 and add the following at the end of my apache config file per install instruction. LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .p

[PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000

2002-11-29 Thread Jack R.
I follow the exact procedure describe here, and I still can't get it to work. The following procedure has the same setting as I do, but apache fails to start after I try to load the module by adding the following line to my apache config file. LoadModule php4_module c:/php/sapi/php4apache2.dll Add

Re: [PHP-WIN] Install PHP4.2.3 with Apache 2.0.43 on Window 2000

2002-11-29 Thread Jack R.
Thanks. How can you get PHP4.3.0 RC2 work with apache 2.0.43? - Original Message - From: "Davy Obdam" <[EMAIL PROTECTED]> To: "'Jack R.'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 4:34 PM Subject: RE: [PHP-WI

[PHP-WIN] Re: [PHP] What is this??

2001-04-26 Thread Jack Dempsey
Manesh wrote: > > Warning: Undefined variable > > How do i get rid of this??? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-WIN] Newbie Question: Creating database

2002-01-04 Thread Jack Cazes
I have windows 2000 server with PHP 4.1.0 and Mysql. I'm not quite sure how PHP interelates with Mysql. Does PHP access Mysql directly? Or does it via the Windows ODBC. The reason why I am asking is because I have a user who wants a database created and wants to know the credentials to access the

Re: [PHP-WIN] Newbie Question: Creating database

2002-01-04 Thread Jack Cazes
NT the particular user, with rights over the database. > > Then, let him/her do with it as they please. > > > -Original Message- > > From: Jack Cazes [mailto:[EMAIL PROTECTED]] > > Sent: Friday, January 04, 2002 10:53 AM > > To: [EMAIL PROTECTED] > >

[PHP-WIN] REAL NEWBIE QUESTION!!!

2002-01-07 Thread Jack Cazes
ndows ODBC administrator (even though I thought PHP access mysql directly?)? You see all I want to do is set up Mysql with a database so that my users can access it with a username and password. Any help would be greatly appreciated.. Jack -- PHP Windows Mailing List (http://www.php.net

[PHP-WIN] PHP require() circumvents IIS security? Please help.

2002-10-28 Thread Jack Kelly Dobson
Hello, I just noticed something very concerning and hope someone has some answers... I'm running php 4.2.3 under W2k IIS as a .dll. I have a directory set up with no anonymous access to it and security set to "Integrated Windows Authentication". If I try to load the page directly from the brows

RE: [PHP-WIN] PHP require() circumvents IIS security? Please help.

2002-10-28 Thread Jack Kelly Dobson
> -Original Message- > From: Mikey [mailto:mikey@;splatted.net] > Sent: Monday, October 28, 2002 1:18 PM > To: Jack Kelly Dobson; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] PHP require() circumvents IIS security? Please > help. > > > > Hello, > &g

[PHP-WIN] is_file() can't tell the difference between file and directory in Win32...

2002-11-01 Thread Jack Kelly Dobson
Hello, This is the first time I've worked with these functions so I'm sure it's in Indian, not the arrows. This script identifies both files and directories as directories. What am I doing wrong here? I'm running as a .dll under IIS. "); } else { print($fi

Re: [PHP-WIN] is_file() can't tell the difference between file and directory in Win32...

2002-11-04 Thread Jack Kelly Dobson
gt; I had similar problems. Use strcmp() with .. and . . > Or use filetype() to determine if it is a file or directory or ... > > > Mike > > > On Fri, 1 Nov 2002, Jack Kelly Dobson wrote: > > > Date: Fri, 1 Nov 2002 16:39:55 -0600 > > From: Jack Kelly Dobson <[E

Re: Re[2]: [PHP-WIN] is_file() can't tell the difference between file and directory in Win32...

2002-11-04 Thread Jack Kelly Dobson
utton but other than that it works fine. Let me know if you like it. Any suggestions on the expiration issue? j- "Alexander Kuznetsov" <[EMAIL PROTECTED]> wrote in message news:137465406148.20021104181304@;cstrade.koenig.ru... > Hello Jack, > > Monday, November 04, 2002,

Re: [PHP-WIN] PHP Editor

2002-11-05 Thread Jack Kelly Dobson
http://www.crimsoneditor.com It's freeware, It's small, and does syntax highlighting for many languages including PHP. j- "Peter Mr. Eps Thoenen" <[EMAIL PROTECTED]> wrote in message news:A733FF9B1FB0F441B3A6209FF71030E50169B300@;bondsteel2.areur.army.mil... > ftp://ftp.vim.org/pub/vim/pc/gvim6

[PHP-WIN] Re: Isapi Module

2002-11-05 Thread Jack Kelly Dobson
I've been using it and MySQL under W2k for about a month now with no problems. j- "Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message news:B141BE87473AA64FB24370C43CEA54BD011B45@;ngexbe1.my-netgain.com... Is anyone using 4.2.3 as an ISapi module? All the documentation still says unstable b

Re: [PHP-WIN] Re: Isapi Module

2002-11-05 Thread Jack Kelly Dobson
y-netgain.com... What kind of load do you get on it? Also I am using SQL Server 2000. Charles -Original Message- From: Jack Kelly Dobson [mailto:jdobson@;tcgcorp.net] Sent: Tuesday, November 05, 2002 9:16 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Isapi Module I've been using i

[PHP-WIN] Re: Isapi Module

2002-11-06 Thread Jack Kelly Dobson
4090.qmail@;pb1.pair.com... > im using it with apache 1.3.27 and winxp, no probs. > > "Jack Kelly Dobson" <[EMAIL PROTECTED]> wrote in message > news:20021105151623.16303.qmail@;pb1.pair.com... > > I've been using it and MySQL under W2k for about a month now with

[PHP-WIN] mcrypt... where do I get it and how do I compile it?

2002-11-06 Thread Jack Kelly Dobson
Hello, I'd really like to start using mcrypt for a few things. Apparently I'm supposed to compile it with the Cygwin compiler for the Win32 platform. I've installed the compiler. I'm not sure what I'm supposed to download to get mcrypt or how to compile it. Anyone know of any good instructions o

[PHP-WIN] Re: mcrypt... where do I get it and how do I compile it?

2002-11-06 Thread Jack Kelly Dobson
Never mind... I figured it out. j- "Jack Kelly Dobson" <[EMAIL PROTECTED]> wrote in message news:20021106175615.52098.qmail@;pb1.pair.com... > Hello, > > I'd really like to start using mcrypt for a few things. Apparently I'm > supposed to compile it

[PHP-WIN] MS FTP ftp_nlist() hang?

2002-11-25 Thread Jack Kelly Dobson
Hey folks, I'm having a bit of a problem with the FTP functions and Microsoft's FTP software. I've written an app that uploads a file to an FTP server then lists all the files in the directory. When I point this at a Linux FTP server it works fine and doesn't even mind being put into an endless l

RE: [PHP-WIN] MS FTP ftp_nlist() hang?

2002-11-25 Thread Jack Kelly Dobson
Happily this bug appears to be fixed in 4.3 release candidate 1 (see: http://qa.php.net). At least I haven't see it fail so far. Way to go dudes! happiness. j- Jack Kelly Dobson Systems Administrator Charlton [EMAIL PROTECTED] > -Original Message- > From: Rich Gray [ma

Re: [PHP-WIN] MS FTP ftp_nlist() hang?

2002-11-25 Thread Jack Kelly Dobson
Okay... I just set my script to do 1000 iterations of a call to ftp_nlist() and it didn't so much as hesitate. I'm convinced it's fixed. j- "Jack Kelly Dobson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > H

[PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Jack Kelly Dobson
Hello, Anyone know how to have a script re-direct the browser to a URL cleanly? I've tried using header("location:" . $url); but I'm running into a problem with a server error saying header data was already sent from "some line in the script that was running" as if the new url is being opened aft

Re: [PHP-WIN] Redirect browser to another URL?

2002-11-27 Thread Jack Kelly Dobson
sure they aren't exposing data they didn't mean to. j- "Cam Dunstan" <[EMAIL PROTECTED]> wrote in message 002801c29602$d3e50da0$7866a8c0@camhome">news:002801c29602$d3e50da0$7866a8c0@camhome... > Jack, > here is another quick and dirty function to stick i

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-29 Thread Jack Kelly Dobson
ipt for other internal systems here. Maybe at some point I'll rewrite it so the re-direction can be server side but for now it's serving my purposes. j- Jack Kelly Dobson Systems Administrator Charlton [EMAIL PROTECTED] > -Original Message- > From: Rich Gray [mailto:[EMAIL P