try this:
in the form:
select name="CatecoryID[]" size="3" multiple
option value="1"Item 1/option
option value="2"Item 2/option
option value="3"Item 3/option
/select
in the script:
$num = sizeof($CategoryID); // Number of array items
for($i=0;$i$num;$i++)
{
// $CategoryID[$i] --
Hi,
No, empty(), also does not apply, because it is not set.
It is NOT in the HTTO_POST_VARS Array!
Is this a usual behavior?
Greets,
Alex
--
___
Alexander Lohse
Human Touch Medienproduktion GmbH
Am See 1
17440 Klein Jasedow
Tel: (038374) 75211
Fax: (038374) 75223
zeevSun Mar 11 02:02:36 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Add some karma to Sasha
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.112 CVSROOT/avail:1.113
---
sasha Sun Mar 11 02:08:28 2001 EDT
Modified files:
/php4 NEWS
/php4/ext/standard config.m4 file.c
Log:
Fixed a compatibility problem is some file functions (fgets, fputs, fread,
fwrite). The ANSI standard says that if a file is opened in
Hi!
I've a problem with "get_browser"
i got the browscap.ini from http://www.cyscape.com/browscap/
and installed it in:
/usr/local/lib/browscap.ini
then i added browscap = /usr/local/lib/browscap.ini
in the php.ini
but
$test = get_browser();
echo $test;
gives an empty response.
i've use
Hi Yasuo,
Thanks for the reply, but yes I do know that the include_path in php.ini
should have the entries. But is this something new? I want to know how to
allow including and requiring files just like we used to do in PHP3!
For instance, let us say that we have two software programs on the
Hello,
any idea how to limit file access (php files) by
protocol type call?
I mean how could I serve a php file only if it is
called with SSL (https://... not http://...)
I saw this on a site when I was refused because
I didn't use secure protocol, and I wonder, how could
I do that?
Is there a
Hi,
I thought it was about time I started using a db abstraction class. Problem
is, there are so many out there that I don't which one to start using?
I've heard of ADODB (I think).
Anyone have any suggestions?
Cheers,
Jord
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
on 10.03.2001 10:10 Uhr, Alexander Lohse at [EMAIL PROTECTED] wrote:
Hi,
is it a fact that: If I have multiple select with e.g. "pers[]" as
name, I cannot check for an isset($pers) if the user left the field
blank?
I know it all works with textfields ... But in this case isset()
seems
php-general Digest 11 Mar 2001 13:21:01 - Issue 560
Topics (messages 43349 through 43384):
Re: UTF
43349 by: Yasuo Ohgaki
problem with include/require
43350 by: Erick Papadakis
43363 by: Yasuo Ohgaki
43379 by: Erick Papadakis
Re: a solution for getmxrr()
You have probably had this question a few times, but can anyone tell me how
to detect "new line's" or breaks in form fealds from both PC and Mac. And
then replacing the "new line" with a br so that I can use it for the web?
Thanks in advance
Jens
--
PHP General Mailing List
On Sunday 11 March 2001 14:37, Jens wrote:
You have probably had this question a few times, but can anyone tell me how
to detect "new line's" or breaks in form fealds from both PC and Mac. And
then replacing the "new line" with a br so that I can use it for the web?
$string = nl2br( $string
In .htaccess use SSLRequireSSL for AuthType Config and redirect to https
using ErrorDocument.
Example for www.foo.goo/sec
.htacess
AuthType Config
SSLRequireSSL
ErrorDocument 403 https://www.foo.goo/sec
Options -Indexes
Options directive is not neccessary but I assume that if
davidg Sun Mar 11 06:36:43 2001 EDT
Modified files:
/php4/ext/midgard sitegroup.c
Log:
Added missing parameter.
Index: php4/ext/midgard/sitegroup.c
diff -u php4/ext/midgard/sitegroup.c:1.7 php4/ext/midgard/sitegroup.c:1.8
---
My strings are getting cut off when I pass to destination web page
Example:
Assign variable from database
$subcategory = mysql_result($result,$i,"subcategory");
Variable $subcategory is assigned "Graphic Editors" from database
(notice two words)
Next I make a link and pass the variables to
From: "Jrg Vidar Bryne" [EMAIL PROTECTED]
Sent: Saturday, March 10, 2001 11:52 PM
What do you mean by it fails? Any particular error, or does it just time
out?
I've made a different recursive function to print a tree-menu, you can
have
a look at it if you want but it might not be what
on 11.03.2001 16:16 Uhr, Fates at [EMAIL PROTECTED] wrote:
My strings are getting cut off when I pass to destination web page
Example:
Assign variable from database
$subcategory = mysql_result($result,$i,"subcategory");
Variable $subcategory is assigned "Graphic Editors" from
davidg Sun Mar 11 07:40:03 2001 EDT
Modified files:
/php4/ext/midgard attachment.c
Log:
added missing conversion.
Index: php4/ext/midgard/attachment.c
diff -u php4/ext/midgard/attachment.c:1.8 php4/ext/midgard/attachment.c:1.9
---
From: "Ben Cheng" [EMAIL PROTECTED]
Sent: Sunday, March 11, 2001 3:27 PM
Yeah I saw this in the online manual but is there any other way of
doing this that doesn't require naming the select box in HTML with a
[] at the end? Cause I have another button that calls a JavaScript
to select
I'm trying to update an existing record based on a link that represents
the record to update.
I have a link and I am passing variables that were assigned from a SQL
database to another php form page which will be used to update the
record. I'm passing variable like so:a
Hello all,
Well, I'm having problems again. This time with string replacement. I'd
like people to be able to write notes on one of the site's I'm helping with,
and would like them to be able to use Bold, Italic, Underline and a href
tags. I tried using striptags(); but that would strip
--
Sites by friends of mine: http://www.myhiddentreasures.com/
WARNING personal propaganda signature
TAKE WHAT YOU LIKE AND LEAVE THE REST
SINCE OUR GOVERNMENT
At 07:49 AM 3/11/01 , Richard Scott Crawford wrote:
The first thing to do is to take two aspirin and lie down until the
temptation to do this passes. It may be cool, but those of us who use
Eudora or Pine for our e-mail don't read HTML-encoded mail, don't *want*
to read HTML-encoded mail, and
if I move everything to php and just use a different text file for each
page for the main body of text and load each text file depending on what
page the user wants, would the search engine search though those text
files and just link to those and not to the php file? Would it even be
spidered
Yes it would be a lot better to just passed the id in the url.
py
- Original Message -
From: Fates [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 11, 2001 5:12 PM
Subject: [PHP] Best way to pass SQL TEXT field via a link
I'm trying to update an existing record based on
Hello,
This works when you have a separator of some sort, a space would work too.
The tricky part is that mktime works with mm dd yy format.
$start = "2001-01-01";
$end = "2001-03-12";
$start = explode( "-", $start );
$start = mktime( 0, 0, 0, $start[1], $start[2], $start[0] );
$end =
Although I will probably getting tarred and feathered for this,
I send out at least a million (multiple emails for lists around the 200
thousand customer mark) emails a week, mostly html.
When I wrote the software interface (in PHP) to do so, I mentioned to my
bosses that many people would not
On 11 Mar 2001 10:25:25 -0800, FredrikAT [EMAIL PROTECTED] wrote:
I have 2 dates...
$start = "20010101";
$end = "20010312";
Use mktime() (http://www.php.net/manual/en/function.mktime.php) on those
strings to convert them into Unix timestamps:
$start_time = mktime(0,0,0,
substr($start,
Why this?
-Sterling
sniper Sat Mar 10 16:49:16 2001 EDT
Modified files:
/php4/ext/curl config.m4
Log:
If AC_CHECK_LIB fails, assume that --with-openssl is needed
Index: php4/ext/curl/config.m4
diff -u php4/ext/curl/config.m4:1.3 php4/ext/curl/config.m4:1.4
---
On 11 Mar 2001 10:57:32 -0800, Michael Geier [EMAIL PROTECTED] wrote:
So don't refrain from doing it because some people say it shouldn't be done
for one reason or another. Simply fix those reasons so they don't know any
different.
I'll second this - while I personally consider HTML email a
hello
if this is really a silly problem dont blame me, i'm a newbie in php (but i'm
experienced in c++ a bit :-)
well, imagine i want to write a content of some text file word by word. example will
be more understandable
than my english:
let file.txt consists:
lenin lives
forever
i want my
Hi!
I have 2 dates...
$start = "20010101";
$end = "20010312";
What is the easiest way of finding out how many days are between?
Thanx!
-
Fredrik A. Takle
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I receive 2 variables, $var and $num
I need to make a variable out of these two like this
$var2 where $num = 2 or
$var3 where $num = 3
How can I do that ?
__
Pierre-Yves Lemaire
514.729.8100
- Original Message -
From: "Erick Papadakis" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 11, 2001 9:05 PM
Subject: Re: [PHP] problem with include/require
Hi Yasuo,
Thanks for the reply, but yes I do know that the include_path in php.ini
should have the entries. But is
rasmus Sun Mar 11 13:24:35 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Add karma
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.113 CVSROOT/avail:1.114
--- CVSROOT/avail:1.113 Sun Mar 11 02:02:35 2001
+++ CVSROOT/avail Sun Mar 11
hholzgraSun Mar 11 13:25:26 2001 EDT
Modified files:
/functable dslgen
Log:
added some linebreaks
Index: functable/dslgen
diff -u functable/dslgen:1.3 functable/dslgen:1.4
--- functable/dslgen:1.3Wed Feb 14 03:32:30 2001
+++ functable/dslgen
hholzgraSun Mar 11 13:26:47 2001 EDT
Added files:
/functable xslgen
Modified files:
/functable update.all
Log:
XSL version info for the phpdoc manual
thanks to Jirka Kosek [EMAIL PROTECTED]
Index: functable/update.all
I`m trying to display the picture from the database, but I can`t get it to
work. That`s just a short version of your script.
I try to display the picture like that:
img src='showpic.php' width='150' height='80'
and showpic looks like this:
?php
$query = "select file_data,file_type, from
On Sunday 11 March 2001 16:58, you wrote:
I receive 2 variables, $var and $num
I need to make a variable out of these two like this
$var2 where $num = 2 or
$var3 where $num = 3
How can I do that ?
http://php.net/manual/en/language.variables.variable.php
--
Christian Reiniger
LGDC
On Sunday 11 March 2001 18:45, you wrote:
Well, I'm having problems again. This time with string replacement.
I'd like people to be able to write notes on one of the site's I'm
helping with, and would like them to be able to use Bold, Italic,
Underline and a href tags. I tried using
Well, I'm having problems again. This time with string replacement.
I'd like people to be able to write notes on one of the site's I'm
helping with, and would like them to be able to use Bold, Italic,
Underline and a href tags. I tried using striptags(); but that would
strip anything
zeevSun Mar 11 14:40:12 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
Add Steph Fox
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.114 CVSROOT/avail:1.115
---
Hi!
I have 2 dates...
$start = "20010101";
$end = "20010312";
What is the easiest way of finding out how many days are between?
I Would suggest you check put the followinf article from phpbuilder:
http://www.phpbuilder.com/columns/akent2610.php3
--
Henrik Hansen
--
PHP General
On Sunday 11 March 2001 14:37, Jens wrote:
You have probably had this question a few times, but can anyone tell me
how
to detect "new line's" or breaks in form fealds from both PC and Mac.
And
then replacing the "new line" with a br so that I can use it for the
web?
$string = nl2br(
Hello php people,
I have a page with 3 frames, each one start the php4 session handler.
When all page are loaded, all session variables are valid.
After I receive request from a flash movie that will update one of the frame, my
session does not exist anymore, all variables are empty.
Any idea
Hello php people,
I have a page with 3 frames, each one start the php4 session handler.
When all page are loaded, all session variables are valid.
After I receive request from a flash movie that will update one of the frame, my
session does not exist anymore, all variables are empty.
Any idea
jon Sun Mar 11 15:26:19 2001 EDT
Modified files:
/php4/pear DB.php
Log:
Revised version of the parseDSN function.
Submitted by: "Tomas V.V.Cox" [EMAIL PROTECTED]
Index: php4/pear/DB.php
diff -u php4/pear/DB.php:1.49 php4/pear/DB.php:1.50
---
davidg Sun Mar 11 15:30:36 2001 EDT
Modified files:
/php4/ext/midgard attachment.c config.m4 config.m4.session
Log:
added PHP_SUBST(MIDGARD_SHARED_LIB) to dynamically link against libmidgard in
config.m4
removed debug info in attachments
Index:
davidg Sun Mar 11 15:45:58 2001 EDT
Modified files:
/php4/ext/midgard config.m4 config.m4.session
Log:
fixed misplaced PHP_SUBST
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.12 php4/ext/midgard/config.m4:1.13
---
Question:
Can you by any other means except the IMAP functions get the mails from an mailbox?
Appreciate an answer.
--
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,
andrei Sun Mar 11 16:19:06 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
Put dnl in.
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.115 CVSROOT/avail:1.116
--- CVSROOT/avail:1.115 Sun Mar 11 14:40:11 2001
+++ CVSROOT/avail Sun Mar 11
andrei Sun Mar 11 16:30:22 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4
Log:
PHP GTK web karma for James.
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.116 CVSROOT/avail:1.117
--- CVSROOT/avail:1.116 Sun Mar 11 16:19:05 2001
+++ CVSROOT/avail
Yes - see the network functions in the Php manual.
If you don't already know the protocol commands for the mail retrieval
protocol you want to use, see the relevant rfc.
jason
- Original Message -
From: "Filip Olsson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 12, 2001
sniper Sun Mar 11 16:46:15 2001 EDT
Modified files:
/php4/ext/muscatconfig.m4
Log:
ws fix.
Index: php4/ext/muscat/config.m4
diff -u php4/ext/muscat/config.m4:1.1 php4/ext/muscat/config.m4:1.2
--- php4/ext/muscat/config.m4:1.1 Thu Jan 18 05:21:33
sniper Sun Mar 11 17:20:14 2001 EDT
Modified files:
/php4/ext/pdf config.m4
Log:
ws fixes. Plus removed unnecessary AC_MSG_ calls.
Index: php4/ext/pdf/config.m4
diff -u php4/ext/pdf/config.m4:1.14 php4/ext/pdf/config.m4:1.15
---
Ok, I've tried time and time again to unsubscribe from php.net's mailing
list unisubscribe instructions but it doesn't work. So how do I get off the
list?
__
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
--
PHP
On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote:
Ok, I've tried time and time again to unsubscribe from php.net's
mailing list unisubscribe instructions but it doesn't work. So how do I
get off the list?
The following is at the bottom of each message from the list:
To contact the list
php-general Digest 12 Mar 2001 01:25:40 - Issue 561
Topics (messages 43385 through 43422):
new line in forms?
43385 by: Jens
43386 by: Bård Farstad
43416 by: Henrik Hansen
Re: DB Abstraction
43387 by: Pierre-Yves Lemaire
Re: Retrieving data from multiple
sniper Sun Mar 11 18:06:07 2001 EDT
Modified files:
/php4/ext/ldap config.m4
Log:
Cleaning this a little bit.
Index: php4/ext/ldap/config.m4
diff -u php4/ext/ldap/config.m4:1.13 php4/ext/ldap/config.m4:1.14
--- php4/ext/ldap/config.m4:1.13Sun Oct
andrei Sun Mar 11 19:05:04 2001 EDT
Modified files:
/php4/pear/Console Getopt.php
Log:
Use proper class name.
Index: php4/pear/Console/Getopt.php
diff -u php4/pear/Console/Getopt.php:1.1 php4/pear/Console/Getopt.php:1.2
---
The site is very cool, narsu!!!
Congratulations, and keep the good work!
Valter Santos
WEB/WAP Consultant
Email : [EMAIL PROTECTED]
Mobile: +351 93 9650075
WeDo Consulting - http://www.wedo.pt
andrei Sun Mar 11 19:06:59 2001 EDT
Modified files:
/php4/ext/pcre php_pcre.c
/php4/ext/standard array.c basic_functions.c php_array.h
Log:
@- Added array_reduce(), which allows iterative reduction of an array
@ to a single value via a callback
andrei Sun Mar 11 19:10:15 2001 EDT
Modified files:
/php4/ext/standard array.c
Log:
This will have to do until the docs come along.
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.98 php4/ext/standard/array.c:1.99
---
You're comparing a framework to a language.
ASP is a technology which allows code for different languages to be embedded in a file
parsed by a webserver (IIS). To accomplish this, different languages need to be
written
as modules for that webserver. MS has VBScript (default language), JScript
Does anyone know of a good PHP enabled editor that fits the following
criteria:?
(in order of importance)
- Is free
- Runs under Windows
- Has colors (syntax highlighting)
- Can edit multiple files (ie multi threaded)
- Reports line numbers
- Has good search replace functionality
???
Ive been
On Mon, 12 Mar 2001 17:34, Andrew Halliday wrote:
Does anyone know of a good PHP enabled editor that fits the following
criteria:?
(in order of importance)
- Is free
- Runs under Windows
- Has colors (syntax highlighting)
- Can edit multiple files (ie multi threaded)
- Reports line
http://www.ultraedit.com
not free.. but worth the nominal fee
Andrew Halliday wrote:
Does anyone know of a good PHP enabled editor that fits the following
criteria:?
(in order of importance)
- Is free
- Runs under Windows
- Has colors (syntax highlighting)
- Can edit multiple files
Actually the best would be if you would remain in the page so you dont have
to pass any variables along the url but just in a submit form to the current
page. There you could include your addupdate.php with a trigger like
input type=hidden name=action value=save and just ask that value of that
Hello!
Why header under Windows do not work?
Nick
--
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]
At 11:48 PM -0500 3/11/01, Rick St Jean wrote:
I was told by someone that it is possible with apache. You can have
something parse
the page once then be parsed by something else. I don't know how
and I have never seen
it but I have been told that it is possible.
Rick
That would be 'stacked
stasMon Mar 12 00:07:00 2001 EDT
Modified files:
/php4/ext/standard array.c
Log:
Use hash position with array_flip
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.99 php4/ext/standard/array.c:1.100
---
71 matches
Mail list logo