php-windows Digest 9 Jan 2004 10:50:15 -0000 Issue 2074
Topics (messages 22525 through 22529):
php_hostconnect()
22525 by: Anthony Ritter
php.ini config on 4.3.4
22526 by: Turbo
Re: [PHP] php.ini config on 4.3.4
22527 by: John W. Holmes
binary search in php
22528 by: Idur
22529 by: Stuart
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
I currently have websites with two ISP's.
I am getting a lot of warnings throughout a .php script on one server - such
as:
php_hostconnect()
I have used the _same_ .php script exactly on my other ISP's server and I
don't get any warnings.
In addition, I have tested this script locally on Apache server without any
errors.
The site where I do not get warnnings has php 4.1.1 installed - wheras the
other site where I get php_hostcoonect() warnings is php 4.2.3
Any help will be greatly appreciated.
Thank you.
Tony Ritter
--- End Message ---
--- Begin Message ---
Hi....
I use windows Xp,apache,php 4.3.4.I can recieve variable from form by
$_POST[''] (Short Term).But i can not recieve variable from form by
$HTTP_POST_VARS[''] (Long Term).Include other recieve variable (
GET,SESSION,COOKIE).
How to customize config?
Matrix....
--- End Message ---
--- Begin Message ---
Turbo wrote:
I use windows Xp,apache,php 4.3.4.I can recieve variable from form by
$_POST[''] (Short Term).But i can not recieve variable from form by
$HTTP_POST_VARS[''] (Long Term).Include other recieve variable (
GET,SESSION,COOKIE).
Yes you can. Let me use my crystal ball and guess that you're using
$HTTP_POST_VARS inside of a function or class method. Because of
variable scope, it's not available there unless you pass the values to
the function/method or make it global.
If that's not it... you need to explain more.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--- End Message ---
--- Begin Message ---
Hi Again,
After along time i doing my final project in my college, i realize that my program not
running like i want it. it take max_execution_time more than 30 second just to read,
process the data line by line(split the line and counting the same element), and save
the result in another file(this operations need more than 30 second to read more than
12000 lines).
And i want to find another methode, my lecture said that i have to work with "binary
search" he said it's more efficient, and faster.
My questions is :
1. How to searching data in array using "binary search methode" and update the data
when found it.
because the data, that i have to process is big, with more than 12000 lines.
2. How did i found tutorial about binary search in php.....???
3. If i have php script and when i execute, need max_execution_time more than 30
second it's pretend bad....???
Thanx, for your kindness.
idur
---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
--- End Message ---
--- Begin Message ---
Idur wrote:
1. How to searching data in array using "binary search methode" and update the data when found it.
because the data, that i have to process is big, with more than 12000 lines.
2. How did i found tutorial about binary search in php.....???
A quick Google found this: http://www.mwc.edu/inte/cpsc/03/about.html
3. If i have php script and when i execute, need max_execution_time more than 30 second it's pretend bad....???
http://php.net/set_time_limit - much better than changing the value in
php.ini
--
Stuart
--- End Message ---