Hey,
I'm looking for little information from those who have coded their own shopping cart
apps. what would you say the best way to setup a cart would be? more specificly, the
method for adding items to the cart.
say the user is broswing around. when they entered the website a new session was
ok, im working on a simple and fast templating system for the website im
recreating at the moment. im trying to make it so as the template file
can be opened into a variable before it is passed to the parsing section
so as i dont have to open the file 100 times etc. im not using
fasttemplates beca
>Is there a way with PHP to use the Windows NT or Windows 2000
authentication
>information. So it can compare the username and password entered with
>either the cached information or the user information from the NT server...
>This is for an intranet setup... Has anyone tried this kind of thing?
Dear list,
I have this proposal: I work in ISP where we have a web site. On our web site, we
would like to ping, say 3 other distant web sites at every interval of 10 minutes. We
would like to have the result like say " The internet is down" message displayed on
our homepage if the PING doesn't
Code to show ping results on a webpage included in the 2 -files ping.php
and output.php
Greets,
DaViper
Maybe this can help you
At 15:03 10/01/2001 +0600, you wrote:
>Dear list,
>I have this proposal: I work in ISP where we have a web site. On our web
>site, we would like to ping, say 3 oth
Hello!
I have some problems with my PHP script that utilizes the BCDIV function,
and I was hoping some of you could be so kind as to help me solve it.
To the problem: I use BCDIV to divide a string to a integer constant and it
works great, unless the string is no more than 14 digits...
I have tr
Hello sam1600,
Wednesday, January 10, 2001, 6:42:58 AM, you wrote:
sic> What in the world is reason for declaring the following in the class?:
sic> var $somevar;
sic> I see no reason, and no differences if I don't declare: var $somevar;
Classes are intended to be structured data storage. You sh
Hello DaViper,
Where do I get those 2 files from? The PHP I am running is 4.0.0
- Original Message -
From: DaViper <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 3:07 PM
Subject: Re: [PHP] Ping
>
> Code to show ping results on a webpage included in the 2
Two of the greatest benefits of OO design is polymorphism.
Polymorphism allows you to build complex systems in a simple manner. A
simple example that is easy to visualise would be considering a system that
draws different objects to a screen. Each object could be a vector image
(i.e. a list of po
I'm trying to build php-3.0.18 as a shared module of Apache
with support for openldap-2.0.7. It compiles, makes and
installs without problems, but once I try to start apache
it gives the following error:
Cannot load /usr/local/apache/libexec/libphp3.so into server:
/usr/local/apache/libexec/libp
I have just been playing around with include and include_once with one of
my classes, basicly there are a lot of functions inside this class so we
have put the contance of the function into its own file (so that different
people can work on it) and are useing the include function to call it.
exa
I am working on an aplication which uses sessions, and I would like to
set the expiration time of the cookie , which is sent by session.
Can someone help me with this small problem?
Thank you in advance
Mike
--
Those 2 files are programs I made myself using some tips from the
mailinglist. My Idea was to create webtools with PHP. A port of some kind
from the Perl webtools.
At 15:25 10/01/2001 +0600, you wrote:
>Hello DaViper,
>Where do I get those 2 files from? The PHP I am running is 4.0.0
>
>
>
> $template_file = "".$template_root."".$template_file."";
What are those empty strings supposed to do? This is the same thing:
$template_file = $template_root.$template_file;
> return implode("",(@file($template_file)));
Ack! That's horrible. Do this instead:
Monsieur,
Premièrement et avant tout je vous souhaite une bonne année.
Je suis un débutant en PHP, et je veux l'installer comme un
module dans le serveur web Apache mais j'ai rencontré des
problèmes. Je tiens à vous signaler que je travaille sur la
plate forme WINDOWS NT 4.0 SERVER.
Pouvez vous s'
Peut être essaye de écrir la message en anglais, ça va mieux.
D.
-Original Message-
From: Abdelghani Mekhoukh [mailto:[EMAIL PROTECTED]]
Sent: woensdag 10 januari 2001 12:45
To: [EMAIL PROTECTED]
Subject: [PHP] Problème
Monsieur,
Premièrement et avant tout je vous souhaite une bonne an
Hi Nicklas!
On Tue, 09 Jan 2001, Nicklas af Ekenstam wrote:
> I have a server running qmail and php on which I'm trying to do some php
> processing of incoming e-mail.
> I have a virtual domain set up like this:
>
> '.qmail-virtualdomain.com-default'
> which contains the following:
> '|/usr/loc
On Wednesday 10 January 2001 00:08, Stefan Scherf wrote:
> the program "main" produces x times an output with an delay of 1 second
> between each output.
>
> I want to show this output in "realtime" on a website (this should
> become a progress-bar).
> Does anybody know how to realise this?
Wri
Unfortunately I added some code today to show the local time/date and
haven't tested them since ;)
If the machine being pinged is up it shows a green "Light" if it loses a
ping it'll show red and if it loses 5 in a row it's name goes red and there
should (this is the bit I haven't tested) be a ti
php-general Digest 10 Jan 2001 11:42:10 - Issue 446
Topics (messages 33587 through 33647):
AFTERBURNER - PHP CACHE
33587 by: Marcin Orlowski
Baby's First Regex! (Repost - Please Help)
33588 by: Murray Shields
33589 by: Ignacio Vazquez-Abrams
33590 by: Brian
Hi Jason!
On Wed, 10 Jan 2001, Jason Beebe wrote:
> Hey,
>
> I'm looking for little information from those who have coded their own shopping cart
>apps. what would you say the best way to setup a cart would be? more specificly, the
>method for adding items to the cart.
>
eww, lost wrapping .
I've seen this done with some CGI (not PHP) programs like online traceroutes
and things.
Is there something you can do with a CGI lib that facilitates this?
Cheers,
Brad
- Original Message -
From: "Christian Reiniger" <[EMAIL PROTECTED]>
To: "Stefan Scherf" <[EMAIL PROTECTED]>
Cc: <[EMA
""Brad Hubbard"" <[EMAIL PROTECTED]> schrieb:
> Is there something you can do with a CGI lib that facilitates this?
this one works:
$fp = popen ("ping www.test.de -c 20", "r"); // output with delay
// $fp = popen ("main", "r");// one output, no delay
while( $zeile=fgets($fp,100)
Have you tried passthru() instead of popen() ?
--
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]
Jason Beebe wrote:
>
> Hey,
>
> I'm looking for little information from those who have coded their own shopping cart
>apps. what would you say the best way to setup a cart would be? more specificly, the
>method for adding items to the cart.
>
> say the user is broswing around. when they enter
Hello,
i have got a question I can't find the answer to. I want to enable my users
to change their password for a intranet and their mail account (different
machine than the Intranet). i want my users to do this throug a web
interface on the intranet. Can anyone tell me how I can make an app to d
thies Wed Jan 10 05:08:14 2001 EDT
Modified files:
/php4/ext/standard exec.c
Log:
exec'd processes now get cleaned up even if the browser connections was
aborted.
fixes: #8143
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.44 php
> I went to their homepage, and couldn't find a link to download
> the actual program, just some example stuff, and it says "coming
> soon"... Is it out there somewhere and I'm just retarded, or are
> you mob on a beta list or something???
www.codecharge.com/download
Their homepage is sort of h
Greetings,
Any efficient ideas how to make any number readable by adding comma's?
i.e. 300 ==> 3,000,000
Thanks,
-- Tim Wells
--
Timothy G. Wells, CEOGood News Internet Services
[EMAIL PROTECTED]
number_format()
At 14:16 10.1. 2001, Timothy G. Wells wrote the following:
--
>Greetings,
>
>Any efficient ideas how to make any number readable by adding comma's?
>
>i.e. 300 ==> 3,000,000
>
>Thanks,
>
>-- Tim Wells
>
>
>
hi..
is there a solution how i can get all iptc fields out of an immage ?
i tried the 'iptcparse' command wich works quiet well.. just that anny
commas are taken out..
like from the original field
'red,dog,cat' i just get
'cat' or like
'this, i want to show' returns
'i want to show'
for anny h
I think that above GD1.3 Gif is no longer supported, you have to switch
to PNG.
Cheers,
Al
Dan Harrington wrote:
>
> Hello all,
>
> I've installed: libpng-1.08, tiff-v3.5.5, zlib-1.1.3, freetype-2.0,
> pdflib-3.03, and gd-1.8.3
> reconfigured ldconfig, and I configured with:
>
> ./configure
the specialized editors for php are bs, you don't need an IDE to script
your web page or anything else for that matter
http://www.ultraedit.com
go get a copy of UltraEdit, download the wordfile for php syntax so it
highlights properly, and you're set
http://www.ultraedit.com/downloads/additio
I have an application that stores large text fields in MS SQL SVR and when
they are entered on-line everything works fine. The problem begins when I
try to retrieve them from the database and populate a field on the php3
on-line form. The query will only return the first 4096 byte of the
informa
hi..
..i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax
highliting and this things...
markus
--
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 administrator
One word: VIM !!!
If you want an editor for X - use gvim.
On Wed, Jan 10, 2001 at 02:50:53PM +0100, Markus H. Maussner wrote:
> hi..
>
> ..i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax
> highliting and this things...
>
> markus
>
>
> --
> PHP General Mailing List
"Markus H. Maussner" wrote:
>
> hi..
>
> ..i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax
> highliting and this things...
>
bluefish is quite nice.
http://bluefish.openoffice.nl/
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
sas Wed Jan 10 05:50:26 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Remove unused channel element from the php_irconn structure.
Remove unnecessary check when freeing custom format messages.
Improve handling, if send(2) fails.
Inde
Try Nedit.
http://www.nedit.org
On 2001.01.10 13:50:53 + Markus H. Maussner wrote:
> hi..
>
> ..i am curious if theres anny linux (x, KDE, Gnome) php editor with
> syntax
> highliting and this things...
>
> markus
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To un
Markus H. Maussner wrote:
> ...i am curious if theres anny linux (x, KDE, Gnome) php editor with syntax
> highliting and this things...
emacs and xemacs shouldn't be forgotten here.
Wagner
--
One maniac alone can do what 20 together cannot
--
PHP General Mailing List (http://www.php.net/)
To
Editors are like hammers - once you get used to one, well that's what you
use because you know how it behaves. For a Windows environment I'll endorse
jeremy's recommendation of Ultraedit -- my hammer of choice. It offers some
neat features: tons of macros and word files for various languages,
The editors that I usually use are Textpad and Jedit. I usually use Textpad
as it's my favorite editor. Jedit is very similar to Textpad which is why
it's my second favorite editor. The bonus of using Jedit is that it's
written entirely in Java so it also runs in Linux (quite well too). You can
do
Hi,
is there a shorter way to do:
while (list($key, $value) = each($my_array))
{
echo $value...
}
I just need the value!
Thanks,
Mo.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To conta
sas Wed Jan 10 05:51:58 2001 EDT
Modified files:
/php4/sapi/thttpd thttpd.c
Log:
Especially on FreeBSD it seems to be common that send(2) does not
do a decent job. We handle that better now.
Index: php4/sapi/thttpd/thttpd.c
diff -u php4/sapi/thttpd/
Toby Miller wrote:
> As far as Linux goes, Jedit is the only editor I've been able to find that
> compares against something like Textpad or UltraEdit.
It should be stated here that vi (vim, gvim) and emacs (xemacs) belong to a
different class of editor.
If you know how to handle them (which may
hirokawaWed Jan 10 06:41:02 2001 EDT
Modified files:
/php4/ext/sablotconfig.m4
/php4/ext/xml config.m4
Log:
disable directory search for libexpat and disable some macros for libxml-1.95.
Index: php4/ext/sablot/config.m4
diff -u php4/ext/s
while( list( , $value ) = each( $my_array) )
or
foreach( $my_array as $value )
At 16:16 10.1. 2001, Moritz Petersen wrote the following:
--
>Hi,
>
>is there a shorter way to do:
>
>while (list($key, $value) = each($my_array))
>{
>
Has anyone mentioned Bluefish? I was using code crusader till I tried it
yesterday. It blows away both jcc, emacs, xemacs, and gvim.
---Matt
On Wed, 10 Jan 2001, Toby Miller wrote:
> The editors that I usually use are Textpad and Jedit. I usually use Textpad
> as it's my favorite editor. Jedit
Moritz Petersen wrote:
> is there a shorter way to do:
>
> while (list($key, $value) = each($my_array))
> {
> echo $value...
> }
>
> I just need the value!
PHP3:
while (list(, $value) = each($my_array))
{
echo $value...
}
PHP4:
foreach ($my_array as $value)
{
echo $value..
Hi,
I am searching for detailed information about persistent connection. I've
looked at all the web sites just for "persistent" word but always I found
the same information. All the time people are saying "persistent connection
is good if you are dealing with lots of small queries".
Here is my c
That's it. Thank you!
> -Original Message-
> From: Alexander Wagner [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 10, 2001 4:17 PM
> To: Php-General@Lists. Php. Net
> Subject: Re: [PHP] Shorter way for "each"
>
>
> Moritz Petersen wrote:
> > is there a shorter way to do:
> >
> >
I have tow files named as "a+b.doc" and "x y.doc". Before I pass them to another page,
I do urlencode first. But after I do urldecode in the next page, I got "a b.doc"
instead of "a+b.doc", but the second file is correct. Could anybody help me to solve
the problem ?
Thanks,
Zhihong Pan
C
rawurlencode() / rawurldecode()
^^^ ^^^
At 16:35 10.1. 2001, Zhihong Pan wrote the following:
--
>I have tow files named as "a+b.doc" and "x y.doc". Before I pass them to another
>page, I do urlencode first. But after I do
Well the next problem I have found is that php has to be running on a
windows machine for the com objects to actually work and well we are running
it on a Unix box. So we can't use the com objects. Thanks for all the help
thought!
Jay
-Original Message-
From: bard [mailto:[EMAIL PROTEC
In your Apache httpd.conf, do you have the line
KeepAlive On
- this is the Apache directive to turn on persistent connections. You will
also want to play with the MaxKeepAliveRequests directive, if you set it to
0 then it will allow an unlimited number of connections.
There may be more to it t
Looks like we still have the famous MSFT definition of cross-platform:
Windows, Windows 9x, Windows NT (and now Windows 2000).
So, is this the clinching argument for CORBA, rather than COM?
And I doubt the vaunted COM+ solves the problem.
Miles
At 09:42 AM 01/10/2001 -0600, Paulson, Joseph V.
Hi!
php manual...
http://www.php.net/manual/features.persistent-connections.php
regards
Marcelo Gulin
Kayra Otaner escribió:
>
> Hi,
>
> I am searching for detailed information about persistent connection. I've
> looked at all the web sites just for "persistent" word but always I f
hirokawaWed Jan 10 06:42:23 2001 EDT
Modified files:
/php4/main php_compat.h
Log:
Index: php4/main/php_compat.h
diff -u php4/main/php_compat.h:1.6 php4/main/php_compat.h:1.7
--- php4/main/php_compat.h:1.6 Sat Mar 4 11:58:59 2000
+++ php4/main/php_co
sas Wed Jan 10 07:52:01 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Check the return value irc_connect(). There are some cases where
that function would fail and we were leaking memory.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ir
Does this mean that of all of the people on this list, NOBODY
understands how php searches for include files? Surely somebody
knows!
How I think it SHOULD work is like DOS - First it looks at where
you say it is. If not there, it looks in the current directory.
If not there, it looks in the direc
ok, this all looks good, but then I again I am having a problem figuring out
that code you wrote below. the code i'm attempting to write isn't going to
be complex. there's maybe 10 or 15 items going to be sold. it would be very
rare if the customer ever had 1 or 2 things in their basket, let alone
How do I use a function?
I did:
function ShowMessage {
echo "Show message...\n";
}
How can I call the function now?
thanks,
Augusto Cesar Castoldi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Hello,
I am making a shopping cart. I am wondering on how I should separate each
user. I though the I.P. would be good but there can be a couple people on
one I.P. so if someone is sharing an I.P. it will mess things up.. Anyone
got a better way to do it?
Thank you,
--
Hi
not the () after the function name
>
> function ShowMessage() {
> echo "Show message...\n";
> }
>
> How can I call the function now?
>
echo ShowMessage();
:: Emil
---
Emil Rasmussen
http://www.noget.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Try this article
http://www.phpbuilder.com/columns/alain20001003.php3
it helped me allot, If you go deeper into the Com object you will find that
you can actually call an object from a
remote server -- have not tried it myself yet : )
Niel Zeeman
- Original Message -
From: Paulson, Josep
I use MyCart for the sites I've built around Shopping Carts. In MyCart
there is some combination of ip address and date or time (I haven't looked
at the source recently) concatenated together.
You might want to take a look at MyCart for ideas...or as a solution to
avoid having to build a cart fr
That should bee notice and not "not"! Ups :-)
>
> Hi
>
> not the () after the function name
>
> >
> > function ShowMessage() {
> > echo "Show message...\n";
> > }
> >
> > How can I call the function now?
> >
>
>
> echo ShowMessage();
>
>
> :: Emil
>
> ---
> Emil Rasmussen
> http
- Original Message -
From: "Neil Zanella" <[EMAIL PROTECTED]>
To: "PHP General Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 11:55 PM
Subject: [PHP] PHP newbie question
:
: Hello,
:
: I have a question regarding the following 3 one line .php files:
:
:
isset($a) ret
\n";
}
function returnfunction()
{
return "showfunction\n";
}
showfunction();
echo returnfunction();
?>
Chris Lee
Mediawaveonline.com
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message
Pine.GSO.4.10.10101101404540.1072-10@juno">news:Pine.GSO.4.10.10101101404540.1072-1000
hi,
I 've got problems executing .exe through Php script.
On my machine ( NT4, Omnihttpd), i can do whatever I want, but when I
transfer my scripts to
my server NT4 with IIS4, something goes wrong, (with a "dir" nothing
happens, with a "help" it slows down my server to a point I need to reboot
everyone allready posted about foreach(), but they didnt post the
alternative syntax
foreach ($array as $position => $value)
{
echo $postition : $value\n";
}
http://www.php.net/manual/control-structures.foreach.php
Chris Lee
Mediawaveonline.com
""Moritz Petersen"" <[EMAIL PROTECTED]> wr
hiya
echo implode (' ', $array);
greetz,
Wico
At 08:24 10-1-01 -0800, Chris Lee wrote:
>everyone allready posted about foreach(), but they didnt post the
>alternative syntax
>
>foreach ($array as $position => $value)
>{
> echo $postition : $value\n";
>}
>
>http://www.php.net/manual/control
I also forgot to mention. I am leaning towards using GET to send the session
ids. Many people have told me that customer penatration decreases, some
times significantly, when requiring cookies to use the cart. How would this
have an effect on my script? i will have to call the sessid in all of my
I am using MySQL (dont think im a MySQL preacher, im not) and Ive used
LONGBLOBS to store 100K+ binary images and sucessfully retreaved them, no
problem. I almost wonder if the problem is in the fieldtype in MSSQL? is it
set to LONGBLOB ? MSSQL might not even have such a field (postgres's largest
Hi JB!
On Wed, 10 Jan 2001, JB wrote:
> ok, this all looks good, but then I again I am having a problem figuring out
> that code you wrote below. the code i'm attempting to write isn't going to
> be complex. there's maybe 10 or 15 items going to be sold. it would be very
> rare if the customer ev
Hi Max!
--- you wrote:
> Hello sam1600,
>
> Wednesday, January 10, 2001, 6:42:58 AM, you wrote:
>
> sic> What in the world is reason for declaring the following in the class?:
> sic> var $somevar;
> sic> I see no reason, and no differences if I don't declare: var $somevar;
>
> Classes are int
On Wednesday 10 January 2001 13:11, Stefan Scherf wrote:
> maybe the problem is in the c-programm "main":
>
> int main() {
>int i;
>for(i=0;i<10;i++) {
> printf("Output: %i\n",i);
The "\n" triggers a buffer flush if I'm not completely mistaken, so there
shouldn't be a problem
>
On Wed, 10 Jan 2001 10:50:40 -0400, Miles Thompson
<[EMAIL PROTECTED]> wrote:
> For a Windows environment I'll endorse jeremy's recommendation
> of Ultraedit -- my hammer of choice.
Am I the only one using HoTMetal Pro 6.0 on Windows?
Its PHP support has a very annoying bug when it encounters e
On Wednesday 10 January 2001 15:50, Miles Thompson wrote:
> you use because you know how it behaves. For a Windows environment I'll
> endorse jeremy's recommendation of Ultraedit -- my hammer of choice. It
seconded.
> For Linx, etc.? I don't have a hammer yet. I feel obligated to use VIM,
My p
Personally, my team and I use HomeSite 4.5.x from Allaire. It is PHP aware
and there are extensions you can add to allow PHP expression building. I
have used it for a coupe of years and fills my text building personality as
well as the graphical GUI ones with DW and browsing.
If you use DreamWea
That's quite a big request :) here are a few tips you might allready know.
changin the passwd for a user to view a site isnt that hard, just store the
username and password in a db, this is the file I use, nb. fetch_db_value()
replace with your own sql functions
\n";
exit();
}
session_start(
What extensions and where can you get them?
Cal
http://www.calevans.com
p.s. love homesite use it for everything from HTML to Java to php.
-Original Message-
From: Wacks, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 10:59 AM
To: 'Egan'; [EMAIL PROTECTED]
Subject:
On Wed, 10 Jan 2001 09:58:34 -0700, "Wacks, David"
<[EMAIL PROTECTED]> wrote:
>Personally, my team and I use HomeSite 4.5.x from Allaire.
You did not mention the price (compared to HoTMetaL at $70).
Egan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
Hello,
I am doing my own file manager over the web and for that application I
need to identify what mime-type has each file that user has on his own
space. I know I can code some parser of /etc/mime.types and use its data
to identify mime types by file extension, but first I would like to ask
if t
I use sessions combinded with utc
function mtime()
{
$mtime = microtime();
$mtime = ereg_replace('\.', '', $mtime);
$mtime = explode(' ', $mtime);
$mtime = $mtime[1] . $mtime[0];
return($mtime);
}
will ALLWAYS return a unique number, store this number in a session, each
user get
use exec() and unix's command 'file'
exec("file $filename");
and admire the output :)
http://www.php.net/manual/function.exec.php
Chris Lee
Mediawaveonline.com
"Nikolai Vladychevski" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> I am doing my
Hey Wico,
> echo implode (' ', $array);
this is quite a cool idea! For example
echo "" . implode("", $my_array) . "";
would save some time, printing out an select-group...
Thanks a lot, also to all other people, who helped me.
Mo.
--
PHP General Mailing List (http://www.php.net/)
To unsub
echo array_sum($price) * tax;
array_sum() was added to PHP 4.0.4.
Chris Lee wrote:
>
> function add_all($array)
> {
> foreach($array as $pos => $val)
>@$sum += $val;
> return @$sum;
> }
>
> $price[123] = 5;
> $price[123] = 2;
> $price[123] = 7;
> $price[123] = 9;
>
> $tax = 0
> Please help! Perhaps you have an idea what to do:
>
> I want to get information directly from sendmail,
> like the body of the message and, very important,
> the receipients address.
>
> So if someone sends an email to [EMAIL PROTECTED]
> I want to see who it was sent to.
>
> Currently I am u
Anymody knows any way of making diagnostics of PHP code to make
optimizations???
In mod_perl exists a bunch of utilitys & modules to make this things like
Devel::DProf
I usually put PHP in the maximun Warning level and write them to a log file,
or using the debugger and see the output in other m
Hello sam1600,
Wednesday, January 10, 2001, 7:44:44 PM, you wrote:
>> $d->somevar = true;
>> and the next call to $d->b() will print nothing.
>> But you won't be able to assign a value to $somevar, if it is not
>> declared in the class.
sic> This does not appear to be true. With error reportin
> >Personally, my team and I use HomeSite 4.5.x from Allaire.
>
> You did not mention the price (compared to HoTMetaL at $70).
my two cents on price. who cares! if an editor makes one happy then pay
as much as it takes to get it. consider how many hours are spent with the
editor. 18 hours a
> > >Personally, my team and I use HomeSite 4.5.x from Allaire.
> > You did not mention the price (compared to HoTMetaL at $70).
> my two cents on price. who cares! if an editor makes one
> happy then pay as much as it takes to get it. consider how many
> hours are spent with the editor. 18
I'm sure this is an easy question (I'm just too dumb to figure it out).
When I run a php script from the shell it always outputs
X-Powered-By: PHP/4.0.3pl1
Content-type: text/html
Normally I just ignore this, but I've been using cron to run a php script
and I'm getting my mailbox cluttered with
Add a -q
#!/usr/local/bin/php -q
To suppress them.
Philip Olson
http://www.cornado.com/
On Wed, 10 Jan 2001, Tom Harris wrote:
> I'm sure this is an easy question (I'm just too dumb to figure it out).
>
> When I run a php script from the shell it always outputs
> X-Powered-By: PHP/4.0.3pl1
I think you could also turn expose_php off in php.ini (if you
use it)
At 19:11 10.1. 2001, Philip Olson wrote the following:
--
>Add a -q
>
>#!/usr/local/bin/php -q
>
>To suppress them.
>
>
>Philip Olson
>http://www.cornado.com/
>
>On
smime.p7m
On Wed, 10 Jan 2001 17:54:07 + (GMT), Philip Olson
<[EMAIL PROTECTED]> wrote:
>> >Personally, my team and I use HomeSite 4.5.x from Allaire.
>>
>> You did not mention the price (compared to HoTMetaL at $70).
>
>my two cents on price. who cares!
>philip
No need to get ballistic. I just wa
Hi!
ShowMessage();
regards
Marcelo Gulin
Augusto Cesar Castoldi escribió:
>
> How do I use a function?
>
> I did:
>
> function ShowMessage {
> echo "Show message...\n";
> }
>
> How can I call the function now?
>
> thanks,
>
> Augusto Cesar Castoldi
>
> --
> PHP General Mailing List (
agreed, 4.5.2 still contains pretty old bugs.
UltraEdit is bugfree (at least I haven't encountered any), has
project management capabilities (but cannot make use of a
version control system, AFAIK).
At 18:59 10.1. 2001, Boget, Chris wrote the following:
-
1 - 100 of 316 matches
Mail list logo