Yes, there was a little bug, it was set to handle date in /mm/dd and
not dd/mm/yyy.
Now this works ok.
py
function diff_date( $sep, $startdate ){
// Date of file in database
$startdate = explode( $sep, $startdate );
$startdate = mktime( 0, 0, 0, $startdate[1], $startdate[0],
$startdate[2]
sbergmann Thu Mar 8 14:20:06 2001 EDT
Modified files:
/php4/pear/CacheError.php
Log:
I think we need to load PEAR.php here.
Index: php4/pear/Cache/Error.php
diff -u php4/pear/Cache/Error.php:1.1 php4/pear/Cache/Error.php:1.2
--- php4/pear/Cache/Error
sbergmann Thu Mar 8 14:20:55 2001 EDT
Modified files:
/php4/pear/CacheError.php
Log:
This is 100% pure Ulf :-)
Index: php4/pear/Cache/Error.php
diff -u php4/pear/Cache/Error.php:1.2 php4/pear/Cache/Error.php:1.3
--- php4/pear/Cache/Error.php:1.2
sas Thu Mar 8 15:07:07 2001 EDT
Modified files:
/php4/ext/ircg config.m4
Log:
Refine complain message
Index: php4/ext/ircg/config.m4
diff -u php4/ext/ircg/config.m4:1.3 php4/ext/ircg/config.m4:1.4
--- php4/ext/ircg/config.m4:1.3 Mon Feb 26 14:14:24
upss sorry couldnt see your latest post.
thx anywy :))
""karakedi"" <[EMAIL PROTECTED]> wrote in message
98942f$qcd$[EMAIL PROTECTED]">news:98942f$qcd$[EMAIL PROTECTED]...
> ok here is the right one working : smt was wrong with the arrays i beleive
:
>
>
>
> // =
At 3:37 PM -0800 3/8/01, Nicole Lallande wrote:
>$len = mysql_num_rows($result);
>for ($i=0; $i<=$len; $i++) {
> echo "$catid";
>}
I believe your problem is in that code becuase it's ambiguous and
because $catid is an array and you're treating it as a regular
variable.
what you should do is
Hi
I've tried what, one of u, has kindly suggested, to send the whole html page
as email :
i put at the beginning of the page
and at the end, after
but i receive a blank email
Can u please help !
THANKS
_
Get Your Private
php-general Digest 8 Mar 2001 23:45:04 - Issue 555
Topics (messages 43026 through 43091):
PHP Site - New Design
43026 by: Miles Thompson
[PHP-ES] (roberto celestino)MCAL! set-up.
43027 by: Celestino Roberto Alejandro
Re: Microtime math and display
43028 by: Shaun T
mysql_query($sql) or die("there was an error: ".mysql_error());
-aaron
At 3:16 PM -0800 3/8/01, Dennis Gearon wrote:
>I do an insert using phpadmin, and i get back the error message (or
>maybe it's a warning?) The insert is of a duplicate on a unique field. I
>expected an error, but when I do my
put ob_start() at the beginning of your script.
at the end put:
mail('[EMAIL PROTECTED]', 'confirmation', ob_get_contents());
ob_end_flush();
-aaron
At 11:48 PM + 3/8/01, kaab kaoutar wrote:
>Hi
>I've tried what, one of u, has kindly suggested, to send the whole
>html page as email :
>i p
OH! THANKS A LOT!! IT WORKS !
>From: Aaron Tuller <[EMAIL PROTECTED]>
>To: "kaab kaoutar" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: Re: [PHP] how to use ob_get_contents() to send a page as email
>Date: Thu, 8 Mar 2001 15:51:42 -0800
>
>put ob_start() at the beginning of your scrip
On Fri, 9 Mar 2001 03:43, pete collins wrote:
> I keep getting:
> qmail-inject: fatal: read error
>
> I've tried everything.
>
> Sendmail is symlinked to /var/qmail/bin/sendmail wrapper
>
> $ ls -l /usr/lib/sendmail
> lrwxrwxrwx 1 root root 28 Aug 25 2000
> /usr/lib/sendmail -> .
sas Thu Mar 8 15:13:35 2001 EDT
Modified files:
/php4/ext/ircg config.m4
Log:
s/--with-ircg/--with-ircg-config/
Index: php4/ext/ircg/config.m4
diff -u php4/ext/ircg/config.m4:1.4 php4/ext/ircg/config.m4:1.5
--- php4/ext/ircg/config.m4:1.4 Thu Mar
Or you could try this:
sendmail_path = /var/qmail/bin/qmail-inject
Obviously you'll want to put in your correct path to qmail-inject, but that
works fine for me.
--
rich
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 7:24 PM
To:
Hi. I installed Apache... no problem... the classic
MSDOS window with... Apache running and the path
for Php4.
Php installed, I made a
Hola
and saved it as
test.php
then... I went to MsDos... c: php test.php [Enter]
I got a large list with html tags... ok... so PHP
running well
But
view the php file through localhost on your browser with
apache running
http://localhost/whateverfile.php
make sure the file is somewhere in your document root.
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.
It looks it would not cause too short expiration of session. (Expire is not set
for cookie. This is not what you want probably, but this should not cause
expiration of cookie within 10 or 20 min. You changes session.cache_expire, but
set Expire: and no cache headers. I think you don't need to do
This could be done in one of several ways:
- form : what you sound like you want to do seems prettey simple - why is it
not doable with a form?
- file upload : this seems more like what you are looking for ... use the
commands in Chapter 19 (File Uploads) of the PHP manual
The advantage with a f
I am going to be manning a booth on apache at a Linux trade show, and I'm
looking for suggestions on a good php app to show off. Seeing as a
webserver alone is not too exciting, I thought it would be better off to
show off what you can do with the apache platform and some of the modules
available
Try IMP webmail
- Original Message -
From: Chad Cunningham <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 8:30 PM
Subject: [PHP] demo application suggestions
>
> I am going to be manning a booth on apache at a Linux trade show, and I'm
> looking for suggesti
This is a bit off-topic, but I'm curious what you PHP'ers would recommend as
a good HTML book. I think I need to learn some stylesheet stuff and the
tutorial I've got covers the basics, but I'd like some more in-depth info on
the commands.
Is the O'Reilley(sp?) book the best, or are there better
This is something I happened to come across. I have no idea
how it compares to others, just giving you the link.
http://wdvl.internet.com/Authoring/Style/Sheets/Book.html
Jeff Oien
> This is a bit off-topic, but I'm curious what you PHP'ers would recommend as
> a good HTML book. I think I need t
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Yev) wrote:
> So, it sees $name="field[text][email]", and attempts to retrieve the
> value, so in essense $HTTP_GET_VARS[$name] should return
> "[EMAIL PROTECTED]", but it doesn't work..
> However, if i try to access $HTTP_GET_VARS[field][text
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Dennis Gearon)
wrote:
> I do an insert using phpadmin, and i get back the error message (or
> maybe it's a warning?) The insert is of a duplicate on a unique field. I
> expected an error, but when I do mysql_error() or mysql_errno(), nothing
> c
I had Apache 1.3.12 here with php 4.0.3 and all was working fine.
I decided to upgrade to 1.3.17 and all came down, I spent hours bringing it
all back... when I finally did it, there's still something that WON'T work...
I can't load php_mssql70.dll... it simply does not load. I've set
extensti
Hello.
Which is the easiest way to graph funcitions in php, like f(x)=sin(2x)
thank you
Fabian Fabela
[EMAIL PROTECTED]
www.vacagorda.com
ok so im using fopen to read a file split each line in to an array. Check
those variables against the same situation with a different file. Replace
a string in the second file with a string in the first file. Then rewrite
the line with the new variable.
here is a small example of how im opening
What should I put in for the parameter jvs_name of the oohform->start? Is
that a name of another javascript file? Where can I get a sample script?
I would like to make sure the clients put in something in the textbox.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Jon,
I've done something similar with strtr(), pulling the array from a database
and swapping the result set into a file.
$fd = fopen ($file, "r");
$string = fread ($fd, filesize ($template));
fclose ($fd);
$array = mysql_fetch_array($result, MYSQL_ASSOC);
echo (strtr($string, $array));
just m
Actually I tried a variation of what you gave me before and it didnt work. I
couldnt get yours to validate thanks. heres what I used
This is directly after the form using the registered vars $Email,
$FirstName, $LastName. So I dunno whats wrong..
> From: "W.D." <[EMAIL PROTECTED]>
>
> > I do
im just using 2 flat files. is there any kind of freplace? or can i use str_replace to
re-write the line?
<-CoreComm-Internet-Services---http://core.com->
(Jon Marshall CoreComm Services Chicago)
([EMAIL PROTECTED] Systems Engineer II)
([EMAIL PROTECTED]
You should look at strtr -
http://www.php.net/manual/en/function.strtr.php
either swap string into 'nother string according to target, or swap array
into string, using array fields as target.
Also, check preg_replace:
http://www.php.net/manual/en/function.preg-replace.php
regards,
jaxon
On 3/8
From: "W.D." <[EMAIL PROTECTED]>
> Actually I tried a variation of what you gave me before and it didnt work.
I
> couldnt get yours to validate thanks. heres what I used
> if (getenv("REQUEST_METHOD") == "POST")
> {
> if (
> eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z
Consider seperating the checks and tell the user what they did and didn't
do correctly as that way you can put the incorrect fields in bold and red
fonts! Users LOVE that. And little custom messages like "Yo, your email
of $email is incorrect and what kind of first name is $firstname?!" And
may
I "learnt" SGML long before I learnt HTML, so all I've ever needed is a
a good reference.
So: I think the O'Reilly Koala Book is excellent because it is well
indexed and has useful lists of what elements there are, what attributes
they have, what values they can have etc.
However, I am not reall
ok that will work for swaping the elements in the array.
however rewriting the old line
blah:blah:blah
to blah:foo:blah
its 2 flat files that im opening with fopen obviously.
perhaps im talking in circles
<-CoreComm-Internet-Services---http://core.com->
(Jon Marshall
101 - 136 of 136 matches
Mail list logo