Hello All
I have a problem with the execution time. I use PHP to update database,
but it could not perform well due to the limited execution time. How
could I extend the execution time? Here is my error:
Fatal error: Maximum execution time of 30 seconds exceeded in
d:\inetpub\wwwroot\cgi-bin\
Hello All
I run the simple code to display data from the database. There are around
5000 records and 50 fields. It takes around 1 1/2 min to retrieve the
data to the browser. I'd like to know if we can improve my code. So, I
can retrieve the data in a shorter period of time. I have codes as
[EMAIL PROTECTED] writes:
>Hello php-general,
>
> Has anyone else here the same proplem as I have? I write in my php:
>
>header("Refresh: 3; url=newpage.php");
>
>Netscape 4.79 works fine and goes to page.php after 3 seconds pass.
>But IE 6 doesn't want to do that. Can anyone explain such a wonde
[EMAIL PROTECTED] writes:
>this is a very simple question. I'm trying to figure out if there is a
>one line way to do this:
>
>I want to pass a variable to the function only if it matches a certin
>value, I know I can do this:
>
>if($a=='H') my_function($bob,'Y');
>else my_function($bob);
You can
[EMAIL PROTECTED] writes:
>I have the following code --
>
>$phone_number = "8005551212";
>$phone_array = explode("", $phone_number);
>$phone_number = sprintf("(%s%s%s) %s%s%s-%s%s%s%s", $phone_array[0],
>$phone_array[1], $phone_array[2], $phone_array[3], $phone_array[4],
>$phone_array[5], $phone
Hello All
We are planning to install Unix-Like system on our old PC. I don't know
which one I should go among FreeBSD, Redhat, and Suse. I'd like a very
easy installation, specially on a network configuration part. Which is
good?
Thank you.
POng
--
PHP General Mailing List (http://www.php
[EMAIL PROTECTED] writes:
>Anybody have a good tutorial on getting PHP to access a MS Access
>Database with ODBC?
>
>I cant even get a connection to succeed.
>
Check at php.weblogs.com/ADOdb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello All
This is quite off the topic. Does anyone advise me how to install SSL on
Apache server? I used to do on IIS by using Verisign. It was quite easy.
Because I am not used to with the Apache, I don't where I should start..
Any help, please.
Thank you.
Pong
--
PHP General Mailing Li
[EMAIL PROTECTED] writes:
>I would want to do something like this:
>
>if (something true)
>{
>somejavafunc();
>}
>?>
>
>I would want to do that. Is there some way of pulling that off? Thanks,
>Dave
YOu can do something like this, embed the following codes in your php file
echo "";
//you can
Hello All
I am trying to build a text file, and delete it by using unlink function,
but it always refuse to do so because of permission denied. It gives me
an error as follows:
Warning: Unlink failed (Permission denied) in
d:\inetpub\wwwroot\cgi-bin\myfile.php on line 45
Actually, the file was
Hello All
It is quite off the topic. I think most of you work with form while you
are using PHP. Does anyone need to conform your form webpage to ADA
compliance? It is a U.S. Section 508 Guidelines for handicap people to
access the webpage. However, when it applies to the webpage that has man
[EMAIL PROTECTED] writes:
>Hi,
>
>I got a page that is being reloaded a lot. In the bigging I register a
>Session variable with the SESSION_START and SESSION_REGISTER functions.
>Is it wrong that I keep registering the session?
>Should I also unregister the session at the bottom of the page?
>
>Re
[EMAIL PROTECTED] writes:
>I'm using PHP 4.1.1 (for Windows). Here is *all* of my code.
>
>
>
>Administrative Log-In Page
>
>
>
>
>Please enter your username and password below in the fields below.
>
> Username:
>
>
> Password:
>
>
>
>
>
>
Hello Jason
If I were you, I would not u
I never try before, but I think you can use explode or strtok function to
chop each field in the line with any delimiter.
hope this would help.
Pong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Go to your PHP directory and open backup folder inside. It should have
php.ini right there. That is a real one, and you can use it.
Hope, this would help.
Pong
[EMAIL PROTECTED] writes:
>Hi, it's me again,
>
>when I used the PHP 4.0.6 I had a php.ini with a lot of entries. Now,
>at
>Version
Hello All
I just reinstalled PHP 4.1.1 on IIS5 (win2000) over the old version by
using the installer. I installed as a cgi. Then, I got problems with
mssql_connect function. It doesn't work as it did before. Here is the
error message:
Fatal error: Call to undefined function: mssql_connect()
Hello All
I would like to initialize the array $pos[17][7][3] to zero. Can i do
like in C ie. $pos[17][7][3] = 0;? Or, will I have to do initialize every
single element of array to zero by using loop?
Thank you.
Pong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Hello All
I am trying to connect MS SQL, but got the error message as follows:
Warning: MS SQL message: Login failed for user 'pong'. (severity 14) in
d:\inetpub\wwwroot\cgi-bin\mailman.php on line 26
Warning: MS SQL: Unable to connect to server: dilbert in
d:\inetpub\wwwroot\cgi-bin\mailman.ph
Hello Listers
I have a question on how to get the full path of source file. I have a
form like this:
Send this file:
I pass the request to myupload.php. If my source file's path is
c:/result.txt, how can I know it in myupload.php? I know that I can get
the file name result.txt, but I do
Hello All
Has anyone installed and used PHP in CGI (not ISAPI) for IIS 5? Is it
running good? I mean you got a full capability as PHP has, and there is
no serious harm to the webserver(IIS 5). I am also using ASP. I don't
know installing PHP on the system will jeopardize the ASP application
[EMAIL PROTECTED] writes:
>Yes, it will. But try not to mix and match.
Can you explain more about this? I would like to know more about the
impact of having and using ASP and PHP together.
Thank you.
Pong
>
>
>George
>- Original Message -
>From: "pong-TC&q
Hello All
I am using ASP on IIS4, and interested in PHP. I would like to know that
if I install PHP on IIS4, can I still use ASP as well?
Thank you.
Pong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
22 matches
Mail list logo