Curt Zirzow wrote:
I should be able to turn this on with 'child_terminate' in php.ini
However, I do this, and when I do a phpinfo(); it returns a:
apache2handler with only three Directives:
- engine
- last_modified
- xbithack
Are you running apache in multithreaded per chance?
i'm using external fastcgi
it seems all other request is blocked until the 1 have finished
any work arround?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Greg,
Tuesday, January 4, 2005, 4:54:31 AM, you wrote:
GD Anyone found any good deals with webhosts supporting PHP5 yet?
I use http://www.textdrive.com/ for a personal PHP5 site. Very
well configured servers. Recommended by someone else on this list who
works for them I believe.
Best
Hi you all,
How do you work with GMT time-zones? I mean, I´ve developed a support
system, with projects, bugs, tasks, etc... but as I user date()ç,I is 6
hours late from my client´s time-zone...
And I would like to make it a little more dynamic than just put a
variable in the code and add to
Rasmus Lerdorf wrote:
I thought I just explained that. The problem is that the dozens of
libraries you are likely to link into you Apache+PHP system may or may
not be threadsafe.
We are only thinking of using standard libraries,that is the libraries which
allow us to access the functions
On Sunday 02 January 2005 16:43, Robin Getz wrote:
Rasmus Lerdorf wrote:
$buff = 0;
while (!feof($fp)) {
$buff = fread($fp, 4096);
print $buff;
}
unset($buff);
fclose ($fp);
Well, the above code does not
[snip]
I'm a passionate freak of PHP from the past 4 years (that i can
remember).
And i love everything that php can do. But just 2 days ago i came along
a
situation where i have to write a hit counter for my website without
using
a database or a text file. Just using a global variable i wanted to
Sagar C Nannapaneni wrote:
I'm a passionate freak of PHP from the past 4 years (that i can remember).
And i love everything that php can do. But just 2 days ago i came along a
situation where i have to write a hit counter for my website without using
a database or a text file. Just using a global
Jason Wong wrote:
Are you using the above code on its own (ie not within some other code
that may affect the memory usage)?
Well, herethe entire file (It is pretty short - only a 2 pages, but sorry
in advance if anyone considers this bad form).
site is called with something like
Leif Gregory wrote:
Hello Richard,
Monday, January 3, 2005, 11:27:05 AM, you wrote:
RL ASP has no include function. This makes life very very very
RL difficult to write decent code.
Not that I like ASP, and I'm not an ASP guru by any means, but this
statement is incorrect AFAICS. I use to do this
Hi all
I have few variables in this format:
$isproductssorttext = 150;
$isofferssorttext = 250;
$isnewproductssorttext = 350;
$isproductscount = 50;
$isofferscount = 30;
$isnewproductscount = 20;
etc
What I want to do is have a variable
e.g. $x = products;
and create from that, the
Here has always been a problem I run into with GMT translation. You have to
make sure that the system you are working with is set to the correct time
zone so that any application trying to automatically figure out the time
have the starting point. This is easy enough in Windows, but can mean
[EMAIL PROTECTED] wrote:
!-- #include virtual=includes/databaseconnect.asp -- is html... :-)
/G
@varupiraten.se
Standard comment in HTML, but it has another use with Apache, and I
didn't find any reference to this type of syntax for ASP.
From the Apache Docs at
From: mario [mailto:[EMAIL PROTECTED]
Hi all
I have few variables in this format:
$isproductssorttext = 150;
$isofferssorttext = 250;
$isnewproductssorttext = 350;
$isproductscount = 50;
$isofferscount = 30;
$isnewproductscount = 20;
etc
What I want to do is have a
On Tue, 4 Jan 2005, mario wrote:
Hi all
I have few variables in this format:
$isproductssorttext = 150;
$isofferssorttext = 250;
$isnewproductssorttext = 350;
$isproductscount = 50;
$isofferscount = 30;
$isnewproductscount = 20;
etc
What I want to do is have a variable
2wsxdr5 wrote:
http://www.pdflib.com/products/pdflib/download/601src/PDFlib-Lite-6.0.1.tar.gzI
am trying to install PDFlib-Lite-6.0.1 on my testing server. So far no
luck. I am starting with php 4.3.3 and apache 2.0 on an SUSE 9.0
machine. Apache and php were installed with the OS. I
Hello John,
Tuesday, January 4, 2005, 2:52:27 PM, you wrote:
JN Standard comment in HTML, but it has another use with Apache, and I
JN didn't find any reference to this type of syntax for ASP.
!--#include file=whatever.asp --
and
!--#include virtual=whatever.asp --
are both perfectly valid
On Tuesday 04 January 2005 22:04, Robin Getz wrote:
Jason Wong wrote:
Are you using the above code on its own (ie not within some other code
that may affect the memory usage)?
Well, herethe entire file (It is pretty short - only a 2 pages, but sorry
in advance if anyone considers this bad
mario wrote:
Hi all
I have few variables in this format:
$isproductssorttext = 150;
$isofferssorttext = 250;
$isnewproductssorttext = 350;
$isproductscount = 50;
$isofferscount = 30;
$isnewproductscount = 20;
etc
What I want to do is have a variable
e.g. $x = products;
and create from that,
i Travis and Tobias,
I've modified a simple function, and incorporated it to my framework's
datetime.class.php witch handles all date and time conversion... Here
it is:
=
var $server_timezone_offset = -5;
var
Dear Sirs,
my fsockopen function is not working, for last 1 day. And I get following
error on log.
Any idea why?
PHP Warning: Call-time pass-by-reference has been deprecated - argument
passed
by value; If you would like to pass it by reference, modify the declaration
of
fsockopen(). If you
Richard Davey wrote:
Hello John,
Tuesday, January 4, 2005, 2:52:27 PM, you wrote:
JN Standard comment in HTML, but it has another use with Apache, and I
JN didn't find any reference to this type of syntax for ASP.
!--#include file=whatever.asp --
and
!--#include virtual=whatever.asp --
are both
--- Sagar C Nannapaneni [EMAIL PROTECTED] wrote:
But just 2 days ago i came along a situation where i have to
write a hit counter for my website without using a database
or a text file. Just using a global variable i wanted to do
this.
I dont know whether php can do this...(or may b i
QT wrote:
Dear Sirs,
my fsockopen function is not working, for last 1 day. And I get following
error on log.
Any idea why?
PHP Warning: Call-time pass-by-reference has been deprecated - argument
passed
Get rid of the signs in your code inside the fsockopen( )
--
Like Music?
Wow thanks for the helpful breakdown.
PHP's model is to be completely sandboxed such that every request is
completely separate from every other. Having a persistent interpreter
as you describe would break that rule and break the infinite horizontal
scalability model of PHP.
Understood.
Why don't you just create a daemon started from the command line
(shell/DOS) and have it accept socket connections from your Web server
PHP scripts and provide a SOA (Services Oriented API) to the code that
accesses your data structures pre-loaded in memory?
Setting up a separate
`phpize' failed
Any ideas?
Do you have php-devel installed?
If not install it and try again.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is really that the support for namespace in php5 is removed ? or there
are replacment for it ?
--
Alawi Albaity
Jeddah - KSA
Mobile : +966506660442
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Nichel wrote:
Richard Davey wrote:
Hello John,
Tuesday, January 4, 2005, 2:52:27 PM, you wrote:
JN Standard comment in HTML, but it has another use with Apache, and I
JN didn't find any reference to this type of syntax for ASP.
!--#include file=whatever.asp --
Sorry. I left out the
Using PHP 4.3.9, we have these settings:
session.use_cookies = 1
session.use_only_cookies = 1
session.use_trans_sid = 0
(verified by a display of phpinfo() )
with the goal of preventing URLs with session IDs appended. That
works fine, but when a page is validated by W3C, it throws an error,
Hello John,
Tuesday, January 4, 2005, 4:32:13 PM, you wrote:
JN But, is !--#include virtual=whatever.asp -- actually calling the
JN file from the ASP script like include() and require() will do in PHP?
Yes. We used to split all of our ASP projects up this way - a class
includes for the database
Hi,
I am having issues with the installation and configuration of my Apache
server 2.0.52(win32). All is well when I restart the server with the
exception of, when I load the following lines.
I opened up the httpd.conf file and searched for #LoadModule ssl_module
modules/mod_ssl.so.
Directly
Hey Harry,
I haven't ever had the time to get into the smarty templating... I keep
coming across apps that use it though.. I may spend some time checking it
out...
I've included the script with some updates... Also some CSS stuff and there
is a second page that shows the hour break down of that
Josh Whiting wrote:
Wow thanks for the helpful breakdown.
PHP's model is to be completely sandboxed such that every request is
completely separate from every other. Having a persistent interpreter
as you describe would break that rule and break the infinite horizontal
scalability model of
symbulos partners wrote:
Rasmus Lerdorf wrote:
I thought I just explained that. The problem is that the dozens of
libraries you are likely to link into you Apache+PHP system may or may
not be threadsafe.
We are only thinking of using standard libraries,that is the libraries
which
allow us
Bruno B B Magalhães wrote:
Hi you all,
How do you work with GMT time-zones? I mean, I´ve developed a support
system, with projects, bugs, tasks, etc... but as I user date()ç,I is 6
hours late from my client´s time-zone...
And I would like to make it a little more dynamic than just put a
is fastcgi of php active? how much ppl using this?
is there any list show activity of each sapi?
On Tue, 4 Jan 2005 17:22:34 +0800, Xuefer Tinys [EMAIL PROTECTED] wrote:
i'm using external fastcgi
it seems all other request is blocked until the 1 have finished
any work arround?
--
PHP
Robin Getz wrote:
Curt Zirzow wrote:
I should be able to turn this on with 'child_terminate' in php.ini
However, I do this, and when I do a phpinfo(); it returns a:
apache2handler with only three Directives:
- engine
- last_modified
- xbithack
Are you running apache in
hi,
I clean all signs, but still no result. This code was working perfect last
two years. I don't know what happen?
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
QT wrote:
Dear Sirs,
my fsockopen function is not working, for last 1 day. And I get
following
Thanks for taking the time for your comprehensive repsonse!
However, given your programming philosophy so far, and the fact that you
are worried about 7ms and that you specifically requested some kind of
shared memory space in PHP, you should Read This:
Curt Zirzow wrote:
* Thus wrote Aaron Paulley:
I found a thread a couple of weeks ago where someone had to create
symbolic links in order to get their install of PHP to work because
PHP wasn't able to find png.h.
A reference to that thread could be helpfull.
Hello Richard,
Tuesday, January 4, 2005, 5:28:18 PM, you wrote:
RL You can't do:
RL include /known/safe/path/$whatever.asp
RL and have it pull in ASP and evaluate it.
Actually, you can.
RL and you don't have enough money to make me use it again.
Likewise, I have no intentions of using ASP
On Wednesday 05 January 2005 01:38, Joe Harman wrote:
I haven't ever had the time to get into the smarty templating... I keep
coming across apps that use it though.. I may spend some time checking it
out...
I've included the script with some updates... Also some CSS stuff and there
is a
On Tue, 2005-01-04 at 16:54 +0200, mario wrote:
Hi all
I have few variables in this format:
$isproductssorttext = 150;
$isofferssorttext = 250;
$isnewproductssorttext = 350;
$isproductscount = 50;
$isofferscount = 30;
$isnewproductscount = 20;
etc
What I want to do is have
* Alawi Albaity [EMAIL PROTECTED]:
is really that the support for namespace in php5 is removed ? or there
are replacment for it ?
It's been removed as it's not currently working:
http://php.net/ChangeLog-5.php
My understanding is that it will be at least 5.1 before namespaces are
added --
Howdy,
Yes, I've googled - and yes, I've searched the archives - but didn't
find a solution for my problem. Here's the deal:
On a website ppl can react on articles and post messages. The content
of a message is given to a function which parses it all, taking care
of long words which could mess
On Mon, 03 Jan 2005 22:58:49 -0500, Jerry Kita [EMAIL PROTECTED] wrote:
Khuram Noman wrote:
Hi
Is there any function avialable in PHP to calculate
the no of days by passing 2 dates like 1 argument is
1/1/2005 and the second one is 1/2/2005 then it
returns the no of days or how can i
On Tue, 4 Jan 2005 08:37:26 -0800, Ramiro Trevino
[EMAIL PROTECTED] wrote:
Hi,
I am having issues with the installation and configuration of my Apache
server 2.0.52(win32). All is well when I restart the server with the
exception of, when I load the following lines.
I opened up the
Josh Whiting wrote:
However, would a single process PHP server daemon be able to
appropriately handle the incoming load from Apache, which will be
running multiple processes handling concurrent incoming requests?
I don't think you've quite got the right picture here...
When you write your
Sandy Keathley wrote:
Using PHP 4.3.9, we have these settings:
session.use_cookies = 1
session.use_only_cookies = 1
session.use_trans_sid = 0
(verified by a display of phpinfo() )
with the goal of preventing URLs with session IDs appended. That
works fine, but when a page is validated
Ramiro Trevino wrote:
I am having issues with the installation and configuration of my Apache
server 2.0.52(win32). All is well when I restart the server with the
exception of, when I load the following lines.
I opened up the httpd.conf file and searched for #LoadModule ssl_module
On Tue, 4 Jan 2005, Richard Davey wrote:
Hello John,
Tuesday, January 4, 2005, 2:52:27 PM, you wrote:
JN Standard comment in HTML, but it has another use with Apache, and I
JN didn't find any reference to this type of syntax for ASP.
!--#include file=whatever.asp --
and
!--#include
However, would a single process PHP server daemon be able to
appropriately handle the incoming load from Apache, which will be
running multiple processes handling concurrent incoming requests?
I don't think you've quite got the right picture here...
When you write your single process PHP
Hello,
on 01/04/2005 03:01 PM Josh Whiting said the following:
Why don't you just create a daemon started from the command line
(shell/DOS) and have it accept socket connections from your Web server
PHP scripts and provide a SOA (Services Oriented API) to the code that
accesses your data
Richard Lynch wrote:
Sandy Keathley wrote:
Using PHP 4.3.9, we have these settings:
session.use_cookies = 1
session.use_only_cookies = 1
session.use_trans_sid = 0
(verified by a display of phpinfo() )
with the goal of preventing URLs with session IDs appended. That
works fine, but when a page is
On Tue, 4 Jan 2005 16:41:16 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I don't know if I understand exactly what you're trying to do, but you might
try the HTML tag nobr/nobr to get the HTML not to wrap the line. See if
that helps at all.
Good luck!
-TG
= = = Original message
Is there any function avialable in PHP to calculate
the no of days by passing 2 dates
If you happen to be pulling both dates from MySQL you could use the
MySQL date functions:
http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html
hi
i have a site using oscommerce script,
i made some modifications but i am stuck with a variable there.
i can't describe it here cause no one will understand what i mean, so
is there any one familiar with oscommerce , so he can guide me, it
won't take more than 5 minutes
if yes plz add me to
richard...
i'm not sure of the email/list name.. but there is an apache email list.. if
you get to the apache.org site.. they could help you.. they're actually pretty
good.. sorry i don't have the name right at my fingers right now!!
good luck...
-Original Message-
From: Richard
On Tue, 2005-01-04 at 16:06, Josh Whiting wrote:
However, would a single process PHP server daemon be able to
appropriately handle the incoming load from Apache, which will be
running multiple processes handling concurrent incoming requests?
I don't think you've quite got the right
Hello Ron,
Tuesday, January 4, 2005, 5:59:31 PM, you wrote:
RC You then do %=filen% to go back into ASP to get the value of the
RC variable into the HTML code that you wrote. ASP is not including the file,
RC it is only supplying a file name for SSI includes whether apache SSI or
RC IIS SSI. The
--- Richard Davey [EMAIL PROTECTED] wrote:
Perhaps this is a better example for you:
script1.asp
%
StrName = bob
%
script2.asp
!--#include file=script1.asp--
%
Response.Write Hello StrName
%
Clearer now?
It looked to me like he understood before. If your example is the only
Bruce Douglas wrote:
richard...
i'm not sure of the email/list name.. but there is an apache email list.. if
you get to the apache.org site.. they could help you.. they're actually pretty
good.. sorry i don't have the name right at my fingers right now!!
good luck...
Hi all,
I meet a problem when I want to deleting a multiple
row, I have a table that contain columns UserID, name,
company name, and bill. UserID is uniq.
perhaps, some of UserID, say it five UserID I have to
delete, how to delete all raw that contain that UserID
? and if I want to update bill of
Hello Chris,
Wednesday, January 5, 2005, 12:58:43 AM, you wrote:
CS but that this limitation doesn't prevent an ASP developer from
CS modularizing code when there is support for SSI.
There is always support for SSI on IIS, infact removing this support
is a registry editing hassle in its own
Matthew Weier O'Phinney wrote:
* Alawi Albaity [EMAIL PROTECTED]:
is really that the support for namespace in php5 is removed ? or there
are replacment for it ?
It's been removed as it's not currently working:
http://php.net/ChangeLog-5.php
My understanding is that it will be at least 5.1
Hi all.
Note, this may be a bit off topic.
With that said... I am wanting to save a file off my website to a certain
location on my computer. Is there a way to click on a button (or something) and
that invokes the download, which then saves to (for example)
Sejati Opreker wrote:
Hi all,
I meet a problem when I want to deleting a multiple
row, I have a table that contain columns UserID, name,
company name, and bill. UserID is uniq.
perhaps, some of UserID, say it five UserID I have to
delete, how to delete all raw that contain that UserID
? and if I
I had this code working the way i wanted it to (as far as correct
username and password allowing successful login)...but what i want to
happen now is when a user successfully logs it it will make the login
form disappear and just say successfully logged in or welcome user and a
link below it
Hello prthomp,
Wednesday, January 5, 2005, 1:24:24 AM, you wrote:
pue The whole process:
pue 1. User uploads from a specific location (that I already know)
pue 2. Modifies the file via the web
pue 3. Saves/downloads the file to that exact location as
pue pulled from and replaces the old file
* Thus wrote Richard Lynch:
Curt Zirzow wrote:
* Thus wrote Aaron Paulley:
I found a thread a couple of weeks ago where someone had to create
symbolic links in order to get their install of PHP to work because
PHP wasn't able to find png.h.
A reference to that thread could be
* Thus wrote Ahmed Abdel-Aliem:
hi
i have a site using oscommerce script,
i made some modifications but i am stuck with a variable there.
i can't describe it here cause no one will understand what i mean, so
is there any one familiar with oscommerce , so he can guide me, it
won't take more
We are running PHP 4.3.2
Is there a class out there that can validate an xml file against a schema?
I know in PHP 5+ that the dom package includes simple validation
function, but until we upgrade, that's not an option.
Can anybody point me in the write direction?
I want something simple to
Hello Richard,
Tuesday, January 4, 2005, 10:28:18 AM, you wrote:
RL Or am I mis-remembering the horrors of ASP? It's been awhile since
RL I've used it, and you don't have enough money to make me use it
RL again.
You're telling me!!! grin I wrote three, count 'em, all of three ASP
database front
Robert Cummings wrote:
FWIW, I can't see how a WYW server is going to make his application run
faster. The transfer of the data he wants will still have to be
serialized and unserialized (in an optimal WYW server only unserialized)
and this is is exactly his bottleneck using an include. Actually
I am undecided whether to upgrade to apache 2 (currently running 1.3.33)
I've heard some bad stuff (some good maybe) about using apache 2 with php..
does anyone have an opinions?
I know everything has cons/pros but i am just looking for advice on whether
my site will benifit from the upgrade. I'm
76 matches
Mail list logo