[PHP] new question

2002-01-31 Thread Pafo

you can get a file on your site to be exec every x minuts with lynx
but i dont understand how it works, i have created a  "cron.txt" file and
put it in the folder where i want my script to be executed...  the content
of this file looks like this:

*/5 * * * * /usr/bin/lynx --dump http://localhost/php/ppp.php > /dev/null

but it dosent work, do i have to register the cronfile somewhere to make it
work...?
cause i want it to run this file every 5mins...  is there any other way???

regards
pafo



-- 
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]




[PHP] New "Variables"

2002-04-25 Thread Nico van der Dussen

Hi,

is there somewhere a spot where the rational for the new "variables" of
PHP4.2 is described?

I can not figure out yet the "why" of all the trouble the developers took -
obviously they would not have done it if there was'nt an urgent reason
for it.

Thanks

Nico


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] new guy

2002-04-27 Thread Don Tait

Running Apache 1.3 , XP Pro, and PHP 4.2 but get this:
Can't find this ref: in apache conf nor php.ini

Warning: Failed opening '/inetpub/wwwroot/test.php' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0



[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New Newsgroups

2002-06-26 Thread Peter

Does anyone else out there use Outlook Express to get the posts from this
newsgroup?
Yesterday a dialog popped up to say there were new newsgroups (php.docs.de
etc), I acknowledged this but the same message came up again just now!
Did this happen to anyone else or was it just me?!




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New session...

2001-05-24 Thread Martin Thoma

Hello !

I want the user to have a chance to reset the session and get a new
session_id on one page.

I tried:

session_name("MyId");
session_register("MyId");

session_unregister("MyId");
session_register("MyId");

But it doesn't worked. session_destroy doesn't work, too.

What I want is, the PHP assigns MyId a new value.

Ideas ?

Martin



-- 
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]




[PHP] new problem

2001-07-25 Thread Eduardo Kokubo

Hello,
I have to transfer a directory and all it's files and subdirectories from one 
server to another or from one acount to another, but I guess ftp_put or copy can not 
do it ( This directory must not be compressed). ANY help woud be very very welcome.



[PHP] New to list

2002-01-10 Thread Andrew

Hello to you all!
I am new to this list and I have a question that maybe someone can help with

In a script I  am working on I have a math's equation :

((0.416 / $time) * 60) * 60)

this out but a figure at goes to a about 10 decimal places  I only want 2
decimal places and just can not figure out how to do this

Any ideas would be great


Thanks

Andrew
Web Harper Graphics
www.webharpergraphics.com






[PHP] New mailparse extensions

2002-01-10 Thread Paul

Hey all,
Before I begin, I would like to acknowledge that I understand that the
mailparse functions are still in development.  I, however, would like to
start programming a mailparse utility that will read from the stdin and
return, body, attachments, from, etc.  Does anyone know, or has anyone
produced anything silimar?  Also,  does anyone have any idea as to when the
mailparse docs will be completed.  I guess you can say I'm a little anxious.

Thanks in advance,
Paul



-- 
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]




Re: [PHP] new question

2002-01-31 Thread Michael A. Peters

man crontab

essentially you just need to load it into your crontab.

crontab /path/to/cron.txt

should do it.

-=-
What I do is keep a file in my home directory called crontab.txt

That's the file I edit.
When I add something to my crontab- I add it to that file.
Then I run

crontab ~/crontab.txt

to load it.
This is important because the crontab command deletes everything currently
in your crontab (probably nothing if you've never done this before)
replacing it with the contents of the text file you specify.

On Thu, 31 Jan 2002 17:59:00 +0100
"Pafo" <[EMAIL PROTECTED]> mentioned:

> you can get a file on your site to be exec every x minuts with lynx
> but i dont understand how it works, i have created a  "cron.txt" file
and
> put it in the folder where i want my script to be executed...  the
content
> of this file looks like this:
> 
> */5 * * * * /usr/bin/lynx --dump http://localhost/php/ppp.php >
/dev/null
> 
> but it dosent work, do i have to register the cronfile somewhere to make
it
> work...?
> cause i want it to run this file every 5mins...  is there any other
way???
> 
> regards
> pafo
> 
> 
> 
> -- 
> 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]
> 


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters
http://24.5.29.77:10080/

-- 
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]




[PHP] NEW template class!!

2002-03-10 Thread ayu

KONNICHIWA, everyone.

I wrote a new template class for rapid web development.

Please, give me any feedback.

thanks.

Hiroshi Ayukawa




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New template class

2002-03-10 Thread ayu

KONNICHIWA, everyone.

I wrote a new template class for rapid web development.

Please, give me any feedback.

thanks.

Hiroshi Ayukawa


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New template class

2002-03-10 Thread ayu


Konnichiwa, everyone.

I wrote a new template class to separate HTML views from PHP scripts.
Give me some feedback, please.

http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New template class

2002-03-10 Thread ayu


Konnichiwa, everyone.

I wrote a new template class to separate HTML views from PHP scripts.
Give me some feedback, please.

http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New template class

2002-03-10 Thread ayu


Konnichiwa, everyone.

I wrote a new template class to separate HTML views from PHP scripts.
Give me some feedback, please.

http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New php functions?

2002-03-27 Thread charlesk

I went to php.net wnating info on the date() function.  To my surprise the word date 
was already in the "search for" field.  

Has PHP developed some new functions?

Possible code



If not are these ever planned as I have use for them.  

Thanks
Charles Killmer

PS In case you are wondering yes this is supposed to be humorous.  ;-)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New "Variables"

2002-04-25 Thread Erik Price


On Thursday, April 25, 2002, at 10:06  AM, Nico van der Dussen wrote:

> is there somewhere a spot where the rational for the new "variables" of
> PHP4.2 is described?
>
> I can not figure out yet the "why" of all the trouble the developers 
> took -
> obviously they would not have done it if there was'nt an urgent reason
> for it.

As Kirk Johnson told me when I asked the same question a few months back:

"Give this a read first, then come back and ask if you still have 
questions."

http://www.securereality.com.au/studyinscarlet.txt




Erik





Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New "Variables"

2002-04-25 Thread Rasmus Lerdorf

You are better off reading the Security chapter in the PHP documentation.
That study-in-scarlet document is right on some points, but ill-informed
and misleading on others.

-Rasmus

On Thu, 25 Apr 2002, Erik Price wrote:

>
> On Thursday, April 25, 2002, at 10:06  AM, Nico van der Dussen wrote:
>
> > is there somewhere a spot where the rational for the new "variables" of
> > PHP4.2 is described?
> >
> > I can not figure out yet the "why" of all the trouble the developers
> > took -
> > obviously they would not have done it if there was'nt an urgent reason
> > for it.
>
> As Kirk Johnson told me when I asked the same question a few months back:
>
> "Give this a read first, then come back and ask if you still have
> questions."
>
> http://www.securereality.com.au/studyinscarlet.txt
>
>
>
>
> Erik
>
>
>
> 
>
> Erik Price
> Web Developer Temp
> Media Lab, H.H. Brown
> [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] new session policy

2002-05-31 Thread Giancarlo

Is it possible that the PHP session features will accept as new any id
not generated by the webserver itself? 
And where's the utility of that? Isn't it an enormous hole?

Gian

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New Newsgroups

2002-06-26 Thread Greg Donald

On Wed, 26 Jun 2002, Peter wrote:

>Does anyone else out there use Outlook Express to get the posts from this
>newsgroup?
>Yesterday a dialog popped up to say there were new newsgroups (php.docs.de
>etc), I acknowledged this but the same message came up again just now!
>Did this happen to anyone else or was it just me?!

It must be your news client.  I use pine remotely and got no such popup.

-- 
---
Greg Donald
http://destiney.com/public.key
---



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Fw: [PHP] New Newsgroups

2002-06-26 Thread Rick Emery

Somewhat related to this discussion.

There are some posters to this email list that appear as Newsgoup entries in my 
OutLook Express.  Most posters, however, are identified as mail, not news postings.

"Peter" is one of those that appears as a News post.  I've looked at the headers of 
his message and others identifed as News and I noted that there is a News Reader 
identified in the header.

- Original Message - 
From: "Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 2:46 PM
Subject: [PHP] New Newsgroups


Does anyone else out there use Outlook Express to get the posts from this
newsgroup?
Yesterday a dialog popped up to say there were new newsgroups (php.docs.de
etc), I acknowledged this but the same message came up again just now!
Did this happen to anyone else or was it just me?!




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Re: [PHP] New Newsgroups

2002-06-27 Thread Alex Elderson

I got the same popup.

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
>
>On Wed, 26 Jun 2002, Peter wrote:
>
>>Does anyone else out there use Outlook Express to get the posts from this
>>newsgroup?
>>Yesterday a dialog popped up to say there were new newsgroups (php.docs.de
>>etc), I acknowledged this but the same message came up again just now!
>>Did this happen to anyone else or was it just me?!
>
>It must be your news client.  I use pine remotely and got no such popup.
>
>-- 
>---
>Greg Donald
>http://destiney.com/public.key
>---
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New emalloc() error?

2002-07-03 Thread David Busby

List,
I think I saw this one on here before...when reading/writing the database 
I get this when executing odbc_exec(...);  What was the fix?



FATAL:  emalloc():  Unable to allocate 1073784417 bytes


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New Mod-gzip

2001-02-16 Thread David VanHorn


There's a new mod_gzip out that does work with PHP output.
Have a look at www.dvanhorn.org
All the pages are PHP generated, with nothing special in the PHP code.
--
Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9



-- 
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]




[PHP] new email address

2001-01-17 Thread Tom Beidler

Just a quick note to all. My old address, [EMAIL PROTECTED], will no
longer be in service.

You can reach me at [EMAIL PROTECTED] or [EMAIL PROTECTED]

Please make the necessary changes to your address books.

Thanks,
Tom

>>.>>.>>>.>.>
Tom Beidler
Orbit Tech Services
805.682.8972 (phone)
805.682.5833 (fax)
[EMAIL PROTECTED]
>>.>>.>>>.>.>


-- 
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]




[PHP] new mail() function

2001-01-31 Thread Police Trainee

I recently downloaded the ArGoSoft mail server that
someone on this list once suggested when trying to use
the mail command on a window's system running php.

I have since installed it and it works fine, except
for the fact that my isp blocks connections to port 25
that will relay email to other servers. Tech support
says I can do it using any other port tho.

Is there a way to re-write the mail() function to do
this? Or does the port specs rest solely with the mail
server (which cannot be configured on which port to
send to)?

Help appreciated, suggestions welcome, better server
software links honored, and yes i did read the manual
on mail().

thank you

__
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-- 
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]




[PHP] new php release?

2001-03-07 Thread Antonio S. Martins Jr.

Hi,

   I'm using PHP-4.0.4pl1, and I'm trying to using the
odbc_error/odbc_erromsg functions, but this are only availabe on the CVS
tree! Before I set up a cvs client download the fonts and try to compile
it, I'm willing to know if there is a new version soon to be released? Or
if the above odbc functions are working in the CVS tree? 

 thanks in advance,

   Antonio.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - System Analist |  "Only The Shadow Knows   |
| WorldNet Internet Maringa - PR - Brasil |   what evil lurks in the  |
| E-Mail: [EMAIL PROTECTED]  |   Heart of Men!"  |
| [EMAIL PROTECTED]   | !!! Linux User: 52392 !!! |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   This e-mail message is 100% Microsoft free!

 /"\
 \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \





-- 
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]




[PHP] new php.net look

2001-03-07 Thread Michael Kimsal

To the PHP.net design person/people:

THANK YOU!  I'm tempted to send this as an HTML mail with THANK YOU
in big bold flashing letters.  :)

The older look was neat to show off to people re: pop up menus, etc.,
but this is
a real speed demon, and will be much more useful for searching around.

Thanks again!



-- 
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]




[PHP] NEW JOBS LIST

2001-03-29 Thread Michael Kimsal

Hello all.

We've set up a moderated email group at Yahoo! to be a PHP jobs
resource.
This list is primarily intended to be a place for employers or people
with PHP projects
to post their requirements with contact info.  It will be moderated to
prevent
spam and other extraneous emails and keep the focus of the group on PHP
jobs.

I invite you all to join up at

http://groups.yahoo.com/group/phpjobs/

Thanks!

Michael Kimsal
http://www.tapinternet.com/
734-480-9961



-- 
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]




[PHP] New buzz SOAP?

2001-04-03 Thread Paulson, Joseph V. \"Jay\"

Hello everyone-
Here at work I'm hearing this new buzz word about SOAP and people are asking
me if PHP can work with SOAP.  Well first of all if any of you know the
answer to this please let me know because I am clueless.
Thanks,
Jay

-- 
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]




[PHP] New BEE Q

2001-05-22 Thread dr0asif

New bee Q-
Can anyone help me to configure pws,mysql manually.
Kindly help and walk me through the process.
thanks
asif

-- 
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]




[PHP] new break tags

2001-06-29 Thread bill

I'm trying to fix two regular expressions to work with the new break
tags.

This

$breaks=preg_match_all("/\s+/i", "$text", $parts)

and this

preg_replace("/\s+/i","",$text)


Now that PHP 4.0.5 has changed the nl2br() function, it no longer
replaces new lines with:



but instead with the new XHTML compliant break tags:



I tried just substituting the new tag into the above regular expressions
to no avail.  Any ideas?

kind regards,

bill hollett


-- 
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]




RE: [PHP] new problem

2001-07-25 Thread Jon Haworth

On which OS? For example, on a Linux box, I imagine you could do something
like

exec("mv old.directory.name new.directory.name");


Cheers
Jon



-Original Message-
From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]]
Sent: 25 July 2001 15:07
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] new problem


Hello,
I have to transfer a directory and all it's files and subdirectories
from one server to another or from one acount to another, but I guess
ftp_put or copy can not do it ( This directory must not be compressed). ANY
help woud be very very welcome.

-- 
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]




[PHP] New Book - Tips?

2001-07-30 Thread Matt Kaufman

Hi there,

I'm currently in the process of writing a new book about PHP entitled PHP Exertion.

I've read several other books, and none of them covered everything that was needed, so 
I basically have an understanding of what I will write about and what topics to 
include - although I was wondering if any of you other users had any tips or ideas..

Thanks,
Matt Kaufman
[EMAIL PROTECTED]



[PHP] new to php

2001-09-09 Thread Kostis Mentzelos

Hi all,
is it possible to create a table that automatically
updates its contents every 30 seconds?

Thanks in advance,
Kostis Mentzelos.

-- 
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]




[PHP] NEW !! ecTemplate !! NEW

2001-09-11 Thread Jeroen Olthof

http://www.millipede.nl/ectemplate/

hi,

I was inspired by fasttemplate. the idea of separate your HTML code from the
PHP code.
but when I first start usinging fasttemplate, it removed all my javascript
function definitions. This was a reson for me to do a rewrite in my own way.
starting from scretch I build up ecTemplate and using it now in real life
website. it called ecTemplate (easyTemplate) because it's really easy to
use.
try it out !!!

please use the comminucation board to let me know what u think of the
ecTemplate construction !

http://www.millipede.nl/ectemplate/

kind regards
Jeroen Olthof
Netherlands



-- 
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]




[PHP] New York Remembrance

2001-10-03 Thread Irmingard Anna Kotelev

 Dear friends,

the madness incarnate of  September 11th, 2001 is one which will never 
be
forgotten. How could it be?
This shook the entire world, and my heart was broken along with all of
yours.

I have created a slide show in respectful tribute to all who passed, as
well as the heroics of the people. I know that America...the world... will
not allow this attack to ruffle it's feathers, and I stand and applaude 
for
the strength and resolve of it's people.

God bless America...God bless the world.

Do sign my 'Response to this Tribute' if compelled and please pass this 
on to at least one friend.

http://www.aurumxxl.de/ny/ny.htm

Irmingard Anna Kotelev
Photographer

25th of September 2001


-- 
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]




RE: [PHP] New to list

2002-01-10 Thread Martin Towell

have a look at:
http://www.php.net/manual/en/function.number-format.php

-Original Message-
From: Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 11:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] New to list


Hello to you all!
I am new to this list and I have a question that maybe someone can help with

In a script I  am working on I have a math's equation :

((0.416 / $time) * 60) * 60)

this out but a figure at goes to a about 10 decimal places  I only want 2
decimal places and just can not figure out how to do this

Any ideas would be great


Thanks

Andrew
Web Harper Graphics
www.webharpergraphics.com






Re: [PHP] New to list

2002-01-11 Thread hugh danaher

try
$total=((0.416 / $time) * 60) * 60);
$output=number_format($total,2,'.',',');  / / uses comma separators between
thousands and a decimal point between the units and tenths.
or
$output=number_format(((0.416 / $time) * 60) * 60),2,'.',','); / / php is
usually forgiving on combined operations.

number_format() truncates the number so if you have 1.209 it will lop of the
last number resulting in 1.20.  if you want a rounded number use round().
both commands are in the online manual.
hope this helps.
Hugh
- Original Message -
From: Andrew <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 4:05 PM
Subject: [PHP] New to list


> Hello to you all!
> I am new to this list and I have a question that maybe someone can help
with
>
> In a script I  am working on I have a math's equation :
>
> ((0.416 / $time) * 60) * 60)
>
> this out but a figure at goes to a about 10 decimal places  I only want 2
> decimal places and just can not figure out how to do this
>
> Any ideas would be great
>
>
> Thanks
>
> Andrew
> Web Harper Graphics
> www.webharpergraphics.com
>
>
>
>


-- 
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]




RE: [PHP] New to list

2002-01-13 Thread Boaz Yahav

Check out : 

http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=279

Sincerely

berber

Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.

-Original Message-
From: Andrew [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 2:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] New to list


Hello to you all!
I am new to this list and I have a question that maybe someone can help
with

In a script I  am working on I have a math's equation :

((0.416 / $time) * 60) * 60)

this out but a figure at goes to a about 10 decimal places  I only want
2
decimal places and just can not figure out how to do this

Any ideas would be great


Thanks

Andrew
Web Harper Graphics
www.webharpergraphics.com




--
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]




[PHP] New Metabase Aniversary release

2002-01-21 Thread Manuel Lemos

Hello,

Finally I made time to put a new Metabase release together celebrating
the 2nd aniversary since its first public release which is also the 3rd
aniversary since I started developing it.

For this release I added new features that either were requested or
contributed:

- Query result bulk data fetching - There is now a set of functions that
let you query databases, collect results into single variables and free
the results in a single call. These functions were contributed by Lukas
Smith and Christopher Linn.

These functions are meant not only to reduce the number of Metabase API
calls necessary to perform common types of queries but also to optimize
the result set data retrieval process. This was introduced to overcome
some complaints that Metabase would not perform as fast as other PHP
database abstraction packages.

There is now a function that retrieves a single result set row and is
optimized for each of the supported types of database. Around this and
other functions there are now some new functions that let you retrieve
just the first field of the first row, just the first row, just the
first field of all rows and all the fields of all rows.

Additionally, these new functions may convert the data types of the data
that is retrieved if necessary by specifing a data type mapping array
before retrieving the query results. If no data type is necessary, for
instance with result sets with only text and integer fields, no
conversion is performed, thus providing full database portability when
necessary without compromising Metabase ability to retrieve result set
data at the highest speed.

- Customizable error handling - There is also now a function to specify
a error handling function. This is meant to please those that want to
provide custom error handling separately from their main database
programming code.

- SQL REPLACE abstraction - There is now a function that lets you
execute SQL REPLACE command like what MySQL provides, but in a way that
works with almost all databases. SQL REPLACE is non-standard SQL command
that is like SQL INSERT, except that instead of just inserting a new
row, first it figures if there is already a row with the same primary
key values. If such row exists, it just updates it with new values,
otherwise it inserts a new row. This is very good to add or update
entries to relationship tables that have as primary keys, the keys of
other two or more tables.

To implement this command, Metabase uses transactions with the databases
that support them, except for MySQL that has native support for SQL
REPLACE.

For this release it was not possible to already integrate the Sybase
driver that was contributed by Sergio Zia. It will be done in a next
release after it is properly tested with the Metabase driver conformance
test as it is the standard for Metabase to assure the quality of its
drivers by only releasing what has be throughly tested.

Since Metabase feature list is not stopping to grow, in a future release
I also want to split all these optional features in such way that each
programmer only loads what their scripts need avoiding further PHP
compilation overhead.

That is all for now. If you would like to have some feature in Metabase
please feel free to approach either by contributing with code or just
suggesting what you have in mind even if you feel that you don't have
the time or the skill to do it yourself.

Metabase is free Open Source package and can be found with full
documentation and tutorials here:
http://phpclasses.UpperDesign.com/browse.html/package/20

Regards,
Manuel Lemos

-- 
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]




[PHP] New York PHP Group

2002-02-07 Thread PHP NY

Hi,

I'm getting a PHP group together in the New York, NY
area. Please email me if insterested.

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New template class

2002-03-10 Thread ayu

Sorry, I forgot the URL  ;)
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New Day, New Problem

2002-03-14 Thread jtjohnston

If I change:

$to_path = "c:\\".$date."www\\";

to

$to_path = "c:\\".$date."\\www\\";

It doesn't work? Otherwise, it works.
Can anyone help? Undoubtably something f-ed in the code, or is it a
Windows thing?



###
$date = date ("Ymd");
###
###  Don't forget trailing slash  #
###
$from_path = "c:\\program files\\easyphp\\ccl_www\\";
$to_path = "c:\\".$date."ww\\";
###

if(!is_dir($from_path))
{
echo "failed";
exit;
}else{
rec_copy($from_path, $to_path);
echo "files copies from $from_path and backed up to $to_path";
}

#

function rec_copy ($from_path, $to_path) {
if(!is_dir($to_path))
mkdir($to_path, 0777);

$this_path = getcwd();
 if (is_dir($from_path))
 {
chdir($from_path);
$handle=opendir('.');

while (($file = readdir($handle))!==false)
{
 if (($file != ".") && ($file != "..")) {
  if (is_dir($file))
  {
  rec_copy ($from_path.$file."/",  $to_path.$file."/");
   chdir($from_path);
  }else{
#  echo "error if (is_dir($file))";
  }
  if (is_file($file))
  {
  copy($from_path.$file, $to_path.$file);
  }else{
#  echo "error copy($from_path.$file, $to_path.$file)";
  }
 }#end (($file != ".")
}#end while (($file

closedir($handle);
 }# end if (is_dir
 else{
# echo "if (is_dir($from_path))";
 }
}# end function




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New php functions?

2002-03-27 Thread Jason Murray

> I went to php.net wnating info on the date() function.  To my 
> surprise the word date was already in the "search for" field.  

It was probably the last thing you looked for there. I know I
constantly go back to look up Date() placeholders. :)

J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New php functions?

2002-03-28 Thread Jon Farmer

> It was probably the last thing you looked for there. I know I
> constantly go back to look up Date() placeholders.

I know the feeling! In the end I printed the Date page out, folded it up and
stapled it into my PHP pocket ref book

--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP Key

:)



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New php functions?

2002-03-28 Thread Jason Wong

On Thursday 28 March 2002 17:13, Jon Farmer wrote:
> > It was probably the last thing you looked for there. I know I
> > constantly go back to look up Date() placeholders.

It begs the question, why don't you just download the manual? It's available 
in a myriad of different formats, one of which must suit you. It may not be 
bang up-to-date and it may not have the (sometimes) useful user comments but 
it sure saves you a lot of time and bandwidth.

> I know the feeling! In the end I printed the Date page out, folded it up
> and stapled it into my PHP pocket ref book

It's a step in the right direction :)


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
Q:  What do you say to a Puerto Rican in a three-piece suit?
A:  Will the defendant please rise?
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New php functions?

2002-04-01 Thread Jason Murray

> It begs the question, why don't you just download the manual? 
> It's available in a myriad of different formats, one of which 
> must suit you. It may not be bang up-to-date and it may not have 
> the (sometimes) useful user comments but it sure saves you a lot 
> of time and bandwidth.

Heheh ... well, for one, it's not my bandwidth :) And the time it
takes to open a new browser and type www.php.net/date and download
the page is a lot faster than the amount of time it'd take to find
out where the heck I put the downloaded document, then find the
right page / entry / etc... :)

J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New php functions?

2002-04-01 Thread Rick Emery

I've got the PHP manual as a series of hyper-linked HTML pages.  Searchig is
is very fast.  And, I don't need to wait for download of single page.
I've got the index.html page in my Favoties list, so the PHP manual ia
always available; I don't have to try to remember where the downloaded doc
is.

-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 4:52 PM
To: 'Jason Wong'; [EMAIL PROTECTED]
Subject: RE: [PHP] New php functions?


> It begs the question, why don't you just download the manual? 
> It's available in a myriad of different formats, one of which 
> must suit you. It may not be bang up-to-date and it may not have 
> the (sometimes) useful user comments but it sure saves you a lot 
> of time and bandwidth.

Heheh ... well, for one, it's not my bandwidth :) And the time it
takes to open a new browser and type www.php.net/date and download
the page is a lot faster than the amount of time it'd take to find
out where the heck I put the downloaded document, then find the
right page / entry / etc... :)

J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New php functions?

2002-04-01 Thread Jason Murray

> I've got the PHP manual as a series of hyper-linked HTML 
> pages.  Searchig is is very fast.  And, I don't need to wait 
> for download of single page.

Each to their own, each to their own ... :)

J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New php functions?

2002-04-01 Thread margehair . terra . es

I love that manual! And what about the one in win help format? Not too bad, 
int it? They say it now works under MSLinux. Probably Mandrake too, but not 
tested yet.
Extended info at http://www.mslinux.org

See ya,
Marga

Vas escriure:
> I've got the PHP manual as a series of hyper-linked HTML pages.  Searchig is
> is very fast.  And, I don't need to wait for download of single page.
> I've got the index.html page in my Favoties list, so the PHP manual ia
> always available; I don't have to try to remember where the downloaded doc
> is.
> 
> -Original Message-
> From: Jason Murray [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 01, 2002 4:52 PM
> To: 'Jason Wong'; [EMAIL PROTECTED]
> Subject: RE: [PHP] New php functions?
> 
> 
> > It begs the question, why don't you just download the manual? 
> > It's available in a myriad of different formats, one of which 
> > must suit you. It may not be bang up-to-date and it may not have 
> > the (sometimes) useful user comments but it sure saves you a lot 
> > of time and bandwidth.
> 
> Heheh ... well, for one, it's not my bandwidth :) And the time it
> takes to open a new browser and type www.php.net/date and download
> the page is a lot faster than the amount of time it'd take to find
> out where the heck I put the downloaded document, then find the
> right page / entry / etc... :)
> 
> J
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New php functions?

2002-04-01 Thread Rick Emery

>  Extended info at http://www.mslinux.org

ROFLMAO

-Original Message-
From: margehair.terra.es [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 5:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] New php functions?


I love that manual! And what about the one in win help format? Not too bad, 
int it? They say it now works under MSLinux. Probably Mandrake too, but not 
tested yet.
Extended info at http://www.mslinux.org

See ya,
Marga

Vas escriure:
> I've got the PHP manual as a series of hyper-linked HTML pages.  Searchig
is
> is very fast.  And, I don't need to wait for download of single page.
> I've got the index.html page in my Favoties list, so the PHP manual ia
> always available; I don't have to try to remember where the downloaded doc
> is.
> 
> -Original Message-
> From: Jason Murray [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 01, 2002 4:52 PM
> To: 'Jason Wong'; [EMAIL PROTECTED]
> Subject: RE: [PHP] New php functions?
> 
> 
> > It begs the question, why don't you just download the manual? 
> > It's available in a myriad of different formats, one of which 
> > must suit you. It may not be bang up-to-date and it may not have 
> > the (sometimes) useful user comments but it sure saves you a lot 
> > of time and bandwidth.
> 
> Heheh ... well, for one, it's not my bandwidth :) And the time it
> takes to open a new browser and type www.php.net/date and download
> the page is a lot faster than the amount of time it'd take to find
> out where the heck I put the downloaded document, then find the
> right page / entry / etc... :)
> 
> J
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New php functions?

2002-04-02 Thread Rick Emery

FYI:
http://www.lindows.com

Unlike the http://www.mslinux.org (see below), which is an April Fool's
joke, Lindows is an actual product in beta development now.  It is a Linux
based operating system that runs MS Windows applications.

I can't wait to see the impact on PHP development that Lindows may offer

-Original Message-
From: margehair.terra.es [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 5:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] New php functions?


I love that manual! And what about the one in win help format? Not too bad, 
int it? They say it now works under MSLinux. Probably Mandrake too, but not 
tested yet.
Extended info at http://www.mslinux.org

See ya,
Marga

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New php functions?

2002-04-02 Thread charlesk

Its amazing how a message can change like this. My original meesage was just humorous.

Charles

---Original Message---
I went to php.net wnating info on the date() function.  To my surprise the word date 
was already in the "search for" field.   

Has PHP developed some new functions? 

Possible code 

 

If not are these ever planned as I have use for them.   

Thanks 
Charles Killmer 

PS In case you are wondering yes this is supposed to be humorous.  ;-) 


-- Original Message --
From: Rick Emery <[EMAIL PROTECTED]>
Date: Mon, 1 Apr 2002 17:23:13 -0600 

>  Extended info at http://www.mslinux.org

ROFLMAO

-Original Message-
From: margehair.terra.es [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 5:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] New php functions?


I love that manual! And what about the one in win help format? Not too bad, 
int it? They say it now works under MSLinux. Probably Mandrake too, but not 
tested yet.
Extended info at http://www.mslinux.org

See ya,
Marga

Vas escriure:
> I've got the PHP manual as a series of hyper-linked HTML pages.  Searchig
is
> is very fast.  And, I don't need to wait for download of single page.
> I've got the index.html page in my Favoties list, so the PHP manual ia
> always available; I don't have to try to remember where the downloaded doc
> is.
> 
> -Original Message-
> From: Jason Murray [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 01, 2002 4:52 PM
> To: 'Jason Wong'; [EMAIL PROTECTED]
> Subject: RE: [PHP] New php functions?
> 
> 
> > It begs the question, why don't you just download the manual? 
> > It's available in a myriad of different formats, one of which 
> > must suit you. It may not be bang up-to-date and it may not have 
> > the (sometimes) useful user comments but it sure saves you a lot 
> > of time and bandwidth.
> 
> Heheh ... well, for one, it's not my bandwidth :) And the time it
> takes to open a new browser and type www.php.net/date and download
> the page is a lot faster than the amount of time it'd take to find
> out where the heck I put the downloaded document, then find the
> right page / entry / etc... :)
> 
> J
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New Server, Bad Attitude

2002-04-03 Thread Liam Gibbs

My friends' server is giving me a hard time. What
happened is (long story short) he was forced to use a
new server for the web sites on his old one. One of
them was mine. I'm experiencing some weirdness now:
1. PHP automatically sticks in the backslash in front
of apostrophes and quotation marks. This seems
weird Don't trust it. What's up here?
2. The encryption method seems to be different. This
is weird, because (basic password scenario here), I
can log in to my account (the server encrypts my
password properly and compares it to the one 'on file'
and voila). But, when the password is changed,
encrypted, and saved, it seems to encrypt differently
than when simply entered in a login screen. Now it
seems to have a bunch of $ signs in it, whereas before
it didn't.
3. The mail function doesn't send e-mail, or I should
say hasn't yet (after a few hours). Is this a PHP
setting? Maybe the sendmail functionality is wonky on
the server? Or is it possible PHP isn't looking in the
proper place for the sendmail stuff?

Now, not being totally hardware-savvy, I'm not sure
what could cause these. One thing may be that the OS
is different (was Redhat, is now Debian). Also, my
friend upgraded from PHP3 to 4. Any light on this situation?

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New Server, Bad Attitude

2002-04-03 Thread Liam Gibbs

My friends' server is giving me a hard time. What
happened is (long story short) he was forced to use a
new server for the web sites on his old one. One of
them was mine. I'm experiencing some weirdness now:
1. PHP automatically sticks in the backslash in front
of apostrophes and quotation marks. This seems
weird Don't trust it. What's up here?
2. The encryption method seems to be different. This
is weird, because (basic password scenario here), I
can log in to my account (the server encrypts my
password properly and compares it to the one 'on file'
and voila). But, when the password is changed,
encrypted, and saved, it seems to encrypt differently
than when simply entered in a login screen. Now it
seems to have a bunch of $ signs in it, whereas before
it didn't.
3. The mail function doesn't send e-mail, or I should
say hasn't yet (after a few hours). Is this a PHP
setting? Maybe the sendmail functionality is wonky on
the server? Or is it possible PHP isn't looking in the
proper place for the sendmail stuff?

Now, not being totally hardware-savvy, I'm not sure
what could cause these. One thing may be that the OS
is different (was Redhat, is now Debian). Also, my
friend upgraded from PHP3 to 4. Any light on this situation?

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New window, new session

2002-06-25 Thread Riaan Stander

Hi there

I know this is not a php specific question, but I don't know where else to
ask.

I've got the following situation. The website I'm currently working on has
got a administration page where the administration user must be able to
login as all the users available. It is fine getting all the data, but I
want to open the login in a new browser window, otherwise the administrator
has go to re-login with his account. Thus, I need to somehow open a new
browser window, with a new session id. When somebody logs in I check to see
if there is already a session variable registered. If there is, I unset this
variable, and register a new one for the login account. You can see where my
problem is. At this stage I'm using some java script "window.open()" to open
the new window, but it is still with the save session id.

If any of you can tell me how to open a new browser window with a new
session id, I would greatly appreciate it.

Thanx
Riaan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New window, new session

2002-06-25 Thread Riaan Stander

Hi there

I know this is not a php specific question, but I don't know where else to
ask.

I've got the following situation. The website I'm currently working on has
got a administration page where the administration user must be able to
login as all the users available. It is fine getting all the data, but I
want to open the login in a new browser window, otherwise the administrator
has go to re-login with his account. Thus, I need to somehow open a new
browser window, with a new session id. When somebody logs in I check to see
if there is already a session variable registered. If there is, I unset this
variable, and register a new one for the login account. You can see where my
problem is. At this stage I'm using some java script "window.open()" to open
the new window, but it is still with the save session id.

If any of you can tell me how to open a new browser window with a new
session id, I would greatly appreciate it.

Thanx
Riaan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: Fw: [PHP] New Newsgroups

2002-06-26 Thread Rasmus Lerdorf

People can post to this group from nntp://news.php.net

On Wed, 26 Jun 2002, Rick Emery wrote:

> Somewhat related to this discussion.
>
> There are some posters to this email list that appear as Newsgoup entries in my 
>OutLook Express.  Most posters, however, are identified as mail, not news postings.
>
> "Peter" is one of those that appears as a News post.  I've looked at the headers of 
>his message and others identifed as News and I noted that there is a News Reader 
>identified in the header.
>
> - Original Message -
> From: "Peter" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 26, 2002 2:46 PM
> Subject: [PHP] New Newsgroups
>
>
> Does anyone else out there use Outlook Express to get the posts from this
> newsgroup?
> Yesterday a dialog popped up to say there were new newsgroups (php.docs.de
> etc), I acknowledged this but the same message came up again just now!
> Did this happen to anyone else or was it just me?!
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] New emalloc() error?

2002-07-03 Thread Lazor, Ed

wow, 107megs of ram in one process is impressive.  Have you checked your
php.ini max memory setting?  Is there sufficient ram / swap file space?  Got
enough free drive space?

-Original Message-
List,
I think I saw this one on here before...when reading/writing the
database 
I get this when executing odbc_exec(...);  What was the fix?



FATAL:  emalloc():  Unable to allocate 1073784417 bytes
 

This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message.  If you have received this message in error, please immediately
advise the sender by reply email and delete the message.  Thank you very
much.   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New emalloc() error?

2002-07-03 Thread David Busby

Wow, Thats what that means?  There must be some error.  The procedure 
I'm trying to run doesn't return that much data and it will run via 
'isql'.  Anything else I should check?

/B

Lazor, Ed wrote:
> wow, 107megs of ram in one process is impressive.  Have you checked your
> php.ini max memory setting?  Is there sufficient ram / swap file space?  Got
> enough free drive space?
> 
> -Original Message-
> List,
>   I think I saw this one on here before...when reading/writing the
> database 
> I get this when executing odbc_exec(...);  What was the fix?
> 
> 
> 
> FATAL:  emalloc():  Unable to allocate 1073784417 bytes
>  
> 
> This message is intended for the sole use of the individual and entity to
> whom it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law.  If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose or
> distribute to anyone the message or any information contained in the
> message.  If you have received this message in error, please immediately
> advise the sender by reply email and delete the message.  Thank you very
> much.   
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New Page Escape Sequence

2001-12-03 Thread Robert Samuel White


I wish to take some information out of a database and create a text 
file with the information, nicely formatted.  Does any one know of an 
escape sequence that works as a "new page" indicator for printing???

-- 
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]




[PHP] new release : phpdoc v2.0

2001-02-07 Thread Christian Calloway

Hey everyone,

I just released phpdoc v2.0, which is a program used to document  PHP class
definitions.
This version is a complete rewrite of v1.0, and takes a different approach
to creating
documentation.

Where most other applications try to imitate Javadoc as much as possible,
this application actually does very little, because it actually uses Javadoc
to create PHP documentation. Since the Javadoc API is quite open, and since
my application is in Java, its a simple matter to plugin to the Javadoc
program. All my application does is parse a PHP class definition through the
use of regular expressions, and then convert that class definition from PHP
syntax to Java Syntax, then hand the converted source over to Javadoc. What
this means is that all the options and power of Javadoc is available to my
program, you can use any Javadoc option, doclet, @tag or whatever in phpdoc
and in your source and the resulting documentation will be no different then
if an actual .java file were passed to Javadoc. All is explained in greater
detail
at my site, and in instructions I provide.

A final note, the library of Javadoc doclets are also open to you when using
phpdoc. For anyone
whom doesnt know, doclets are programs written in the Java programming
language that specify the
content and format of the output of the Javadoc tool. By default, Javadoc
uses the Standard doclet
which creates the .HTML formatted documentation were all used to. You can
provide any doclet
you wish however to customize the output however you like. The wealth of
third party doclets
available at the javasoft site allow you to create for example RTF, PDF, and
even Japanese based
API documentation.

You must have the JDK installed on your system (of which Javadoc comes part
of)

You can download phpdoc v2.0 at
http://www.callowayprints.com/phpdoc/phpdoc.php

Thanks Everyone,

Christian




-- 
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]




Re: [PHP] New Mod-gzip

2001-02-16 Thread Michael Kimsal

Does it work when you print from Netscape?  I don't have a printer hooked
up,
but that was a problem with some other gzip stuff I used in the past.



David VanHorn wrote:

> There's a new mod_gzip out that does work with PHP output.
> Have a look at www.dvanhorn.org
> All the pages are PHP generated, with nothing special in the PHP code.
> --
> Dave's Engineering Page: http://www.dvanhorn.org
> Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
>
> --
> 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]


-- 
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]




Re: [PHP] New Mod-gzip

2001-02-16 Thread David VanHorn

At 04:53 PM 2/16/01 -0500, Michael Kimsal wrote:
>Does it work when you print from Netscape?  I don't have a printer hooked

Hmm. Couldn't tell you, I don't have Netscape.

The only bug reports so far, all involve a relatively minor config tweak. 
I've had no problem reports on my page.

--
Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9



-- 
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]




Re: [PHP] new mail() function

2001-02-03 Thread Richard Lynch

> I recently downloaded the ArGoSoft mail server that
> someone on this list once suggested when trying to use
> the mail command on a window's system running php.

Another option for a low-traffic mail system might be to download the
Pegasus email client, and use its command-line interface for mail() to talk
to...

Or so I've been told.  Never got around to trying it myself.  Just moved to
Linux where SMTP actually exists as part of the deal.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
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]




Re: [PHP] new php release?

2001-03-07 Thread Henrik Hansen



> Hi,
>
>I'm using PHP-4.0.4pl1, and I'm trying to using the
> odbc_error/odbc_erromsg functions, but this are only availabe on the CVS
> tree! Before I set up a cvs client download the fonts and try to compile
> it, I'm willing to know if there is a new version soon to be released? Or
> if the above odbc functions are working in the CVS tree?

take a look at www.php4win.de fro bleeding edge versions of the php dist
(also including many more precompiled modules)

--
Henrik Hansen


-- 
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]




Re: [PHP] new php release?

2001-03-07 Thread Antonio S. Martins Jr.

On Wed, 7 Mar 2001, Henrik Hansen wrote:

> >I'm using PHP-4.0.4pl1, and I'm trying to use the
> > odbc_error/odbc_erromsg functions, but this are only availabe on the CVS
> > tree! Before I set up a cvs client download the fonts and try to compile
> > it, I'm willing to know if there is a new version soon to be released? Or
> > if the above odbc functions are working in the CVS tree?
> 
> take a look at www.php4win.de fro bleeding edge versions of the php dist
> (also including many more precompiled modules)

Thanks for the URL Henrik, but I'm finding a linux dist :) My odbc
functions are used on a linux box to access DB2/AIX :)

thanks for the atention

 Antonio.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - System Analist |  "Only The Shadow Knows   |
| WorldNet Internet Maringa - PR - Brasil |   what evil lurks in the  |
| E-Mail: [EMAIL PROTECTED]  |   Heart of Men!"  |
| [EMAIL PROTECTED]   | !!! Linux User: 52392 !!! |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   This e-mail message is 100% Microsoft free!

 /"\
 \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \





-- 
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]




Re: [PHP] new php release?

2001-03-07 Thread Henrik Hansen

> Thanks for the URL Henrik, but I'm finding a linux dist :) My odbc
> functions are used on a linux box to access DB2/AIX :)

sorry, well for linux do this:

compile compile compile :)

--
Henrik


-- 
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]




RE: [PHP] new php.net look

2001-03-07 Thread Jason Murray

> The older look was neat to show off to people re: pop up menus, etc.,
> but this is a real speed demon, and will be much more useful for 
> searching around.

I agree. Very smart, smooth and clean!

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] New to navigation functions...

2001-03-10 Thread Richard

Greetings.

I was wondering if there is any function like the JavaScript function:
location.href = "".or perhaps how I can execute a javascript
function from PHP. All related help is appriciated.

- Richard



-- 
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]




[PHP] new line in forms?

2001-03-11 Thread Jens

You have probably had this question a few times, but can anyone tell me how
to detect "new line's" or breaks in form fealds from both PC and Mac. And
then replacing the "new line" with a  so that I can use it for the web?

Thanks in advance

Jens



-- 
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]




[PHP] New PHP-GTK Site

2001-03-27 Thread Joe Stump

I've noticed there isn't really a jumping off point for the PHP-GTK beginners
and users. I spent the last few hours throwing a site together that has the
basics to fill this void.

It has:

1.) An application archive
2.) News 
3.) Discussion
4.) Helpful Links

I've put up one of my initial apps and plan to put up a few others and maybe
a small HOWTO. I'd like the people who have been posting apps to take a few 
minutes to post their apps here as well. Also, anyone who was thinking of 
posting their apps it might be better served if we posted them in a more
central location. Finally, if anyone wants to help out (admin, howtos, etc.)
please feel free to contact me. 

As for me, I'm tired and plan on working on it more tomarrow :o)

--Joe


/*\
 *Joe Stump  *
 *www.Care2.com  *   
 *Office: 650.328.0198   *
 *Extension: 122 *
\*/
www.miester.org

-BEGIN GEEK CODE BLOCK-
Version: 3.12 
GB/E/IT d- s++:++ a? C UL++$ P+ L+++$ E! W+++$
N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@
5? R-! tv@ b+ DI++@ D() G++@ e+@ h@ r+! z(+**)!
--END GEEK CODE BLOCK--


-- 
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]




RE: [PHP] New buzz SOAP?

2001-04-03 Thread Neil Kimber

SOAP stands for Simple Object Access Protocol.
It's the XML version of RPC/RMI. It's actually a specification that
describes how interfaces from different systems can communicate with each
other. It's called an IDL (Interface Definition Language).

This is going to be big because it is a very large part of the new Microsoft
.NET strategy. In essence it will enable everyone and everything to talk
together without worrying about hardware, software or OS's incompatibilities
(well, that's the theory, anyway). Of course, I'm sure that MS will make
their own non-open extensions and tie everyone into their World.

The best thing about SOAP is the sense of humour of the designers. Part of
the SOAP toolkit is called the Remote Object Proxy Engine, this is
responsible for the consumption of dispatching of SOAP messages. So, you get
SOAP on a ROPE!


-Original Message-
From: Paulson, Joseph V. "Jay" [mailto:[EMAIL PROTECTED]]
Sent: 03 April 2001 17:29
To: 'Stewart Taylor'; 'Brandon Orther'; '[EMAIL PROTECTED]'
Subject: [PHP] New buzz SOAP?


Hello everyone-
Here at work I'm hearing this new buzz word about SOAP and people are asking
me if PHP can work with SOAP.  Well first of all if any of you know the
answer to this please let me know because I am clueless.
Thanks,
Jay

--
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]




-- 
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]




RE: [PHP] New buzz SOAP?

2001-04-03 Thread David VanHorn


>
>This is going to be big because it is a very large part of the new Microsoft
>.NET strategy. In essence it will enable everyone and everything to talk
>together without worrying about hardware, software or OS's incompatibilities
>(well, that's the theory, anyway). Of course, I'm sure that MS will make
>their own non-open extensions and tie everyone into their World.


I can't count the number of times I've heard this promise..
Anyone remember how Java was supposed to take over the world?


>The best thing about SOAP is the sense of humour of the designers. Part of
>the SOAP toolkit is called the Remote Object Proxy Engine, this is
>responsible for the consumption of dispatching of SOAP messages. So, you get
>SOAP on a ROPE!

Don't drop the SOAP! :)

--
Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9



-- 
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]




RE: [PHP] New buzz SOAP?

2001-04-03 Thread Neil Kimber

Java rocks. Personally I'm not a fan of MS. However, I saw a sneak preview
of .NET in action last July and was astonished by the possible potential for
this. There are many aspects of .NET, SOAP being just one of them. I saw
code being written in a single GUI development environment where VB called
C# called COBOL(??!? I'm serious here). The code was debugged in a single
debugger and jumped seamlessly from line to line across different languages.
Calling a function/method in a different language was as simple as scrolling
through MS's intellisense dropdowns, you don't even need to know what
language the relevant function is written in. ASP has been converted to run
with the .NET common language runtime(CLR), meaning that you can write ASP
in any language compatible with the CLR (i.e. VB, C#, COBOL, umpteen other
languages currently being converted).

Most cool was the way in which you can create web services. This is where
SOAP comes into play. By tagging a function in a CLR compatible language
with a 'web service' tag the function becomes exposed and available across
the net to anyone else using SOAP development environments (admittedly only
.NET at the moment).

There were many, many oohs and aahs at the conference, from my position they
were well deserved. I'm not a fan of MS but don't write them off. As a
developer I haven't such a potential for a revolution since Windows 2.0
first came out.



-Original Message-
From: David VanHorn [mailto:[EMAIL PROTECTED]]
Sent: 03 April 2001 17:59
To: Neil Kimber; Paulson, Joseph V. "Jay"; 'Stewart Taylor'; 'Brandon
Orther'; [EMAIL PROTECTED]
Subject: RE: [PHP] New buzz SOAP?



>
>This is going to be big because it is a very large part of the new
Microsoft
>.NET strategy. In essence it will enable everyone and everything to talk
>together without worrying about hardware, software or OS's
incompatibilities
>(well, that's the theory, anyway). Of course, I'm sure that MS will make
>their own non-open extensions and tie everyone into their World.


I can't count the number of times I've heard this promise..
Anyone remember how Java was supposed to take over the world?


>The best thing about SOAP is the sense of humour of the designers. Part of
>the SOAP toolkit is called the Remote Object Proxy Engine, this is
>responsible for the consumption of dispatching of SOAP messages. So, you
get
>SOAP on a ROPE!

Don't drop the SOAP! :)

--
Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9



--
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]




-- 
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]




RE: [PHP] New buzz SOAP?

2001-04-03 Thread Pierre-Yves Lemaire

Yes, maybe, but it means that your old stuff in ASP has to be modified.
It's cool, but it's a path of no return, just like any ms stuff, be careful...

py
Some links:
http://xml.apache.org/soap/
http://sourceforge.net/projects/soapphpclient/



At 06:32 PM 4/3/01 +0100, you wrote:
>Java rocks. Personally I'm not a fan of MS. However, I saw a sneak preview
>of .NET in action last July and was astonished by the possible potential for
>this. There are many aspects of .NET, SOAP being just one of them. I saw
>code being written in a single GUI development environment where VB called
>C# called COBOL(??!? I'm serious here). The code was debugged in a single
>debugger and jumped seamlessly from line to line across different languages.
>Calling a function/method in a different language was as simple as scrolling
>through MS's intellisense dropdowns, you don't even need to know what
>language the relevant function is written in. ASP has been converted to run
>with the .NET common language runtime(CLR), meaning that you can write ASP
>in any language compatible with the CLR (i.e. VB, C#, COBOL, umpteen other
>languages currently being converted).
>
>Most cool was the way in which you can create web services. This is where
>SOAP comes into play. By tagging a function in a CLR compatible language
>with a 'web service' tag the function becomes exposed and available across
>the net to anyone else using SOAP development environments (admittedly only
>.NET at the moment).
>
>There were many, many oohs and aahs at the conference, from my position they
>were well deserved. I'm not a fan of MS but don't write them off. As a
>developer I haven't such a potential for a revolution since Windows 2.0
>first came out.
>
>
>
>-Original Message-
>From: David VanHorn [mailto:[EMAIL PROTECTED]]
>Sent: 03 April 2001 17:59
>To: Neil Kimber; Paulson, Joseph V. "Jay"; 'Stewart Taylor'; 'Brandon
>Orther'; [EMAIL PROTECTED]
>Subject: RE: [PHP] New buzz SOAP?
>
>
>
> >
> >This is going to be big because it is a very large part of the new
>Microsoft
> >.NET strategy. In essence it will enable everyone and everything to talk
> >together without worrying about hardware, software or OS's
>incompatibilities
> >(well, that's the theory, anyway). Of course, I'm sure that MS will make
> >their own non-open extensions and tie everyone into their World.
>
>
>I can't count the number of times I've heard this promise..
>Anyone remember how Java was supposed to take over the world?
>
>
> >The best thing about SOAP is the sense of humour of the designers. Part of
> >the SOAP toolkit is called the Remote Object Proxy Engine, this is
> >responsible for the consumption of dispatching of SOAP messages. So, you
>get
> >SOAP on a ROPE!
>
>Don't drop the SOAP! :)
>
>--
>Dave's Engineering Page: http://www.dvanhorn.org
>Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
>
>
>
>--
>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]
>
>
>
>
>--
>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]


+ ==
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [EMAIL PROTECTED]
+ ==


-- 
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]




Re: [PHP] new php.net look

2001-04-07 Thread jaxon

> The older look was neat to show off to people re: pop up menus, etc.,
> but this is
> a real speed demon, and will be much more useful for searching around.

Speaking of which - there used to be a little HOWTO for doing those kind of
popups - does anyone know where it has gone to?

regards,
jaxon



> 
> Thanks again!
> 
> 


-- 
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]




Re: [PHP] new php.net look

2001-04-07 Thread jaxon

> The older look was neat to show off to people re: pop up menus, etc.,
> but this is
> a real speed demon, and will be much more useful for searching around.

Speaking of which - there used to be a little HOWTO for doing those kind of
popups - does anyone know where it has gone to?

regards,
jaxon



> 
> Thanks again!
> 
> 


-- 
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]




Re: [PHP] new php.net look

2001-04-07 Thread Yasuo Ohgaki

Read FAQ. Description is in there.

Regards,
--
Yasuo Ohgaki


"jaxon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > The older look was neat to show off to people re: pop up menus, etc.,
> > but this is
> > a real speed demon, and will be much more useful for searching around.
>
> Speaking of which - there used to be a little HOWTO for doing those kind of
> popups - does anyone know where it has gone to?
>
> regards,
> jaxon
>
>
>
> >
> > Thanks again!
> >
> >
>
>
> --
> 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]
>


-- 
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]




Re: [PHP] new break tags

2001-07-01 Thread Christian Reiniger

On Friday 29 June 2001 17:27, bill wrote:

> $breaks=preg_match_all("/\s+/i", "$text", $parts)
>
> and this
>
> preg_replace("/\s+/i","",$text)
>
>
> Now that PHP 4.0.5 has changed the nl2br() function, it no longer
> replaces new lines with:
>
> 
>
> but instead with the new XHTML compliant break tags:
>
> 
>
> I tried just substituting the new tag into the above regular
> expressions to no avail.  Any ideas?

Lemme guess, you tried

$breaks=preg_match_all("/\s+/i", "$text", $parts)

right? As "/" is the pattern delimiter this of course won't work. 
Solution: Escape it:
$breaks=preg_match_all("/\s+/i", "$text", $parts)
Improved Solution: Make it more flexible:
$breaks=preg_match_all("/\s+/i", "$text", $parts)
That should do the job

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

void sleep(){for(long int sheep=0;!asleep();sheep++);}

--
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]




RE: [PHP] New Book - Tips?

2001-07-30 Thread Jeff Oien

One thing I would like to see is using PGP (or gnu) encryption on the server,
not via e-mail.
Jeff Oien

> Hi there,
>
> I'm currently in the process of writing a new book about PHP entitled PHP Exertion.
>
> I've read several other books, and none of them covered everything that
> was needed, so I basically have an understanding of what I will write
> about and what topics to include - although I was wondering if any of you
> other users had any tips or ideas..
>
> Thanks,
> Matt Kaufman
> [EMAIL PROTECTED]
>


-- 
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]




Re: [PHP] New Book - Tips?

2001-07-30 Thread pierre-yves

I would also cover in detail the php.ini file. (what is safe mode,
magic_quote...)
So many questions get posted here because of people who do not know the
power of this file and all it's implication. (nothing wrong tho, people are
here to answer...) They use the engine without knowing the engine...

py


- Original Message -
From: "Jeff Oien" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 11:57 AM
Subject: RE: [PHP] New Book - Tips?


> One thing I would like to see is using PGP (or gnu) encryption on the
server,
> not via e-mail.
> Jeff Oien
>
> > Hi there,
> >
> > I'm currently in the process of writing a new book about PHP entitled
PHP Exertion.
> >
> > I've read several other books, and none of them covered everything that
> > was needed, so I basically have an understanding of what I will write
> > about and what topics to include - although I was wondering if any of
you
> > other users had any tips or ideas..
> >
> > Thanks,
> > Matt Kaufman
> > [EMAIL PROTECTED]
> >
>
>
> --
> 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]
>


-- 
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]




RE: [PHP] New Book - Tips?

2001-08-01 Thread B. van Ouwerkerk

Security.. how to write safe apps. using PHP..

Bye,



B.


-- 
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]




[PHP] new one is it ??

2001-08-13 Thread Mark Lo

208.251.146.123 - - [13/Aug/2001:22:24:27 +0800] "GET
/default.ida?NNN


N%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%
u7801%u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a
HTTP/1.0" 400 333 - "-" "-"



-- 
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]




[PHP] new IDE for PHP

2001-08-17 Thread Sandy Meier

Hi!

At the moment I am writing the PHP support for KDevelop3.0 
(http://www.kdevelop.org). The IDE ist modular and it is very easy to write 
plugins, so it is possible to implement support for all languages, make 
tools, GUI builders and so on. Actually there are plugins for C/C++, Java, 
Python, Perl and PHP. 
The complete program ist opensource and was developed by some people in their 
sparetime. 

At the moment there are following features in the PHP mode.

-modern editor with syntaxhighlighting (other editors are partly supported, 
for instance Nedit)
-class and function parser including different views (treeview, graphical 
view)
-intelligent Code Completion and argument help
-executing php scripts with shell or webserver (no finished yet)
-debugingtool for POSIX regular expressions
-project generation (application wizard) and projectmanagment
-documentation browser for the php documentation
-nice grep frontend
-classtools (generate new class..)
and so on.
Please look at a current screenshot to get a preview:
ftp://fara.cs.uni-potsdam.de/stud/smeier/shot1.png

Following features are planed
-debugger and profiler support (http:((dd.cron.ru/dbg)
-support for PHPDOC and similar tools
-support for  phpgtk (generation of framework...)
-better support for HTML (table generation, tags ...)
-code assistent (generate small codeparts from template)
and so on.

OK, now to the intentation of my email :-)

At the moment I'm the only one who implement the PHP support, so maybe 
someone want to help? It is more fun and we will get faster a first 
release.:-)  The IDE is written in C++, but the plugins can written in Java 
too, if someone want to do this. 
If you have some ideas or want to help please contact me. Thanks!

Ciao!
Sandy
--
ICQ: 27681958
for sending encryted emails please use:
ftp://fara.cs.uni-potsdam.de/stud/smeier/public_key

-- 
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]




Re: [PHP] new to php

2001-09-09 Thread ReDucTor

You could use cron...
- Original Message - 
From: "Kostis Mentzelos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 12:50 AM
Subject: [PHP] new to php


> Hi all,
> is it possible to create a table that automatically
> updates its contents every 30 seconds?
> 
> Thanks in advance,
> Kostis Mentzelos.
> 
> -- 
> 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]
> 


-- 
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]




Re: [PHP] new to php

2001-09-09 Thread B. van Ouwerkerk


>You could use cron...

Perhaps you've got another version of cron then I've got.. mine doesn't do 
less then one minute..
Only solution if you want to use cron is to add something like sleep..
Have to warn you, your ISP is going to hate you for this.

If you want your visitor to see the new entries in the table then I think a 
meta refresh consumes less resources.

Even if you use cron your visitor doesn't get the updated info in his browser..

Bye,


B.



>- Original Message -
>From: "Kostis Mentzelos" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, September 10, 2001 12:50 AM
>Subject: [PHP] new to php
>
>
> > Hi all,
> > is it possible to create a table that automatically
> > updates its contents every 30 seconds?
> >
> > Thanks in advance,
> > Kostis Mentzelos.
> >


-- 
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]




Re: [PHP] new to php

2001-09-10 Thread Krzysztof Kocjan

In head section of HTML page You can include meta tag like below:

http://domain.dot.com/loop.php";>

If loop. php contains that meta tag like it calls itself every 2 seconds.

Krzysztof Kocjan

Kostis Mentzelos wrote:

> Hi all,
> is it possible to create a table that automatically
> updates its contents every 30 seconds?
>
> Thanks in advance,
> Kostis Mentzelos.
>
> --
> 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]


--
Sledzie z tokajem? Ty decydujesz, co Ci smakuje.
Zobacz, jak lamac kulinarne stereotypy.
http://www.polki.interia.pl/mistrzyni/porady


-- 
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]




Re: [PHP] new to php

2001-09-10 Thread Kostis Mentzelos

It works

http://domain.dot.com/loop.php";>

thanks for your time, this solved my problem.
Not only I am new to PHP I am also new to HTML
where can I find a list with all "meta" tags?

kostis.

-- 
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]




Re: [PHP] New York Remembrance

2001-10-03 Thread AJDIN BRANDIC

It is very nice of you to have done so.  Thousands of children are being 
killed in the world by different groups and no one gives a s***. They are 
mainly killed by USA guns sold by USA guvernment who also 
deosn't give a s*** where those guns go or who uses them. All it is 
important is that guns are sold, US economy is OK and jobs are made.  so 
please post stuff related to PHP. We are all sorry for what happened and 
it shouldn't happen again, Anyware!

Regards

Ajdin

On Wed, 3 Oct 2001, Irmingard Anna Kotelev wrote:

>  Dear friends,
> 
> the madness incarnate of  September 11th, 2001 is one which will never 
> be
> forgotten. How could it be?
> This shook the entire world, and my heart was broken along with all of
> yours.
> 
> I have created a slide show in respectful tribute to all who passed, as
> well as the heroics of the people. I know that America...the world... will
> not allow this attack to ruffle it's feathers, and I stand and applaude 
> for
> the strength and resolve of it's people.
> 
> God bless America...God bless the world.
> 
> Do sign my 'Response to this Tribute' if compelled and please pass this 
> on to at least one friend.
> 
> http://www.aurumxxl.de/ny/ny.htm
> 
> Irmingard Anna Kotelev
> Photographer
> 
> 25th of September 2001
> 
> 
> -- 
> 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]
> 
> 

-- 
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]




Re: [PHP] New York Remembrance

2001-10-03 Thread Chris Allen

umm ya forward this on to the czechs and the french etc...


-- 
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]




Re: [PHP] New York Remembrance

2001-10-03 Thread Hugh Danaher

Thank you.
- Original Message -
From: Irmingard Anna Kotelev <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001 1:15 PM
Subject: [PHP] New York Remembrance


> Dear friends,
>
> the madness incarnate of  September 11th, 2001 is one which will never
> be
> forgotten. How could it be?
> This shook the entire world, and my heart was broken along with all of
> yours.
>
> I have created a slide show in respectful tribute to all who passed, as
> well as the heroics of the people. I know that America...the world... will
> not allow this attack to ruffle it's feathers, and I stand and applaude
> for
> the strength and resolve of it's people.
>
> God bless America...God bless the world.
>
> Do sign my 'Response to this Tribute' if compelled and please pass this
> on to at least one friend.
>
> http://www.aurumxxl.de/ny/ny.htm
>
> Irmingard Anna Kotelev
> Photographer
>
> 25th of September 2001
>
>
> --
> 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]
>


-- 
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]




[PHP] new to the list

2001-10-05 Thread Mick Fitzpatrick

Hello

I've just joined the list and sending this message as a test :-)

I'm 'very' new to PHP and therefore here to learn ... I hope that's ok?

Mick



-- 
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]




[PHP] PHP New zealand Mailing List

2002-02-27 Thread neeraj

Hi Guys,

Any one know of any new zealand php mailing list. Please do let me know. Or any one on 
this list working on php in New Zealand please let me know.
Thanks in advance.

Regards,
Neeraj Rattu



[PHP] New to PHP, need help.

2002-03-07 Thread Michele

I currently working with some free source from CyberGl and am having a
problem  with the membership module.

I've inserted the php into the beginning of the page but when I go to test
the page, nothing appears.  I don't get a 404 error or any error, the page
just doesn't display.

Any ideas?

Thanks,

Michele



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New Server, Bad Attitude

2002-04-03 Thread Tyler Longren

Most of these are probably software/configuration errors.

1. Use the stripslashes() function to remove those slashes.  It does this to
escape the apostrophes and quotes.

2. What were you using to encrypt your passwords before?

3. Does your server have smtp running on port 25?  I think it needs to be
before php can send e-mails.

Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: "Liam Gibbs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 1:47 PM
Subject: [PHP] New Server, Bad Attitude


> My friends' server is giving me a hard time. What
> happened is (long story short) he was forced to use a
> new server for the web sites on his old one. One of
> them was mine. I'm experiencing some weirdness now:
> 1. PHP automatically sticks in the backslash in front
> of apostrophes and quotation marks. This seems
> weird Don't trust it. What's up here?
> 2. The encryption method seems to be different. This
> is weird, because (basic password scenario here), I
> can log in to my account (the server encrypts my
> password properly and compares it to the one 'on file'
> and voila). But, when the password is changed,
> encrypted, and saved, it seems to encrypt differently
> than when simply entered in a login screen. Now it
> seems to have a bunch of $ signs in it, whereas before
> it didn't.
> 3. The mail function doesn't send e-mail, or I should
> say hasn't yet (after a few hours). Is this a PHP
> setting? Maybe the sendmail functionality is wonky on
> the server? Or is it possible PHP isn't looking in the
> proper place for the sendmail stuff?
>
> Now, not being totally hardware-savvy, I'm not sure
> what could cause these. One thing may be that the OS
> is different (was Redhat, is now Debian). Also, my
> friend upgraded from PHP3 to 4. Any light on this situation?
>
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New Server, Bad Attitude

2002-04-03 Thread Hiroshi Ayukawa

Hello,

>1. PHP automatically sticks in the backslash in front
>of apostrophes and quotation marks. This seems
>weird Don't trust it. What's up here?

It is a setting of php.ini.
magic_quotes_gpc is it.
Default setting is magic_quotes_gpc=On, it means add slashes in front of 
\ and ' of the data required from a form(i.e. http get & post 
parameters).
See the function reference of get_magic_quotes_gpc() and ini_set().


>3. The mail function doesn't send e-mail, or I should
>say hasn't yet (after a few hours). Is this a PHP
>setting? Maybe the sendmail functionality is wonky on
>the server? Or is it possible PHP isn't looking in the
>proper place for the sendmail stuff?
 Can you send an email with your sendmail program of your hardware?
 sendmail setting must be done properly.
 

Regards,
Hiroshi Ayukawa
http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New to PHP Need Help

2002-04-04 Thread Jason Tobias

I am trying to define variables through an anchor tag to retrive data from
MySQL,  When the script runs it displays Array.  I am running WIN2K and IIS
5

echo "Camp Street Cafe";

Here is the script that is called.

$Location_Info";

?>






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] New Server, Bad Attitude

2002-04-05 Thread Liam Gibbs

Thanks to Tyler Longren, Hiroshi Ayukawa, and Matt
Schroebel for your help. I've made big changes; the
encryption thing is still throwing me for a loop, but
the other two are fixed up (mostly).


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] New User of PHp/Mysql..

2002-04-07 Thread Gordon Stewart

Ive been using Mysql/PHP for a short while - I sent this messaghe to a big
PHP group (not enough users though)  about a week ago - No reply...

Can anyone help..
PS - Slingshot.co.nz doesnt have PHP - its just a text file.. - Save to your
own  SQL server & test, Or just review the code - No viruses or anything..

Thanks.

G.
[EMAIL PROTECTED]

-



http://homepages.slingshot.co.nz/~gordon52/4.txt

Ive been learning MySql for about 1 week now - & joined a MySql
group - but some questions I ask are more PHP related & not directly
involving MySQL..

anyway, for my big test script, Ive got the above URL

Just 'view source' to view the PHP scripting language...

when running, it searches your databases & brings up a list of active
databases.

When selected, it brings up a list of tables within the database..

(those two functions are ok..)

Now - in the script, - near the top, it says :-

if ($action =='tables'){ <<< (start of problem area..)

Now - when you select the table, it displays all the names of each
column, within the table. (that part works..)


it has :- $tot=$i; - $tot now holds the number of columns in that
table - For my example on my PC, it held the number '17' which is
correct.


it now has 2 'loops'...

a) for ($count = 1; $row = mysql_fetch_row ($query_result_handle);
++$count)

b) for ($counta = 1; $tot; ++$counta)

Loop a, loops through the 4 rows of the database.

Loop B, displays all (17) of the colmns for each row...


Now - Problems

1) When my script runs, it is VERY fast - Doing things normally.
- EXCEPT - when it comes to the 2 loops.. - it goes Very slow - I
realise its got to do 2 sets of loops - but its going at a much
slower rate than if i did the same loops, on another programming
language.

2) It only displays the 1st row of my data.. - For the example
database i tested, I knew it had 4 rows.

problem questions :-

a) Is my looping correct - Or can anyone find a loop-hole / problem
in my programming. (Im not telling you if the pun was intentional or
not.)


PS - Ive now realised something, & changed my line from :-

for ($counta = 1; $tot; ++$counta)

to

for ($counta = 1; $row = mysql_fetch_row ($query_result_handle);
++$counta)


- now my script is really fast - However it doesnt show much of the
1st line of data :-(

PS, the uploaded one (URL above) - doesnt show the change - as yet..

Can anyone advise what im doing wrong ?

G.









-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




  1   2   3   >