RE: [PHP] include files

2001-02-05 Thread David VanHorn
At 12:50 PM 2/5/01 -0500, Brian V Bonini wrote: >DOCUMENT_ROOT ??? >http://php.net/manual/en/language.variables.predefined.php Ok, but having read the docs you pointed to (thanks), I still don't see how to use it in an include directive. I assume that since the vhost is specified to use "/home

[PHP] XML methods(SAX/expat)

2001-02-05 Thread [EMAIL PROTECTED]
When parsing a CDATA field that's being read in from a file, if the fread() buffer fills up, does it make two calls to the CDATA or does it wait for the closing tag to show up before firing off to the handler? while ($data = fread($fp,1)) // yes, I know you shouldn't use '1', but it's an example

[PHP] uploading file

2001-02-05 Thread Shane McBride
OK, I'm not sure if the file is getting uploaded or not, and it certainly is not getting copied to the permanent directory. Here's what I have: This creates the upload form: This is the action from that form: // Creates the image file with a timestamp $timestamp = time(); $image= $timestamp

[PHP] Is PHP integrated with LDAP?

2001-02-05 Thread Zhu George-CZZ010
Does anyone know if PHP is interated with LDAP, or how can I integrate PHP with LDAP? Thanks and Regards, George -Original Message- From: Alex Akilov [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 11:26 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Java Servlet Support Shaw

[PHP] Attempt to unsubscribe failed

2001-02-05 Thread Jon Jacob
I have tried to unsubscribe to the list because my server will be down for at least two weeks, however, I am still getting mail. If someone could pass this on to the admin I would appreciate it (and so would they). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] XML Parsing with PHP

2001-02-05 Thread Chris Lee
PHPbulder.com classically has terrible tutorials. I myself am trying to learn this XML deal. PHPbuilders code, cut and paste is filled with parse errors. after fiddling Ive got his example to work, but I havent a clue how? he posts this stupid two page article, page one is nothing, page two is not

[PHP] PHPSESSID location?

2001-02-05 Thread Shane McBride
Where is the temp session file held at? I have a script that uses sessions but I can't find the session file. My php.ini file indicates that the session.save_path = c:\php\sessiondata but there is not any files there when there should be. It does look like the session is working though. Any

RE: [PHP] include files

2001-02-05 Thread Brian V Bonini
> -Original Message- > From: David VanHorn [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 05, 2001 1:04 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP] include files > > > At 12:50 PM 2/5/01 -0500, Brian V Bonini wrote: > >DOCUMENT_ROOT ??? > >http://php.net/ma

[PHP] GD with TTF

2001-02-05 Thread Brandon Orther
Hello, Does anyone know where PHP looks for the TTF when using GD to make an image? I keep getting an error saying it can't find the font file Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webin

Re: [PHP] XML Parsing with PHP

2001-02-05 Thread Joe Stump
If you're talking about my article on PHPBuilder Found at: http://www.phpbuilder.com/columns/joe2907.php3 You can feel free to ask me any questions you like in private (I write them because I like supporting a community that has helped me so much) --Joe On Mon, Feb 05, 2001 at 10:19:17A

Re: [PHP] array max min

2001-02-05 Thread rui
On 05-Feb-2001 Steve Werby wrote: > <[EMAIL PROTECTED]> wrote: >> i thought about that, but i gave up on my first attempt on doing so, > because >> mysql complained about my query, it seems that it doesn't allow to use the >> max() function with a sum() function, an example of the query is: >> >>

[PHP-CVS] cvs: php4 / NEWS

2001-02-05 Thread Andrei Zmievski
andrei Mon Feb 5 09:39:58 2001 EDT Modified files: /php4 NEWS Log: Index: php4/NEWS diff -u php4/NEWS:1.580 php4/NEWS:1.581 --- php4/NEWS:1.580 Sun Feb 4 18:09:08 2001 +++ php4/NEWS Mon Feb 5 09:39:58 2001 @@ -2,6 +2,9 @@ |

[PHP-CVS] cvs: php4 /ext/pspell pspell.c

2001-02-05 Thread Vlad Krupin
vladMon Feb 5 10:15:32 2001 EDT Modified files: /php4/ext/pspellpspell.c Log: now when pspell/pspell.h is included, it will recognize that it has to work in compatibility mode. (The previous fix had the right idea, but was too far down in the source)

RE: [PHP] XML Parsing with PHP

2001-02-05 Thread Brian V Bonini
You know, some of these guys are members of this list. I don't think they make any claims about being the definitive end all be all source for all things PHP but rather are a bunch of folks sharing their PHP experiences/knowledge. I'd say that's pretty generous of them. -Brian

Re: [PHP] include files

2001-02-05 Thread Christian Reiniger
On Monday 05 February 2001 18:15, David VanHorn wrote: > I know this works, in footer.inc, to pull up nomenu. > > > However, is there a more "generic" way to specify the server root as > the path? I'd rather not expose my directory structure in the PHP code. > I tried various versions of ../ and

[PHP] Using a background image with GD

2001-02-05 Thread Brandon Orther
Hello, Does anyone have an example or can someone tell me how to use a background image in GD? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com ---

[PHP] simple config. question

2001-02-05 Thread Don
Hi, I'm a newbie with PHP and have successfully written some simple scripts. I am using Apache on Redhat Linux 6.2 with PHP 3. At the moment, I have to give .php3 extensions ot my web files in order for PHP to run. If I insert PHP code into an .html file, it does not execute. Is their a way t

[PHP-CVS] cvs: php4 /ext/com conversion.c

2001-02-05 Thread Harald Radi
phanto Mon Feb 5 10:36:53 2001 EDT Modified files: /php4/ext/com conversion.c Log: fixes the problem that php.exe compiled on win2k platform won't run on any other Index: php4/ext/com/conversion.c diff -u php4/ext/com/conversion.c:1.4 php4/ext/com/conv

Re: [PHP] simple config. question

2001-02-05 Thread Shane McBride
Unless I am mistaken, I am pretty sure you need to have sometype of .php extension. Unless you could put a line in the httpd.conf file like: AddType application/x-httpd-php .html BUT, I HAVE NEVER DONE THIS SO PLEASE WAIT FOR A MORE EDUCATED ANSWER. - Shane - Original Message -

Re: [PHP] simple config. question

2001-02-05 Thread Christian Reiniger
On Monday 05 February 2001 20:14, Shane McBride wrote: > Unless I am mistaken, I am pretty sure you need to have sometype of > .php extension. Unless you could put a line in the httpd.conf file > like: AddType application/x-httpd-php .html Well, that's exactly the right way :) Perhaps a more "ge

[PHP-CVS] cvs: php4 /ext/pspell CREDITS

2001-02-05 Thread Vlad Krupin
vladMon Feb 5 11:18:04 2001 EDT Modified files: /php4/ext/pspellCREDITS Log: Added myself to CREDITS (vlad) Index: php4/ext/pspell/CREDITS diff -u php4/ext/pspell/CREDITS:1.1 php4/ext/pspell/CREDITS:1.2 --- php4/ext/pspell/CREDITS:1.1 Mon Nov 20 02:

RE: [PHP] Learning MySQL

2001-02-05 Thread Boaz Yahav
Start going over script examples and tutorials on http://www.weberdev.com Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Jeff Oien [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 1:06 AM To:

RE: [PHP] PHP hosting - the final frontier.

2001-02-05 Thread Boaz Yahav
Just to make things clear, PHP/FI was the basis, not so many people used it in comparison to PHP3/4. PHP3 was designed by more than one developer (actually more like 4-6). -Original Message- From: Robert Covell [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 12:19 AM To: Boaz Y

[PHP] Getting image size from gif/jpeg

2001-02-05 Thread r a n d y
Is it possible to get the size of an image in PHP4? if so, does it require gif/jpeg support built in? Thanks == r a n d y // sesser at mac dot com http://randys.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] Getting image size from gif/jpeg

2001-02-05 Thread Boaz Yahav
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=918 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: r a n d y [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 9:55 PM To: [EMAIL

[PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 4 Visible = false; //line3 $worksheet->Cells(1,1)->value = "Name"; //line4 $worksheet->SaveAs("temp.xls"); //line5

[PHP] Revised [PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5 Visible = false; //line3 $worksheet = $excel_handle->workbooks->add(); //line4 $worksheet->Cells(1,1)->valu

[PHP] Apache Mod_Auth_DB.

2001-02-05 Thread Dave McNicholl
Hi, Anyone using PHP with mod_auth_db ? I was using MySQL but when I get 40 hits a sec MySQL is just a bit too much. Even at low hit rates I am running 70 MySQLds. http://www.thewebmasters.net/php/Htpasswd.phtml doesn't use db and http://www.thewebmasters.net/php/AccessDBM.phtml is dbm :

Re: [PHP] Getting image size from gif/jpeg

2001-02-05 Thread r a n d y
weberdev.com isn't working...can you email me the text from that page? Thanks - randy PS remove the "-" from my email address In article <[EMAIL PROTECTED] l>, [EMAIL PROTECTED] (Boaz Yahav) wrote: // http://www.weberdev.com/index.php3?GoTo=get_example.php3?coun // t=918 // // Sincerely //

[PHP] htaccess

2001-02-05 Thread Kurth Bemis
there was a really good .htaccess tutorial posted to the list a while back...anyone remember the address? ~kurth -- 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

Re: [PHP] How to reference global variables in strings

2001-02-05 Thread Steve Edberg
At 10:57 AM -0700 2/5/01, Karl J. Stubsjoen wrote: >If you don't prefix a global variable with $ then how can you interpit a >global variable within a string? AS IN: > >define ("MY_PATH", "/home/me/"); > >print("This is My Path: MY_PATH or is it?"); > This wouldn't be a global variable; rather,

[PHP] Automating tasks in PHP?

2001-02-05 Thread James, Yz
Hi all. This is, what might turn out to be a stupid question But I'll ask it anyway ;) Is there any way of automating tasks in php scripts, WITHOUT having them open? Ie, having some method or other to send out an email automatically, once a week, as a newsletter, based on data / criteria f

Re: [PHP] htaccess

2001-02-05 Thread James, Yz
This is a good one: http://www.zend.com/zend/tut/authentication.php James. > there was a really good .htaccess tutorial posted to the list a while > back...anyone remember the address? > > ~kurth > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP] General Question: OOP

2001-02-05 Thread Kath
This isn't PHP related, but I hope it isn't too off topic for this list. Does anyone here have an explanation guide to object oriented programming? I look at stuff like $this->something and haven't the foggiest what it means. Would a book on OOP be best? - Kath, procedural programmer 4EVER

RE: [PHP] Getting image size from gif/jpeg

2001-02-05 Thread Brian V Bonini
getimagesize (string filename [, array imageinfo]) http://php.net/manual/en/function.getimagesize.php > -Original Message- > From: r a n d y [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 05, 2001 2:55 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Getting image size from gif/jpeg >

Re: [PHP] Automating tasks in PHP?

2001-02-05 Thread Steve Werby
"James, Yz" <[EMAIL PROTECTED]> wrote: > Is there any way of automating tasks in php scripts, WITHOUT having them > open? Ie, having some method or other to send out an email automatically, > once a week, as a newsletter, based on data / criteria from a database? cron. See "man cron" from Linux

Re: [PHP] General Question: OOP

2001-02-05 Thread Steve Werby
"Kath" <[EMAIL PROTECTED]> wrote: > Does anyone here have an explanation guide to object oriented programming? I look at stuff like $this->something and haven't the foggiest what it means. Would a book on OOP be best? I own one PHP book, Professional PHP Programming by WROX Publishing. Good for

RE: [PHP-CVS] cvs: php4 /win32 time.c

2001-02-05 Thread Andi Gutmans
Does this variable need to be a true global? If it does then it has to be mutexed. Having said that if two threads want to change it and you think it doesn't really matter which one will "win" then you can probably live without the mutex. Andi At 10:35 AM 2/5/2001 +, James Moore wrote: >

Re: [PHP] Automating tasks in PHP?

2001-02-05 Thread Christian Reiniger
On Monday 05 February 2001 21:48, James, Yz wrote: > Hi all. This is, what might turn out to be a stupid question But > I'll ask it anyway ;) > > Is there any way of automating tasks in php scripts, WITHOUT having > them open? Ie, having some method or other to send out an email > automatic

[PHP-CVS] cvs: php4 /ext/standard mail.c php_mail.h

2001-02-05 Thread Derick Rethans
derick Mon Feb 5 13:30:30 2001 EDT Modified files: /php4/ext/standard mail.c php_mail.h Log: - Added a new parameter to mail() which appends aditional command line parameters to the mail program. This is usefull to set the From headers correctly with th

Re: [PHP] simple config. question

2001-02-05 Thread Alain Fontaine
Christian, Wouldn't this put unnecessary load on the webserver? Every .htm and .html document, even if it doesn't contain any line of PHP code, would go through the parser... ? "Christian Reiniger" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] On Monday 05 February 2001 20:

[PHP] SELECT options is null or not an object

2001-02-05 Thread Gobins, Debbie
Does anyone know why I get this error when selecting an option in the box?