[PHP-CVS] cvs: php4 /ext/standard array.c basic_functions.c php_array.h

2001-03-16 Thread Andrei Zmievski
andrei Fri Mar 16 12:46:35 2001 EDT Modified files: /php4/ext/standard array.c basic_functions.c php_array.h Log: @- Added array_filter(), which allows filtering of array elements via @ the specified callback. (Andrei) Index: php4/ext/standard/array.c

Re: [PHP] Login System with access levels

2001-03-16 Thread yavo
"Jordan Elver" [EMAIL PROTECTED] wrote in message 01031619280300.01338@localhost">news:01031619280300.01338@localhost... Hi, I've got a db with a username and password in it. I can let people log in, like SELECT * FROM table WHERE username = username AND password = password. How about you

Re: [PHP] Login System with access levels

2001-03-16 Thread yavo
"Jordan Elver" [EMAIL PROTECTED] wrote in message 01031619280300.01338@localhost">news:01031619280300.01338@localhost... Hi, I've got a db with a username and password in it. I can let people log in, like SELECT * FROM table WHERE username = username AND password = password. How about

[PHP] Frames

2001-03-16 Thread Randy Johnson
is there a way in php if a page is supposed to be in frames and the user tries to view it outside of the frame it automatically reloads the page into the frame. thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Frames

2001-03-16 Thread Randy Johnson
is there a way in php if a page is supposed to be in frames and the user tries to view it outside of the frame it automatically reloads the page into the frame. thanks Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Associative vs normal arrays

2001-03-16 Thread Alexander Wagner
Joe wrote: Is there a way to determine if an array is associative or not? Maybe something similar to the is_array() function ?? There are only assotiative arrays in PHP. regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Hello! PHP

2001-03-16 Thread bard
If you want to e mail me privately I'll go into greater detail. But, to be brief, let me just say this. DON'T DO IT. Use jsp or python or anything else that talks to java. I've tried every available permutation of php/java on SEVERAL different plat- forms with simlilarly bad results on all of

Re: [PHP] PHP standalone script

2001-03-16 Thread Meir kriheli
On Friday 16 March 2001 19:31, Don Pro wrote: Hi, I've used PHP scripts in my HTML to provide dynamic content but I was wondering if I can also use PHP to create standalone scripts on my UNIX box. If so, where is the PHP interpreter and how do I invoke it? You should configure and compile

[PHP] I can't do a connection to POSTGRES from PHP4 as NSAPI

2001-03-16 Thread Norberto Rojas
Hi, I built the latest PHP4to use it as NSAPI with postgress connection: ./configure --with-nsapi=/usr/netscape/server4/ --with-pgsql=/var/lib/pgsql --enable-libgcc --enable-track-vars make make install "stop web server" "restart" ,but when I try to pg_connect to

Re: [PHP] Associative vs normal arrays

2001-03-16 Thread Joe
Oops, how embarassing :-( My son must have been playing with it. Thanks! - Original Message - From: Chris Mulcahy [EMAIL PROTECTED] To: 'Joe' [EMAIL PROTECTED] Sent: Friday, March 16, 2001 3:51 PM Subject: RE: [PHP] Associative vs normal arrays Joe: Were you aware your system time

Re: [PHP] Associative vs normal arrays

2001-03-16 Thread eschmid+sic
On Fri, Mar 16, 2001 at 11:43:17PM +0100, Alexander Wagner wrote: Joe wrote: Is there a way to determine if an array is associative or not? Maybe something similar to the is_array() function ?? There are only assotiative arrays in PHP. PHP has associative and numeric (normal) arrays.

[PHP] Radio Button Returns (Pleasre Read)

2001-03-16 Thread Fred
this is the code: $page .= "input type =\"radio\" name=\"pageid\" value\"$info[PageID]\""; this is the html source generated: input type ="radio" name="pageid" value"index" and this is what $pageid returns: 'on' 2 questions is why? and how do i fix it? thanks to all who take the time to

[PHP] Change POST for GET

2001-03-16 Thread Jorge Alvarez
Hi there, I was using POST method on all my forms but I had to change them to GET because of "expired page" errors (I noticed this as soon as I began using PHP4 sessions). It seems that GET works well so far, but I wonder if there's something else I should be aware of. Are both methods

[PHP] highlight_string parsing in an article

2001-03-16 Thread Jason Lotito
Okay, I have a bugger here. I am working on a script for my site to parse articles, comments, so that people use a special markup (like [b] [/b] for b /b, etc). One of the feature I want to implement is a [code] feature that will parse the code between [code] and [/code] like it would in

[PHP] serialize/unzerialize help

2001-03-16 Thread andrie
Hello all members, i am confuse to pass my class object over page (read my quote below). can u give a little example to demonstrate this using serialize and unserialize function. thaks for your attention.. andrie Tuesday, March 13, 2001, 9:03:08 PM, Loe nulis

[PHP] PHP not seeming to work

2001-03-16 Thread Don Weeks
I am having a helluva time getting PHP 4.0 to work with my apache browser. I add code for the PHP software for instance: ?php phpinfo(); ? And all I get is a blank screen. I built php as an apache DSO. I know it is getting loaded cause it bitches if the libphp file is not available. I

Re: [PHP] Webmin

2001-03-16 Thread Mike Tuller
Webmin uses templates, so you could create anything you want. If you go into Webmin configuration under the Webmin tab, you will see templates. When you go in there you will see a menu for current theme. It should have Calderas theme. That at least means they are open to template creation. I

Re: [PHP] FAQ

2001-03-16 Thread Nik Gare
In article [EMAIL PROTECTED], Rick St Jean [EMAIL PROTECTED] wrote: The problem is that people are lazy or just to stupid to look for stuff. snip I guess people are either too lazy or just too stupid to learn how to quote in emails. ;-) I guess I am frustrated because all the lists I am

Re: [PHP] Radio Button Returns (Pleasre Read)

2001-03-16 Thread Nathan Cook
This question baffles me. Just to clarify do you have at least two radio buttons on this page and are they both under the same name? It also could be if the HTML you mailed the list is the same you have in your generated page then you may want an '=' sign between the value"index" .:: Nathan

[PHP] avoiding redirect

2001-03-16 Thread mat t
I have a form that allows user to either upload a file from the client to the server or take the contents of the textarea and dump it in a new file on the server. Unfortunately I have tried to make the form write the new file to the server and at the same time redirect to the this new file.

[PHP] Login System with access levels

2001-03-16 Thread Jordan Elver
Hi, I've got a db with a username and password in it. I can let people log in, like SELECT * FROM table WHERE username = username AND password = password. But how can I add an access level column so that I can have different levels of security. So admin's can read everything, but users can

Re: [PHP] RE: [PHP-DB] Login System with access levels

2001-03-16 Thread Jack Sasportas
Just a note...you can hash the password in the database. Rick Emery wrote: First, I would NOT store passwords in a database. Rather, I'd store a hash based upon the password and username. Storing a password is dangerous as regards security. Second, if you're asking for syntax on how

Re: [PHP] Good Free PHP Editor?

2001-03-16 Thread Jeffrey A . Stuart
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... On 12 Mar 2001 03:51:13 -0800, [EMAIL PROTECTED] (Nick Davies) wrote: How about linux ones? I just tend to use vim or emacs but i'm sure there are some out there. I've used Xemacs. Do you know if there is a PHP mode for it?

[PHP] Sessions and CHECKBOXES :(

2001-03-16 Thread karakedi
i ve 20 film names stored at database, and i want to show them in alphebetical order. And i want to show 10 of them at each page. Nothing is wrong here. At the end of each film name there is a CHECKBOX, here is the code: $count = 0; while ($row = mysql_fetch_array($result)){ echo "tr"; echo

Re: [PHP] Error with ldap

2001-03-16 Thread Brett Bandy
php_ldap.dll also requires libsasl.dll, so make sure you move this dll to \winnt\system32 as well. Brett "Alain ROMERO" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I copy 'msvcrtd.dll' in winnt\system32 and php3 works fine, but not php4 HELP ! Alain

Re: [PHP] Opening/closing a DB

2001-03-16 Thread Brett Bandy
With InterBase using persistent connections will save a lot of time. However, you need to be extra careful with how you manage transactions. InterBase uses a versioning engine for transaction management and you can easily screw up the system performance if you don't manage your transactions

[PHP] JDBC? Was: [PHP] Hello! PHP

2001-03-16 Thread andrew
On a related noted, does PHP have JDBC support? I'm unable to find anything about this - anyone know if it's possible? regards, andrew On 3/15/01 5:49 PM, "bard" [EMAIL PROTECTED] wrote: If you want to e mail me privately I'll go into greater detail. But, to be brief, let me just say

php-general Digest 17 Mar 2001 02:24:05 -0000 Issue 571

2001-03-16 Thread php-general-digest-help
php-general Digest 17 Mar 2001 02:24:05 - Issue 571 Topics (messages 44262 through 44351): dbadmin improved 44262 by: Peter Van Dijck Re: Strange Behaviour in non-reference globals? 44263 by: Yasuo Ohgaki Can you recommend an ISP with the following? 44264 by:

Re: [PHP] Associative vs normal arrays

2001-03-16 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: There are only assotiative arrays in PHP. PHP has associative and numeric (normal) arrays. But is_array() says only if it is an array or not. The distinction could only be made if you look at keys. Keys can be integers or strings. I hope this was correct, if not,

[PHP] Zend?

2001-03-16 Thread Chris Anderson
I've heard alot about the Zend Encoder. Using it can I encode I file so that php still executes it, but a person cannot read my source by looking at the file? I'm programming components for people and would prefer if they could use it, but not see my source. Does it require any extra server

[PHP] PSpell?

2001-03-16 Thread Jonathan Sharp
I have checked my phpinfo() and it shows that PSPell is enabled. But when i run the following script (per php.net/manual/ example) i get the following (following) error... $pspell_link = pspell_new ("en"); if (pspell_check ($pspell_link, "testt")) { echo "This is a valid

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

2001-03-16 Thread Zeev Suraski
zeevFri Mar 16 19:03:50 2001 EDT Modified files: /php4/ext/standard output.c Log: Fix the output buffering bug Andre found Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.48 php4/ext/standard/output.c:1.49 ---

[PHP] Running script on remote server

2001-03-16 Thread Patrick Dunford
e baptized into Christ have clothed yourselves with Christ. -- Galatians 3:26-27 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010316 === Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/ -- PHP Gener

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

2001-03-16 Thread Richard Lynch
YES! The only "problem" will be that these .php pages will be maybe 5% slower since PHP is "parsing" them. That and all the links pointing to the old .html files will be broken... That's what using .php in advance will avoid. So if you mix PHP and HTML in a file, PHP will be slower

Re: [PHP] header:(location) error

2001-03-16 Thread Brett
I am receiving the following error from my app, and I'd be gratefull if somebody would point out the usual cause of it. I am doing a redirect based on a form validation routine. Thank you. Warning: Cannot add header information - headers already sent in

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard output.c

2001-03-16 Thread Zeev Suraski
zeevFri Mar 16 19:05:07 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard output.c Log: MFH Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.48 php4/ext/standard/output.c:1.48.2.1 --- php4/ext/standard/output.c:1.48

[PHP] metabase docs and DB abstraction

2001-03-16 Thread Dean Hall
Anyone have opinions on which DB abstraction layer is best for what situation? Is there an article somewhere that compares the various DB abstraction layers? (Cross-post:) Anyone know where I can find documentation or samples for metabase? Dean. -- PHP General Mailing List

Re: [PHP] mail() implementation problem

2001-03-16 Thread Tim Frank
Mathieu, I believe the feature you are looking for has been made available in the new PHP 4.0.5 that is upcoming. They have added a 5th paramether to the mail() function so you can actually pass sendmail command line arguments such as -f. For those of us not running the development

Re: [PHP] XML Newbie.!

2001-03-16 Thread Rick St Jean
Make sure you read the whole message before you comment. There was a relative question at the bottom. Rick At 12:59 AM 3/17/01 +0100, Nik Gare wrote: In article [EMAIL PROTECTED], Diego Fulgueira [EMAIL PROTECTED] wrote: Hi! Ok, this is not a question about PHP, but since this is such a

[PHP] RE: articles to install Red Hat server, mysql, php

2001-03-16 Thread Nyon
Hi, I found a lot of articles that teaches how to install Red Hat Linux, MySQL and PHP. However, most of them are not elaborate enough to go through the entire process. Anyone with some solid resources on these ? Also, can one install the server version of Red Hat with a GUI interface rather

[PHP] Invalid or Valid because the same.

2001-03-16 Thread techzeus
Hello, Sorry to disturb you guys of your precious programing time ;-) I'm stumped, I have coded everything properly and everything looks perfectly fine but I'm still getting error. I'm doing a lostpassword script such that when a user fills in their email, the database will check if there is

Re: [PHP] XML Newbie.!

2001-03-16 Thread Nik Gare
In article [EMAIL PROTECTED], Rick St Jean [EMAIL PROTECTED] wrote: Make sure you read the whole message before you comment. There was a relative question at the bottom. I have a question concerning table tags. I also have a question concerning PHP. Should I ask both questions here, or

[PHP] Require vs include

2001-03-16 Thread NGUYEN DINH Quoc Huy
Hi Can someone explain me what's the difference between include() and require() ?? I did not catch the explanation in the docs. When should I use include() and when should I use require() ?? I'm not on the list so reply me to: [EMAIL PROTECTED] Thnx --

Re: [PHP] XML Newbie.!

2001-03-16 Thread Rick St Jean
If it was a question about tables and how you can use them with PHP then yes. Take this off-list if you have something important to say please. At 07:39 AM 3/17/01 +0100, Nik Gare wrote: In article [EMAIL PROTECTED], Rick St Jean [EMAIL PROTECTED] wrote: Make sure you read the whole

RE: [PHP] Re: Invalid or Valid because the same.

2001-03-16 Thread Jason Lotito
Look in the script... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 10:50 PM To: 'PHP General List. (E-mail)' Subject: Re: [PHP] Re: Invalid or Valid because the same. //HTML headers here ? if ($Submit == "Submit") {

Re: [PHP] Re: Invalid or Valid because the same.

2001-03-16 Thread Jack Dempsey
http://www.php.net/manual/en/function.mysql-num-rows.php jack Jason Lotito wrote: Look in the script... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 10:50 PM To: 'PHP General List. (E-mail)' Subject: Re: [PHP] Re:

RE: [PHP] Re: Invalid or Valid because the same.

2001-03-16 Thread Jason Lotito
Yeah..I saw that last line AFTER having posted that. =) Goes to show myself that even when you search for a function, and the manual says it doesn't exist...it still might. Haha... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Dempsey Sent:

Re: [PHP] Re: Invalid or Valid because the same.

2001-03-16 Thread techzeus
Now that, the function has been verified, what else could be wrong? - Original Message - From: "Jack Dempsey" [EMAIL PROTECTED] To: "Jason Lotito" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; "'PHP General List. (E-mail)'" [EMAIL PROTECTED] Sent: Saturday, March 17, 2001 3:08 PM Subject:

<    1   2