Hi PHP folks,
I have a program that sends out email by making socket
connection to our email server. The problem is that the program is very
slow because it has to finish talking to the email server until it can
proceed with the next email (as opposed to the mail() function that just
fork
This is what I have used.
Here is an excellent article on Regular Expressions.
Learning to Use Regular Expressions by Example
http://www.phpbuilder.com/columns/dario19990616.php3
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: José León Serna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 9:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Browser cache
Hello:
How could I disable the browser cache?, I have a script that
generates
an image and shows it via . The problem is if
If I where in your shoes I would encrypt the accounts with Mcrypt, setup
a separate database, on a separate computer, communicating on a low
speed serial line (4800 baud) using ppp, fully fire walling the
connection and doing mass logging.
Mcrypt Encryption Functions
http://www.php.net/manual/e
Introduction to WML, Apache, and PHP
http://www.phpbuilder.com/columns/mike20010118.php3
Building dynamic WML sites
http://www.phpbuilder.com/columns/baravalle20010221.php3
-Original Message-
From: Starman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 1:00 PM
To: [EMAIL PROT
There is no such thing as an "infinite cookie". About the closest thing
to infinity in PHP is year 2038.
setcookie("test", "val", 2147483647);
-Original Message-
From: Steffan Harris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 11:57 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
Attention PHP guru's,
I have a question about PHP and OOP. My problem is that I want
multiple inheritance functionality in PHP but it does not support this
(see http://www.zend.com/manual/keyword.extends.php). My question is can
PHP classes be extended multiple times to simulate multiple
Yes here is a solution to this problem and I am surprised no one on this
list pointed it out.
Simply put a transparent dot within a cell table that you wish to have
the background image display.
Netscape 4 in retarded in the fact that it will not display a cell
background image unless it has cel
I'm finished! Patched all my servers, recompiled and installed. We're
safe.
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 9:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] URGENT: CERT Advisory CA-2002-05 Multiple Vulnerabilities
in P
If there is a quote mark in an input tags value what is the correct way
to print the quote?
or
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There are some excellent article at phpbuilder.com about PHP and WAP.
Go to http://www.phpbuilder.com/columns/
and scroll down to the WAP columns.
-Original Message-
From: LaserJetter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 9:27 AM
To: [EMAIL PROTECTED]; [EMAIL PROT
This is a strange request but here you go.
function CRC8bit($data){
return (crc32($data) & 255);
}
-Original Message-
From: Brian C. Doyle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 11:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] 8 bit check sum Not 32 bit
select * from tbl_lit where lit_source like 'c%';
Check out http://www.sqlcourse.com/
-Original Message-
From: Wolf-Dietrich von Loeffelholz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 12:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] sql question
i want that a select quer
Lets say I have a page that makes queries with multiple sorts, returning
plenty of rows and displaying part of the result set. Each time the
client accesses the page the query must be re-executed, spinning the CPU
and thus tieing up resources. In PHP, or any other language could the
result set be
One thing that I do know is dangerous is deleting rows based on an
integer field with an unprocessed value;
Example: Delete row script
By simply appending an all inclusive sql clause.
$id = "21421 or 1 = 1";
Ca-Boom! The entire table has been deleted. Don't you feel dumb!
Instead process t
And the answer is... WinCVS
Check it our at.
http://www.cvsgui.org/
-Original Message-
From: Alawi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 7:51 AM
To: PHP genral
Subject: [PHP] How can I have CVS ?
and log to it from windows ?
--
PHP General Mailing List (ht
There aren't any modem modules that I am aware of but if you are using
UNIX you can just open the modem device and talk to it directly. What is
your application that would need to use a modem?
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 1
Went to www.google.com. Searched "phplib". The first result returned was
http://sourceforge.net/projects/phplib.
-Original Message-
From: Duane Douglas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 1:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] phplib???
hello,
can some
I have always assumed straight html was faster than function output. My
logic being that "quoted" output requires more parsing than straight
html. But they may be the same speed after a simple optimization pass.
-Original Message-
From: René Fournier [mailto:[EMAIL PROTECTED]]
Sent: Tu
While we are on the topic of Dynamic HTML, I'd like to recommend DynAPI
(http://dynapi.sourceforge.net/), a powerful cross-browser DHTML
library. You can do some awesome stuff with DynAPI.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Whats wrong? Is it that you don't like us anymore? Why would you want to
unsubscribe?
Please inspect the bottom of any PHP list email to find you answer.
-Original Message-
From: fazer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 8:25 AM
To: [EMAIL PROTECTED]
Subject: [
Hi list,
Don't you just hate the way that the POST method makes browsers
act some times? Expiring pages and asking you if you really want to
reload this page. I have found a solution. Instead of relying on the
POST method to protect pages from being accessed twice, I use GET and at
the en
If you have installed Qmail and removed Sendmail create symlinks to the
qmail sendmail wrapper and you should not have to edit you php.ini. Read
the qmail INSTALL file for more.
# ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
-Original Me
My favorite email libraries are ..
SMTP class
http://www.phpguru.org/download.php?script_id=10
And working in conjunction with SMTP class ..
HTML Email Class
http://www.phpguru.org/download.php?script_id=4
-Original Message-
From: Matthew Luchak [mailto:[EMAIL PROTECTED]]
Sent: Wedn
Hello fellow PHPer's,
Daylight savings is soon upon most of us and I have some
questions in regard to timestamps. My problem: So we put our clocks an
hour back. I have database tables with plain integers that store
timestamps. I like to do comparison operations with these timestamps.
When
Not a whole lot. The PHP mail function is just a nice fuzzy function
wrapper to popen("sendmail").
The gory details can be found at
http://cvs.php.net/co.php/php4/ext/standard/mail.c?r=1.44.
-Original Message-
From: Web user [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 8:4
One solution is to depend upon your defaults in "/usr/local/lib/php.ini"
. Then just call mysql_connect() with no arguments or just call
mysql_db_query with out the connection parameter and PHP will connect
for you. If you are connecting to different MySQL servers this solution
is not appropriate
Random Pronounceable Password Generator
This function generates random pronounceable passwords. (ie jachudru,
cupheki)
http://www.zend.com/codex.php?id=215&single=1
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 1:20 PM
To: PHP-Gene
Don't you mean..
http://httpd.apache.org/docs/mod/mod_auth.html
or do you want to do this with php headers?
-Original Message-
From: Marisol Díaz E. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 9:03 AM
To: PHP General
Subject: [PHP] password
Hi
I need the code, for protec
Learning to Use Regular Expressions by Example
http://www.phpbuilder.com/columns/dario19990616.php3
-Original Message-
From: Martin Thoma [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 6:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Tutorial for RegExpressions
Hi !
Does someo
When a client bails out of a http connection and apache shuts down that
thread process, is there something or a way so that php can call some sort
of destructor? My problem is if a client bails out right in the middle of a
financial transaction I need some way of canceling a pending order.
Nathan
You all are a bunch of un-optimizing novices. Just do some bit banging.
i.e.
if(1 & number){
echo "$number is odd";
}else{
echo "$number is even";
}
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 05, 2001 12:18 PM
To: PHP User Gro
Here is a solution I can up with to solve all the CR and LF funniness coming
from different web browsers.
$input = ereg_replace("\r\n|\n|\r", "\n", $input);
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 9:43 AM
To: PHP User Group
Subject:
I have an array of search results which I am searching through and
unset()ing unwanted search results. My question is once I have unset a
result there is then a break in the numeric index and how do I stop this
from happening or reindex the results. Like this..
$results = array(0 => array(more el
Steve,
Did you take a look at the raw data returned by the fsockopen file pointer.
There may be some http headers that are tripping up the xml parser.
-Original Message-
From: Steve Haemelinck [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 12:07 PM
To: PHP Mailing Lis
Does anyone know how to pull a function reference from a class method?
Here's why,
class myclass(){
var $myarray;
function mysort() {
/* User sort fails */
usort($this->myarray, $this->mycompfunction);
/* Or */
usort
At CJHunter.com we use swish-e http://sunsite.berkeley.edu/SWISH-E/ in
conjunction with custom php scripts to make our job and resumes searches.
-Original Message-
From: Chuck Barnett [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 4:46 AM
To: PHP General List
Subject: [PHP] jo
As I understand it, echo is somewhat of an language construct and print is a
function.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 11:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Echo and Print
I know it is a kind of stupid questio
38 matches
Mail list logo