If Apache wasn't detecting the PHP script files your testing with (and
'loading' PHP to parse and execute it), you'd at least just have the 'text'
of the script displayed in the browser.
You haven't provide much detail on 'how' you installed the products or the
'config' statements you used...
Hi all in the list :
I read an news that said jsp/asp.net is better than php..
They made a test that asp/php/jsp/asp.net using for loops,
Jsp from 1 to 2 takes only 4 secs
Asp from 1 to 2000 (not 2) takes 72 secs
Php from 1 to 2000 (not 2) takes 68 secs
Asp.Net from 1 to 2
php-general Digest 2 Sep 2001 14:00:00 - Issue 852
Topics (messages 65620 through 65632):
FREE Internet Business --- Start Immediately...
65620 by: cici429.prontomail.com
ereg question
65621 by: js
Re: chmod and ps ef |grep httpd
65622 by: Richard Lynch
Re: loop?
Hi to all.
I use debian potato 2.2r3 and i have installed apache + php4 plus the
module php4-imap, because i have to use the php4 imap function to
retrieve email from a imap server.
But when i try to open a mailbox whit the correct username and password
with the function imap_open() i wait
It's Chinese .
I translated it maybe u cannot understand bcoz my English is not
good
First: jsp test for loop see below
jsp:useBean id='clock' scope='page' class='dates.JspCalendar'
type=dates.JspCalendar/
jsp:getProperty name=clock property=time /
%
int i=0;
int j=0;
int
Haha I tried its code and it only takes 1~2 secs to run it .
Wellgod damn lies
-Original Message-
From: nick [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 02, 2001 8:38 PM
To: 'Faisal Nasim'; [EMAIL PROTECTED]
Subject: RE: [PHP] php's future
It's Chinese .
I
How about you make a simple script on Server B that will handle Database
stuff, and you get a Script on server A to fopen http://B/myscript.php and
do calls like myscript.php?a=addname=fredaddress=uk etc
and you can do the same to retrieve data but just parse out the popup with
the script on
exactly...don't believe everything you read...
if you want some benchmarking results, search google...from what i've seen,
php is the fastest out of any of them...certainly not jsp...
jack
nick wrote:
Haha I tried its code and it only takes 1~2 secs to run it .
Wellgod damn lies
YOUR FREE MEMBERSHIP!!
Plus get a Free Cell Phone and Free Computer Software
To Help YOU Make MORE Money !!
CHECK IT OUT!
http://www.freewebco.net/bizopp or
http://www.freewebhostingcentral.cc/bizopp
The Fastest Way To Earn $2000+ EVERY Month Online !!!
Looking for a secure and
You need to load the dbase.so support module in your php. Like a dll in
windows. Php has a lot of libraries, the idea is t load only those you
need. I don't remember the syntax and the files to modify, check
configuration manual or ask your system administrator. I had a similar
problem,
Hi
I wish to learn php, but I was wondering if there is a better resource( something
like a guide) besides the php manual on php.net ?
Thanx
Nikola
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm using imap_header to get all the headers in a newsgroup on a NNTP-server
like this
if($nntp=imap_open({sunsite.auc.dk/nntp:119}dk.admin,,;))
{
for($i=1;$i5;$i++)
{
$header = imap_header($nntp, $i);
echo
I wish to learn php, but I was wondering if there is a better
resource( something
like a guide) besides the php manual on php.net ?
Buy the the book from Sterling Hughes with contributions by Andrei
Zmievski PHP Developer´s Cookbook from Sams. I have been reading
every page the last two weeks
Hi peke:
May be you can try with a hidden state field in the form. I think it
can be faster and more compatible because you don't need to load the
session support.
input type = hidden name=state value=?=$MyVar?
Pekesan wrote:
Hi...
I have a php url on wich in some steps through several
I can say.. It is really depends on your system specification and the users of
it
If the benchmark result is correct.. I think everybody will learn JSP rather
than doing Php...
Check your sources.. I guess they are not professional enough..
Have a nice day.
Regards
Ming
Jack Sasportas
...at 018D2466
what have I done wrong!
Michael Cronström
[EMAIL PROTECTED]
--
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]
nick wrote:
Haha I tried its code and it only takes 1~2 secs to run it .
Wellgod damn lies
Intersting. I tried the following code (which gives much more detailed
time info, check it out - stolen from Andrey Hristov on php-db), and my
times, on our P2-266 webserver, are just above
And, of course, the JSP was running 2 x 2 iterations, or 400,000,000
iterations, in a few seconds.
Yeah, right.
Intersting. I tried the following code (which gives much more detailed
time info, check it out - stolen from Andrey Hristov on php-db), and my
times, on our P2-266
Actually, an optimizing Java compiler would have detected it was a dead
loop (i.e. didn't actually do anything) and just skipped it, meaning it
took four seconds just to load the JSP page and invoke the bean. :) :)
The only benchmarks that mean anything are your actual web applications
running
So, we can say that on scripts that accomplish absolutely nothing, jsp
is faster than php - I can live with that :) Most of my scripts do
accomplish something (intended or not!) ;)
Tim wrote:
Actually, an optimizing Java compiler would have detected it was a dead
loop (i.e. didn't actually
So sprach »Chris Hobbs« am 2001-09-02 um 12:00:26 -0700 :
Of course, I'm trying to figure out when I would have a script that
really needed to go through 4M iterations, and thus (like most
Well, this is of course true, but I can easily imagine a script which is
run 200,000 times per second
me too and as the max execution time is 30 secs and there's no code to
override it.
- Original Message -
From: nick [EMAIL PROTECTED]
To: 'nick' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 02, 2001 1:56 PM
Subject: RE: [PHP] php's future
| Haha I tried its code
So sprach »Paul Roberts« am 2001-09-02 um 17:06:08 +0100 :
me too and as the max execution time is 30 secs and there's no code to
override it.
Not so.
http://www.php.net/manual/en/function.set-time-limit.php
http://www.php.net/manual/en/configuration.php#ini.max-execution-time
PS: Quote
Hi!
I have this file and it doesen´t write my tablerows:
$message .= table
$message .= trtdbVarunamn/b/td/tr;
$i = 0;
$ii = count($vn);
for ($i=0;$i$ii;$i++) {
$message .= trtd.$vn[i]./td/tr;
}
$message .= trtdbSum/b/td/tr;
$message .= /table;
I am trying to build a htmlmail but how do I write
i think he meant in that specific code, they don't change the default time,
therefore, it'd be impossible
Alexander Skwar wrote:
So sprach »Paul Roberts« am 2001-09-02 um 17:06:08 +0100 :
me too and as the max execution time is 30 secs and there's no code to
override it.
Not so.
include your source.
Michael Cronström wrote:
...at 018D2466
what have I done wrong!
Michael Cronström
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
So sprach »Jack Dempsey« am 2001-09-02 um 16:29:52 -0400 :
i think he meant in that specific code, they don't change the default time,
therefore, it'd be impossible
Ah, I see. Well, yes, that's right.
Uhm - maybe not. Although very unlikely, it's possible that they've
changed it in the
So sprach »Jan Grafström« am 2001-09-02 um 22:17:34 +0200 :
$i = 0;
$ii = count($vn);
Sure that $vn contains anything? Add this line after the count() line
to see what $vn contains:
var_dump($vn);
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to
Should this work, if not, why not
?php exec(mysqlimport -u root -ppasword test one.txt) ?
the import works fine from the command line
TIA
Terry
PHP was not compiled/configured to have dbase support.
In Linux, you can recompile --with-dbase (see configure --help).
In Windows, you can alter you php.ini to have something not unlike:
basephp.dll
in your Extensions
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL
You need to:
echo $message;
at the end.
Or, just echo each line as you go.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
You're missing a closing ) on the final print() statement...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original
You are probably using the Windows version, based on the error message.
Only time i've seen this is when trying to use the ISAPI Windows version -
it just doesn't work very well, period. Don't use it. use the CGI on
Windows,
or move to another platform and have it compiled in to the
Pardon my English - I don't know Chinese. :(
That's the worst comparison benchmarks I've ever seen.
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
DAMN - they've moved it. Anyone got a better link? The only
one I could find was
Works fine, thank you
Youri
On Sat, 1 Sep 2001 14:01:57 +0200, BRACK ([EMAIL PROTECTED]) wrote: I
have query - $res = mysql_query(SELECT
skits.*,category.cat_id,category.cat_name FROM skits,category WHERE
MATCH (title,descr,skits) AGAINST ('%$search_idea%') and skits.lang
like 'English'
Richard Lynch wrote (Many thanks Rick for this):
% virtual (../../../../headlvl4.shtml); %
This works fine for the header, but makes an error when the include
built in function calls the php script that shows the main panel of the
page:
I don't see how the virtual() is involved here
what have I done wrong!
Answering myself:
Oops! Looping the Loop with no skills always ends with a crash!
...one day there will be an Apache standing in the shadow, I hope!
Thanx
Michael Cronström
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hallo !
i have some problems when trying to use senfax from halyfax within php.
i am using php4 on a redhat 6.2 box with the recent version of hylafax
and apache.
well, i am using the following code:
$fd = fopen($tmpPath . $delivery_number, w);
set_file_buffer($fd, 0);
$size = fwrite($fd,
Off-topic I know but hey, it's quiet on the list, and you guys are SO
helpful :-)
I have an HTML file that is 82kb in size. BUT on my 56k dialup it downloads
at 20k/s ~ 4 seconds. This is obviously due to compression.
Winzip compresses it down to 6kb.
Anyway, my question:
Do all modems
apache graceful command will restart the server altought it will
wait until all web server sessions are finished to restart
Valter Santos
WEB/WAP Consultant
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Friday,
In this company, they have choose Microsoft stuff because they think it
is the right choice for what they do. For some things, PHP could be a
better choice, but it would be hard to convince who is in charge above
me because PHP does not benefit of a great credibility in the market
that
you really do not to have to rebbot your server...
Just restart apache with the graceful action...
apache graceful
Valter Santos
WEB/WAP Consultant
-Original Message-
From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]]
Sent: Friday,
At 03:11 03-09-01, Valter Santos wrote:
In this company, they have choose Microsoft stuff because they think it
is the right choice for what they do. For some things, PHP could be a
better choice, but it would be hard to convince who is in charge above
me because PHP does not benefit of
Zeev, I agree with you!
Valter Santos
WEB/WAP Consultant
-Original Message-
From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 1:21 AM
To: Valter Santos
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:
I got the SAMS teach yourself book. It's a beginners level book and I've
been able to complete a couple of moderate projects based upon the first 12
chapters. With the book, the online php manual, and the help from the
experienced people on this mailing list you should do alright. I'm told,
Hi,
I'm about ready to go insane over this one. I have the following link.
http://www.wayneswoodworks.net/test/samples.php3?key=1
When I get into samples.php3 I do:
$record = $HTTP_GET_VARS[key];
echo record=$recordbr;
And the record variable is blank/missing. I have other pages that are
Hello everyone!
I'm a little lost.
As I understand it, PHP 4 has CURL support.
1) is enabling the curl extension a substitute for installing the curl
package?
In other words, if I enable the extension, do I still need to instal
the CURL package?
2) Can I install curl
As I understand it, PHP 4 has CURL support.
1) is enabling the curl extension a substitute for installing the curl
package?
In other words, if I enable the extension, do I still need to instal
the CURL package?
You need to install CURL, and tell PHP where it is when
I am using a downloaded PHP sitesearch script and can not get it to read the
page contents past the style sheet..
If I search a text file it will give me the contents exactly as I wish, but
if I search a html document it only gives me the page title and site links..
The page in question is at
ok i have this at the top of my page:
include(/www/data/vi2/root/layout/functions.php);
include(/www/data/vi2/root/layout/config.php);
require(/www/data/vi2/root/layout/init.php);
but when I call one of the functions included in functions.php i get a
message saying :
Fatal error: Call to
On 03-Sep-2001 Aaron Moore wrote:
ok i have this at the top of my page:
include(/www/data/vi2/root/layout/functions.php);
include(/www/data/vi2/root/layout/config.php);
require(/www/data/vi2/root/layout/init.php);
but when I call one of the functions included in functions.php i get a
Its obviously not finding it... my question is why the includes don't
work???
Thanks
Aaron Moore
Don Read [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On 03-Sep-2001 Aaron Moore wrote:
ok i have this at the top of my page:
At 10:15 PM 2/09/2001, Aaron Moore wrote:
Its obviously not finding it... my question is why the includes don't
work???
Thanks
Are you 100% positive that the get_total() function is defined in your
functions.php file ?
Check it, make sure there is no typos because this seems synonymous with
Thanks, Jason!
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
The world is waiting, are you ready?
-+___+-
On Mon, 3 Sep 2001, Jason Murray wrote:
As I understand
A few things to consider:
1) double check the include path.
2) if you're not the appropriate file is being included, then user
REQUIRE, as that will stop the program.
3) Variable Scope
Your function variables may be out of scope. Double check them, or
make them global.
4) If
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Aaron Moore) wrote:
Its obviously not finding it... my question is why the includes don't
work???
Make sure you have error_reporting set to E_ALL and display_errors turned
on, then try running the script again.
--
CC
--
PHP General
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (News.Fbcc.Com) wrote:
http://www.wayneswoodworks.net/test/samples.php3?key=1
When I get into samples.php3 I do:
$record = $HTTP_GET_VARS[key];
echo record=$recordbr;
And the record variable is blank/missing. I have other pages that
I also can hardly believe the 84+ sec. In such case all PHP template
engines may run for a thousand years.
- Original Message -
From: nick [EMAIL PROTECTED]
To: 'nick' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 02, 2001 2:56 PM
Subject: RE: [PHP] php's future
Haha
Heres what I have so far. I've put all the fiels into one folder, and i know
the paths are correct since they don't give an include error. The error
resides in line 6 of test.php where i try to call a function which is in
function.php
the test.php file :
___
If you want to make a fixed size of your SELECET ... in IE you can
do it like this:
SELECT NAME=aname STYLE=width : 250px
OPTION VALUE=aa
OPTION VALUE=bb
OPTION VALUE=cc
OPTION VALUE=dd
/SELECT
or use 100% to make the box be as wide as the
Hi folks
Just in case I am missing something -
Is there any way for a function to determine the name of the calling
function?
I want my database abstraction layer to be able to log query errors against
the name of the calling function, but I would rather not have to pass the
name in the query
Georgie [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a simple php script that searchs a MySQL database and returns
results
that I made myself and I'm trying to implement code that splits the
results
into x amount of pages, buts it really tricky.
...
look here: http://www.bitmechanic.com/mail-archives/mysql/Jun1998/0387.html
An extract:
Write this:
select * from table_name limit 100
select * from table_name limit 100, 100
select * from table_name limit 200, ( what number you want)..
On Mon, 15 Jun 1998, Joe Walnes wrote:
Hello,
Markus Mayer wrote:
Let's say you have two servers, on the first one (A) you have your website
containig all those nice php scripts and co but only a crazy small database
(2 megs), on the second one (B) you have a really big database available
but the problem, that the provider won't
Hello,
check it in the manual: http://www.php.net/manual/en/function.ereg.php
If you don't pass the third -- optional -- argument, then it's true.
Otherwise not.
I don't know this book, but you may keep in my mind that PHP is evolving,
so the online manual can be its most up-to-date
Of course you can do that!
PHP is server side and javascript is client side...
you can work with javascript within PHP like you work with HTML!
Valter Santos
WEB/WAP Consultant
-Original Message-
From: Jack [mailto:[EMAIL
I have a simple php script that searchs a MySQL database and returns results
that I made myself and I'm trying to implement code that splits the results
into x amount of pages, buts it really tricky.
Can anyone give me a link to some code or even better, a search database
script that I could
Stefan Siefert wrote:
Hi Bill,
please tell us how you configured php and apache (e.g. PHP
with --with-apxs=/usr/local/apache/bin/apxs) also be sure to have apache
enabled for DSO ( --enable-module=so or --enable-modul=most)
Sorry but I post email from Win98 and I don't have my compile
I'm running RedHat Linux 7.0+ and trying to get PHP 4.0.6 working
with Apache 1.3.20 as a DSO. These are the most recent stable versions.
I'm compiling the sources, the compiles finish with no errors and I get
a libphp4.so file.
Has anyone been able to compile these versions of Apache and PHP4
69 matches
Mail list logo