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
"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
"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
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,
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,
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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.
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
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
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?
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
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
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
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 - 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:
[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,
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
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
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
---
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
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
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
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
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
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
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
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
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
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
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
--
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
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") {
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:
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:
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:
101 - 148 of 148 matches
Mail list logo