Well, downgrading APC from 3.1.3b1 to 3.0.19 fixed it. Working great now!
On 04/08/2010 02:21 PM, Derek Chen-Becker wrote:
> I suspect I've either done something horribly wrong or found a weird
> bug, probably the former. I'm running PHP 5.2.13 on Solaris 10 under
> Apache 2.2.
_ttl0
apc.write_lock 1
Any help would be greatly appreciated.
Thanks,
Derek
--
------
Derek Chen-Becker
Senior Network Engineer, Security Architect
CPI Corp, Inc.
1706 Washington Ave
St. Louis, MO 63103
d"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Derek:
>
> Does "form 1" use POST or GET to call "form 2"? If it uses GET, you
> could store the search page URL in a $_SESSION variable - something
> like this in your search results (
to the search page.> > People
in my group use this form to update database information for a number > of
items. Once they make changes, they would like to go back to the search >
results, instead of having to run the same search again and again.> > > > >
"Jim L
search again and again.
"Jim Lucas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Derek Moon wrote:
>> I am trying to imporve a web application that my group uses.
>>
>> Basically there are 3 forms that work together Form 1 > form 2
&g
I am trying to imporve a web application that my group uses.
Basically there are 3 forms that work together Form 1 > form 2
Form 1 - searchs for enterend values
Form 2 - returns search results, letting you individually select any item
Form 3 - lets you edit a specific individual item
I want to m
Amol,
Pretty sure that it means the white space after a tag. for example:
Joe Dempsey
or (even worse, with CR)
Joe Dempsey
Amol Hatwar wrote:
Hi,
The PHP Manual entry for xml_parser_set_option lists an option called:
XML_OPTION_SKIP_WHITE. I really couldn't decipher what this optio
not quite PC, but why do you need to be in mumbai or bombay, is the
client located there?
mailing wrote:
we are looking for experienced php programemers in mumbai or bombay.
full time or freelance...
please contact at [EMAIL PROTECTED]
sumeet shroff
--
PHP General Mailing List (http://www
Not sure if I can give a good answer, but try doing a var_dump on
$_SESSION["Search Result"] and see what you get. I suspect that it is
null. If that's the case then track down where it is getting assigned.
It should look something like $_SESSION["SearchResult"] = $users.
Christopher Jordan
Bob Hartung wrote:
Jasper
If if make a file containing only
I get what I expected.
If I make a file containing
I get NO output or errors in the browser window. If I select "view
source" it returns:
Eh? Anyone with any other ideas
Tnx
Bob Hartung
Jasper Bryant-Greene wrot
Probably a really dumb question:
Is php_curl.dll available?
Jay Blanchard wrote:
IIS5 on W2K
PHP 4.4.n
php_curl.dll is not commented.
libeay32.dll AND ssleay32.dll are in the system folder (system32 too, just
in case)
path to the extensions is correct
Fatal error: Call to undefined function:
Sascha,
We're starting work on a similar (to be open sourced) project, XML/XSLT
based. We're also putting together a process creation and tracking
mechanism. I would be glad to take a look at the design and code. We
have a great XSLT programmer.
Sascha Braun wrote:
Hi,
I am now working
Andy Pieters wrote:
Hi List
I am quite experienced in PHP. I have been asked to design a complicated form
in php that spans multiple pages and has many subitems. For instance if they
select one checkbox, more details are required in the form of a dropdown list
or radio buttons.
It would a
Erin wrote:
Anyone have a good eregi filter for passwords?
Regards
R
well, for one thing, don't use ereg. Use pcre, as it is faster.
preg_match('/^[a-zA-Z0-9]{5,16}$/',$blah);
that will validate a password containing only upper or lowercase letters
and numbers, between 5 and 16 characters.
D. Jame wrote:
Hi,
Anyone know about imail.?
could you be any more vague?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
zhuravlev alexander wrote:
Hello.
I wonder if PHP has fgetcsv() function why doesn't
PHP has fputcsv ?
-- zhuravlev alexander
u l s t u n o c
([EMAIL PROTECT
PAUL FERRIE wrote:
Here's what i have done. i have downloaded a very simple database manager
from www.hotscripts.com. It allows me to edit, delete and add new
information to the database. i have a couple of problems.
1. form field dont fill with all the data senback from the db to be edited,
a
DvDmanDT wrote:
Well, yes.. But chanses aren't all that big you'll find any bugs (at least
not windows specific), unless you try the w32api extension or bcompiler
combined with zend optimizer...
I've ran into many. The ones that really take the cake are the streams
bugs, which have been around
DvDmanDT wrote:
PHP is 99% (if not 100%) backwards compitable... PHP is even stable on
WinME, and on XP.. Lots of ppl use it on 2k as well... Works fine.. And fast
(well, depending on your installation and configuration)... Oh, and about
support.. PHP on windows accutually have it's own official l
John Nichel wrote:
Chris Shiflett wrote:
--- John Smith <[EMAIL PROTECTED]> wrote:
>>
Please, tell me that Zend is not the dictator here.
No one is a dictator.
Chris
So there is an opening for a dictator then? How can I get my name on
the ballot? ;)
I am the only dictator here.
--
PHP
news.comcast.giganews.com wrote:
I am an experienced web developer who is just getting into php. I have had
a php project fall into my lap and wanted a little advice. Here is the
scoop:
A client moved their site from a server (unknown details) to a hosting
facility (php 4.3.2). Now none of t
as said, use the global construct. This is a scope problem, read the
manual about variable scope.
php.net/variables.scope
PS: sorry Jay, new mail frontend :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this possible? Or should we just go ahead and set it in each sites declaration?
Derek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es for dns, apache, etc, etc...
The frontend should interface with these modules, calling their
functions when needed.
Does anyone have any ideas how I can do this?
Derek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the tips, but they all checked out in the end. After
reporting it as a bug, it turns out it *is* a bug with 4.2.3 (whether
it's only with Win2000, I'm not sure), but has been fixed in CVS. Now
I can rest a little easier... =)
-f
--
Derek Fong
Web Application Develope
ion_time', 6);
before the set_time_limit() function, but to no avail. PHP is not
running in safe mode. Does anyone have any ideas why this is not
working as expected? I'm sure it's something obvious, but I don't know
what it is.
Thanks in advance,
-f
--
Derek Fong
Web
e the
appropriate file type for use with a Content-Type: header for any (or
at least the most common) file types, plus be able to pull a
description of the data similar to how the 'file' command works using
the 'magic' file.
Derek
--
Derek Piper ([EMAIL PROTECTED])
Syst
t with no luck. Any help would be greatly appreciated.
Thanks,
Derek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Thanks in advance,
-f
--
Derek Fong
Web Application Developer
subtitle designs inc. <http://www.subtitled.com/>
"Mistakes are the portals of discovery." --James Joyce
>> GPG key/fingerprint available upon request <<
loads quicker (people are less likely to click the submit
button more than once).
Can anyone suggest a solution?
Thanks in advance for any help.
Regards,
Derek
**
This e-mail (and any attachment) is intended only
go to http://www.php.net/manual/en/ref.filesystem.php and read up on things
like fopen, fclose, etc. This will explain how to write to any kind of file
including htpasswd files if necessary.
Good Luck
Derek
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: &
to be a slow PHP script
that's the problem.
Hope this helps,
Derek
- Original Message -
From: "Daniel Alsén" <[EMAIL PROTECTED]>
To: "Derek Mailer" <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 11:45 AM
Subject: RE: [PHP] Re: Loading message
erstanding of it.
Is your script really taking that long to be parsed that you need a loading
progress bar or is the html (including graphics etc) just very big?
Anyway,
Hope this helps
Derek
- Original Message -
From: "Daniel Alsén" <[EMAIL PROTECTED]>
To: "php&
his isn't going to answer your question. Post more
information about your problem if this is the case.
Cheers the noo,
Derek
- Original Message -
From: "Matt McFarlane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 2:09 PM
Subject: [PHP
particular
application.
Cheers the noo,
Derek
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Karina" <[EMAIL PROTECTED]>
Cc: "Derek Mailer" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001
I haven't tested
it out, but I believe this is the sort of problem being described in this
thread.
Cheers the noo,
Derek
- Original Message -
From: "Karina Gómez Salgado" <[EMAIL PROTECTED]>
To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>; <[EMAIL P
$HEI = mysql_result($result, $i, "HEI");
$drop_down_list .= "$HEI";
}
mysql_close($link);
$drop_down_list .= "";
echo "$drop_down_list";
Cheers the noo,
Derek
- Original Message -
From: "George Pitcher" <[EMAIL PR
idea - you should
check and edit your code if necessary before posting.
Hope this helps - good luck
Derek
- Original Message -
From: "George Pitcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 2:54 PM
Su
A couple of things about the code...
1) -
mysql_connect ('localhost', 'root', 'monty');
should be
$mysql_link = mysql_connect ('localhost', 'root', 'monty');
2) -
You only pass
you can read more about it all and copy and adapt the code snippter from
http://www.php.net/manual/en/ref.mysql.
quot;,"",$welcome_html);
$welcome_html = eregi_replace("\[ec]","",$welcome_html);
echo $welcome_html;
Regards,
Derek Truong
IntenseHost.com LLChttp://www.intensehost.com
"Daniel Goldin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
for a SHELL SCRIPT using php binary:
in bash I would do this:
#!/bin/bash
echo -n "username: "
read username
echo -n "password: "
read password
echo $username
echo $password
Run on the command-line, it would stop and ask me for the username and
password, then continue the bash shell script.
B
didn't find any real discussion about what people want
in a host (although I did find plenty of things they don't want :).
I just figured that I would ask the PHP community exactly what they wanted.
Thank you for any insight that you can give me.
--derek
----
master directory, but I
wondered if there are any other choices avaiable to me.
Thanks in advance for any help offered.
Derek
--
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
While trying to recompile php with PEAR, I came across this error..
Making install in pear
make[1]: Entering directory
`/home/detain/Apachetoolbox-1.5.33/src/php-4.0.6/pear'
make[2]: Entering directory
`/home/detain/Apachetoolbox-1.5.33/src/php-4.0.6/pear'
shtool:mkdir:Error: invalid number of ar
anyone know how I force a case insensitive search through a postgres
database.
I've got a search looking for 'something like '%something%' but this won't
find 'SOMETHING'...if you know what I mean!?
Thanks in advance for any help
Derek
--
PHP General Ma
lass violation
error number - 65
I can use the ldapadd client and load an ldif file containing exactly the
same info into the directory.
Why won't it work from within PHP
I've included an excerpt from my code, below. Thanks in advance for any
help.
Derek
$ds=ldap_connect("l
lass violation
error number - 65
I can use the ldapadd client and load an ldif file containing exactly the
same info into the directory.
Why won't it work from within PHP
I've included an excerpt from my code, below. Thanks in advance for any
help.
Derek
12 $ds
this possible?...and how?
Thanks in advance for any help offered.
Derek
--
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]
My PHP script (with --trans-sid enabled)
assigns a session ID for people without cookies.
No big deal, right?
BUT THE BIG QUESTION IS:
Can I immediately know what long string PHP assigned to the session,
without having to click to a different page first?
I want one single PHP page to
#1 - a
I had this same problem and it constantly broke our whole site.
So I tried a different approach and this has been working great:
Instead of
Consider:
It works flawlessly, always, and maintains your session.
Because my site ( a shopping cart/store ) is so dependent on sessions, I
stopped us
>I recommend people don't do this unless their web server is going
>to serve only(or mostly) php pages, and very few straight html pages.
>the increase in overhead isn't really worth it.
I've tried this in many real-world examples.
I have PHP parsing ALL files on ALL of my 8 Linux servers.
>Is there a good tutorial on Classes?
http://www.zend.com/zend/tut/class-intro.php
That's a really good one.
--
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-
>the connection will close when you hit cancel but the PHP
>code can continue running if you choose.
Really?!?
How do you choose to have the PHP script continue even if a browser
leaves/dumps?
I've always wanted to do that. Didn't know it was possible.
--
PHP General Mailing List (http:/
Does your Apache hang?
Is that normal?
To have commands sitting for 1-2 minutes?
Using Apache 1.3.17 + PHP 4.0.4pl1 + newest MySQL on a Debian Linux box.
I use PHP for pretty much everything.
So I have Apache set to parse all files as PHP.
But that's never been a problem before.
(This is a new s
>if I move everything to php and just use a different text file for each
>page for the main body of text and load each text file depending on what
>page the user wants, would the search engine search though those text
>files and just link to those and not to the php file? Would it even be
>spide
At 07:49 AM 3/11/01 , Richard Scott Crawford wrote:
>The first thing to do is to take two aspirin and lie down until the
>temptation to do this passes. It may be cool, but those of us who use
>Eudora or Pine for our e-mail don't read HTML-encoded mail, don't *want*
>to read HTML-encoded mail,
>I often receive email from commercial sites (e.g. ZDnet) that looks like
>a Web page. How can I do that with Sendmail in PHP?
The man page for "mail" gives an example of it.
http://www.php.net/mail
It's just one "$header" line, stating HTML, then the rest of your message
should be in HTML:
>Can't the files be put into a directory that Apache has access to and
>the users don't, and just ask the users to include them? Or put them
>into a global prepend in a directory same as above?
This isn't PERFECT, but I do this:
#1 - make a user/group called "www"
#2 - Set Apache to run as th
Everyone so far has been recommending ClearCommerce:
http://www.clearcommerce.com/
Since my site is 100% PHP and depends on CyberCash for sales, I'll let
everyone here know what I find out about getting PHP to work with
ClearCommerce or anyone else.
--
PHP General Mailing List (http://www.
>Which is the main difference between include() and
>require() functions?
"include" is optional
you can put it inside an "IF"
like this:
if (0)
{
/* THIS WILL NOT SHOW... */
include "optional_file.php";
}
but "require" happens every time,
even if it is inside an "IF" that does no
Can anyone think of any downside to this idea?
Set Apache to run as user/group "www:www"
Set ownership of PHP files and folders to "www:www"
And set permissions to 700
So that ONLY Apache can read them.
Now - even if I give someone shell access to my box, or someone finds my
personal login pas
>I'd really appreciate a clear statement whether to use better
>$foo = array('bar' => 'boing');
> doWhatSoEver($foo[bar]);
>or
>$foo = array('bar' => 'boing');
> doWhatSoEver($foo['bar']);
I had heard someone on the list say that it's always best to use quotes,
for the same rea
ne all
hyperlinks everywhere on the site), which is a huge amount of
maintenance. What I thought about yesterday was creating some sort
of token (e.g., {@}) that could be tacked onto the end of
hyperlinks that I want to add session info to. Maybe there's a
better way... I don&
on it...
Any ideas?
---
Derek Fong
web://developer
Zero-Knowledge Systems [http://www.zeroknowledge.com/]
PGP Fingerprint >> 2D4F 89F0 EAC1 FBFB 97B5 0B94 FA05 C29E D23B 0A4E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
I run about 8 Cobalt RaQ3 and RaQ4 boxes,
and this is the installation procedure that always works for me.
Don't use the Cobalt RPMs. They're bad & out of date.
-
GET THE SOURCE TARBALLS for MySQL and PHP4
from the command line:
lynx h
When you do a standard PHP4 "apxs" configure...
./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql
where does it put files when you do a 'MAKE INSTALL' ??
(Or - how would I find out?)
--
I have a Linux box that's having C-compiler problems.
But since it's the EXACT sam
66 matches
Mail list logo