[PHP] Display Large Size .pdf file in IE through Apache server

2002-05-02 Thread Zhu George-CZZ010
I have a pdf file of size ~2M, and it can't be displayed through IE. However, for smaller size pdf files, it works fine. The server is running Apache and PHP. Does anyone have any suggestion of how to fix this problem? Thank you very much in advance. -- PHP General Mailing List

[PHP] Is there a way not to pop up the default login window?

2001-11-01 Thread Zhu George-CZZ010
If we are using the default Apache/PHP authentication, it will always pop up the default login window for login user ID /password. Is there a method to redirect to a customized PHP login page instead of the default pop up window? Thanks ahead. -- PHP General Mailing List

RE: [PHP] Is there a way not to pop up the default login window?

2001-11-01 Thread Zhu George-CZZ010
of popping up the default login window? Regards. -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 11:36 AM To: 'Zhu George-CZZ010'; [EMAIL PROTECTED] Subject: RE: [PHP] Is there a way not to pop up the default login window? Yep. Design your

[PHP] User Authentication against remote authentication server

2001-10-29 Thread Zhu George-CZZ010
sorry, this might be a little bit off the topic, but I really hope you could help anwering this question. It's pretty clear how to use web server to authenticate the users/groups, for example, if we are using Apache, the userID and password will be stored in the browser's cache, and be

[PHP] Forced download??

2001-09-13 Thread Zhu George-CZZ010
Is there a way to do the forced download? i.e., the browser can't read the file online(no matter whether it is .html or .txt file), instead, when he clicks the link, he will be asked to download it. Is there a way to do that? Thanks ahead! -- PHP General Mailing List (http://www.php.net/)

[PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread Zhu George-CZZ010
Hi, I once had the Javascript codes to detect the browser type/version (but unfortunately, I lost the codes), does anyone have the Javascipt code? or can PHP do the same job (how?) Thank you very much in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] how to use fileatime() if the file name contains empty char?

2001-09-06 Thread Zhu George-CZZ010
Hi, Does anyone know how to use fileatime() when the file name contains empty char inside? Thank you very much in advance. -- 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

[PHP] system() vs exec()

2001-09-04 Thread Zhu George-CZZ010
The system() call will flush the headers to the client while exec() won't, but exec() won't wait until the system call is over. Is there a way to make a system call, and wait until it ends, but don't send the headers to the client? Thanks. -- PHP General Mailing List (http://www.php.net/)

[PHP] Header() function and redirect

2001-08-30 Thread Zhu George-CZZ010
I am using Apache and PHP. I encountered a redirect problem in PHP, and traced it down, so, I generated a very short PHP page as following: ?php sleep(30); $goto =

RE: [PHP] Header() function and redirect

2001-08-30 Thread Zhu George-CZZ010
, then in that page, redirect to the PDF file. Thanks, George -Original Message- From: * RzE: [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 11:19 AM To: Zhu George-CZZ010; [EMAIL PROTECTED] Subject: Re: [PHP] Header() function and redirect Original message From: Zhu George-CZZ010

[PHP] How to ask the IE browser stop self-refreshing at the server side?

2001-08-29 Thread Zhu George-CZZ010
Hi, all. I am using Apache and PHP. Today, I found a very strange thing about the browser IE4.0/5.0 (Internet Explorer). I have a PHP page, which will use system call to activate some backend program to generate a PDF file (this system call process will take about 30~60 seconds), the

[PHP] how to disable the automated userID/password in Internet Explorer

2001-08-22 Thread Zhu George-CZZ010
Hi, all. Sorry, I know there is out of the topic, but you are highly possible to help on this. My browser --Internet Exporer will remember my userID and password, and the next time, after I type the first char of my user ID, it will automatically fill in the userID and password. Is there a

[PHP] counter using PHP or Javascript?

2001-07-11 Thread Zhu George-CZZ010
Hi, Is there a way to create a counter to count the number of accesses for a apecific page using PHP or Javascript? Thanks. -- 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

[PHP] a standalone PHP script to update MySql server

2001-06-25 Thread Zhu George-CZZ010
It's pretty easy to use PHP to update MySql server through the web sever. Is there an easy way to use PHP scripts to update the MySql sever in a standalone mode (without the web sever)? Any sample scripts? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] auto index in Apache

2001-06-19 Thread Zhu George-CZZ010
Please excuse me to post this Apache related question here, but I think most of you might be very familiar with Apache web sever and I couldn't find a Apache forum. In Apache, The index of a directory can come from one of two sources: 1. A file written by the user, typically called

[PHP] No php.ini?

2001-03-28 Thread Zhu George-CZZ010
Someone else installed the PHP4.0.4, but I couldn't find the php.ini anywhere (I used "find" command to search the whole box), however, the PHP is working fine. Is it possible that the PHP can still work without php.ini? Thanks. -- PHP General Mailing List (http://www.php.net/) To

[PHP] encrypt and decrypt in standard PHP

2001-02-23 Thread Zhu George-CZZ010
As the PHP manual indicates, we can use Mcrypt to do the encrypt and decrypt work in PHP, but that needs to download the encrypt module and recompile PHP. Is there any other way to encrypt and decrypt the string in standard PHP4.0.4 without any extension module? Thank you very much! --

[PHP] unstable execution of mysql_db_query($db, $myQuery)

2001-02-15 Thread Zhu George-CZZ010
I am using MySQL 3.22.32 and PHP 4.01PL2, but it seems that mysql_db_query($db, $myQuery) is not quite stable, actually, in my code, it is like mysql_db_query($db, $myQuery) or die "Something wrong during query"); 1 out of 15 (the same query), it will "die". Does anyone have any suggestion?

[PHP] Is PHP integrated with LDAP?

2001-02-05 Thread Zhu George-CZZ010
Does anyone know if PHP is interated with LDAP, or how can I integrate PHP with LDAP? Thanks and Regards, George -Original Message- From: Alex Akilov [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 11:26 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Java Servlet Support

[PHP] test, please ignore.

2001-02-01 Thread Zhu George-CZZ010
eom -- 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]