Does anyone else have any thoughts on this?
error_reporting = E_ALL
in your php.ini file and PHP will warn you whenever you use an unitialized
variable.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
The question is this: Say I have a large main script that handles most
of the request if not all, I wonder what are the effect of this approach
on performance in a situation where we have a fair number of concurrent
users?
Situation:
Server:
P4 1300, Linux (RH 7.1), Apache, MOD_PHP,
Should be fine. Chances are your bottleneck will be your database, not
PHP.
-Rasmus
On Fri, 13 Jul 2001, Yves Gauvreau wrote:
Hi,
The question is this: Say I have a large main script that handles most
of the request if not all, I wonder what are the effect of this approach
on performance
I do this on several large high-traffic sites, as part of a
content-management system, and it works fine. If you also use a script
cache product (Zend Cache or APC) and a cacheing template engine (cough,
cough) together in this kind of environment, you should see excellent
results, with the
I place ? session_start(); ? at the top of my page and get this
Warning: open(/tmp\sess_4821f31846678b2eda49a625b76ca14c, O_RDWR) failed: m
(2) in w:\apache\loginform.php on line 1
Can somebody help? Do I need to make any changes to php.ini to get sessions
working?
Regards,
Johnny
--
PHP
Hello,
I am making a script at the moment and want to use images instead of the
usual buttons. Does anyone know how I can use the image as a reset
button?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
Is that to say that mySQL is not a good choice in this situation?
If you would be so kind. Why would mySQL be the bottleneck and why PHP
would not?
Regards.
Yves
Rasmus Lerdorf wrote:
Should be fine. Chances are your bottleneck will be your database, not
PHP.
-Rasmus
On Fri, 13
Should be fine, but if your main script is HUGE, say, 1MB (hey, it's
possible, if all HTML was inline :-) then you should consider breaking it up
to seperate files and include()'ing them. Require() is just as bad as having
them inline, in terms of memory usage, but include() replaces them only if
Is that to say that mySQL is not a good choice in this situation?
If you would be so kind. Why would mySQL be the bottleneck and why PHP
would not?
Regards.
Yves
Rasmus Lerdorf wrote:
Should be fine. Chances are your bottleneck will be your database, not
PHP.
-Rasmus
On Fri, 13
It all depends on your application, the use it receives, your server
hardware (mainly RAM), and your MySQL/PHP configurations.
For 90% of web applications, and 90% of the loads they receive, any
confiuguration of MySQL would be fine. But describe your scenario and we
should be able to let you
Aside from doing 2 tricky... well... tricks. You can't.. Standard HTML (to
my knowledge) does not support the ability to have a reset button be set to
an image. only those large gray Cadillac sized hideous buttons.
Now, with that said.. there are 2 ways you can do it. ;-)
Client Side - If you
A quick search on the web found that you have to output some javascript to
handle that
take a look at http://www.idocs.com/tags/forms/index_famsupp_142.html
(Caveat: I only found the information by going to google and searching on
html image reset button I have not studied it, or tried it.)
Nothing wrong with MySQL. My comment was not specific to any particular
database. It was just a general comment that any database-backed web site
will have the database as the bottleneck and any little optimizations you
try to do at the scripting level is not going to matter much in the
grander
On Fri, 13 Jul 2001 14:46:41 -0700, Brandon Orther
([EMAIL PROTECTED]) wrote:
Hello,
I am making a script at the moment and want to use images instead of
the
usual buttons. Does anyone know how I can use the image as a reset
button?
Thank you,
I'm running into this really odd, seemingly illogical problem:
Background:
This is an on-line course made up of lots of pages, some have forms, some
don't. The pages which have forms all submit to single php script (called
submit.php) which processes the submitted form, placing the
I've got the following lines in my php.ini in my C:\WinNT dir.
;
; Paths and Directories ;
;
include_path= ; UNIX: /path1:/path2 Windows:
\path1;\path2
doc_root= ; the root of the php
On Fri, 13 Jul 2001 12:28:37 -0400, Matthew Loff [EMAIL PROTECTED]
wrote:
Does mysql-front encrypt the password before it travels the net?
It does support the compressed client/server protocol, which would make
it harder to intercept-- but encryption is not an option yet on the
client.
I
Works just fine ... as does postgres --
ssh -N -2 -f -C -c blowfish -L3306:yourdatabase.server.here:3306
[EMAIL PROTECTED]
or the other usual tricks work too ... like going through a firewall (fyi ... clear
text on the *other* side of the firewall):
ssh -N -2 -f -C -c blowfish
Excellent tip, Hank! I didn't know SSH tunneling was that easy, I
haven't had the necessity to use SSH at all yet.
-Original Message-
From: Hank Marquardt [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 6:42 PM
To: Egan
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Passwords and
Hello,
I'm trying to get around a database problem that I'm having in which multiple
authors are producing (almost - the authors are listed as different) duplicate
returns within a bibliography.
What I've done is query the database and produce a list of duplicates using
something like this
From the html 4.1 manual (only saying this cause I don't know if it will
work on agents that only support previous html versions)...
BUTTON name=reset type=resetResetIMG src=/icons/oops.gif
alt=oops/BUTTON
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Brandon Orther
Windows plataform? I was getting this error and solved by creating a dir
named 'tmp', so create:
c:\tmp
That's where the session files will be stored... I think it's configurable
in php.ini.
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Johnny Nguyen [EMAIL
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
I've tried everything I can to pipe a string with mime content to
metamail, but it fails in every variation of:
exec(echo $mime_string | /usr/bin/metamail -d -q -r -w -x -y ,
$met_res)
I'm not sure of any open source projects that match what you're asking for,
but I still recommend PHP.
I get the impression that you are new to programming. If so, I do recommend
PHP. At least in my case, PHP came easier than Perl or Python, probably
because PHP is primarily designed for use on
www.php.net/popen ? ... or am I missing something?
On Fri, Jul 13, 2001 at 07:52:51PM -0400, Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
I've tried everything I can to pipe a string with mime content to
metamail,
Hi All
I'm really not sure if this is php or, perhaps, javascript.
I have a php application in development. On one page I have a list of
information extracted from a mysql database. I have links beside each
line to edit or delete that informaiton (which calls a php function to carry
out
Butler, Shaun pressed the little lettered thingies in this order...
check out the crypt() function
http://www.php.net/manual/en/function.crypt.php
if you don't care about decrypting the password this works fine.
--Shaun
Umm... You've misunderstood something. The reason why you
Thanks. c:\temp took care of it. now if i can only get the extensions to
work.
-Original Message-
From: Inércia Sensorial [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 4:39 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Error Message with sessoin variables.
Windows plataform?
Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That
would be elegant :-)).
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I am sorry, maybe going a little off-message here, but what would do you
mean by eliminate 'table-scans'?
--
Julio Nobrega.
You're asking me will my love grow, I don't know.
Christopher Ostmo [EMAIL PROTECTED] wrote in message
news:3B4F343A.18504.2376C59B@localhost...
As Rasmus stated
Is it possible to copy a file to a dynamically created directory?
Does anyone know how to put text onto multiple images with only one
input? I want to generate images for javascript rollovers.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I either needed to add c:\php\dlls to my path or i had to copy libsasl.dll
into c:\winnt\system32 in order for my extensions to work. My extension dir
looked like this:
; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php\extensions\
now gd and ldap show up when
On 13 Jul 01, at 21:47, Inércia Sensorial wrote:
Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That
would be elegant :-)).
Yep, that's what I'm planning on - got any references on actually doing it?
I'm still learning about this sort of stuff and it really helps to see
there should not be any problem if your web server is configured to parse
.inc extentions as PHP, in wich case, even if the file is called
separately, the server will strip php tags and send normal html output.
regards
At 00:11 10/07/01, Noah Spitzer-Williams wrote:
Hey guys,
I come
On Sat, 14 Jul 2001, Dave Freeman wrote:
On 13 Jul 01, at 21:47, Inércia Sensorial wrote:
Maybe a pop-up or a CSS/javascript box with a 'true delete' link (That
would be elegant :-)).
Yep, that's what I'm planning on - got any references on actually doing it?
I'm still learning
On 14-Jul-01 hassan el forkani wrote:
there should not be any problem if your web server is configured to parse
.inc extentions as PHP, in wich case, even if the file is called
separately, the server will strip php tags and send normal html output.
Enough already.
Whom should we flog
there should not be any problem if your web server is configured to parse
.inc extentions as PHP, in wich case, even if the file is called
separately, the server will strip php tags and send normal html output.
Once again, don't do this.
If you write your .inc files assuming they are going
On 13-Jul-01 Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
Don Read wrote:
On 13-Jul-01 Jeff Hill wrote:
I've tried everything I can to pipe a string with mime content to
metamail, but it fails in every variation of:
exec(echo $mime_string | /usr/bin/metamail
Is it possible that your database is ot updating
immediately but on a delayed basis..some databases can
be set to update on a delayed or immediate basis. If
the update varaiables are derived from the database
then these will not be updated as well and the
redirect will go thru, unless you put in
how can you hate foo.inc?
- Original Message -
From: Don Read [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 13, 2001 10:39 PM
Subject: Re: [PHP] how to hide dbconnect file if its in published directo
On 14-Jul-01 hassan el forkani wrote:
there should not be any problem
Ain't no such critter as a page break in html, but you can let the browser
help out.
True. But, there is one in XML.
You can use XML to insert PRINTABLE page breaks in your documents. That
is, you can specify where a page ends, and a new one begins, when the web
doc is sent to the printer.
On 14-Jul-01 hassan el forkani wrote:
there should not be any problem if your web server is configured to parse
.inc extentions as PHP, in wich case, even if the file is called
separately, the server will strip php tags and send normal html output.
Enough already.
Whom should we flog
101 - 142 of 142 matches
Mail list logo