RE: [PHP] upgrade problems

2001-01-18 Thread Bart A. Verbeek
Heb ik ook CGI nodig om php4 te draaien?? -Oorspronkelijk bericht- Van: Chris Hayes [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 18 januari 2001 13:18 Aan: Bart A. Verbeek Onderwerp: Re: [PHP] upgrade problems PHP: Unable to parse configuration file. Does anyone know what this

RE: [PHP] help me!! Cookie

2001-01-18 Thread Diego Fulgueira
When not explicitly set, a cookie works only for the domain where it was originally set. That means that if the user visits your website using the server IP address, he will receive a cookie that will not work when he uses the domain name instead of the IP address. Therefore, I recomend you set

Re: [PHP] Variable Scope

2001-01-18 Thread Michael Kimsal
I find the VB way (or VBScript anyway) of doing functions backwards. My recollection is that if I call a function blah... x = blahfunction('cow') 'blahfunction' itself has to be defined *in* the function to get the value back. I can't even think of a good example, it's so foreign to me and I

[PHP] Re: PHP connecting to FIlemaker Database

2001-01-18 Thread Andy Clarke
Has anyone used PHP to connect to a FileMaker database? This may not be appropriate to your circumstances, but I would seriously consider exporting the information from the FMP database and importing it into mySQL. This may take a little more time initially (defining the tables, recreating the

Re: [PHP] Running java under php4 (PHP4 ext/java)

2001-01-18 Thread Alex Akilov
Eduard and Fraser, I can try and help you if you list the java section of your php.ini and indicate what platform you're trying to run on. Additional information such as PATH, CLASSPATH and so on would also help. Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] LDAP problems

2001-01-18 Thread Bill . Hoffman
Here is my environment again: System Linux [EMAIL PROTECTED] 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown Build Date Sep 7 2000 Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' ' --with-config-file-path=/usr/local/apache/conf' '--enable-versioning' '

Re: [PHP] Forms!

2001-01-18 Thread Alex Black
you'd need a java applet to do that... I actually had one made, but you can't get text in on the clipboard because java can't get access to system resources, which of course makes it useless. :) -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com

Re: [PHP] ext/java causes segfault in Apache

2001-01-18 Thread Alex Akilov
Brice, I just checked in some fixes to the ext/java/config.m4. Are your changes similar or would you like to share if they're not? As far as not being able to start JVMs, I suppose it could be a memory management issue (each JVM is somewhat resource intensive) so it's rather inefficient to do

[PHP] disable_functions and httpd.conf

2001-01-18 Thread Maciek Uhlig
Is disable_functions supposed to work from httpd.conf? I tried the following: php_value disable_functions "phpinfo" php_value max_execution_time 300 The time is changed from 30 to 300 as expected, however phpinfo is _not_ disabled. I tried also php_value

Re: [PHP] Levels of Access

2001-01-18 Thread Alex Black
it's the difference between group/category or "object level" access: i.e. "this function is level 1, and all level 1 users can execute it) or this function may be executed by level 1, level 2 users, but that function may only be executed by level 3" or user x can access: -function 1

Re: [PHP] How to avoid submitting twice?

2001-01-18 Thread Alex Black
1: register a ver in the session or 2: register the event in the DB -a -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 From: [EMAIL

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread Alex Black
xml problems? _what_ xml problems? _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 From: [EMAIL PROTECTED] (Teodor Cimpoesu)

Re: [PHP] Problem with PHP using Java Classes

2001-01-18 Thread Alex Akilov
Fraser, extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20001214:/home/local/java/jdk1.2.2/jre/lib/i386 Change the above to only list the directory that contains the libphp_java.so. The jdk directories should go to java.library.path (or LD_LIBRARY_PATH or ld.so.conf). Note that

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread Alexander Wagner
Alex Black wrote: xml problems? _what_ xml problems? ?xml is considered a short-tag or something like that. Wagner -- One maniac alone can do what 20 together cannot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: [PHP] Forms!

2001-01-18 Thread Clive Cartlidge
Alex, True ... to a point. A signed applet has access to read/write to the client's clipboard. Cheers. -- http://www.datamirror.com Clive Cartlidge mailto:[EMAIL PROTECTED] Senior Web Developer phone: 905-415-0310 x160 DataMirror Corporation fax:

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread eschmid+sic
On Thu, Jan 18, 2001 at 09:37:55PM +0100, Alexander Wagner wrote: Alex Black wrote: xml problems? _what_ xml problems? ?xml is considered a short-tag or something like that. No, ? is the short opening tag and is only valid for PHP with the short open tag enabled in php.ini. -Egon --

RE: [PHP] disable_functions and httpd.conf

2001-01-18 Thread Maciek Uhlig
Sorry to answer myself, but here goes another question: php_admin_value disable_functions phpinfo() or php_admin_value disable_functions phpinfo change the value displayed by phpinfo() but... if I can see the result of phpinfo() it means it's not disabled... What goes on here?

Re: [PHP] PHP ext/java and sapi/servlet reliability

2001-01-18 Thread Alex Akilov
Juan, I'm currently looking at the Java/Servlet code and trying to get it to be a little more stable (Sam appointed me to this task a few months ago and I've been slowly coming up to speed). I apologize on Sam's behalf for not responding to you but he's moved on to other responsibilities which

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: xml problems? _what_ xml problems? ?xml is considered a short-tag or something like that. No, ? is the short opening tag and is only valid for PHP with the short open tag enabled in php.ini. I meant that with short-tags on, ?xml will be considered a

Re: [PHP] Forms!

2001-01-18 Thread Alex Black
Unfortunately, that makes it a little weird to distribute as a free product, and has all sorts of yucky legal implications (or inconvenience) :) _alex -- Alex Black, Head Monkey [EMAIL PROTECTED] The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread eschmid+sic
On Thu, Jan 18, 2001 at 09:51:52PM +0100, Alexander Wagner wrote: [EMAIL PROTECTED] wrote: xml problems? _what_ xml problems? ?xml is considered a short-tag or something like that. No, ? is the short opening tag and is only valid for PHP with the short open tag enabled in

RE: [PHP] decimal point movement...

2001-01-18 Thread Robert Collins
Christopher, try a regular expression somthing like this ? $temp = "007170"; ereg ("([0-9]{2})([0-9]*)", $temp, $test); $changed_to_deicmal_form = $test[1].".".$test[2]; echo "$changed_to_deicmal_form"; ? Robert -Original Message- From: Christopher Allen [mailto:[EMAIL PROTECTED]]

RE: [PHP] Forms!

2001-01-18 Thread Clive Cartlidge
Agreed. Just thought I'd throw it out there for discussion. "Now talk amongst yourselves." Cheers. Clive -Original Message- From: Alex Black [mailto:[EMAIL PROTECTED]] Sent: January 18, 2001 3:59 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Forms! Unfortunately, that makes

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread Alexander Wagner
[EMAIL PROTECTED] wrote: ? short open tag for PHP ?php open tag for PHP ?xml open tag for XML And for all three cases the closing tag is ?. Wasn't there a thread on PHP-DEV about the PHP-parser mistaking ?xml for a short-Tag (for ?xml would be valid PHP like ?echo $var?). Got my

Re: [PHP] Sendmail User ID

2001-01-18 Thread Yurais Fernández Leal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 it seems you didn't understand I tried this option, as I cited in my email I play with the options in the mail() function. The problem is, yes, I know that in the remote mail client the mail appears as if sent from [EMAIL PROTECTED], but in the

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread eschmid+sic
On Thu, Jan 18, 2001 at 10:02:42PM +0100, Alexander Wagner wrote: [EMAIL PROTECTED] wrote: ? short open tag for PHP ?php open tag for PHP ?xml open tag for XML And for all three cases the closing tag is ?. Wasn't there a thread on PHP-DEV about the PHP-parser mistaking ?xml

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

2001-01-18 Thread Sascha Schumann
sas Thu Jan 18 12:40:32 2001 EDT Modified files: /CVSROOTgen_acl_file.m4 avail Log: PEAR Karma for Ulf Wendel Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.47 CVSROOT/gen_acl_file.m4:1.48 --- CVSROOT/gen_acl_file.m4:1.47

[PHP] question (as if anything else would be in an email to the list...)

2001-01-18 Thread Jason Jacobs
Hi again. I have a new problem. I have a form with a drop down list. When the user chooses something from the list, I need a variable to change values so it can be used upon submission of the form. I thought maybe I could throw a little line of code into an onChange() function in the select

Re: [PHP] Array help needed

2001-01-18 Thread CDitty
Thanks. Didn't see that myself. Thanks for the help Chris At 10:28 AM 1/18/01, [EMAIL PROTECTED] wrote: Addressed to: CDitty [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from CDitty [EMAIL PROTECTED] Thu, 18 Jan 2001 06:58:22 -0600 I see someone else has another

Re: [PHP] Clear an array

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Brandon Orther wrote: How can I clear an array of all it's values. Thank you, Brandon Orther $array=Array(); -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] question (as if anything else would be in an email tothe list...)

2001-01-18 Thread Alex Black
that's the MS debugger being bitchy. as far as I know that's a) legal and b)useful. then again, in the context of what you're doing, why not just build in a little php logic that knows if your select is a certain value, something else should happen? note that onChange may only be associated

RE: [PHP] question (as if anything else would be in an email to the list...)

2001-01-18 Thread DanO
just write a js function like: --cut here-- script !-- function changeValue(newValue) { document.formname.inputNameToChange.value = newValue; //here is alert to show you the thingy alert(document.formname.inputNameToChange.value); } //-- /script form name=formname input type=hidden

RE: [PHP] decimal point movement...

2001-01-18 Thread DanO
why go thru the costly overhead of a regex when you can use math? ex: ? $number = '600'; $new= $number/100; $rem= $new-$new%100; if ($rem == 0) { $new .= ".00"; } print $number; print "\n"; print $new; ? you divide the number by 100 to push the decimal back, and, if there is

Re: [PHP] question (as if anything else would be in an email to the list...)

2001-01-18 Thread Jason Jacobs
then again, in the context of what you're doing, why not just build in a little php logic that knows if your select is a certain value, something else should happen? Well, the select can't be a value until the user choses something (the option stuff). Based on the option the choose, a value

RE: [PHP] decimal point movement...

2001-01-18 Thread jeremy brand
If you want to use the modulus, why not just use modulus (%) ? But, instead of doing all that math, why not just use the number_format() function? Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for

Re: [PHP] Can a PHP program recieve an e-mail and write it to a file???

2001-01-18 Thread Chris Hayes
Hi Jeremy, Yes that is possible. But i'm afraid it needs some work. There are several classes on the several dowmload sites. Look for POP3 or IMAP classes. Some recent links at the end of this mail. With them it is possible to get the headers and the body either line by line or in total. It

RE: [PHP] decimal point movement...

2001-01-18 Thread jeremy brand
my point is that math should be used instead of a regex as it is more efficient. I totally agree. :) Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - -

[PHP] XML Parser is a bit strict

2001-01-18 Thread Butler, Shaun
I am using php 4.02 and Apache 1.3.12 and am trying to do some XML parsing. HTML is also in the text I'm parsing and the xml parsing dies if it sees an html tag that does not have a matching closing tag. Is there any work around to this and if so is there a way to make it so XML tags don't

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

2001-01-18 Thread Sterling Hughes
sterlingThu Jan 18 12:49:13 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix the proto Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.28 php4/ext/sockets/sockets.c:1.29 --- php4/ext/sockets/sockets.c:1.28

[PHP-CVS] cvs: php4 /pear/HTML ITX.php

2001-01-18 Thread Ulf Wendel
uw Thu Jan 18 12:52:33 2001 EDT Modified files: /php4/pear/HTML ITX.php Log: Current version from the PHPLib CVS. Converted Tabs to spaces. Error handling must be pearified. Index: php4/pear/HTML/ITX.php diff -u php4/pear/HTML/ITX.php:1.1

[PHP] srtoring user selection on the database...

2001-01-18 Thread Romulo Roberto Pereira
hello! I have a form and in this form I have 48 checkboxes. is there a way that my program could remember which ones were selected? looks like this:: form input type=checkbox name=cb[0] value=1 input type=checkbox name=cb[1] value=1 input type=checkbox name=cb[2] value=1 input type=checkbox

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

2001-01-18 Thread Derick Rethans
derick Thu Jan 18 13:46:24 2001 EDT Modified files: /php4/ext/standard string.c Log: - Fix for bug #8367 (wordwrap not cutting correctly) Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.184 php4/ext/standard/string.c:1.185 ---

[PHP] why does pdfclock and example 1 doesn't

2001-01-18 Thread Tom Harris
On http://www.php.net/manual/en/ref.cpdf.php the clock example works fine for IE. But the Example 1(even the modified one in the comments) falls victim to the IE wants Content-length set, problem. Can some explain this to me? Thanks -- PHP General Mailing List (http://www.php.net/) To

[PHP] How to participate from the digest?

2001-01-18 Thread dphillips
Because of the high level of activity of this list, I receive the digest. When I see items of interest I note their subject, and then look them up from the archive at http://www.phpbuilder.com/mail/php-general/2001012/ (for today's, for example). Sometimes I see an item I'd like to respond to

Re: [PHP] How to participate from the digest?

2001-01-18 Thread jeremy brand
You can add a Re: to the "Subject:" header, then make sure that your "In-Reply-To:" header is in reply to the "Message-ID:" header of the message you are replying to. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]

RE: [PHP] XML Parser is a bit strict

2001-01-18 Thread Mike Heath
Really the only way around it is to not use XML since your HTML has to have closing tags to make the XML document valid. As far as any XML parser is concerned your HTML is not HTML anymore but is more XML. -Mike -Original Message- From: Butler, Shaun [mailto:[EMAIL PROTECTED]]

Re: [PHP] How to participate from the digest?

2001-01-18 Thread Chris Lee
There is nothing easier then by going to news://news.php.net I never until php had any use for news groups, they were for perverts with to much bandwidth, haha. now I use my news reader all the time :) Chris Lee Mediawaveonline.com [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] How to participate from the digest?

2001-01-18 Thread Philip Olson
Just send an email with with the subject in it, from anywhere. If replying, put the Re: in it. Anybody can write to the list. Philip On Thu, 18 Jan 2001 [EMAIL PROTECTED] wrote: Because of the high level of activity of this list, I receive the digest. When I see items of interest I note

[PHP] Quotes and Values

2001-01-18 Thread Karl J. Stubsjoen
Hello, I am trying to do this: $myVal = "form name="$name"" action="$action" method="$method"" *trying to accomplish putting " qotes around my string values* Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Clearing a variable

2001-01-18 Thread Brandon Orther
Hello, How can I clear a variable? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com -- PHP General Mailing List

Re: [PHP] Clearing a variable

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Brandon Orther wrote: Hello, How can I clear a variable? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

Re: [PHP] Quotes and Values

2001-01-18 Thread Darryl Friesen
$myVal = "form name="$name"" action="$action" method="$method"" *trying to accomplish putting " qotes around my string values* Try $myVal = "form name=\"$name\" action=\"$action\" method=\"$method\""; or $myVal = 'form name="' . $name . 'action="' . $action . '" method="' . $method . '"';

Re: [PHP] Clearing a variable

2001-01-18 Thread Matthew Mundy
unset($var) On Thu, 18 Jan 2001, Brandon Orther wrote: Hello, How can I clear a variable? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

Re: [PHP] Quotes and Values

2001-01-18 Thread jeremy brand
Then you need to escape your double quotes: $myVal = "form name=\"$name\" action=\"$action\" method=\"$method\""; or use the single quote equivilant: $myVal = 'form name="'.$name.'" action="'.$action.'" method="'.$method.'"'; or (PHP4 only) $myVal = EOT form name="$name" action="$action"

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Romulo Roberto Pereira
Hey!!! thank you for your answer... what you think about this solution: while(list($key, $val) = each($cb)) { if ($val == 1 $key != 0) { $acc = $key; } else { $acc = $acc.",".$key; } } // by the way this: $acc=.$key would be a valid command? like the c++ $a =+ $b in this solution I store

Re: [PHP] Clearing a variable

2001-01-18 Thread Sterling Hughes
On Thu, 18 Jan 2001, Brandon Orther wrote: Hello, How can I clear a variable? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

Re: [PHP] Clearing a variable

2001-01-18 Thread jeremy brand
you can clear a string by doing this: $string = ''; you can clear an array by doing this: $array = array(); you can clear (or zero out rather) an integer or float by doing: $int_or_float = 0; or you can simply unset() the variable: unset($any_of_the_above); Jeremy Jeremy Brand :: Sr.

Re: [PHP] Quotes and Values

2001-01-18 Thread Philip Olson
Hello Karl, This tutorial will be of use : Using Strings: -- http://www.zend.com/zend/tut/using-strings.php In short, three ways come to mind : $a = "form name=\"$name\"

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread jeremy brand
while(list($key, $val) = each($cb)) { if ($val == 1 $key != 0) { $acc = $key; } else { $acc = $acc.",".$key; } This looks syntactically correct. } // by the way this: $acc=.$key would be a valid command? like the c++ $a =+ $b I usually use (for a string): .= that would be:

Re: [PHP] Quotes and Values

2001-01-18 Thread Chris Lee
alot of people inside on escaping your double quotes, I dont, I use single quotes, its nicer to read. echo "form method='post' name='form_1' action='somepage.php'\n"; echo "form method=\"post\" name=\"form_1\" action=\"somepage.php\"\n"; I find the prior easier to read. they both work 100% no

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Romulo Roberto Pereira wrote: Hey!!! thank you for your answer... what you think about this solution: while(list($key, $val) = each($cb)) { if ($val == 1 $key != 0) { $acc = $key; } else { $acc = $acc.",".$key; } } Even shorter: $acc=implode(",",

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote: Even shorter: $acc=implode(",", array_flip($cb)); Assuming, of course, that the original values are unique (oops!). -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote: On Thu, 18 Jan 2001, Ignacio Vazquez-Abrams wrote: Even shorter: $acc=implode(",", array_flip($cb)); Assuming, of course, that the original values are unique (oops!). Oh wait: $acc=implode(",", array_keys($cb)); THAT will

Re: [PHP] Quotes and Values

2001-01-18 Thread Josh G
True, but iirc it's not xml compliant, and might not be a good habit, and it then leaves you without the option to use it in JS calls, like: echo "a href=\"#\" onclick=\"do_something('withthis')\"" Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to

[PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread Shawn Blaylock
I'm having a problem with $PHP_SELF being cut down to 17 characters, for instance /Scripts/php/phpscript.php?value=123 would be cut down to /Scripts/php/phps There was a bug opened up on bugs.php.net, id number 5380, but I can't find a solution in the comments listed there. I was wondering if

[PHP] Where is information about Forms?

2001-01-18 Thread Karl J. Stubsjoen
Hello, Looking through the PHP Site (someone needs to improve the search features), and can't find information about querying form field values etc... Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP-CVS] cvs: php4 /ext/pgsql pgsql.c php_pgsql.h

2001-01-18 Thread Derick Rethans
derick Thu Jan 18 14:17:05 2001 EDT Modified files: /php4/ext/pgsql pgsql.c php_pgsql.h Log: - Added the pg_lolseek function, which allows for arbitrary seeking within a large object, and the pg_lotell call, which can be used to find the current file

Re: [PHP] Where is information about Forms?

2001-01-18 Thread Josh G
they're automagically converted to global variables. input type="text" name="foo" becomes $foo on the page you're submitting to. Nice, wot? Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to...

[PHP] Announcement: Smarty - the PHP compiling template engine

2001-01-18 Thread Monte Ohrt
Release 1.0. Please welcome Smarty to the PHP template engine arena :-) Inventors: Monte Ohrt Andrei Zmievski http://www.phpinsider.com/php/code/Smarty/ DESCRIPTION: What is Smarty? Smarty is a template engine for PHP. One of the unique aspects about Smarty that sets it apart

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread Shawn Blaylock
It's my understanding that whitespace is ignored. I could be wrong here, though. --Shawn Toby Butzon wrote: Has using ?[space] instead of just ? as the short tag been discussed? --Toby - Original Message - From: [EMAIL PROTECTED] To: "Alexander Wagner" [EMAIL PROTECTED];

[PHP] How to get userID/password from the browser session

2001-01-18 Thread david klein
In Apache authentication, userID/password are stored in browser session, and every time, these information will be sent back to the Apache server and do the authentication. My question is: can we get the userID/password from the browser session, especially in PHP? Thank you very much in

Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread jeremy brand
I'm not aware of this bug, but temporarily you might consider using the $SCRIPT_NAME variable. The same values is stored in it AFAIK. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - -

Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread Shawn Blaylock
Unfortunately, it's hacking off the last few characters in SCRIPT_NAME, too. --Shawn jeremy brand wrote: I'm not aware of this bug, but temporarily you might consider using the $SCRIPT_NAME variable. The same values is stored in it AFAIK. Jeremy Jeremy Brand :: Sr. Software Engineer

Re: [PHP] How to get userID/password from the browser session

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, david klein wrote: In Apache authentication, userID/password are stored in browser session, and every time, these information will be sent back to the Apache server and do the authentication. My question is: can we get the userID/password from the browser session,

Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread jeremy brand
Then it is something else, not those variables themselves. Do you have a configuration issue? Are you running on Windows; do you need to reboot? check phpinfo(); and see if all your variables are truncated. Just a few thought. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::

Re: [PHP] ? PHP vs. ?

2001-01-18 Thread eschmid+sic
On Thu, Jan 18, 2001 at 03:14:44PM -0800, Shawn Blaylock wrote: It's my understanding that whitespace is ignored. I could be wrong here, though. Whitespace plays a very importend role. Between the opening tag and after a whitespace should follow valid PHP or XML code. There is one exception:

Re: [PHP] Can a PHP program recieve an e-mail and write it to afile???

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Chris Hayes wrote: Date sent:Thu, 18 Jan 2001 15:20:24 -0500 (EST) From: Ignacio Vazquez-Abrams [EMAIL PROTECTED] To: Jeremy Bowen [EMAIL PROTECTED] Copies to:[EMAIL PROTECTED] Subject: Re: [PHP]

Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread Shawn Blaylock
I've checked phpinfo(); and none of the other vars are truncated. I think I just solved the problem! It's a crude hack though =( I set $PHP_SELF = $HTTP_SERVER_VARS['PATH_INFO'] at the beginning of the script, and that seems to have solved it. In the bug info they said it might be related to the

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Chris Adams
On 18 Jan 2001 14:28:16 -0800, Chris Lee [EMAIL PROTECTED] wrote: I dont know if you can use XHTML syntax in XML, I dont think it works like this, I think XML is more strict. XHTML *is* XML - it's just HTML reformulated so that a valid XHTML document can be parsed by a normal XML parser without

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Murph wrote: I'd like to take a look at EditPlus2. Got a link? http://www.editplus.com/ What I'd like an editor to do for me is help out with how the page looks. One I set up a page that looks half-way decent - even if I use stock templates or style sheets - I can

[PHP] date problem: some months have 5 weeks... how I discover which ones?

2001-01-18 Thread Romulo Roberto Pereira
Hey! A little bit of definition: - a week start on sunday and ends on saturday; - a year has 365/7 ~= 52 weeks; How do I discover what months have 5 weeks and what have 4? Rom

[PHP] (PHP+Linux+Apache+MySQL)+(Windows+Explorer)

2001-01-18 Thread Andrés de la Varga
Can I have (PHP+Linux+Apache+MySQL)+(Windows+Explorer) in the same machine to develope stand alone? Andrés de la Varga -- 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

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-18 Thread Toby Butzon
Plus if you're just looking for soemthing to get your layout started, you can start in FrontPage and just never open PHP files in it once you start adding PHP ;) --Toby - Original Message - From: "Ignacio Vazquez-Abrams" [EMAIL PROTECTED] To: "Murph" [EMAIL PROTECTED] Cc: [EMAIL

Re: [PHP] (PHP+Linux+Apache+MySQL)+(Windows+Explorer)

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Andrs de la Varga wrote: Can I have (PHP+Linux+Apache+MySQL)+(Windows+Explorer) in the same machine to develope stand alone? Andrs de la Varga http://www.vmware.com/ -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] date problem: some months have 5 weeks... how I discover which ones?

2001-01-18 Thread Josh G
can't think of exactly the math, but get the weekdayday of the 1st, divide how many days in the month/7, and it should be easy enuff. use a combination of date() and mktime() to get the first day of the month methinks. Gfunk - http://www.gfunk007.com/ I sense much beer in you.

Re: [PHP] date problem: some months have 5 weeks... how I discoverwhich ones?

2001-01-18 Thread jeremy brand
All months have more than 4 weeks except February (but only when it is not a leap year). I'm probably not understanding what exactly you are trying to do. By your definition then, wouldn't this month only have 3 weeks? January 2001 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11

[PHP] R: [PHP] Can a PHP program recieve an e-mail and write it to a file???

2001-01-18 Thread Delbono
It depends on your MAIL SERVER (and on your OS.) For Linux I think SendMail can forward mails to an external program For WinNT I know POSTOFFICE allows this. But PostOffice is commercially released not for free. In this case the mails are redirected to the program via STDIN Bye N.

Re: [PHP] Sendmail User ID

2001-01-18 Thread Yurais Fernández Leal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well man I'd consider the choice of invoking sendmail -f, it's right what I need to do, but how can I do so in the mail function ? Is there something I have to alter in the php.ini file ? - - Original Message - From: "Robert Hough"

[PHP] problems creating a png image from an array{HELP}

2001-01-18 Thread Nikos Tahos
I have a txt file as input.This file has the coordinates for a gas network.With php I am creating an array with the above coordinates and then I create from the array the image from the network.When the txt file is 21Kb there is no image, else all works perfect{with a smaller txt file).I am using

Re: [PHP] Announcement: Smarty - the PHP compiling template engine

2001-01-18 Thread Josh G
Nice... has a lot of cool ideas in it, a few of which I'm also working on for the templating part of a content management system I'm working on in my spare time (like compilation, except i'm going to do it at save-time, not 1st run-time, since i control the publishing functions). Gfunk

Re: [PHP] Sendmail User ID

2001-01-18 Thread Yurais Fernández Leal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok I solved the problem I put a user on the trusted class of the sendmail and added -f otheruser in the php.ini file... thanks everyone -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com

Re: [PHP] date problem: some months have 5 weeks... how I discoverwhichones?

2001-01-18 Thread jeremy brand
For a newspaper, a week start on sunday and ends in a saturday. Media planners divide ads in newspapers by monhs and than by weeks, respectively. Well, this _seems_ contradictory to your original "definition", but I got it. so let's say: january 2001 started in a monday Su Mo Tu We

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Brian White
( I am still not used to this mailing list - I keep hiting "Reply" and only sending it to the poster. ) Part of the XML standard is that every element will have start and end tags. HTML actually uses the syntax of SGML, which allows some tags to have their end tags omitted - therefore, on

Re: [PHP] Ultimate Editor

2001-01-18 Thread Michael A. Peters
look into nedit. It does very well on linux, and I hear there's a Windows port. I have a screenshot of nedit at http://24.5.29.77/nedit.jpeg nedit website is http://www.nedit.org/ It doesn't have a publish directly to the web function, nor does it have a built in server- but I just use thttpd

[PHP] Re: (PHP+Linux+Apache+MySQL)+(Windows+Explorer)

2001-01-18 Thread Kevin Leavell
I use PHP, Apache, MySQL, Explorer on my Win98 machine. I set up my client's sites as virtual hosts under Apache which is running in Windows. It works great for me aside from the normal Windows abnormalities. Someday I may grow up and get a Linux box going but this works well for now. Kevin

RE: [PHP] Web hosting for PHP/MySQl development

2001-01-18 Thread Tyler Longren
I suggest www.csoft.net They've got great servers. They provide inexpensive PHP/MySQL web hosting. I think you get as many databases as you desire. They also have telnet, ssh, and probably emacs. They probably have everything else you listed too. You have the option of having an OpenBSD

RE: [PHP] Ultimate Editor

2001-01-18 Thread Michael A. Peters
On Thursday, January 18, 2001, at 05:18 PM, Scott Gerhardt wrote: The latest version of Bluefish really has a lot of tools and features for PHP4. Agreed. I still like nedit better, though :D note: nedit does NOT have the php features bluefish has as far as button clicking stuff or syntax

Re: [PHP] Ultimate Editor

2001-01-18 Thread James Mclean
yes, but i preferr vim myself. bluefish has an excellent range of php functions available though, it is fast as well and crashes not often Has anyone tried Bluefish for Linux? -Original Message- From: Michael A. Peters [mailto:[EMAIL PROTECTED]] Sent: January 18, 2001 7:02 PM

Re: [PHP] Ethics question...

2001-01-18 Thread John Hinsley
Frank Joerdens [EMAIL PROTECTED] wrote: (the context is Microsoft using other OSs) Do you know for a fact that they do? If so, how? That'd be a very cool tidbit of information to share . . . See also: http://www.unix-vs-nt.org/kirch/ A good document to hit clients/funders/bosses over the

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Francois Beauregard
At 11:52 01-01-19 +1100, Brian White wrote: As far as I understand XHMTL, it simply HTML made XML compliant, which basically means you always have to put in an end tag. True enough... There is a tool though on the w3c call HTMLTidy that you can pass your HTML code through and will give you back

<    1   2   3   >