Re: [PHP] PostToHost

2001-03-15 Thread Tobias Talltorp
I scratched my head for weeks with this problem untill I found a discussion on this in the archives. It seems that a post-form MUST be executed from the client side. Here is the start of the discussion: http://marc.theaimsgroup.com/?l=php-general&m=97614760211168&w=2 So... It has to be done with

RE: [PHP] FAQ

2001-03-15 Thread Jason Lotito
> How many times are people going to complain about no-brainer questions > being posted to the list. The fact of the matter is people are going to > post things on the list without reading the manual or the FAQ. It goes > with the territory. It annoys me too, but there is no good solution for > th

[PHP] Extra Path Info

2001-03-15 Thread Jesse Kipp
When I add /text on to the end of the url for a php3 script (as in: foo.com/script.php3/extratext), it gives me the following message: Fatal error: Unable to open /home/httpd/html/foo.com/script.php3/extratext in - on line 0 No input file specified. Can anybody point me to the documentation expl

[PHP] Passing JavaScript variables

2001-03-15 Thread Gary
Is there a way to pass a JavaScript variable to a PHP function? Thanks, Gary -- 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-CVS] cvs: php4 /ext/ming config.m4

2001-03-15 Thread Jani Taskinen
sniper Thu Mar 15 16:36:30 2001 EDT Modified files: /php4/ext/ming config.m4 Log: Beutify + fix some errors in finding libs and header files. Index: php4/ext/ming/config.m4 diff -u php4/ext/ming/config.m4:1.2 php4/ext/ming/config.m4:1.3 --- php4/ext/ming/

[PHP] Request for input...

2001-03-15 Thread Mary E Tyler
You might recall that last month I asked for input from people who are making a "good living" doing PHP. And if you subscribe to Contract Professional's weekly ezine, you might have seen the article about Tom Beidler (Hi Tom!). Based on that article, and the fact that my editor had never heard

[PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread Paul R. Jackson
Hello, This is my first post to the group so go easy on me. I am using apache httpd.conf file to redirect 404 errors to a page which basically displays and error message, amongst other things. It all works fine but... I want to be able to find out what the document that they attempted to access

[PHP-CVS] cvs: php4 /ext/ming .cvsignore CREDITS

2001-03-15 Thread Jani Taskinen
sniper Thu Mar 15 16:36:47 2001 EDT Added files: /php4/ext/ming CREDITS .cvsignore Log: Missing files. Index: php4/ext/ming/.cvsignore +++ php4/ext/ming/.cvsignore Makefile *.lo *.la libs deps libs.mk -- PHP CVS Mailing List (http://www.php.net/)

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

2001-03-15 Thread Jani Taskinen
sniper Thu Mar 15 16:37:34 2001 EDT Modified files: /php4/ext/ming ming.c Log: Killed a compile warning + made ming extension compile with the older ming libs. Index: php4/ext/ming/ming.c diff -u php4/ext/ming/ming.c:1.3 php4/ext/ming/ming.c:1.4 --- php4/

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-03-15 Thread Rasmus Lerdorf
rasmus Thu Mar 15 17:15:03 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Karma for Brian Bruns (Mr. FreeTDS) Index: CVSROOT/avail diff -u CVSROOT/avail:1.118 CVSROOT/avail:1.119 --- CVSROOT/avail:1.118 Tue Mar 13 10:11:11 2001 +++ CVSROOT/

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread David Robley
On Fri, 16 Mar 2001 12:04, Paul R. Jackson wrote: > Hello, > > This is my first post to the group so go easy on me. > > I am using apache httpd.conf file to redirect 404 errors to a page > which basically displays and error message, amongst other things. It > all works fine but... > > I want to be

[PHP] Help. creating excel file form mysql

2001-03-15 Thread Javier Onate
Hello, I need to create excel files from data stored in mysql. I'm using php in a linux box, so as far as I know I cant use COM functions. Is there a way to do what I intend Tank you -- Javier Onate Mendia [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread Paul R. Jackson
>>Check out REQUEST_URI - from that you can build a full URL if you need it. The REQUEST_URI only has the URI of the error page itself (in my case /error/404.html) I want the URI of the page that wasn't found. A php info doesnt show the URI anywhere. Thanks for the speedy response Paul At 12:

Re: [PHP] Paging a Recordset

2001-03-15 Thread Manuel Lemos
Hello, James Crowley wrote: > > Hi, > I want to spread the results of a recordset over a number of pages. In ASP, > I would have opened a connection with a client-side cursor... but with PHP > (using it's ODBC functions), it only seems to be able to execute an SQL > statement, and return

Re: [PHP] mail() implementation problem

2001-03-15 Thread Manuel Lemos
Hello, Mathieu Arnold wrote: > > Hi > > The actual implementation of the mail fonction use sendmail -t and > relies on sendmail to parse the headers to get the recipients. > It would be great if it was possible to switch from this way of using > sendmail to a more classic > sendmail -f sender r

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread David Robley
On Fri, 16 Mar 2001 12:13, Paul R. Jackson wrote: > >>Check out REQUEST_URI - from that you can build a full URL if you > >> need it. > > The REQUEST_URI only has the URI of the error page itself (in my case > /error/404.html) I want the URI of the page that wasn't found. > > A php info doesnt sho

[PHP] how fast is php

2001-03-15 Thread Randy Johnson
I have a question. can a 1 php script access a mysql database more than 10 times a second it's a simple updated statement? if it can how many times do you think it can access the database in a second? thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

RE: [PHP] FAQ

2001-03-15 Thread Michael Talbot-Wilson
Ye 2001-03-15 20:11 -0800, Jason Lotito skribis: (someone) > > How many times are people going to complain about no-brainer questions > > being posted to the list. The fact of the matter is people are going to > > post things on the list without reading the manual or the FAQ. It goes > > with the

php-general Digest 16 Mar 2001 02:00:40 -0000 Issue 569

2001-03-15 Thread php-general-digest-help
php-general Digest 16 Mar 2001 02:00:40 - Issue 569 Topics (messages 44027 through 44194): Re: Executing a string with both html and php inside it.. 44027 by: Mark Roedel 44038 by: Aviv Revach 44048 by: Christian Reiniger Re: Function to compare an array with anothe

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread Paul R. Jackson
The htaccess option would not really be a great solution for me given we have many diferent htacces files do lots of different things. But I did try it just in case it lead me to some answers. I created a new directory placed a .htaccess file in there with the correct stuff directing 404's to a t

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

2001-03-15 Thread Jani Taskinen
sniper Thu Mar 15 17:21:24 2001 EDT Modified files: /php4/ext/bz2 bz2.c Log: Make this extension compile again.. Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.10 php4/ext/bz2/bz2.c:1.11 --- php4/ext/bz2/bz2.c:1.10 Wed Mar 14 23:03:28 2001 ++

[PHP-CVS] cvs: php4 /ext/sybase php_sybase_db.c php_sybase_db.h

2001-03-15 Thread Brian Bruns
camber Thu Mar 15 17:21:31 2001 EDT Modified files: /php4/ext/sybasephp_sybase_db.c php_sybase_db.h Log: sybase_affected_rows implementation submitted by John F. Dumas <[EMAIL PROTECTED]> Index: php4/ext/sybase/php_sybase_db.c diff -u php4/ext/sybase/p

Re: [PHP] how fast is php

2001-03-15 Thread David Robley
On Fri, 16 Mar 2001 12:34, Randy Johnson wrote: > I have a question. can a 1 php script access a mysql database more > than 10 times a second it's a simple updated statement? if it > can how many times do you think it can access the database in a second? > > thanks randy On which machine?

[PHP-CVS] cvs: php4 /ext/ming config.m4

2001-03-15 Thread Jani Taskinen
sniper Thu Mar 15 18:06:33 2001 EDT Modified files: /php4/ext/ming config.m4 Log: Added a check for the one function missing in <= 0.1.0 versions of ming lib. Index: php4/ext/ming/config.m4 diff -u php4/ext/ming/config.m4:1.3 php4/ext/ming/config.m4:1.4 -

Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread Yasuo Ohgaki
- Original Message - From: "Paul R. Jackson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 10:34 AM Subject: [PHP] $REDIRECT_ERROR_NOTES > Hello, > > This is my first post to the group so go easy on me. > > I am using apache httpd.conf file to redirect 404 error

Re: [PHP] Has anyone got MSSQL2000 to connect and work properlly?

2001-03-15 Thread Andrew Hill
Brandon, It works just fine via ODBC. Driver are available at www.openlinksw.com and a HOWTO on compiling iODBC into PHP (needed if you want to use ODBC drivers) is available at www.iodbc.org. Please let me know if I may assist in any way. Best regards, Andrew -

Re: [PHP] Passing JavaScript variables

2001-03-15 Thread Yasuo Ohgaki
"Gary" <[EMAIL PROTECTED]> wrote in message 98rohv$b0k$[EMAIL PROTECTED]">news:98rohv$b0k$[EMAIL PROTECTED]... > Is there a way to pass a JavaScript variable to a PHP function? > > Thanks, Gary You can use GET/POST/COOKIE to do that. i.e. You must send new request to server and send variables, th

[PHP] Where is my parent?

2001-03-15 Thread Chien-pin Wang
Dear All, Is there a way to re-write a method in parent class and still access the parent class by parent::method()? I have a class (classChild) extended from another class (classParent). In classChild I have re-implemented method foo() as a wrapper function of method foo() in classPare

[PHP] Problem refreshing page after exec

2001-03-15 Thread Eric Watson
Hello, I am trying to start/stop a java program using PHP 4.04 on RH6.2. I can successfully start the program using: exec("/usr/bin/nohup /home/itrades/bin/startserver >/dev/null 2>&1 &") But when I revisit the page or refresh the page the web server hangs until I kill the java program. Can s

Re: [PHP] Reminders

2001-03-15 Thread Yasuo Ohgaki
- Original Message - From: "Dale Frohman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 16, 2001 5:33 AM Subject: [PHP] Reminders > I have a web interface that will submit entries into a mysql db. These > entries are things to do at certain times, an organizer. Is th

[PHP] I WORKED IT OUT Re: [PHP] $REDIRECT_ERROR_NOTES

2001-03-15 Thread Paul R. Jackson
I figured out what was going on. I knew it would be something simple (embarrassingly simple too). We run apache split across 2 servers so I have the error document path in the httpd.conf as a full URL, i.e. http://www.etc... This is what was causing it to lose all the Redirect info. When I use a

[PHP] Website, Design, hosting and maintenance for only $999.00 per year

2001-03-15 Thread Netmark Desing
Warning Could not process message with given Content-Type: multipart/mixed;boundary= "Z_MULTI_PART_MAIL_BOUNDAEY_S"

[PHP] sorting multi-dim arrays based on keys (like SQL's ORDER BY)

2001-03-15 Thread Francisco Hernandez
hi, How could i sort data in a multi-dim array? for example: $data = array( array("Job 3","House Party","Done"), array("Job 1","Days End","Done"), array("Job 5","Light Wave House","Done"), array("Job 2","The Amazon","Not Done"), array("Job 4","Fear","Not Done") ); I want to

[PHP] Re: Chat with PHP and MySQL - come and chat about Linux problems...

2001-03-15 Thread John Hinsley
Marian Vasile <[EMAIL PROTECTED]> wrote: //snipped! This list is long enough! >The main problem I have with my chat is that after some use of it, the >server is going very very slowly. >Someone with (256Mb, 800Mhz and just my chat running (Linux also)) told me >that the chat is still doing this

[PHP] Why my php page will reply "session expire" when the use press back button?

2001-03-15 Thread Carfield Yim
Why my php page will reply "session expire" when the use press back button? And then all the information in the form that user fill is lost, how can I fix this? thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP-I18N] Website, Design, hosting and maintenance for only $999.00 per year

2001-03-15 Thread Netmark Desing
Warning Could not process message with given Content-Type: multipart/mixed;boundary= "Z_MULTI_PART_MAIL_BOUNDAEY_S"

php-i18n Digest 16 Mar 2001 04:09:10 -0000 Issue 57

2001-03-15 Thread php-i18n-digest-help
php-i18n Digest 16 Mar 2001 04:09:10 - Issue 57 Topics (messages 135 through 138): Re: Weekly Update 135 by: Rick St Jean 137 by: Peter Van Dijck Resource for PHP and other technologies 136 by: narsu Website, Design, hosting and maintenance for only $999.00 per yea

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

2001-03-15 Thread Sterling Hughes
sterlingThu Mar 15 20:23:58 2001 EDT Modified files: /php4/ext/bz2 bz2.c Log: Slightly modified fix from jeremy brand <[EMAIL PROTECTED]>. he correctly pointed out that allocating the buffer to a little more than need (exact formula is in the c

Re: [PHP] Finding the depth

2001-03-15 Thread Harshdeep S Jawanda
Hi, Chris Lee wrote: > ok, this is what you asked for Thanks! I haven't tried it, but I am sure it will work. > but why cant you just do this. > > echo " > > "; I don't want to do that because that sort of link will work only when this page is served up by a web server. It won'

[PHP-CVS] cvs: pear /PEAR pear.c php_pear.h

2001-03-15 Thread Stig Bakken
ssb Thu Mar 15 20:57:03 2001 EDT Modified files: /pear/PEAR pear.c php_pear.h Log: * PEAR and PEAR_Error C implementations done Index: pear/PEAR/pear.c diff -u pear/PEAR/pear.c:1.3 pear/PEAR/pear.c:1.4 --- pear/PEAR/pear.c:1.3Wed Mar 14 16:53:0

[PHP-CVS] cvs: pear /PEAR PEAR.php

2001-03-15 Thread Stig Bakken
ssb Thu Mar 15 21:13:00 2001 EDT Added files: /pear/PEAR PEAR.php Log: by putting this dir before $prefix/lib/php in your include_path, you will use the C version of PEAR and PEAR_Error Index: pear/PEAR/PEAR.php +++ pear/PEAR/PEAR.php -- PHP

[PHP] Thoughts on Class libraries

2001-03-15 Thread Dennis Gearon
In talking about PEAR and PHPLIB, the subject of large class libraries came up. So in response to this problem, I had this idea. I'd like to get some feedback on it. Every script includes a simple parsing function from the 'prepend.php' file at the very top of the script. This funct

Re: [PHP] how fast is php

2001-03-15 Thread Chris Adams
On 15 Mar 2001 17:56:18 -0800, Randy Johnson <[EMAIL PROTECTED]> wrote: >I have a question. can a 1 php script access a mysql database more than 10 >times a second it's a simple updated statement? if it can how many >times do you think it can access the database in a second? Sure, dependi

[PHP] Hmmm... What's problems?

2001-03-15 Thread Al
I'm using manual online on php.net and use example of File uploader. If i changed TEXT file All right! If i changed Binary file php script answer Error! in sources code PHP using Binary method... And temporary subject $source_file is empty! if i insert in PHP { echo "source: $source_file"; } and

[PHP] Putting php at end of html?

2001-03-15 Thread webmaster
I am creating a site right now and I think many of the pages will use php in the future...But not right now. Should I put the .php extentsion at the end of these pages now even though they currently do not have php on them. So there anything that can go wrong if I do this? Steve -- PHP Gene

Re: [PHP] Hmmm... What's problems?

2001-03-15 Thread Rick St Jean
Make sure that enctype="multipart/form-data" is in your form. At 05:29 PM 3/15/01 +0300, you wrote: >I'm using manual online on php.net and use example of File uploader. >If i changed TEXT file All right! >If i changed Binary file php script answer Error! >in sources code PHP using Binary

Re: [PHP] Good Free PHP Editor?

2001-03-15 Thread Andrew Halliday
Hey guys and gals - i think i finally found my all and end all PHP editor - PHPEd - good stuff! AndrewH - Original Message - From: "John LYC" <[EMAIL PROTECTED]> To: "Andrew Halliday" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 12, 2001 5:54 PM Subject: Re: [PHP] Good

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

2001-03-15 Thread Frank M. Kromann
fmk Thu Mar 15 22:15:59 2001 EDT Modified files: /php4/ext/printer CREDITS Log: Adding credits Index: php4/ext/printer/CREDITS diff -u php4/ext/printer/CREDITS:1.1 php4/ext/printer/CREDITS:1.2 --- php4/ext/printer/CREDITS:1.1Mon Nov 20 02:31:31 20

Re: [PHP-CVS] cvs: php4 /ext/midgard attachment.c

2001-03-15 Thread Jon Parise
On Thu, Mar 15, 2001 at 09:57:49PM -, Emiliano Heyns wrote: > Index: php4/ext/midgard/attachment.c > diff -u php4/ext/midgard/attachment.c:1.10 php4/ext/midgard/attachment.c:1.11 > --- php4/ext/midgard/attachment.c:1.10Sun Mar 11 15:30:36 2001 > +++ php4/ext/midgard/attachment.c T

Re: [PHP] Why my php page will reply "session expire" when the use press back button?

2001-03-15 Thread Yasuo Ohgaki
- Original Message - From: "Carfield Yim" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Friday, March 16, 2001 1:44 PM Subject: [PHP] Why my php page will reply "session expire" when the use press back button? > Why my php page will reply "session expire" when the use press back > bu

[PHP] the mail() again!!!!

2001-03-15 Thread Nilesh Parmar
Hi I have installed php4 with apache onto my windows 98 machine .I am trying to send an email using the mail() function . When i run the following piece of code i get a warning .Can anyone please help me figure what has gone wrong and suggest me with what to do. Th

[PHP] With all this talk about editors ...

2001-03-15 Thread Richard McLean
Does anyone know of one that can do custom function management? e.g. You have a functions file - site_functions.php, and a page - the_page.php, with the functions file included/required. What I need is to be able to open the_page.php, and have a functions list that shows what functions are avail

Re: [PHP] FAQ - Newbie perspective

2001-03-15 Thread Harshdeep S Jawanda
Hi, I don't want to argue about anything, just point out something that occurred to me. First of all, I am a newbie as far as PHP is concerned, though I am more than comfortable with programming. I recently asked a pretty simple question on this list ("Finding the depth"). I could have found ou

Re: [PHP] Thoughts on Class libraries

2001-03-15 Thread Yasuo Ohgaki
- Original Message - From: "Dennis Gearon" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Friday, March 16, 2001 2:42 PM Subject: [PHP] Thoughts on Class libraries > In talking about PEAR and PHPLIB, the subject of large class > libraries came up. > > So in response to this pr

[PHP-CVS] cvs: php4 / configure.in /ext/standard dns.c

2001-03-15 Thread Jani Taskinen
sniper Thu Mar 15 23:13:06 2001 EDT Modified files: /php4/ext/standard dns.c /php4 configure.in Log: This should fix problems in systems without libbind. Index: php4/ext/standard/dns.c diff -u php4/ext/standard/dns.c:1.27 php4/ext/standard/dns.c

Re: [PHP] Hmmm... What's problems?

2001-03-15 Thread Yasuo Ohgaki
- Original Message - From: ""Al"" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Friday, March 16, 2001 3:09 PM Subject: [PHP] Hmmm... What's problems? > I'm using manual online on php.net and use example of File uploader. > If i changed TEXT file All right! > If i changed Binary fil

Re: [PHP] With all this talk about editors ...

2001-03-15 Thread Yasuo Ohgaki
http://www.php.net/manual/en/ref.funchand.php This page must be your friends. Regards, -- Yasuo Ohgaki - Original Message - From: "Richard McLean" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Friday, March 16, 2001 4:02 PM Subject: [PHP] With all this talk about editors ... > Do

Re: [PHP] Putting php at end of html?

2001-03-15 Thread Yasuo Ohgaki
Before you do that, you are better to read PHP manual AT LEAST Getting Started Section. http://www.php.net/manual/en/getting-started.php Note: Your scripts may be disclosed to the net w/o proper setup. Regards, -- Yasuo Ohgaki - Original Message - From: <[EMAIL PROTECTED]> Newsgroups:

Re: [PHP] Fields, Comboboxes, repost

2001-03-15 Thread Richard Lynch
>1. I am hoping to read the entire range of values from a field in my MySQL table into a combo >box on my form, but I am not sure how. On top of that, I want the user to select one value >from this list, press next, and the combo box reappears with the full list minus the chosen >value. The user

Re: [PHP] Send Mail Problem

2001-03-15 Thread Richard Lynch
It sounds like maybe you are trying to send too many emails -- The PHP mail() function just isn't cut out for mass email. Look at using Manuel Lemos' mail class or some other code that talks direct to port 80. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music?

Re: [PHP] mysql help!! urgent!

2001-03-15 Thread Richard Lynch
> Warning: Unable to jump to row 0 on MySQL result index 2 in > /home/sites/site3/web/showthumb on line 71 > > --here is my code Change it to look like this: > $connetion = mysql_connect("localhost","cel34243","s2343223") or die($php_errormsg); > $query = "select images from celeb where name=\"$

Re: [PHP] Using selected fields

2001-03-15 Thread Richard Lynch
> How can I tell the page to use the userlevel colunm too? Use it how?... Do you want to use it to decide where to send them?: $userlevel = mysql_result($result, 0, 'userlevel'); switch ($userlevel){ case 1: header("Location: guru.php"); break; case 2: header("Locatio

Re: [PHP] Changing Directory rights with chgrp or exec("chown")

2001-03-15 Thread Richard Lynch
> Is it possible to change the group rights on a directory like this? > > chgrp("/home/www/host/sitedir.com", "site1.com"); "site1.com" is a pretty unusual group name... I don't think that's valid... > It doesn't work for me and i have tried this: > exec(chown apache:site1.com /home/www/host/si

Re: [PHP] Dynamic pages

2001-03-15 Thread Richard Lynch
You can use PHP to write out the HTML to a file, instead of using echo/print. You'll have to fwrite() *ALL* your HTML, however. I did this for a site that got burned into a CD once. There are also some tools "out there" to "walk" a site and "steal" it, that you could use on your "work" site to

Re: [PHP] PHPDoc and file with function only

2001-03-15 Thread Richard Lynch
I think PHPDoc is only for documenting classes... -- 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 - Original Message - From: Remi Ricard <[EMAIL PROT

Re: [PHP] HTML character escape codes from beyond

2001-03-15 Thread Richard Lynch
Perhaps the user pasted in characters that caused those HTML codes to be part of their input... -- 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 - Original

Re: [PHP] cannot use post

2001-03-15 Thread Richard Lynch
Be sure your DocumentRoot and directives match up... Also check for any Limit directives. -- 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 - Original Messa

Re: [PHP] select * from nmensagem m, nusuario...

2001-03-15 Thread Richard Lynch
> select * from nmensagem m, nusuario u, nprefuser p where > m.cdpreferencia=p.cdpreferencia and p.flag=1; > > With "m.cdpreferencia=p.cdpreferencia" I should get just the values there > exists on m.preferencia and p.cdpreferencia? No, because you have a record for every single nusario, since you

Re: [PHP] Help! Cookies...

2001-03-15 Thread Richard Lynch
Cookies do not inherently support arrays. You'll have to serialize/unserialize your arrays to store them in cookies. -- 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/volunt

Re: [PHP] Help. creating excel file form mysql

2001-03-15 Thread Richard Lynch
Excel can import tab-delimited (or CSV) files pretty darn easy... And you can spew those out very easily... -- 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 -

Re: [PHP] Putting php at end of html?

2001-03-15 Thread Richard Lynch
YES! The only "problem" will be that these .php pages will be maybe 5% slower since PHP is "parsing" them. -- 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 ---

RE: [PHP] FAQ - Newbie perspective

2001-03-15 Thread Jason Lotito
> Hi, > > I don't want to argue about anything, just point out something > that occurred > to me. > > First of all, I am a newbie as far as PHP is concerned, though I am more > than comfortable with programming. > > I recently asked a pretty simple question on this list ("Finding the > depth"). I

Re: [PHP] With all this talk about editors ...

2001-03-15 Thread Richard McLean
Many thanks Yasuo. Unless I've missed something (which is quite possible), that would seem to help if I was trying to do it at runtime, but this is a feature I need during development (ie a feature of the editor). cheers, Richard >http://www.php.net/manual/en/ref.funchand.php > >This page mus

Re: [PHP] Dynamic pages

2001-03-15 Thread Aaron Tuller
you don't have to use fwrite() if you use output buffering. just ob_start(), ob_get_contents(), and ob_end_clean() and leave your code how it is. -aaron At 1:02 AM -0600 3/16/01, Richard Lynch wrote: >You can use PHP to write out the HTML to a file, instead of using >echo/print. > >You'll have

[PHP-CVS] cvs: php4 /pear/Cache Output.php

2001-03-15 Thread Sebastian Bergmann
sbergmann Thu Mar 15 23:58:35 2001 EDT Modified files: /php4/pear/CacheOutput.php Log: Fix the example. Index: php4/pear/Cache/Output.php diff -u php4/pear/Cache/Output.php:1.11 php4/pear/Cache/Output.php:1.12 --- php4/pear/Cache/Output.php:1.11 S

<    1   2   3