jimwFri Jan 12 13:52:15 2001 EDT
Modified files:
/CVSROOTcheckoutlist
Log:
should check out cvs_acls file into CVSROOT
Index: CVSROOT/checkoutlist
diff -u CVSROOT/checkoutlist:1.6 CVSROOT/checkoutlist:1.7
--- CVSROOT/checkoutlist:1.6Sun Jan 7 20:51
Hi Monte,
I saw your post on php-general. I don't have access to a Solaris7 box,
but to get the shm version to compile under Solaris8, just make the
following change to apc_sem.c:
17:10:57(root@bp6)> diff apc_sem.c apc_sem.c.new
33c33
< #ifdef APC_HOST_LINUX
---
> #ifndef APC_HOST_BSD
hi list,
sorry, but we cant manage
a Load Data Infile
cause we always get:
Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2)
OUR Code is working fine in different project where safe_mode = OFF
=
heres the line where we try to move the file to a webfolder in our
I am trying to compile PHP 4.0.4pl1 as a CGI on my FreeBSD 3.4-STABLE box
and I seem
to be having problems for some reason. My configure line reads:
/'^'\
( o o )
---
I am trying to get PHP 4.0.4pl1 to run on my FreeBSD 3.4-STABLE box and
every time I run
the binary file and do "./php -v" it core dumps and gives me "Floating Point
Exception"
error. It does this as well on my FreeBSD 3.5-STABLE boxes. I tried 3
machines and the
same thing happens on all 3 of th
PHP gurus,
I am having a page named scene1.php, which got link to
playvoice.php, one drop down list box and a submit
button. I will try to explain what i want from this
page as much clearly as possible with the following
points.
1. Scene1.php appears on the user screen after it gets
redirected fr
is it possible with regex to
change one or more text characters
followed by a space into the same
characters followed by a tab?
Jerry Lake
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
yes
At 23:54 12.1. 2001, Jerry Lake wrote the following:
--
>is it possible with regex to
>change one or more text characters
>followed by a space into the same
>characters followed by a tab?
>
>Jerry Lake
>
>
>--
>PHP General Mailing
venaas Fri Jan 12 14:08:26 2001 EDT
Modified files:
/php4/ext/ldap ldap.c
Log:
Added parallel search when given array of link identifiers
@- Made ldap_list(), ldap_read() and ldap_search() do parallel search when
@ first parameter is an array of link id
metallicFri Jan 12 14:55:13 2001 EDT
Removed files:
/php4/pear/XML/Render render.php
Log:
# Correcting the directory structure
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hello,
I was going to use sessions to save a logged in variable so if the user
logged in with a username and password I checked for the session variable
and if it existed then I could continue.
Is there a way for the loggedin session variable to automatically be
destroyed after 5 minutes for exa
and how would I go about that?
Jerry Lake
-Original Message-
From: Cynic [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 3:10 PM
To: Jerry Lake; [EMAIL PROTECTED]
Subject: Re: [PHP] regex
yes
At 23:54 12.1. 2001, Jerry Lake wrote the following:
--
depends. is the set of strings preceeding the space limited
and known, or is it something like [^abc]{3,12} ?
At 00:13 13.1. 2001, Jerry Lake wrote the following:
--
>and how would I go about that?
>
>Jerry Lake
>
>-Original Messa
At 02:54 PM 1/12/01 , Jerry Lake wrote:
>is it possible with regex to
>change one or more text characters
>followed by a space into the same
>characters followed by a tab?
>
>Jerry Lake
For example -
$NewString = ereg_replace("([[:alpha:]]+) ", "\\1".chr(9), $String);
This will conver
Is it faster and more efficient to have smaller scripts that only do one
specific thing when it is executed or can I have a script perform to
different tasks based on a variable sent to it? It will be a high user
website so I am thinking that the smaller the script the better? Am I
right?
Randy
I have a small phone directory
bust the name listings are combined
for example
Schwartz Bob & Amelia 555-1212Oxford
Scirkin Bill555-1213Brooks
I need to add a tab or a comma after the
lastname so I can have as a separate field
when I dump it into MySQL and there is about
350
depends on the underlying FS - you might find yourself bitten
by disk hits that could've been avoided...
How about writing a small test suite and benching the server?
At 00:29 13.1. 2001, Randy Johnson wrote the following:
--
>Is it
The code below does not work. What could be causing
this?? php pages do come up, and I can retrieve SQL
data. The header seems okay: test.php?name=Bob and if
I define a variable on the same page I can use it.
Please enter user name here:
you typed:
Linux 2.2.14
PHP/4.0.3pl1
'./confi
looks like you need to find all the spaces _before_ the _first_
digit on the row, and _after_ the _last_ digit on the row.
does that fit your data? are there no other numbers than the
telephone ones?
At 00:29 13.1. 2001, Jerry Lake wrote the following:
-
you have register_globals off in your php.ini or httpd.conf
or .htaccess. either use $HTTP_GET_VARS['name'] or turn the
setting on.
At 00:36 13.1. 2001, jeff fitzmyers wrote the following:
--
>The code below does not work. What could
>> and the problem with that, is you're not paring tons of html through a
>> search-replace function, which also created unnecessary overheead, and
>
> You have a point here. Template-systems are slow.
yeppers...
that's why I didn't implement one of those keyword things in binarycloud.
ergh.
>
yeah, but it's good to agree on something so that people can use each
other's code...
--
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
> That I prefer to call it "investment" instead of overhead because it has
> given us a system we vastly prefer.
hehe, I like that. I still disagree, but that was good :)
>> by all means use whatever techniques you like in-house, but that would be
>> completely useless to someone in the "outside
actually, that's a good separate point:
I dislike the PEAR coding standard's inflexibility. I _fully_ dig coding
standards, but that feels a little too "iron fisted" to me... who cares if
someone uses 4 spaces instead of a tab?
hopefully I'm not putting my foot in my mouth and have that somewher
Bolgrihn Michael555-5566142 Hillyer St Oxford
Bollenbach Gary V 555-5078315 Freedom Rd Oxford
Bonaguidi Daniel555-5155N4663 10th Av Montello
Bonnett Agatha & John 555-5363547 Fawn Ct Oxford
Bonnett Bernard & Norma 555-4360116
> connect_to_database();
> parse_query();
> execute_query();
>
> echo "";
>
> while (fetch_row_from_query())
> {
> $output = data_from_fetched_row();
> $more_output = more_data_from_fetched_row();
>
> echo " $output $more_output ";
>
> }
> echo "";
> ?>
Well, this may be a bit specific, but
>
> {:each:output}
>
> {output}{more_output}
>
> {:next:more_output}
> {:end}
>
>
> Even a pot-smoking mac-using hippie web designer can understand that. :-)
> And it's readable in Dreamweaver or GoLive or any of those visual HTML
> tools. For Dreamweaver I added a little custom definition t
sort of.
if you will always need the same functions for every page, it is probably
faster to put them all in one file (where pure speed is concerned)
in binarycloud, everything that makes sense to logically separate into
separate files.
I though that would be kind of "ok" re speed until zend ca
pardon.
sorry original poster.
rhapsody... I had completely forgotten it exists :)
-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
eh?
check out htmlspecialchars()
(I think that's right, from memory)
it basically lets you fuggeddaboutit.
-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
Kenneth,
I store the path to the image in the table. I am unsure if you can actually
write an image to a table.
When the item is deleted, I run an "exec" command to remove the actual file.
Here's some snippets:
The actual html to create the upload file text box within a :
This is the
metallicFri Jan 12 15:01:19 2001 EDT
Added files:
/php4/pear/XML Render.php
Log:
Adding Render.php, which helps render documents from XML files.
Index: php4/pear/XML/Render.php
+++ php4/pear/XML/Render.php
http://www.php.net/license/2_02.txt
php-general Digest 13 Jan 2001 00:13:41 - Issue 451
Topics (messages 34235 through 34330):
Urgent - Special Characters
34235 by: TV Karthick Kumar
Re: Question
34236 by: Johan Holst Nielsen
34238 by: Cynic
34240 by: Johan Holst Nielsen
Re: Urgent: Special C
I looked around the web for templates and founf FastTemplates. Not exactly
what i was looking for thoug
lets say I have
$file = "111"
and there is a template "template.txt"
and it contains
"file #$file is blahlah"
how can I make that a template?
Thanks
- Peter
--
PHP General Mailing List (h
--
If it can be dreamt, it can be build
"Chris" <[EMAIL PROTECTED]> wrote in message
001f01c07c3b$fc965840$8a1412d1@chris">news:001f01c07c3b$fc965840$8a1412d1@chris...
2 things, first how do I give something the filepath of a folder that
proceeded it?
Also, how can I set up subdomains like sub
> why bother with creating your own syntax?
> why not just explain some _super_basic_ php syntax to the "html dude" and
> have him do the code himself?
Cause we like it better that way. :) Any time you're mixing code and HTML
you're asking for trouble, IMHO. Or at least working a lot harder th
This version fixes at least one show-stopper bug:
* default values for class member data would cause the webserver to
abort
And there is a possible fix for the BC math library problems that some
people have reported.
APC now compiles on Solaris 8.
Due to the severity of the class-related bug f
> that's why I didn't implement one of those keyword things in binarycloud.
> ergh.
Pretty soon we're going to have to start limiting you to only mentioning
binarycloud 2 times per hour or less. :-) :-)
- Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PRO
try this:
$s = file( 'mylisting.txt' );
$r = "\\1\t\\2\t\\3" ;
$p = '~^(.*)\040+(?=\d)(\d+-\d+)(?<=\d)\040+(.*)$~Ui' ;
you might want to limit the possible appearance of the phone
numbers more strictly.
At 00:44 13.1. 2001, Jerry Lake wrote the following:
--
Alex Black wrote:
> >> part of the point was for _PHP_ to be embedded html, in my opinion your
> >
> > It was created that way. It still is possible. Is can be quite handy,
> > sometimes (or often, depends on what you do). That doesn't mean you have
> > to use it.
>
> I'm not implying that there a
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
--
PHP General Mailing List (http://www.php.net/)
Alex Black wrote:
> Speaking as a not-pot-smoking mac-using only partially hippie web designer:
>
> why bother with creating your own syntax?
>
> why not just explain some _super_basic_ php syntax to the "html dude" and
> have him do the code himself?
>
> also, dreamweaver nicely ignores
Actuall
It tells you as it does it...
The default is, I think, the modules directory in your apache directory for
the .so, and /usr/local/lib/ for the php.ini
You can alter it using --with-prefix or somesuch.
./configure --help | less
- Original Message -
From: Derek Sivers <[EMAIL PROTECTED]
First, make sure that sendmail is something the iUSR_machinename can run --
Just because you logged in as you can run it doesn't mean that the user that
Apache/PHP is running as can run it.
Next, forget about that goofy DOS backslash thing. Just use "/" for your
paths.
Finally, add the optional
Oh, of course:
$result = preg_replace( $p , $r , $s ) ;
But you have probably already figured that.
At 01:28 13.1. 2001, Cynic wrote the following:
--
>try this:
>
>$s = file( 'mylisting.txt' );
>$r = "\\1\t\\2\t\\3" ;
>$p = '~^(.*)\0
> Well, even if it wouldn't be that much of a problem, it still is easier
with > templates. As you admitted, doing it with templates is cleaner, on
the HTML
> part. This can be important, if when you change layout often and have to
> work with designers.
Amen. :) Some of the HTML folks I deal wi
It should also be noted that the system interaction functions (namely,
passthru(), exec(), system() and popen()) are broken/incorrectly implemented,
actually, its windows that's incorrectly implemented, but be that as it may, the
functions do not work with windows).
To the original poster:
* Borland Interbase Server Contains Backdoor Account
http://www.windowsitsecurity.com/articles/index.cfm?articleID=16566
fixes for Windows, Linux, Solaris, HP-UX and SCO available at
http://www.borland.com/interbase/downloads/patches.html
__
HAR! :)
cal
-Original Message-
From: Tim Zickus [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 6:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] mixing HTML and PHP code
> that's why I didn't implement one of those keyword things in binarycloud.
> ergh.
Pretty soon we're go
thanks
I haven't thought about sharing the code, but it would be easy because our
code is as abstract as possible. In fact there a few files which contain
most of the "HTML replacements" that can be used on basically any site
without modification.
I'm too busy at the moment, I think I'll package
Let's say session.cookie_lifetime = 30; this of course kills the session
30 seconds after it was created.
Is there a way to have every session_start() 'renew' the life of the
clients cookie?
Meaning the session would expire 30 seconds after the LAST
session_start() call.
My goal is to have m
Friends--
I have a script that processes another script for display. I change
all variables named similar to "$Help1x1" to Help:
The following line accomplishes this readily when used in a .php
suffixed script when called directly from browser.
$content = ereg_replace ("[\$]Help[0-9]x[a-z]? =
Howdy-
I'm having a slight problem when attempting to build php 3.0.18
First of all I'd like to say the rpm spec file I inherited for this is a
mess- I may clean it up (likely start from scratch...), but the spec
file I'm using isn't the issue.
mod_php builds just dandy- but I get bad linking e
Hiee!
I am having a problem with months...count in a mysql
database..
See what I want is
1st column will have the current date..
2nd column will add 7 to the current date and store
it.
This will be for all the 12 months..
So I want the things to happen automatically..I mean
one script whic
try using the date_* functions in mysql
its somewhere in the manual reference section, date and time functions.
---
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 -
ok, here
DATE_ADD(date,INTERVAL expr type)
and here
http://www.mysql.com/doc/D/a/Date_and_time_functions.html
---
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
101 - 156 of 156 matches
Mail list logo