01.10.03 at 18:17 Curt Zirzow wrote:
preg_replace('/(?!\\).{1}/', 'x', $term);
01.10.03 at 18:27 CPT John W. Holmes wrote:
$term = preg_replace('/[^\\]./','x',$term);
they don't work (thanks anyway)
it's pretty simple: i need a regex that matches any character in a
string except \* (* stands for
From: [EMAIL PROTECTED]
it's pretty simple: i need a regex that matches any character in a
string except \* (* stands for any char that follows the \).
example: this is \ba test
should match: this a is test
isn't there a way to do this?
Turn that around. What you need to do is remove \*
Dear all,
I have some questions concerning the usage of OpenSSL within PHP.
I'm a litle confused by the fact that I couldn't find any function capable
of verifying if a X.509 certificate is valid or not. For instance, I wish to
develop some applications were some X.509 certificates will be
Rich Fox [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can someone point me to documentation on the operator? I am
wondering if
there are some quirks I don't know about. Yet I can't find it
documented on
the php website.
THanks,
Rich
I've never seen a operator.
Do you mean
On Wed, Oct 01, 2003 at 01:07:35PM -0400, Rich Fox wrote:
:
: Can someone point me to documentation on the operator? I am wondering if
: there are some quirks I don't know about. Yet I can't find it documented on
: the php website.
Try searching for heredoc.
--
PHP General Mailing List
Rich Fox mailto:[EMAIL PROTECTED]
on Wednesday, October 01, 2003 10:08 AM said:
Can someone point me to documentation on the operator? I am
wondering if there are some quirks I don't know about. Yet I can't
find it documented on the php website.
I don't know the answer to your question
Sorry forgot about the heredoc, just waste my post unterneath
--
Dennis
Dennis Sterzenbach [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Rich Fox [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can someone point me to documentation on the operator? I am
wondering if
On Wed, Oct 01, 2003 at 08:31:49AM -0700, Eric Rounds wrote:
:
: On Wednesday, October 01, 2003, at 08:26AM, Eugene Lee wrote:
:
: Make sure that Sendmail is enabled and running on OS X. By default,
: Sendmail is disabled on OS X.
:
: Thank you! I will let the administrator know.
:
: By the
I have kibitzed and kaboodles all morning seeking the answer to the
unpack question. I need to unpack some binary data and make sense of it.
Unfortunately I am unsure how the binary for this was created. I have
tried converting ascii but I am thinking (after much frustration) that I
should go hex
CPT John W. Holmes wrote:
From: Eugene Lee [EMAIL PROTECTED]
On Wed, Oct 01, 2003 at 01:12:16AM -0400, Gerard Samuel wrote:
:
: Got a problem with htmlspecialchars being too greedy, where
: for example, it converts
: foo;
: to
: amp;foo;
:
: Yes it displays correctly in the browser for some
Hi all,
I'm trying to run a php application in cgi mode which will use
posix_set_uid function to set its user id to different users.
I have set the user and group of the program to root:root and set the
permissions as
-rws--sr-x1 root root 1096 Oct 1 12:58 test2.cgi
here's my
Thank you all so much! That sorted it! Cheers!
I didn't see that before because I'm blind. Metorphorically speaking.
Put it down to code-blindness from staring at the screen too long. Weird
thing is, my searches took me to http://www.php.net/configuration, which
didn't mention the moving ini
On Thursday 02 October 2003 01:28, Eugene Lee wrote:
On Wed, Oct 01, 2003 at 08:31:49AM -0700, Eric Rounds wrote:
: On Wednesday, October 01, 2003, at 08:26AM, Eugene Lee wrote:
: Make sure that Sendmail is enabled and running on OS X. By default,
: Sendmail is disabled on OS X.
:
: Thank
On Wed, Oct 01, 2003 at 02:02:08PM -0400, Gerard Samuel wrote:
: CPT John W. Holmes wrote:
: From: Eugene Lee [EMAIL PROTECTED]
: On Wed, Oct 01, 2003 at 01:12:16AM -0400, Gerard Samuel wrote:
: :
: : Got a problem with htmlspecialchars being too greedy, where
: : for example, it converts
: : foo;
Hey all, I'm working out of a book teaching myself PHP4 here and I've
got this code from a login web page...
[begin code]
session_start();
if(!isset($userid)) {
login_form();
exit;
}
else {
session_regisister(userid, userpassword);
Eugene Lee wrote:
On Wed, Oct 01, 2003 at 02:02:08PM -0400, Gerard Samuel wrote:
: CPT John W. Holmes wrote:
: From: Eugene Lee [EMAIL PROTECTED]
: On Wed, Oct 01, 2003 at 01:12:16AM -0400, Gerard Samuel wrote:
: :
: : Got a problem with htmlspecialchars being too greedy, where
: : for example,
On Thu, Oct 02, 2003 at 02:23:44AM +0800, Jason Wong wrote:
: On Thursday 02 October 2003 01:28, Eugene Lee wrote:
: On Wed, Oct 01, 2003 at 08:31:49AM -0700, Eric Rounds wrote:
: :
: : By the way, is there a way I can check, without looking into the
: : serving Mac, to see if it is running?
:
From: Jeff McKeon [EMAIL PROTECTED]
[snip]
where do I set the default location for session data?
session.save_path in php.ini
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello All
I need to allow a user to access a PDF file, only if he/she is logged
in as a registered user. So here is the code that I am trying to use. I
have been able to make this work in the past, when I had to read .html
file, now since the file in question is a .pdf file, I am having
http://ca.php.net/manual/en/ref.pdf.php
check this out you should find what you need
-- snip --
From: Pushpinder Singh Garcha [EMAIL PROTECTED]
I need to allow a user to access a PDF file, only if he/she is logged
in as a registered user. So here is the code that I am trying to use. I
have
I successfully built Php 4.3.3 on Solaris for apache with ora8 support.
I noticed that the .reg files in php/lib/.registry have hardcoded
pathnames to the php files.
I want to be able to take the php files (along with the apache files)
and install them on a different Solaris system, possibly in a
Hello,
I run Apache with PHP and MySQL on a RedHat 7.2 box with 1GB Ram @ 2GHZ
(p4).
I last increased my max connections to 500. That seemed to fix things for a
while. Now I am getting the problems (database freezing up because too many
connections) again. The site I run is pretty high traffic.
What's the difference between :
$_SERVER[COMPUTERNAME] and $_ENV[COMPUTERNAME] ?
Nicole wrote:
I last increased my max connections to 500. That seemed to fix things for a
while. Now I am getting the problems (database freezing up because too many
connections) again. The site I run is pretty high traffic.
I wondered if anyone encountered a solution to handle this sort of
Hi Folks..
printf (
html
body
center
form action=\%s\ method=post name=\frmSearch\
input type=hidden name=search value=yes
table
Jonas_weber @ Gmx . Ch wrote:
regular expressions
the example below should turn any character exept \* (*= any char)
into an x:
$term = preg_replace('/[^(\\\)+(.){1}]/', 'x', $term);
but i guess because of the [brackets] the . (period) is treated as
character . instead as metacharacter
Brad Pauly wrote:
Nicole wrote:
I last increased my max connections to 500. That seemed to fix things
for a
while. Now I am getting the problems (database freezing up because too
many
connections) again. The site I run is pretty high traffic.
I wondered if anyone encountered a solution to
Warning: printf(): too few arguments in
/home/sites/site8/web/index_test.php on line 34
I cannot for the life of me figure out what the problem is. I've looked
thru archives, examples, and pages of a book all about printf, and this
just doesn't add up to me.. Anyone see the problem?
To print a
Originally, I used pconnect for a while. Then I learned that with high
traffic site, that's not the best idea. So I changed to 'connect.' But I
still get the problems.
Nicole
aeontrek.com
Brad Pauly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Nicole wrote:
I last increased my
well for starters dan I would pass the first element as a string variable
that way I could echo the string and see what it actually says ie
$stringtopass = htmlbody center;
$stringtopass .= form action=\%s\ method=post name=\frmSearch\input
type=hidden name=search value=yes;
$stringtopass .=
OH! Heh... learn something new everyday.. Thank you!
-Dan Joseph
-Original Message-
From: Mike Migurski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 3:49 PM
To: Dan Joseph
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] printf
Warning: printf(): too few
1. The PHP manual sais to escape the escape char, it has to be written
twice*, but:
$term = preg_replace('/(\\)/', 'backslash $1', $term);
causes an error** while using three backslashes (see 2.) works.
2.1.
$term = beg \ end;
print preg_replace('/(\\\)/', 'backslash $1', $term);
returns: beg
Are you sending a Content-Type header to the browser to let it know what
type of file you are sending it?
On Wed, 2003-10-01 at 12:27, Pushpinder Singh Garcha wrote:
Hello All
I need to allow a user to access a PDF file, only if he/she is logged
in as a registered user. So here is the code
No I am not sending any headers to the browser. Any suggestions !
Thanks
On Wednesday, October 1, 2003, at 04:05 PM, Tyler Lane wrote:
Are you sending a Content-Type header to the browser to let it know
what
type of file you are sending it?
--
PHP General Mailing List (http://www.php.net/)
To
--- Nicole [EMAIL PROTECTED] wrote:
I run Apache with PHP and MySQL [snip]
I last increased my max connections to 500. That seemed to fix things
for a while. Now I am getting the problems (database freezing up
because too many connections) again. The site I run is pretty high
traffic.
This
--- Nicole [EMAIL PROTECTED] wrote:
Originally, I used pconnect for a while. Then I learned that with
high traffic site, that's not the best idea.
Where did you learn this? I disagree with that notion.
I manage a Web site that serves 10 million hits a day, and if I didn't use
persistent
I wrote an ultra basic mail interface as a part of my client's customer
administration area to handle emails. Basically, the standard email form
gets stored in a database, and when they respond to the help request, they
fill out the form and PHP emails the message.
Now, they want to have the
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Wednesday, October 01, 2003 1:02 PM said:
Does this make ANY sense?
Seeing as how you haven't had a response yet, I'll ask this: what
exactly is your question? I'm not sure as to what it is that you want.
c.
--
PHP General Mailing List
On Wed, 01 Oct 2003 14:22:30 -0400, Greg Watson [EMAIL PROTECTED]
wrote:
I'll check up on the security implications. Unfortunately for me, this
is the way I was taught PHP. I'll have to rethink things I suppose!
(and make sure you understand the security implications that may arise
from
having
?
header(Content-type: application/pdf);
header(Content-disposition: attachment; filename=filename.pdf );
readfile(filename.pdf);
?
Launching this script will prompt a file download screen if the Acrobat Reader Plugin
is not available on the client browser. Otherwise it will display inside the
I'm working for the first time with object orientated programming in php and
I can't figure out how to access elements or methods when you place objects
inside objects inside other objects.
my origonal idea was to use the following syntax:
$a-b-c
but this just returns:
$a-b . -c
Please, need
[snip]I'm working for the first time with object orientated programming
in php and I can't figure out how to access elements or methods when you
place objects inside objects inside other objects.
my origonal idea was to use the following syntax:
$a-b-c
but this just returns:
$a-b . -c
Please,
On Tue, 30 Sep 2003 19:00:18 -0400
Geoff Hellstrand [EMAIL PROTECTED] wrote:
I'm working for the first time with object orientated programming
in php and I can't figure out how to access elements or methods
when you place objects inside objects inside other objects.
my origonal idea was to
Am Mittwoch, 01.10.03 um 22:27 Uhr schrieb Chris W. Parker:
Seeing as how you haven't had a response yet, I'll ask this: what
exactly is your question? I'm not sure as to what it is that you want.
My question are:
a) Why does the PHP manual say that backslashes get escaped by writing
them twice
I'm just starting to experiment with mod_rewrite on Apache 1.3.x and
php 4.3.3. Register_globals is off.
I have the following rules in my .htaccess file (which sits in the
site's root dir along with paper.php):
RewriteEngine On
RewriteRule ^/([a-z]+)/([a-z]+)/$ paper.php?paper=$1section=$2 [L]
I am thinking about writing a content management system which allows
user to use plugins written by other developers. It would allow me to
easily update system functionality simply through creating and
releasing plugins, as well as giving the user some power when it comes
to using this system.
* Thus wrote jonas_weber @ gmx. ch ([EMAIL PROTECTED]):
01.10.03 at 18:17 Curt Zirzow wrote:
preg_replace('/(?!\\).{1}/', 'x', $term);
01.10.03 at 18:27 CPT John W. Holmes wrote:
$term = preg_replace('/[^\\]./','x',$term);
they don't work (thanks anyway)
quote orignal message
the example
Greetings:
For those of you curious to see the stats for usage of this list,
please check out the following. You can create your own reports based
on custom date ranges and search the archives via the URL below.
Enjoy!
--
Steven Jarvis wrote:
I'm just starting to experiment with mod_rewrite on Apache 1.3.x and
php 4.3.3. Register_globals is off.
I have the following rules in my .htaccess file (which sits in the
site's root dir along with paper.php):
RewriteEngine On
RewriteRule ^/([a-z]+)/([a-z]+)/$
* Thus wrote jonas_weber @ gmx. ch ([EMAIL PROTECTED]):
Am Mittwoch, 01.10.03 um 22:27 Uhr schrieb Chris W. Parker:
Seeing as how you haven't had a response yet, I'll ask this: what
exactly is your question? I'm not sure as to what it is that you want.
My question are:
a) Why does the PHP
I have an array of object for files on my site. The objects hold a file's
name, size, extension, etc... I was wondering if anyone knows where I could
find a relatively easy function for sorting the array of these objects by
either name, size, etc... Please let me know if got any tips. Thanks a
Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I have an array of object for files on my site. The objects hold a file's
name, size, extension, etc... I was wondering if anyone knows where I could
find a relatively easy function for sorting the array of these objects
Matt Palermo wrote:
I have an array of object for files on my site. The objects hold a file's
name, size, extension, etc... I was wondering if anyone knows where I could
find a relatively easy function for sorting the array of these objects by
either name, size, etc... Please let me know if got
$_ENV
http://www.phpbuilder.com/manual/reserved.variables.php#reserved.variables.environment
Variables provided to the script via the environment
$_SERVER
http://www.phpbuilder.com/manual/reserved.variables.php#reserved.variables.server
Variables set by the web server or otherwise directly
Hello,
On 10/01/2003 05:28 PM, Chris wrote:
I wrote an ultra basic mail interface as a part of my client's customer
administration area to handle emails. Basically, the standard email
form gets stored in a database, and when they respond to the help
request, they fill out the form and PHP
* Thus wrote Jeff McKeon ([EMAIL PROTECTED]):
Not related to your problem but:
session_regisister(userid, userpassword);
spelling ~~~^^
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Cristian Lavaque wrote:
Jonas_weber @ Gmx . Ch wrote:
regular expressions
the example below should turn any character exept \* (*= any char)
into an x:
$term = preg_replace('/[^(\\\)+(.){1}]/', 'x', $term);
but i guess because of the [brackets] the . (period) is treated as
character .
I have a question concerning security of my file upload script. I'm using
the php upload routines (move_uploaded_file,...) and variables ($_FILES) to
upload images to a webdirectory. Everything works fine, meaning that I can
upload images BUT only if I change the permission of the directory to
Nicole wrote:
Hello,
I run Apache with PHP and MySQL on a RedHat 7.2 box with 1GB Ram @
2GHZ (p4).
I last increased my max connections to 500. That seemed to fix things
for a while. Now I am getting the problems (database freezing up
because too many connections) again. The site I run is
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
--- Nicole [EMAIL PROTECTED] wrote:
Originally, I used pconnect for a while. Then I learned that with
high traffic site, that's not the best idea.
Where did you learn this? I disagree with that notion.
This may be debatable, which is
* Thus wrote Dan Joseph ([EMAIL PROTECTED]):
Hi Folks..
[... messy code that probably had a width=something% in it ...]
I have that code, and I get this error:
Warning: printf(): too few arguments in /home/sites/site8/web/index_test.php
on line 34
Curt
--
I used to think I was
Hey people.
I'm trying to come up with an easy way to validate forms. I've got an
idea and I'd like your feedback as well as suggestions and/or your own
methods.
My idea is to have a multi-dimensional array with fields: data and type.
Let's say you have a form with three fields. First Name
What I would advise is to capture the output of your reciept into a
variable. Assuming that you've got some function calls, maybe even Database
request mixed up with some print commands .. Or even some times where you
escape out of php (?). Something like this
?php
$RecieptID = GetRecieptID();
Philippe Lemmerling [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
I have a question concerning security of my file upload script. I'm
using
the php upload routines (move_uploaded_file,...) and variables
($_FILES) to
upload images to a webdirectory. Everything works fine, meaning
Hi,
Wednesday, October 1, 2003, 9:00:18 AM, you wrote:
GH I'm working for the first time with object orientated programming in php and
GH I can't figure out how to access elements or methods when you place objects
GH inside objects inside other objects.
GH my origonal idea was to use the
Hi,
Thursday, October 2, 2003, 1:54:38 AM, you wrote:
N hi all;
N - When i run php.. what user am i using ? is it apache user (nobody) ??
N - How can i execute useradd command from php ? should i write it in
N pearl/cgi ??
N - I want to grant my user on my web a free pop account (or webmail) so
I know php runs under the same user/group as the webserver for web based
applications, but is there a way to change to another user? All the
recent talk about exec got me thinking that I could set something up to
automatically create user mailboxes under qmail + vmailmgr. I normall
do this
Hi,
Thursday, October 2, 2003, 3:31:40 AM, you wrote:
JB I have kibitzed and kaboodles all morning seeking the answer to the
JB unpack question. I need to unpack some binary data and make sense of it.
JB Unfortunately I am unsure how the binary for this was created. I have
JB tried converting
On Wed, 2003-10-01 at 17:43, Chris W. Parker wrote:
Hey people.
Hey
[snip]
What I'd like to do is get rid of all the if's and what not and throw
them into a function. What I thought of doing to replace all this is:
? // pseudo code
$formdata['fname']['data'] = (!empty($_GET['fname']))
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]):
Hey people.
function validateFormData($input)
{
foreach($input as $field)
{
switch ($field['type'])
{
case 'name':
// do the magic
Hi,
I just deleted my index.html page because i want to use my index.php page
instead but when i visit my site i see the directory listing instead, what
should i do to display the index.php page automatically??
Kindly help.
Thanks,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To
Hi
It depends on the web server you're using...
Martin
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Thursday, 2 October 2003 12:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Show index.php instead of index.html
Hi,
I just deleted my index.html page because i want to
Hi,
Thanks for replying.
I am on a shared hosting account and dont have access to my httpd.conf file,
is there some way to do the same via .htaccess or something?
Any ideas? i want to open the site today.
Thanks,
-Ryan
We will slaughter you all! - The Iraqi (Dis)information ministers site
Hello,
On 10/01/2003 08:43 PM, Chris W. Parker wrote:
$_SESSION['form_errors'] = validateFormData($formdata);
redirect(to_the_previous_page.php);
You may want to study how this classic form validation and generation
class works. It generates the necessary Javascript to validate on the
client
I've just to put together my very first little web application project in
PHP and I have a couple of questions.
The first isn't that important because it's no where near finished yet but
the help would be appreciated. Can those who have the time visit
I need an server to put my php file to test.
So anybody can introduce me some server
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well I saw a post on a forum talking about a certain bug that PHP has for
Mac OS X.. so I thought.. Im on OS X, I should see if that bug is real since
on bugs.php.net they say it's bogus which you can view here:
http://bugs.php.net/bug.php?id=25394
So I tried it out.. at first I created a loop
--- Curt Zirzow [EMAIL PROTECTED] wrote:
This may be debatable, which is better? php searching through a
pool of 1000 connections for a free one or the overhead of opening
a new resource to the database each request.
I suppose people can debate just about anything, but I doubt anyone can come
Hi all,
May I just ask how do I do a if..elseif..else condition to check if a
checkbox have been checked. For some reference, I have attached my HTML code
and PHP code below:
HTML:
html
head
titlePayment Mode/title
style type=text/css
@import url(receipt.css);
/style
/head
I need an server to put my php file to post mail.
So anybody can introduce me some server
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
InterJinn works something like this for it's FormJinn engine. So I'd say
it sounds quite good :)
Cheers,
Rob.
On Wed, 2003-10-01 at 19:43, Chris W. Parker wrote:
Hey people.
I'm trying to come up with an easy way to validate forms. I've got an
idea and I'd like your feedback as well as
If your on windows try this -- http://apache2triad.org/
Hung Cuong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I need an server to put my php file to post mail.
So anybody can introduce me some server
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Wed, 2003-10-01 at 20:26, Manuel Lemos wrote:
Hello,
On 10/01/2003 08:43 PM, Chris W. Parker wrote:
$_SESSION['form_errors'] = validateFormData($formdata);
redirect(to_the_previous_page.php);
You may want to study how this classic form validation and generation
class works.
I'm with Chris on this one. I did some serious load testing on my servers and always
faired better with persistent connections. I don't have the logs handy right now, but
I can probably dig them up if anyone really wants to see the numbers.
Edward Dudlik
Becoming Digital
Hi all,
I have a multi upload script, which works, but the end result is that the
files that are uploaded are set to permissions of 600. Im think this is
because they have a tmp name then are written to the uploads folder so in
effect they are written by another system user? (lol ok so im new to
I don't see a MaxConnections in Apache conf, or maybe I overlooked it. I do
see:
MaxClients 150
MaxKeepAliveRequests 100
It seems the latter var there relates more. Any ideas which or if both
should be bumped up?
I did read -- in various places -- that it was better to use connect,
including
I am working on a way to do this. The site is for tracking. The hits get
stored in the database. The database must be hit in order to retrieve the
URL that is needed to redirect to. I am contemplating storing this URL in a
file instead of db. Perhaps this will reduce the load. Thanks.
I run
I've noticed code written in this order -
if (FALSE === $foo)
{
// yada yada
}
Is there a reason/benefit to test variables like that instead of -
if ($foo === FALSE)
{
// yada yada
}
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on 10/1/03 8:23 PM, Gerard Samuel at [EMAIL PROTECTED] wrote:
I've noticed code written in this order -
if (FALSE === $foo)
{
// yada yada
}
Is there a reason/benefit to test variables like that instead of -
if ($foo === FALSE)
{
// yada yada
}
Thanks
I think it's more to
Pardon me, I misread a pervious comment. I meant MaxClients. Sigh. too
much sleep.
--
Nicole
aeontrek.com
Nicole [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I don't see a MaxConnections in Apache conf, or maybe I overlooked it. I
do
see:
MaxClients 150
Generally persistent connections will almost always be faster there are
some considerations though, first resource usage if you are busy site
and don't have enough memory to support one connection to the db for
each apache process you will run into problems, second if you site is
not busy
Chris W. Parker wrote:
What I'd like to do is get rid of all the if's and what not and throw
them into a function. What I thought of doing to replace all this is:
? // pseudo code
$formdata['fname']['data'] = (!empty($_GET['fname'])) ? $_GET['fname'] :
;
$formdata['fname']['type'] = name;
Thanks. My problem is that I am getting a too many connections error, and
wondered if there was a proper configuration to handle this. I have the
problem, regardless of using connect or pconnect. I originally used pconnect
for the last year. But my site is growing and growing and am looking for
Hi all,
I'm having some problem with my PHP script here. Do hope to receive some
help. I have written the script with a if..elseif..else ...condition to check if
my checkbox have been checked. There is 3 radio button to be clicked: eg button1
, button 2 and button3.Only one to be
--- Nicole [EMAIL PROTECTED] wrote:
I don't see a MaxConnections in Apache conf, or maybe I overlooked
it. I do see:
MaxClients 150
Maximum connections is the MySQL configuration option. MaxClients is the Apache
directive I mentioned.
Ultimately, all you have to do to use persistent
--- Nicole [EMAIL PROTECTED] wrote:
So I switched to connect, with no luck in fixing the too many
connections problem.
Now that's some helpful information. The first thing you need to do is forget
about persistent connections being the problem.
I don't claim to be an expert at debugging MySQL
* Thus wrote Richard Baskett ([EMAIL PROTECTED]):
on 10/1/03 8:23 PM, Gerard Samuel at [EMAIL PROTECTED] wrote:
I've noticed code written in this order -
if (FALSE === $foo)
{
// yada yada
}
Is there a reason/benefit to test variables like that instead of -
if ($foo ===
--- Curt Zirzow [EMAIL PROTECTED] wrote:
if ($do || false == $do ) {
try();
}
/* Do, or do not. There is no try. */
Isn't there always try? :-)
Chris
=
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp
My Blog
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
--- Curt Zirzow [EMAIL PROTECTED] wrote:
if ($do || false == $do ) {
try();
}
/* Do, or do not. There is no try. */
Isn't there always try? :-)
Only in php5 :)
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
Contact your hosting provider and ask them to make the change, or go through your
control panel and look for a setting that will achieve the desired effect. It's
probably hiding under your nose, as this is a fairly common requirement for
data-driven sites. In the meantime, upload a new
101 - 200 of 209 matches
Mail list logo