On 13 Jan 2001 23:45:58 -0800, Hendry Sumilo [EMAIL PROTECTED] wrote:
I would like how to refresh particular browser with a new updated data when
the user has updated it at another browser.
Purpose of doing this is particular user won't user overwrite new value if
he uses another browser to
david Sun Jan 14 00:54:00 2001 EDT
Added files:
/php4/ext/vpopmail .cvsignore CREDITS Makefile.in config.m4
php_vpopmail.c php_vpopmail.h
Log:
vpopmail extension
Index: php4/ext/vpopmail/.cvsignore
+++
zeevSun Jan 14 01:30:17 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c
Log:
Don't fetch numeric indices in mysql_fetch_object()
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:1.62 php4/ext/mysql/php_mysql.c:1.63
---
Addressed to: "Dallas Kropka" [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from "Dallas Kropka" [EMAIL PROTECTED] Sun, 14 Jan 2001
00:57:10 -0600
I have a large site, with several hundred pages its a product
listing and shopping cart and I want to log my
Yeah that was it exactly what was wrong. Thank you!
*** REPLY SEPARATOR ***
On 13/01/2001 at 18:03 Sterling Hughes wrote:
Toby Butzon wrote:
This is a matter of figuring out why the variable isn't a
valid file handle resource. To do so, find where it should
be made such a
Hello!
Are there any scripts to create an Subdomain-Service (yourname.domain.com)
without having Wildcards? I've got a danish-script, but it's not that, what
I expected, becuase it needs wildcars.
Thanks!!
Reagards,
Bastian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
$odate_sql is not initialized.
---
Yeah, there are more important things in life than money, but they won't go
out with you if you don't have any.
- Original Message -
From: "Dhaval Desai" [EMAIL PROTECTED]
To: "Hrishi" [EMAIL PROTECTED]
Sent:
From everything I know, this can't be done easily. The only way I can think
of to do it is to keep both sessions alive so that you still have a
connection to the browser from the server. This is not real good.
I would instead, explore options using JavaScript. I think I can see a
couple of
I agree. You've piqued my curiosity. Can you go into details?
Cal
http://.calevans.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 10:19 PM
To: jeremy brand
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] load balancing with
I find wotsit.org an excellent resource :
http://www.wotsit.org/
-Stathis.
Dallas Kropka wrote:
I need to create files and reports for importation into QuickBooks, but they
need to be in the IIF file format that QuickBooks supports where can I
find information for creating these files?
php-general Digest 14 Jan 2001 14:25:36 - Issue 454
Topics (messages 34436 through 34470):
Re: rewriting the browser's url
34436 by: Cynic
$B=K!*$4@.?M(B**
34437 by: Over Twenty
Escape characters
34438 by: Jeremy Bowen
34439 by: Cynic
Re: Problem
Hi!
I'm using Apache 1.3.14 on WIN NT, and can't send mail to more than one
recipient using the PHP-mail command.
I've checked php.ini, and everything seems to be fine...
This is an example that won't work (but should have worked..?)
mail("[EMAIL PROTECTED], [EMAIL
Greetings Henti,
While I personally prefer working I PHP after having just finished leading a
team of developers on a large JSP project, I would advise you to use the
technologies that your client is most comfortable with. Especially if they
understand that it will cost more and are willing to
rasmus Sun Jan 14 08:07:32 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
Fold generated extension karma into gen_acl script and add CVS account
for Boian so he can play in the ext/vpopmail directory
Index: CVSROOT/avail
diff -u
rasmus Sun Jan 14 08:09:44 2001 EDT
Modified files:
/CVSROOTcommitinfo
Log:
Use cvs_acls script from CVSROOT
Index: CVSROOT/commitinfo
diff -u CVSROOT/commitinfo:1.9 CVSROOT/commitinfo:1.10
--- CVSROOT/commitinfo:1.9 Sun Jan 7 21:20:42 2001
+++
rasmus Sun Jan 14 08:12:31 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
phpdoc CVS account for Bokin Jung
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.35 CVSROOT/avail:1.36
--- CVSROOT/avail:1.35 Sun Jan 14 08:07:31 2001
+++
rasmus Sun Jan 14 08:19:01 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
Add CVS account for Sean Bright - I briefly skimmed his patch. Looks ok.
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.36 CVSROOT/avail:1.37
---
rasmus Sun Jan 14 08:24:56 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Give Boian access to phpdoc tree
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.37 CVSROOT/avail:1.38
--- CVSROOT/avail:1.37 Sun Jan 14 08:19:01 2001
+++
hello,
i need to debug php. usually i do this by using my own-written
debugger-class where i can turn off all output with a simple change of the
"on" variable.
well nevertheless now i need to trace the status and value of a variable
during runtime. this is impossible with this class. so i tried
rasmus Sun Jan 14 08:30:22 2001 EDT
Modified files:
/php4/ext/standard exec.c
Log:
Export _Exec for extensions to use
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.47 php4/ext/standard/exec.c:1.48
--- php4/ext/standard/exec.c:1.47
elixer Sun Jan 14 08:36:31 2001 EDT
Modified files:
/php4 configure.in
/php4/ext/standard basic_functions.c php_string.h string.c
/php4/main config.w32.h
Log:
Added localeconv() function. Operates similarly to localeconv() defined in
Hi all,
I think this is a repeated question but I need to get the best out of
it.
I am looking for an open source Ad management system, like PHPAds but
includes advanced targeting capabilities and advanced features like setting
a frequency cap on the number of impressions each visitors views
OK, this will be laughably easy for you guys.
I want to write a function (until now, I have been heavily repeating code,
but it's time to trim everything down.)
The function basically needs to check that username and password have been
entered, and then check them against mysql data. All I am
bbonev Sun Jan 14 08:40:26 2001 EDT
Modified files:
/php4/ext/vpopmail config.m4
Log:
rewritten the whole logic of the script
added VPOPMAIL_BIN_DIR to point to ~vpopmail/bin directory
added checks for ALL files needed by the extension
style fixes to the
Hello,
I would like to create a dynamic mulitple-choise - Form, in which the
filenames, included in a subdirectory (e.g. imgstand) are listed as the
Option-vale "value" and the modification-date of the file is shown in
the HTML-page as date for selection of the user.
If a user choise one or
bbonev Sun Jan 14 08:47:56 2001 EDT
Modified files:
/php4/ext/vpopmail CREDITS
Log:
updated
Index: php4/ext/vpopmail/CREDITS
diff -u php4/ext/vpopmail/CREDITS:1.1 php4/ext/vpopmail/CREDITS:1.2
--- php4/ext/vpopmail/CREDITS:1.1 Sun Jan 14 00:54:00 2001
James,
function CUP (
if ((!$alias) || (!$password)) {
header("Location: login.php");
exit;
}
);
usually a function has the following structure:
function name ( arguments ) { code }
of course you can put any whitspace inside:
function name ( arguments )
{
I'm busy working on a contract .. and we need to do some web based stuff ..
but the client is intent on using jsp and not PHP.
Is there somewhere where I can get good comparists between the two pro and
cons etc etc ..
Try
function check_alias_password()
global $alias, $password;
better:
global $alias;
global $password;
{
if ((!$alias) || (!$password)) {
header("Location: login.php");
exit;
}
}
check_alias_password();
work? Or would
Posted on the home page of PHP.net is a blurb about an open source PHP
conference where can I find information regarding signup for this??? I
see nothing posted on the site... and found nothing at O Reilly???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
It's still 6 months away. Attendee registration is not open yet. Right
now we are just looking for speakers.
-Rasmus
On Sun, 14 Jan 2001, Dallas Kropka wrote:
Posted on the home page of PHP.net is a blurb about an open source PHP
conference where can I find information regarding signup
Hi.
I'm trying to compile PHP with jpeg-support, but it doesn't seem to work.
my configure-line looks like this: "./configure
--with-apxs=/usr/local/apache/bin/apxs --with-ldap --with-mysql --with-gd
--with-jpeg-dir=/usr --with-png --with-zlib --with-ttf" and when I run it I
get:
checking for
On Sunday 14 January 2001 17:54, Christian Binder wrote:
The only problem is, that my following script only shows one date (IMO:
of the first value (.)), and not create the date of each file.
// get unix-timestamp form each file in subdirectory
$unixdatum=getlastmod($datei[$i]);
Read again
I recently came across this problem and I am sure that there is a quick
fix for it. I need a solution to the quotes problem when sending
queries. I use single quotes to construct my SQL queries. This worked
fine since the data entered into the DB was all in spanish.
However, yesterday I was
Hi Nicklas,
sorry, I do not have an answer to your question, but I was wondering if you
could give me a short hint on how to trigger the execution of a PHP-Script
if a mail arrives for a non-existing _mailbox_ (instead of the domain-thing
in your question).
Thank you very much in advance!
addslashes()
James
--
James Moore
PHP Quality Assurance Team
[EMAIL PROTECTED]
-Original Message-
From: rodrigo [mailto:[EMAIL PROTECTED]]
Sent: 14 January 2001 21:41
To: php php
Subject: [PHP] Quotes
I recently came across this problem and I am sure that there is a quick
Look into functions stripslashes() and addslashes() as well as the setting
magic_quotes_gpc :
http://www.php.net/manual/en/function.addslashes.php
http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc
But quite simple, addslashes($foo); will addslashes before the quotes
within
Like I said, we use our own. It is home grown, but not opensource --
sorry, if it was my choice it would be ;)
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
Get your own Free, Private email
unfortunately not because it is not opensource. I did want to make it
clear that sessions is a gereric word. Thus, when it is said, it
shouldn't be mis-understood as to be PHP Sessions, which obviously is
not a generic word.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::
Hi all,
anyone know something more about the future Zend IDE? e.g price, etc ..
many thanks in advance
max
--
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:
Not too similar to the caching issue of template output -
I maybe missing something, but at least in our case, *every* page
made with templates has custom info re: the client (name, etc) which
can't, imo, be cached, unless we started caching multiple bits of the templates
then assembling them -
Your GD library probably wasn't compiled with jpeg support.
When I try to use gdImageJpeg() in a C program I get no errors. Is there a
way of telling wheter GD has jpeg support or not?
/Joakim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
nm -o libgd.a | grep -i jpeg
Triple-check that you don't have multiple versions of libgd.a on your
system.
-Rasmus
On Sun, 14 Jan 2001, Joakim Bomelin wrote:
Your GD library probably wasn't compiled with jpeg support.
When I try to use gdImageJpeg() in a C program I get no errors. Is
Is there a way to have two windows open after a submit. I have a client that
would like to add a "thank you" pop up window after submitting an order. So
after entering there billing info and hitting the submit button the form is
directed to a summary page that summarizes the sale. I would also
Greetings,
I have a php script that generates a random image. All
images are kept in a mysql table. It works fine when
viewed by IE, but Netscape, and Lynx, always show the
same image. The database information, however, is
changed as it should be (correctly incrementing the
times seen column for
In Tobias Ratschiller Till Gerken book (Web Application Development)
the authors mention at least two times about Andrei Zmievski plan to
incorporate template API in standard PHP.
I'd like to ask if the plan is in the works and if it will be implemented.
Maciek
--
PHP General Mailing
Can anyone tell me what I would use to query a MySQL database in a search?
If the search field, was for example, a variable like "town", would the
results page use something like this? :
$sql = " SELECT * FROM table_name
WHERE towns = \"$town\" ";
I remember seeing someone post
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...
Some of the help pages and user notes on the quick reference functions have
given me good examples of how to go about it. One thing I'm
check http://www.php.net/strip_tags
-Original Message-
From: James, Yz [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 14, 2001 11:05 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Another q, this time eregi_replace
I'd like to strip out everything but the link name, so if someone
You've basically got it... the advantage of LIKE is that you can add
wildcards to specify what can be different...
towns = '$town'
...and...
towns LIKE '$town'
...are essentially the same without the % wildcard character. Thus,
towns = '$town'
...is much different than...
towns LIKE '%$town%'
You've basically got it... the advantage of LIKE is that you can add
wildcards to specify what can be different...
towns = '$town'
...and...
towns LIKE '$town'
...are essentially the same without the % wildcard character. Thus,
towns = '$town'
...is much different than...
towns LIKE
Sweet! Thanks ;)
I'd like to strip out everything but the link name, so if someone
inputs:
a href="http://www.php.net"PHP!/a
It replaces it with:
PHP!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
towns = '$town'
...and...
towns LIKE '$town'
...are essentially the same without the % wildcard character. Thus,
towns = '$town'
...is much different than...
towns LIKE '%$town%'
How different are they? I'm not even sure what a wildcard is?
A wildcard is a character that
Here are some queries of the above table with their results
bases='Ft. Worth' returns record 1
bases LIKE '%Worth%' returns record 1
bases LIKE '%Ft.%' returns 1 2
bases LIKE '%' returns all records (in this case, 1 2)
See?
That makes perfect sense. Thank you!
--
PHP General
david Sun Jan 14 14:21:15 2001 EDT
Modified files:
/php4/ext/vpopmail config.m4
Log:
vpopmail's bin dir is unnecessary as the library exports these functions
Index: php4/ext/vpopmail/config.m4
diff -u php4/ext/vpopmail/config.m4:1.2
Can anyone shed any light on why the following code doesn't work? I'm
trying to interact with ssh through PHP's popen function.
Julia
?php
function maxpsi($d) {
$fp = popen("/usr/bin/ssh -l julie summit.magenet.com", "w");
while ($string = fgets($fp,80)) {
echo $string;
}
is it possible to write a script that can screen scrape a
site that uses session cookies for authentication? the reasoning
for this is so that i can add check boxes to a list so i can reset
more then one port on my isp router at a time. thanks
You could have cURL make POST and GET
There is an interesting ZD Net comparison of several
scripting languages at
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
Some time ago I did the comparison of JSP to PHP and
JSP turned out to be much, much slower.
Now I'm just learning CodeCharge generator and so far
it
""Bastian"" ...
Hello!
A requirement is a special server that sends them, but such a server costs
money, every message costs some.
I read somewhere that you could send SMs if you had your mobile phone linked
to your computer, and special software to needful to make the PC-mobile
probably because ssh requires an interactive
login; i.e. it expects STDIN as well. try adding
a command after the login parameter such as "ls"
and see what you get.
-jeff
Can anyone shed any light on why the following code doesn't work? I'm
trying to interact with ssh through PHP's popen
yeah you can do that, don't know about other phones, but for nokia
you need the cable, a phone with the appropriate plugs (ie a 5xx0 /
6xx0 / 7xx0 / 9xx0 model phone, not a 8xx0 or 3xx0 model), and
the nokia data suite or free alternative if they exist for your operating
system.
Gfunk
My
hi all,
anyone found a good graphical SGML editor for any platform that's no a
fortune?
http://www.adobe.com/store/products/framemakersgml.html
It would be really annoying to have to write a bunch of documentation for
binarycloud inside an plaintext xml document.
I'm surprised DocBook has
I have to write a schedule program, for which I need the following:
I have to calculate the date from a given week and vice versa.
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
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
gah:
"Also, any organization doing clustering or failover with PHP is in largely
uncharted waters. "
what _bull_!
what does loadbalancing and clustering have to do with any scripting
language? this guy is obviously one of
the problem with that is as soon as you run a load-baanced installation,
collecting apache logs start to be a pain in the a$$ :)
I have given some thought to the logging thing, but am still undecided re:
letting apache do its thing, and writing scripts to aggregate the logs, or
turning off
well, I suppose it could, but it's pretty weird...
why would you want to directly hook up presentation w/sql queries ? :)
-a
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth
ssb Sun Jan 14 17:10:14 2001 EDT
Added files:
/php4/pear/DB/tests/odbc.cvsignore 002.phpt 003.phpt 004.phpt
006.phpt 007.phpt 010.phpt connect.inc
dsn.inc mktable.inc
Modified files:
the horse is back from the dead!
I can't resist:
From: [EMAIL PROTECTED] ("Ivn Snchez Ortega \"MR\"")
Newsgroups: php.general
Date: 13 Jan 2001 14:17:35 -0800
Subject: Re: [PHP] mixing HTML and PHP code
"Alex Black" ...
?
connect_to_database();
parse_query();
execute_query();
what?
you use an utterly completely stateless model?
craziness!
so you set cookies, and store the sig in the db?
agh! :)
I'm using this box from "coyote systems" called, wait for it:
"THE EQUALIZER"
which is a really obnoxious name, but it sticks clients with a particular
server
Whoever said NFS is slow hasn't used a NetApp
amen brother.
-a
--
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]
can people give me opinions as to why ?= is so bad?
me = love : ?=
:)
_a
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
From:
check out
http://www.coyotepoint.com/
only $4000!
does 512 clients!
can even stick clients through the famous AOHell proxies!
cheap!
:)
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film
ssb Sun Jan 14 17:14:59 2001 EDT
Modified files:
/php4/pear/DB odbc.php
Log:
* DB_odbc: added native error support
Index: php4/pear/DB/odbc.php
diff -u php4/pear/DB/odbc.php:1.24 php4/pear/DB/odbc.php:1.25
--- php4/pear/DB/odbc.php:1.24 Tue Jan
shane Sun Jan 14 17:17:45 2001 EDT
Modified files:
/php4/sapi/isapi/stresstest stresstest.cpp
Log:
dont do results if not using test files
Index: php4/sapi/isapi/stresstest/stresstest.cpp
diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.7
A lot of technical people aren't keen on WYSIWYG editors. Especially when
I'm technical, and I'm not looking for WYSIWYG. I'm looking for something
that doesn't require me to memorize yet another large set of tags. :)
dealing with something like docbook that is designed to generate
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
Hello Alex,
(AB == "Alex Black") [EMAIL PROTECTED] writes:
AB can people give me opinions as to why ?= is so bad?
It's not, unless you care if your code functions on any server, using
any version of PHP.
From: [EMAIL PROTECTED] (Philip Olson)
Newsgroups: php.general
Date: 13 Jan 2001
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
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
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
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 the
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
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:
?
...
Database stuff
...
include header.inc;
PRINT THE CONTENT OF THE QUERY IN THE DATABASE (that is
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
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 ?= is so bad?
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 /
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
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
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 thought
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, 2001
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:
!-- TEXT --ANY TEXT!-- TEXT --
this is what I want:
!-- TEXT --ANY TEXTnbsp;a href="edittext.php?pageid=X"img
src="images/edit_buttom.gif"/a!-- TEXT --
what
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
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
particular
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 value
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
26
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
1 - 100 of 114 matches
Mail list logo