ssb Sun Jan 14 17:19:29 2001 EDT
Modified files:
/php4/pear/DB STATUS
Log:
* status update: odbc now supports errorNative
Index: php4/pear/DB/STATUS
diff -u php4/pear/DB/STATUS:1.13 php4/pear/DB/STATUS:1.14
--- php4/pear/DB/STATUS:1.13Sun Jan
Could someone give/sell me a clue as to variable tracking and/or cookie
usage over multiple form pages
for multiple users?
Environment: website
Number of variables: 390 or so.
I have 4 pages of forms, 4 result pages, and want to email all the results.
I put up one page of forms, they input, it sp
> can people give me opinions as to why http://www.cornado.com/
On Sun, 14 Jan 2001, Alex Black wrote:
> can people give me opinions as to why
> me = love :
> :)
>
> _a
>
>
> --
> Alex Black, Head Monkey
> [EMAIL PROTECTED]
>
> The Turing Studio, Inc.
> http://www.turingstudio.com
>
>
Hello Alex,
(AB == "Alex Black") [EMAIL PROTECTED] writes:
AB> can people give me opinions as to why > From: [EMAIL PROTECTED] (Philip Olson)
>> Newsgroups: php.general
>> Date: 13 Jan 2001 12:18:08 -0800
>> Subject: Re: [PHP] Use >
>> My understanding is :
>>
>> 1. http://www.php.net/)
To u
shane Sun Jan 14 17:52:47 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest notes.txt stresstest.cpp
Log:
test now produce valid OK or FAIL.
Index: php4/sapi/isapi/stresstest/notes.txt
diff -u php4/sapi/isapi/stresstest/notes.txt:1.2
php4/sapi/isapi/stres
> No options?
>
> No SGML editors out there with a tag catalog, etc?
Emacs
--
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]
Hi, in my application I am making a lot of use of the eval() function,
however I was wondering if this is going to cause any extra load. Does it
do anything like load in the PHP engine again or anything? We just added it
in and the load on our web servers went up... so I was wondering if I shou
Yes, eval() is expensive.
On Sun, 14 Jan 2001, Adam Powell wrote:
>
> Hi, in my application I am making a lot of use of the eval() function,
> however I was wondering if this is going to cause any extra load. Does it
> do anything like load in the PHP engine again or anything? We just added it
david Sun Jan 14 18:14:12 2001 EDT
Modified files:
/php4/ext/vpopmail php_vpopmail.c php_vpopmail.h
Log:
restored vadddomain/vdeldomain to use library functions rather than invoking
vpopmail executables
implemented vaddaliasdomain natively
global variabl
> I've worked on a couple of projects with JSP, and decided to use PHP to
> build binarycloud. 'nuff said :)
>
ok, that's ONCE today.. =)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
php-general Digest 15 Jan 2001 02:33:14 - Issue 455
Topics (messages 34471 through 34539):
Problems sending to several recipients with mail() using WIN NT and Apache
34471 by: Trond Straume
PHP vs JSP
34472 by: hsmith.twilyt.com
34473 by: Cal Evans
34479 by:
Hey Folks!
I have the following situation:
I store in a MySQL table part of the HTML code that is used to mount
dinamically the pages of a web site. The file looks something like this:
Before I enter any data in the database I put HTML comments like this: before and after any text that appea
Hey Folks!
I have the following situation:
I store in a MySQL table part of the HTML code that is used to mount
dinamically the pages of a web site. The file looks something like this:
Before I enter any data in the database I put HTML comments like this: before and after any text that appea
Wasn't directed quite at me, but I'll chime in nonetheless
We used LocalDirector for awhile, with it's 'sticky bit' functionality,
and it basically didn't work with AOL. I just looked at the
coyote product and they claim it works with 'large ISP' proxies - maybe a veiled
reference to AOL dir
Use a separate DB for something like this - have a data database, and a 'logging'
database. We're setting up something similar - currently we have 2 databases for
separate things, and will probably merge the first two datasets back into the main
database, and turn the second one into a logger.
I like this one and I think I'll comment on it...
> > can people give me opinions as to why
> a. PHP4 specific
> b. Many do not know what it is / what it does
> c. Will not work when short_tags are disabled
> d. Does not follow PEAR standards (ed. guess)
> e. Looks funny / weird / out
For a good distributed logging solution, check out mod_log_spread
(http://www.backhand.org/mod_log_spread/). It's an apache module that
handles distributed logging by writing logs to reliable multicast
groups. Additionally, because it multicasts data, additional clients
and log writers can be ad
Another technique is use a quick-and dirty save of one line to a text
file, and have a cron script or somehting similar simply run every
day or every few hours that reads from your home-made log into a
db table, and then empties the file.
Gfunk
My name was Brian McGee,
I stayed up
Hey Folks!
I am bringing from the database HTML source like this:
We are committed to our employee’s well being and professional
development
I would like to make this:
We are committed to our employee’s well being and professional
development
So, before the end HTML comment I would
Please note:
The php-dev list is for developers of PHP (who create/maintain PHP, which
is written in C); questions about programming in PHP should be addressed to
[EMAIL PROTECTED] For more information, please see
php.net/support.php.
---shifted to php-general from php-dev---
> I would like to as
> So, before the end HTML comment I would like to add an image.
> How do I do that?
The first thing I suggest you do is use a comment for starting and a
comment for ending - this makes it all a LOT easier to parse.
Start:
End:
Then, you get your complete text into $buffer and just:
";
> Very good: keep the thing on a secure connection all the time, set a
> session id cookie and keep all user info (possibly including remote ip)
> in the server's session db... (vulnerable to nothing I can think
> of at the moment...)
>
> There are probably more things you could do I haven't th
I think the ! might have an effect on the regexp interpretter... it's easy
enough to escape it (\!) though.
--Toby
- Original Message -
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'Romulo Roberto Pereira'" <[EMAIL PROTECTED]>; "php-general"
<[EMAIL PROTECTED]>
Sent: Sunday, January 14,
This is a nice idea but would not be more efficient if I substitute the
entire block like this:
this is what I have in the database:
ANY TEXT
this is what I want:
ANY TEXT
what youl be a REGEX to substitute that block for this one above?
Thank you,
Rom
> Then, you get your complete text
sas Sun Jan 14 19:21:05 2001 EDT
Modified files:
/php4/main php_ini.c php_globals.h
Log:
Defer loading of extensions until all configuration entries have been
added to the configuration hash.
Index: php4/main/php_ini.c
diff -u php4/main/php_ini.c:1.47
> This is a nice idea but would not be more efficient if I
> substitute the entire block like this:
Not sure - it may be slightly slower to search for a larger block. I
am Jack's complete lack of clue on this matter (Rasmus?).
Either way, it should be easy enough to change that code I gave you
> Either way, it should be easy enough to change that code I gave you
> to do that?
I know what you mean, but I have more than 200 rows already with these surrounding my texts and to modify manually would take ours... I
didn't think in that before...
How would be a REGEX to recognize the tag a
> I know what you mean, but I have more than 200 rows already
> with these surrounding my texts and to modify manually
> would take ours... I didn't think in that before...
Only 200? Why not just do a global search and replace? Or write a
script to do it for you. It'll save you a headache when
Actually, I understand what he's trying to say, even if I don't agree with
him. The main problem people have had with load balancing is sessions. If a
particular scripting language *cough*ASP stores session information in
memory then the load balancing system has to always send the session from a
This has been covered extensively in the archives - just an FYI.
--Joe
On Sun, Jan 14, 2001 at 10:10:56PM -0600, Cal Evans wrote:
> Actually, I understand what he's trying to say, even if I don't agree with
> him. The main problem people have had with load balancing is sessions. If a
> particul
hi all,
This may sound too easy to ask but I want ot make sure if I'm correct. I
have a form with date, month and year select fields in it. When I submit, i
want to tie those three fields value together and insert into a field in
table which has date data type. Is it correct to tie those three val
> This may sound too easy to ask but I want ot make sure if I'm correct. I
> have a form with date, month and year select fields in it. When I submit,
i
> want to tie those three fields value together and insert into a field in
> table which has date data type. Is it correct to tie those three val
>> For example: the week number is 26, and I have to know which
>> was its first day (the date, not the day of the week), say 06/21/2001,
>> monday.
>
>If the week number is 26, then thats 26 x 7 = 182 days into the year.
That would give him the number of days into the year the last day of week
There are a number of methods in the session class of phplib.
With phplib and php4.0.4 I am seeing the following warnings:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function na
Greeting all,
Just now I asked about to tie string values together and would like to thank
Jason for that. Anyway one more thing, after I have tied string values
together and assigned that to a virables. can I used the value from that
variables to compare with another date value? Say another date
Also, a great tutorial on strings is (print this out):
Using Strings:
--
http://www.zend.com/zend/tut/using-strings.php
by Nathan Wallace
As well as the manual entry :
PHP Manual
> can I used the value from that variables to compare with another
> date value? Say another date value I will use is also retrieved
> from a field in table which is in Date data type as well.
When you get into this stuff, it all starts getting a lot more complicated.
If you want to compare tw
Stig Bakken wrote:
> ssb Sun Jan 14 17:11:06 2001 EDT
>
> Modified files:
> /php4/ext/odbc php_odbc.c php_odbc.h
> Log:
> @- Added odbc_error() and odbc_errormsg() functions (Stig)
PHP 4 does not build on Win32 after this patch:
php_odbc.c
D:\Programme\MS Visual Stu
Hey people!
What is wrong with this code?
$buffer = split("([0-9] -->)",$pagedata);
$x = count ($buffer);
echo $x;
for ($i=0;$i<$x;$i++) {
ereg("([0-9] -->)", $buffer[$i], $text);
ereg_replace (" -->","", $text[1]);
echo $text[1];
}
Since $pagedata has 8 appearences of the REGEX I a
all right, now I have both date values in the same format (/mm/dd), say
$Date1 = 20010115 and $Date2 =20010120. If what I want is to find out if
$Date1 come before $Date2, can I just use this sniplet below?
if ($Date1 < $Date2) {
...
} else {
...
}
Do I still need to use mktime()
Ok, but the warning says that call time pass by reference is deprecated.
Will there be an update at some point to address this in phplib?
Matt Friedman
Spry New Media
http://www.sprynewmedia.com
Lead Programmer/Partner
email: [EMAIL PROTECTED]
phone: 250 744 3655
fax: 250 370 0436
- Origi
Hi
Im getting a parse error with this:
$sqlCheckLogin = sqlExecute( "Select * from Sky where SkyUName =
'".$HTTP_POST_VARS['UserName']."'
AND SkyPasswd = '".($HTTP_POST_VARS['Password'])."'" ) ;
Help
Hi people,
may be I did not make my question clear about what I try to do. Basically if I have 2
date values in the same format like -mm-dd, can I use both values to find out if
one come before another and then display message or something? Say I have $date1 =
20010115 and $date2 = 20010120
It has px...something...i cannot remember the exact site.
could someone point me to that site?
thank you.
bernie
--
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
> It has px...something...i cannot remember the exact site.
>
> could someone point me to that site?
http://px.sklar.com
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
> may be I did not make my question clear about what I try to
> do. Basically if I have 2 date values in the same format like
> -mm-dd, can I use both values to find out if one come
> before another and then display message or something? Say I
> have $date1 = 20010115 and $date2 = 20010120
I think that is what you are looking for...
http://px.sklar.com/
anyway in php.net they have a bunch of them in the links section.
Have fun!
Rom
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 15, 2001 1:23 AM
Subject: [PHP] I once saw a sit
Hi,
This "special server" is usually called an SMSC - SMS Center, run by your
mobile operator. These SMSC's are pretty powerful in the way that you can
access them through TCP (VPN for sure, and sometimes even HTTP), or through
a direct link connexion. You'd need to talk to your mobile operator t
Hello Jacky,
(Jl == "Jacky@lilst") [EMAIL PROTECTED] writes:
Jl> This may sound too easy to ask but I want ot make sure if I'm
Jl> correct. I have a form with date, month and year select fields in
Jl> it. When I submit, i want to tie those three fields value together
Jl> and insert into a fiel
First, the ()'s in the split regex makes no sense. Split has no registers
to save stuff to.
Second, that is a rather clunky way to loop through an array.
Third, since the regex in split defines the delimiter to use to split the
string on, the actual "1 -->" part of the data is gone. Why are yo
Addressed to: "Matt Friedman" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Matt Friedman" <[EMAIL PROTECTED]> Sun, 14 Jan 2001
21:21:32 -0800
>
> There are a number of methods in the session class of phplib.
>
> With phplib and php4.0.4 I am seeing the following war
Addressed to: Alex Black <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001 17:16:50
-0800
>
> > Whoever said NFS is slow hasn't used a NetApp
>
OK, I'll bite. What is NetApp? Network Appliance?
Is this a cache technolo
Is it possible to find out who is logged in a site and display their name in
PHP?
--
best wishes,
enethk
--
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: [
^.+@.+\\..+$ This regular expression can check if the email address is
valid. But it cannot validate the email address with two "@", does anybody
know how to enhance this regular expression to be able to validate the email
address with two "@".
--
PHP General Mailing List (http://www.php.net/
I was wondering what Im sure a well knowledged php expert like your self
would recommend a hands on php crash course. The best way for me to jump
right in to understanding php and getting started making my first data
base.
with php3 and mysql. I understand that is how you have to do it.
See Im run
> >>
> >> what are you doing making a connection to a database on the same page you
> >> spit out the results from?
> >
As long as the password and username are on an include not available
in the http doc tree, I would assume you can use that included
function to connect as much as you want
Here's what you wrote, 01-01-14:
>I'd like to be able to trim out some html tags, but only certain ones. I've
>used eregi_replace before and have some replacements running on some
>scripts...
For this, I'd use strip_tags().
Example: strip_tags($contents, "")
Will remove all tags from a us
>I remember seeing someone post something like this:
>
>$sql = " SELECT * FROM table_name
> WHERE towns LIKE \"$town\" ";
>
>so if the search word is not EXACTLY like a row in the database, it may
>return results to partial words.
I think you mean
$sql = "SELECT * FROM table_name WHERE to
101 - 158 of 158 matches
Mail list logo