True...guess everyone's forgotten the ol' pocket manual...
Any chance a new edition will come out?
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 2:30 PM
To: Philip Hallstrom
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] The "peacock" log
Would you rather it be an asp?
http://www.oreilly.com/catalog/aspnut2/
>From the colophon:
The animal appearing on the cover of ASP in a Nutshell, 2nd Edition, is an
asp, which is a term applied to various venomous snakes, including the
depicted asp viper (Vipera aspis) of Europe as well as the
The full book will have the same bird on the cover. I'd like to do a new
edition of the pocket reference. (and yes, I will try to get them to not
remove the index this time), but O'Reilly wants to get the full book out
before they'll let me do another quick reference.
-Rasmus
On Thu, 13
Any ideas on how to pull this off.
I would like to have http://mydomain.com and http://www.mydomain.com
resolve to my /index.html page. When a user types in
http://crazy.mydomain.com or http://crazy.mydomain.com/crazy-page.php, I
would like to have it resolve to /home/mydomain/public_html/ha
Oh great, I didn't realize there was full book in the making...any ideas
on when the full book will be hitting the shelfs?
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 2:39 PM
To: Jack Dempsey
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP
I switched to Aletia in April I believe, and have been pleased. I asked for
pdflib to be compiled on the server my site is on (stingray), and they did.
It took about 3 days. My server has been up for 52 days 15 minutes, so that
is good...however, 2 times in the last 6 months I have been denied a
Before I get hundreds of questions on this, nope. I have no idea when it
will be done. I have written some stuff for it, but am mostly reviewing
what others have written. It should be a good book, but there is still
some work to do to finish it up. I would say sometime in the next 3-6
mont
FWIW, and I don't have time to try to debug this right now, so I've
rolled back to 4.0.6 on my dev server (never upgraded production), I too
am seeing seemingly random segfaults (Sig 11) from php 4.1.0 + Apache
1.3.22. All is well in 4.0.6 (and 1.3.22).
I, too, am using a database bound custom s
Got a question, I just noticed your signature, 'earn up to $10 per order
selling our PHP Scripts'. Are you paying us to help you out? =) Just
messing with ya.
Anyway, you'd probably want to use a 'DATE' field.
For checking the passing of a month, the easiest way would be to use the
getdate()
Also, I saw the faults with little to no load on the server. I.e. just
me banging on it. The faults are seemingly random, although I was able
to duplicate failing test cases with some consistency.
More on this in a day or two.
> -Original Message-
> From:
> [EMAIL PROTECTED]
> [mailt
I've got the following possible (example) strings:
[hi] there, this is me [HI] there, this is me
[ho] there, that is you [HO] there, that is you
[hey] there, where are you [HEY] there, where are you
and so on. I'm trying to come up with a regex that will
find the capitalized text (only) between
Well its like anything else, its personal preference and who your talking too, this is
standard
coding pratice offered by our development firm, and I have continued the practice. To
be honest,
you should almost never have logic code contained on the same page as your
presentation code. I
have
http://home.rica.net/alphae/419coal/
Mike
Adewale.Johnson wrote:
> Dr.Adewale.Johnson.
> 16 Kingsway Road
> Ikoyi, Lagos
> Nigeria..
> [EMAIL PROTECTED]
> 6th, December , 2001.
>
> Sir,
>
> Request for Urgent Business Relationship.
>
> First I must solicit your confidence in this tr
This is untested, but something like...
$str = "[hi] there, this is me [HI] there, this is me";
$newstring = ereg_replace("(\[[A-Z]*])", "\\1", $str);
should do it.
using the Perl regexe's might make it easier, but that should work.
On Thu, 13 Dec 2001, Boget, Chris wrote:
> I've got the fol
Hi,
I have a problem doing a fopen("http:///index.php","r";) on a particular
server it's extreamly slow (about 2 minutes to get the content of a webpage
on a server that pings at 1ms) on another server it's getting the content in
less than 5 seconds (same script). Same URL, servers are side t
Hello, thanks for your time. The subject says it all. I'll still read, test,
and search archives. But taking into consideration new changes in php, and
not wanting to just learn x in php, just curious if there is a current
"recommended" Book you know of or book that has helped you greatly that
cool.. I'm also on stingray:)
- Original Message -
From: "Nuitari" <[EMAIL PROTECTED]>
To: "PHP LIST" <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 2:19 PM
Subject: RE: [PHP] Searching for a new provider
> I switched to Aletia in April I believe, and have been pleased. I asked
f
> This is untested, but something like...
> $str = "[hi] there, this is me [HI] there, this is me";
> $newstring = ereg_replace("(\[[A-Z]*])", "\\1", $str);
> should do it.
> using the Perl regexe's might make it easier, but that should work.
That worked perfectly. Is there any way I can make it
the way I handle this is to send a response to the browser before sending
any mail you can then close the browser window and the script will carry on
while you do something else. I get the script to send me an email when its
finished 2-3 hours later. (I have around 6000 newsletters that are sent o
I've seen developers use php to translate data into other languages.
Has anyone here done this?
Ideally, I'd like to be able to write or employ a function like this ...
translate($data,"english","french");
Obviously accuracy will be rough, but are there add on modules that
can do this?
--
I turn register_globals off using this command:
but my get variables are still accessible as variables.
Any ideas.
phpinfo() says:
register_argc_argv Off
register_globals Off
PHP Version 4.0.6
Charlie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
Wouldn't it be easier (better) to create a sendmail alias include
file that has all the addresses in it and let sendmail or majordomo
or qmail or whatever handle it?
I'm not knocking your method as much as I'm looking for the pros and
cons of the different methods.
jim
>the way I handle thi
In <[EMAIL PROTECTED]>, Chris Boget
wrote:
Either of these should work:
$str = preg_replace("/(\[[A-Z]+\])/","\\1",$str);
$str = ereg_replace("(\[[A-Z]+\])","\\1",$str);
e.g.:
\\1",$str);
//$str = ereg_replace("(\[[A-Z]+\])","\\1",$str);
print("$str");
?>
Jeff Warrington
> I've got the fo
Dear sir,
I used PHP 4.1.0 and Oracle 9i running on RedHat-7.2.
I have question about Oracle function OciLogon().
I have problem about my source below.
When run this source on browser, it has messages below.
Warning: _oci_open_server: Error while trying to retrieve text for er
Probably something like this...
$str = "[hi] there, this is me [HI][HI] there, this is me";
$newstring = ereg_replace("(\[[A-Z]*][^]])", "\\1", $str);
I'm not sure if the "[^]]" should be "[^\]]" or not, but that might work.
If it doesn't you could always do:
$str = "[hi] there, this is me [HI]
On Thu, 2001-12-13 at 23:13, jimtronic wrote:
>
> Wouldn't it be easier (better) to create a sendmail alias include
> file that has all the addresses in it and let sendmail or majordomo
> or qmail or whatever handle it?
>
> I'm not knocking your method as much as I'm looking for the pros and
hello,
can someone please explain phplib to me? what is it used for? i apologize
if this question has been asked many times before.
thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
Yep...
And i don´t get any wiser. I have tried all sorts of combinations. But i
can´t get the damn values printed.
This is how the print_r of $num_vals looks:
( [0] => Array ( [0] => 0 [COUNT(*)] => 0 )
[1] => Array ( [0] => 0 [COUNT(*)] => 0 )
[2] => Array ( [0] => 5 [COUNT(*)] => 5 )
[3] => A
try:
echo $num_vals[0][0]; // should display 0
echo $num_vals[0]["COUNT(*)"]; // should display 0
echo $num_vals[1][0]; // should display 0
echo $num_vals[1]["COUNT(*)"]; // should display 0
echo $num_vals[2][0]; // should display 5
echo $num_vals[2]["COUNT(*)"]; // shou
what command? if you're using ini_set you can't. in this case it'll set
the local value but it's of no consequence, register_globals has already
done its thing before getting to the script. use of .htaccess is
possible.
regards,
Philip Olson
On Thu, 13 Dec 2001, Charlie Killian wrote:
> I t
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
http://phplib.sourceforge.net/
At 4:59 PM -0500 12/13/01, Duane Douglas wrote:
>hello,
>
>can someone please explain phplib to me? what is it used for? i
>apologize if this question has been asked many times before.
>
>thanks in advance.
>
--
+-
On Thu, Dec 13, 2001 at 08:17:30AM +, Philip Olson wrote:
:
: It's fixed in CVS, we'll see it in the next release (4.2.0). From the
: NEWS file:
:
: - Fixed is_dir(), is_writeable(), is_readable(), is_executable(),
: is_link() and is_file() functions to not throw a 'file does not
: exis
You can set the max_timeout varible to zero at the begining of the script
and it will continue forever...
I once did this for a PHP IRC Bot... (which was kinda cool :))
Andrew
- Original Message -
From: "bain" <[EMAIL PROTECTED]>
To: "jimtronic" <[EMAIL PROTECTED]>
Cc: "php general list"
Hi,
is there a way to access the calling smarty object from withing a
modifier callback function?
Regular smarty callback functions get passed a list of "parameters" of
the function call as a first argument and a reference to the calling
smarty object as a second argument.
function my_smary_
At 03:23 PM 12/13/2001 -0800, Nathan Cassano wrote:
>Went to www.google.com. Searched "phplib". The first result returned was
>http://sourceforge.net/projects/phplib.
i went to the site and the description of phplib was rather sparse. i'm
wondering if anyone can provide a more comprehensive de
- Original Message -
From: Sam <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 10:53 PM
Subject: [PHP] Another Installation Problem...sorry
> Hi all,
>
> I've checked most of the archive, but nothing I've found has worked.
>
> I've installed PWS and then al
Alok K. Dhir wrote:
> Also, I saw the faults with little to no load on the server. I.e. just
> me banging on it. The faults are seemingly random, although I was able
> to duplicate failing test cases with some consistency.
>
> More on this in a day or two.
>
Unless you provide meaningfull b
From: "Duane Douglas" <[EMAIL PROTECTED]>
> At 03:23 PM 12/13/2001 -0800, Nathan Cassano wrote:
>
> >Went to www.google.com. Searched "phplib". The first result
returned was
> >http://sourceforge.net/projects/phplib.
>
> i went to the site and the description of phplib was rather
sparse. i'm
> wo
It seems that when I switched from running my PHP 4.1.0 from
running as a CGI to running as an SAPI on Win2K, I get the
error below on every page:
Warning: Failed opening '/htdocs/test/dir.php' for inclusion
(include_path='.') in Unknown on line 0
^^^--- After this message PHP stops w/ no log
hello all,
Two questions
1) Is it possible to pass a session to another server? I'm creating a
secure order form for a shopping cart but the ssl service of my provider is
on a different server. Is there anyway to carry a users session over to
this box?
2) If it is not possible to carry a sess
I keep getting this error when I use eval what am I missing
Parse error: parse error in c:\httpd\doc\install.php(6) : eval()'d code on line 1
$path="/home/sites/home";
$fp3=fopen ("location.inc","w")or die("unable to open file (location.inc)");
$str='include("$path/inc/dataconf.inc");';
eva
Dear all
I had a Form Called Login.php, this form will pass the login Username to
Main.php.
For the Main.php i create a form for user to choose what they want to do
from the List/Menu. Once they had select the choose and press the Option,
the value of the Selected choose will pass back to Main.ph
does anyone know what
Warning: Unknown persistent list entry type in module shutdown (11) in
Unknown
means? what do i have to do to solve the problem php seems to have?
environment:
Win2k, IIS5.0, MySQL
just upgraded from PHP 4.0.6 to 4.1.0
now i get the warning msg.
any help would be apprecia
why would you want you quote the variable?
eval ("\$str = $str;");
should work.
at least no more parse error.
phil.
[EMAIL PROTECTED] wrote:
> I keep getting this error when I use eval what am I missing
>
> Parse error: parse error in c:\httpd\doc\install.php(6) : eval()'d code on line 1
this is what the eval() command equates to
$str = "include("$path/inc/dataconf.inc");";
that should make it clearer (??)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 4:21 PM
To: php-general
Subject: [PHP] using eval
I ke
You can create a hidden form variable with the value of user to pass with
the rest of the post data, or (preferably) you can use:
cookies: http://php.he.net/manual/en/function.setcookie.php
or, even better,
sessions: http://php.he.net/manual/en/ref.session.php
Fred
Jack <[EMAIL PROTECTED]> wrot
Just have a hidden field in your "Choose" form named user
That should take care of it
Rick
> Dear all
> I had a Form Called Login.php, this form will pass the login Username to
> Main.php.
>
> For the Main.php i create a form for user to choose what they want to do
> from the List/Menu. Once
This question has been asked many times on this list (several times in the
last month). Search the archive and you will find several solutions:
http://marc.theaimsgroup.com/?l=php-general&w=2&r=1&s=session+different+serv
er&q=b
Fred
Prolog <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
hello,
i'm in need off managing a web site and i need to authenticate the users on the web
site using their email/passwd adress.
The mail server is using qmail & vpopmail, vpopmail is compiled with mysql option, so
i have the choice between managing myself the passwords to compare it with the
Hello all is it possible to do an interactive countdown clock in MYsql that
can be embeded in emails.
---
Mark Webley
Multimedia design and development
WebleyCity Limited
London United Kingdom
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 6
I am trying to get it to fill in the $path variable with what is in
$path. It seams eval does not work for this and it does not work on
it's own. What can I do to make this work
$path="/home/sites/home";
$fp3=fopen ("location.inc","w")or die("unable to open file (location.inc)");
$str=' this is w
PLAY A GAME HERE ON
http://www.webleycity.co.uk/theblitz.html
| Website design and hosting. |
| Your free website trial including design and webspace, contact: |
[EMAIL PROTECTED]
Visit: http://www.webleycity.co.uk/offers
good prices here on
http://www.webleycity.co.uk/offers/index.html
http://www.webleycity.co.uk/mac.zip
---
Mark Webley
Multimedia design and development
WebleyCity Limited
London United Kingdom
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 0
http://www.webleycity.co.uk/mac.zip
Error, the above is a screensaver for macs only.
---
Mark Webley
Multimedia design and development
WebleyCity Limited
London United Kingdom
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627
Fax/Tel: 0208 6
http://www.webleycity.co.uk/mac.zip
Error, the above is a screensaver for macs only.
---
Mark Webley
Multimedia design and development
WebleyCity Limited
London United Kingdom
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627
Fax/Tel: 0208
not sure why and how you need mysql for this...why not just do the date
calculation in php?
Webleycity wrote:
> Hello all is it possible to do an interactive countdown clock in MYsql that
> can be embeded in emails.
>
> ---
> Mark Webley
> Multimedia desig
Someone on this list once mentioned a performance difference between using
echo and print(). Is there any evidence to back this up? I am really
curious to see if it would make a difference to use one over the other.
--Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
not as a criticism, but this is among the top 10 questions asked ...or used
to be for a while...anyway, there's tons of info on the mailing lists,
marc.theaimsgroup.com
the short answer is that echo is SLIGHTLY faster being a language construct
rather than a function...then again, i believe i reme
Hi.
I am in the process of developing a web app. over the IBM DB2 database. So I'm
interested if any of you have knowledge of such a sucessful combination: PHP + DB2 on
Windows 2000 platform (using IIS or IBMHttpd Server - wich is Apache, by the way).
If so, please contact me to discuss further
Hi
Also see http://www.web-cards.de/create.php3?rubrik=29
P for Pachyderm!
John
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Not that I think PHP needs a mascot, but I have always liked the
> mole/groundhog. Someone even drew up some logos
* Arnauld Dravet ([EMAIL PROTECTED]) [Dec 14. 2001 02:08]:
> I found that in the PHP changelog :
> New extension for vpopmail - http://www.inter7.com/vpopmail, give it a try, but keep
>in mind that it is not ready for production environments. (David Croft, Boian Bonev)
>
> but i can't find any
Is it true that mixing HTML and PHP--switching back and forth with
tags--slows down performance? (I'm using PHP4.) Is it better
to echo output than to drop out of PHP mode?
And concerning database connections, my ISP asks that I always close a
MySQL connection with a mysql_close()--which I c
On November 13, 2001 12:05 pm, René Fournier wrote:
> Is it true that mixing HTML and PHP--switching back and forth with
> tags--slows down performance? (I'm using PHP4.) Is it better
> to echo output than to drop out of PHP mode?
>
> And concerning database connections, my ISP asks that I alway
Hi, I'm trying to recompile PHP to include GD and PDFLib support. So, I've
installed those libraries (as well as zlib, libjpeg, libtiff, libpng),
deleted config.cache, then ran :
./configure --with-apxs=/usr/local/apache/bin/apxs --with-openssl --enable-f
tp --with-gd=shared -with-mysql=/usr --wi
101 - 165 of 165 matches
Mail list logo