RE: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Jay Blanchard
[snip] OK. One of the silly classes fails, saying -- Fatal error: No parent class available in this context in biff.php on line 52 line 52 is -- 49 function BiffWriter() 50 { 51 error_reporting (E_ALL); 52 parent::BiffBase(); 53 $this->_fill_AA_notati

Re: [PHP] Re: Cronjob

2002-09-25 Thread Don Read
On 25-Sep-2002 Daren Cotter wrote: > This just prints out a bunch of info (seems to be > unimportant)...what am I looking for in this? > You're looking for your argument string "blah" -- Don Read [EMAIL PROTECTED] -- "Beer is proof that God loves us and w

Re: [PHP] Re: Cronjob

2002-09-25 Thread Daren Cotter
Don, It was not there anywhere. --- Don Read <[EMAIL PROTECTED]> wrote: > > On 25-Sep-2002 Daren Cotter wrote: > > This just prints out a bunch of info (seems to be > > unimportant)...what am I looking for in this? > > > > You're looking for your argument string "blah" > > -- > Don Read

[PHP] help with apache2.0.40 and php 4.2.3

2002-09-25 Thread meaje
I have run into a snag with apache and php4 it consists of me not being able to specify where my config file should be and it will not unload the libphp4.so module. Every time apachectl is run it comkplains that the module is already loaded even on a fres boot with out loading any version of

Re: [PHP] help with apache2.0.40 and php 4.2.3

2002-09-25 Thread Robert Cummings
[EMAIL PROTECTED] wrote: > > I have run into a snag with apache and php4 it consists of me not > being able to specify where my config file should be and it will not > unload the libphp4.so module. Every time apachectl is run it > comkplains that the module is already loaded even on a fres boot

[PHP] Re: Re: Cronjob

2002-09-25 Thread Philip Hallstrom
Then try a script with: in it and run it as: % php script.php arg1 arg2 arg3 and then search the output for arg1 and find out where it is. It's got to be there somewhere. -philip On Wed, 25 Sep 2002, Daren Cotter wrote: > Don, > > It was not there anywhere. > > --- Don Read <[EMAIL PROTEC

[PHP] Re: Explorer-like "drill down" interface

2002-09-25 Thread Philip Hallstrom
On Wed, 25 Sep 2002, Mike Dunlop wrote: > >I have two questions: > > > >2. I have allowed packets through my firewall destined for port > >3306, the mysql server. So I can connect to the server from a remote > >machine. Are there any known security vulnerabilities in the mySQL > >server? > I wou

Re: [PHP] Encrypt data...

2002-09-25 Thread Scott Fletcher
Well, I meant a script. I do have mcrypt but I don't feel comfortable with that becuase if I upgrade PHP or Mcrypt, then it could affected the encrypt data. "Mike Dunlop" <[EMAIL PROTECTED]> wrote in message news:a05100304b9b7b58c8d3b@[65.106.126.146]... > http://php.net/mcrypt > > >How do I en

[PHP] listing of directories into links

2002-09-25 Thread Bryan Koschmann - GKT
Hi, I need to do something where my page is a generated list of directories. Say, I want to easily make links to all user pages (/home/user1/public_html, /home/user2/public_html, and so on). Can anyone give me any ideas? Thanks, Bryan -- PHP General Mailing List (http://www.php.net/

[PHP] Re: [PHP-NOTES] note 25493 added to function.define

2002-09-25 Thread Friedhelm Betz
> I can't find a "redefine" or "undefine" clause. Does it exists ? > I need to redefine a constant and PHP reports a notice on it. Please read the fine manual carefully and follow the link section on constants. Your note will be removed. -- PHP General Mailing List (http://www.php.net/) To un

[PHP] What other list are there?

2002-09-25 Thread Chuck Payne
Hi, I am getting ready to start another project that will have to do a lot of math. So I need to ask some question on how to get php and mysql to do that. So can you tell what mailing list there because I think that I might have to ask other list since this is general list, I am I think this migh

Re: [PHP] What other list are there?

2002-09-25 Thread Kevin Stone
All signs point to.. www.php.net - Original Message - From: "Chuck Payne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 3:23 PM Subject: [PHP] What other list are there? > Hi, > > I am getting ready to start another project that will have to do a lot of

RE: [PHP] dynamic website

2002-09-25 Thread Don Read
On 25-Sep-2002 Donahue Ben wrote: > I have a general question of a dynamic website using > PHP4 and mysql database. If there are many, many > users visiting a dynamic website at once, will it > cause the database to be bogged down with so many > users visiting the website? If so, how do you aro

[PHP] Calling an external C function under Unix

2002-09-25 Thread Anna Sotnichenko
Hello All! I want to transfer a PHP script with minimum changes from IIS under Win2000 to Unix. My ISAPI PHP script calls some external C-functions through PHP W32api extension. Is there a way to call external C-function from PHP-script under UNIX? Thanks in advance. -- PHP General Mailing L

[PHP] Re: Re: Cronjob

2002-09-25 Thread Daren Cotter
Philip, Running test.php arg1 arg2 > test.txt Then searching test.txt for arg1, it was found here: HTTP_GET_VARS["test_php_arg1_arg2"] Nowhere else. Gotta be a server issue? --- Philip Hallstrom <[EMAIL PROTECTED]> wrote: > Then try a script with: > > phpinfo(); > ?> > > in it and run it

RE: [PHP] PHP POST arrar is dropping 4 characters

2002-09-25 Thread John Holmes
This was just talked about last week, search the archives. IIRC, it was a bug, so maybe search the buglist, too. ---John Holmes... > -Original Message- > From: David Busby [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 7:29 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PH

Re: [PHP] Re: Re: Cronjob

2002-09-25 Thread Tom Rogers
Hi, Thursday, September 26, 2002, 9:50:28 AM, you wrote: DC> Philip, DC> Running test.php arg1 arg2 > test.txt DC> Then searching test.txt for arg1, it was found here: DC> HTTP_GET_VARS["test_php_arg1_arg2"] DC> Nowhere else. DC> Gotta be a server issue? DC> --- Philip Hallstrom <[EMAIL PR

Re: [PHP] RFE: Multiple auto_prepend_file statements to work in Apache

2002-09-25 Thread Alex Vincent
John Holmes wrote: > Even if it's only one file, have that file include the other necessary > files... so two.php would include one.php, three.php, etc. You could > even build the logic into two.php so it decides which other files to > include based on any number of conditions. > > ---John Holme

[PHP] cookies from cgi script

2002-09-25 Thread Roger Thomas
Dear all, I have a cgi script that create cookie with the cookie path set to /cgi-bin/ How do I access the value of that cookie from a php-script ? I have tried $_COOKIE["cookiename"] but the value is blank. From my NS cookie manager, I know that there is value associated with that cookie. Pleas

[PHP] Who is online script example

2002-09-25 Thread Research and Development
Hello. Has anyone noticed that some sites can display a list of users currently looking at their site? I would like to see the code to do such things. Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Re: Cronjob

2002-09-25 Thread Daren Cotter
OH MY GOD. I searched the php.ini file twice, and didn't see that freaking variable. Thank you so much Tom!!! --- Tom Rogers <[EMAIL PROTECTED]> wrote: > Hi, > > Thursday, September 26, 2002, 9:50:28 AM, you wrote: > DC> Philip, > > DC> Running test.php arg1 arg2 > test.txt > > DC> Then search

Re: [PHP] Encrypt data...

2002-09-25 Thread Tom Rogers
Hi, Thursday, September 26, 2002, 4:45:04 AM, you wrote: SF> How do I encrypt the data and decrypt it back using PHP? I do know that hte SF> random number can not be used becuase it will make it impossible to decrypt SF> it. SF> Thanks! Here is a simple class for encoding and decoding: class

[PHP] How to test if a number is negative

2002-09-25 Thread Mike Dunlop
I've look through all the numerican functions but can't readily see a way to test for a negative number e.g -7 Any ideas on how to do this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to test if a number is negative

2002-09-25 Thread Miles Thompson
$x = -1; if ($x < 0 ){ echo "Negative"; else echo "Positive"; } Or am I missing something? Miles At 07:02 PM 9/25/2002 -0700, Mike Dunlop wrote: >I've look through all the numerican functions but can't readily see a way >to test for a negative number e.g -7 > >Any ideas o

[PHP] RE: negative numbers

2002-09-25 Thread Mike Dunlop
Nevermind, I have been using if($number<0) { //negative number... but it wasn't working correctly due to a str_replace statement that removing zeros which was screwing it up ok later -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to test if a number is negative

2002-09-25 Thread Miles Thompson
Or, as my teenage son, who is smarter than me, suggests ... 1 / $x + abs( $x ) which yields 1/0 if $x is neg. (He didn't go into trapping for the error ... sigh.) Miles At 11:07 PM 9/25/2002 -0300, Miles Thompson wrote: >$x = -1; >if ($x < 0 ){ > echo "Negative"; >else >

[PHP] Configure php for windows

2002-09-25 Thread Uma Shankari T.
Hello, I have installed php in windows machine and configure php according to the manual given in the net..While running test program it is not displaying the result properly and not showing any error also..Apache is running..Can any one pls tell me how to go about with this..?? Regards,

Re: [PHP] Configure php for windows

2002-09-25 Thread Justin French
What test are you running? Justin on 26/09/02 12:10 PM, Uma Shankari T. ([EMAIL PROTECTED]) wrote: > > Hello, > > > I have installed php in windows machine and configure php according to > the manual given in the net..While running test program it is not displaying > the result properly and

Re: [PHP] replacing literal " in string

2002-09-25 Thread Tom Rogers
Hi, Thursday, September 26, 2002, 12:02:29 AM, you wrote: RM> Could somebody help me with the correct syntax for an ereg_replace to RM> replace literal occurences of the quote character in a string. I can't RM> seem to get it right. RM> In other words, I have a form input variable -- that liter

Re: [PHP] Configure php for windows

2002-09-25 Thread Uma Shankari T.
On Thu, 26 Sep 2002, Justin French wrote: JF>What test are you running? JF> JF>Justin I am running this code only.. Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Example script : Employee schedule

2002-09-25 Thread Faisal Abdullah
Hi people. Does anyone happen to know whether there is a sample script/application out there which can tell me (and everyone else in the organisation) of what "john doe" is doing, and where & when he's doing it? I don't know a proper name for this type of application, therefor I haven't found any

Re: [PHP] Configure php for windows

2002-09-25 Thread Khalid El-Kary
hi, please tell me about your Apache version, PHP version, the changes you made to the httpd.conf and error messages of returned thanx _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PH

[PHP] Re: Mail() and Attachments

2002-09-25 Thread Manuel Lemos
Hello, On 09/25/2002 07:00 PM, Tom Ray wrote: > I was wondering with mail() how do you attach a file to the message you are > sending? I have to take the data from the form and write it to a CSV file that > needs to be mailed to the client, I got everything put how to attach the CSV > file to the

[PHP] Re: PEAR or not PEAR

2002-09-25 Thread Manuel Lemos
Hello, On 09/24/2002 11:15 AM, Joshua E Minnie wrote: > I was reading an article at PHPBuilder.com (not very recent, 01/15/2001) > about PEAR DB, and was wondering if anyone had any experience using PEAR > rather than the functions dedicated specifically to each type of DB (i.e. > mysql_, mssql_,

Re: [PHP] Re: PEAR or not PEAR

2002-09-25 Thread Rasmus Lerdorf
No DB abstraction layer, including MetaBase offers true database abstraction. No layer will make stored procedures portable. No layer will make your fancy Oracle DECODE() query portable. No layer will magically make your MS-SQL triggers work anywhere else. For any moderately complex database w

[PHP] Looking for a forum

2002-09-25 Thread John Taylor-Johnston
Hi, I'm looking for some forum script, a bit like this: http://www.chevelles.com/cgi-bin/forum/Ultimate.cgi Can anyone post a link to something useful? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Owner

2002-09-25 Thread John Taylor-Johnston
Hi, Who is the forum's owner? I want to post questions using [EMAIL PROTECTED] and [EMAIL PROTECTED] in my from: and reply-to: I post infrequently to this list using news://news.php.net/php.general NOT [EMAIL PROTECTED] This is about the only list I post to. I've been receiving a lot of spam

Re: [PHP] Owner

2002-09-25 Thread Justin French
The problem is NOT the list, but the services like marc that archive the lists activities... this means your email address sits there in plain view on MANY web pages for bots to find. Best advice is to post strictly to the newsgroup with a dud email address, or use a specific email address for yo

Re: [PHP] Owner

2002-09-25 Thread John Taylor-Johnston
Justin, > Best advice is to post strictly to the newsgroup with a dud email address, Unfortunately, that doesn't work. I had a hotmail address, but not acceptable. Someone did not put it on the "accepted' list. Someone back there needs to accept that address to allow that poster to post when u

[PHP] RE: ? (FIXED) (Errr... problem uploading files)

2002-09-25 Thread Jose Fandos
Hi there! > Hi - it seems from your PHPinfo output that you have not specified, in > your > PHP.ini file, a directory where the server can put the uploaded files. If > this is not specified by a system defaul, you need to specifiy it here. > This means that : they will disappear into oblivion (at

<    1   2