Hello Manuel,
I have just re-read this, and am conscious that I am appearing to disagree with you,
too frequently, yet in
overview I am wanting to agree!? I am a consultant, and I am well used to playing
"devil's advocate", ie
disagreeing with what is being said, in order to arrive at the best
Hi,
I'm trying to execute a Webmin script where I can use php as scripting
language... (It will be good to work with a language as php in a remote
administration server, as root! potentially dangerous but good!)
Now the STRANGE problem: (seems to be some env variables (maybe I'm wrong)
when e
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then phantom blurted
> Page 1 is a list of people's names (queried by State).
>
> Page 2 is each person's profile.
>
> When I hit the back button on Page 2 it tells me it has to requery the
> List on Page 1 (apparently not stored in the c
Hi,
a possible solution is also to provide the backbutton href with the original
variable values...
print "back\n";
Greets,
Edward
- Original Message -
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 9:57 AM
Subject: Re: [PHP] Back button
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Edward van Bilderbeek - Bean IT blurted
> Hi,
>
> a possible solution is also to provide the backbutton href with the original
> variable values...
I'm pretty sure he means the /browser/ back button though.
- --
Nick Wilson
Tel:
the moment I hit the send button I realised it myself too :-)
but this is a pretty good alternative...
Edward
- Original Message -
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 10:15 AM
Subject: Re: [PHP] Back button to Query Pages
> --
Hi,
I sending this message because a few people have contacted me offline
about a question I posted to the list a while back.
It seems that on certain Sun Solaris systems, Apache and PHP compile
fine but apache does *not* run. When Apache is started with the PHP
module or any other module, t
Hello,
I teach internet programming part-time and my findings are that the "best" language to
learn for the web - for students - is php because it is more affordable and easier to
learn for the students. The instruction the school provides does NOT include php. I
added instruction in php as a
Matthew,
There's some strange stuff going on here, and in the conversation.
For information about set_time_limit() please read
http://uk2.php.net/manual/en/function.set-time-limit.php.
Despite the sense of what is written below, the manual says "When called,
set_time_limit() restarts the
> Hi all,
>
> Here is the situation.
>
> I have Windows 2000 SP2, IIS5 running PHP 4.1.1 using CGI.
>
> My PHP folder is C:\php
> Extension Folder is: C:\php\extension
> PHP.INI file: extention_dir = "C:\php\extension\"
Are you sure the foldername is "extension"?
Just asking you to doublecheck
Hi all
Is there any jabber client in PHP available ?. I have
searched the net and got some information on how to write jabber client,
but ( to learn ) i need an existing one if any.
S.Murali Krishna
[EMAIL PROTECTED]
=
We grow slow trying t
Hello,
The system have to send mail automatically to the username stored in
mysql table.I am having the details of usermailid,date.By using php script
how do i go about with this
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
>The system have to send mail automatically to the username stored in
>mysql table.I am having the details of usermailid,date.By using php script
>how do i go about with this
To send the mail, use the mail function:
http://www.php.net/manual/en/function.mail.php
--
PHP General Mailing Lis
Hi everybody
I'm not sure it is the best place for my question.
Until now we were using PHP connecting to an oracle database. We are
looking to change for an opensource database for the new applications.
Do you know where I can find a recent and objective study comparing both
with PHP to conne
>Do you know where I can find a recent and objective study comparing both
>with PHP to connect to it.
http://phpbuilder.com/columns/tim2705.php3
HTH
-jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Don't use MySQL its way to primitive.
Go for Postgresql.
I worked with both of them with PHP and they both fast, stable and supported
--
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122
http://sites.canaan.co.il
--
Hello,
Thankyou for your reply.
When a user clicks upon a delete link that deletes a record from a database, I would
like to be able to give them the option to OK or Cancel this action.
I have tried coding the browsers built in confirm box (I can bring up this) but am
unable to combine it with
A goog first step is to rename the page with a .phps extension and display
it in the browser. The coloring of the text often gives you an idea where
PHP got turned off or something critical was commented out.
Miles Thompson
At 09:55 PM 1/27/2002 -0700, Ben Turner wrote:
>Parse error: parse err
Is there any way to access the PHP4 session URL rewriter directly? Is there
a way to override it and use a different function (say you wanted to make a
rewriter for XML or something other than HTML)?
Could anybody point me to a function that does what the rewriter does?
Surely somebody's written
> I guess I must be lucky. Where I currently work we have been using ColdFusion and
>Oracle for all our database web
> development. After verifying with the SAs that we had compiled php support on our
>new instalation of Apache on Solaris
> I asked our CIO directly if it would be ok to look at s
>When a user clicks upon a delete link that deletes a record from a
>database, I would like to be able to give them the option to OK or Cancel
>this action.
>
>I have tried coding the browsers built in confirm box (I can bring up
>this) but am unable to combine it with php or a combination of
On Mon, 28 Jan 2002 15:20:05 +0800, you wrote:
>On Monday 28 January 2002 14:27, you wrote:
>
>Please keep discussion on the list!
Sorry about that. I meant to..
>> >> //pull value from session file:
>> >> $page_views = $_SESSION['page_views'];
>> >
>> >No need for this, in fact this is what is
Special characters must be escaped with a backslash:
$q = preg_replace("\!", "", $q);
or
$q = preg_replace( preg_quote("!@#$%^&*()"), "", $q);
bvr.
On Mon, 28 Jan 2002 11:24:30 +1300, Philip J. Newman wrote:
>I'm trying to replace !@#$%^&*() with nothing how ever every thing that I try it
Hi,
I've asked this question before, but no answer... so here it is again:
does anyone now how I can get the dimensions (width, height) of an mpeg
file? maybe via a unix command... (because in the PHP manual, I can't find
anything about it, and I'm not that much of a unix-guru...)...
thanks,
E
On Monday 28 January 2002 20:52, Floyd Baker wrote:
> On Mon, 28 Jan 2002 15:20:05 +0800, you wrote:
> >On Monday 28 January 2002 14:27, you wrote:
> >2) session.save_path = c:/tmp, I don't use PHP on Windows, but looking at
> > the other settings, paths for Windows systems are specified with a
>
I just thought of this good tip:
To show the highlighted php source without constanly renaming your scripts
you can add the the following to your httpd.conf :
Alias /src /your/document/root
ForceType application/x-httpd-php-source
Now, for example to show the source of
http://l
> I've asked this question before, but no answer... so here it is again:
>
> does anyone now how I can get the dimensions (width, height) of an mpeg
> file? maybe via a unix command... (because in the PHP manual, I can't find
> anything about it, and I'm not that much of a unix-guru...)...
ImageM
[EMAIL PROTECTED] wrote:
>
> Hi everybody
>
> I'm not sure it is the best place for my question.
>
> Until now we were using PHP connecting to an oracle database. We are
> looking to change for an opensource database for the new applications.
>
> Do you know where I can find a recent and objec
Hi Ivan, I've this a number of times. What I suggest is that you have two
forms, each with a button on the page that receives the delete request. Both
forms post to the processing page. The first button passes a value called
"dodelete" and the second one passes another value say, "dontdelete". On
hello All,
I was wondering if anyone can help me find or tell me where I a can find
an Internet-cafe program for managing time and permision on the computers.
I know there are lot of such programs for windows .
But I will like to use RedHat Linux at my internet-cafe bussiness because
it has
Yep! I agree it's probably an open bracket.
Here is a little program I use to beautyify my programs and find open
brackets.
HTH dan..
--- beauty.php ---
/* - *\
** Beauty: cleans up source PHP code and
** indent nest
can someone tell me whether or not asp can be used with mysql and is there any
drawbacks to using it as opposed to php
Hi,
I have a form that has a section with multiple checkboxes. I would like to
be able to send the checked boxes out as an array, and be able to retrieve
the array in the next page (that the form variables go to.) I cannot find
specific info on this anywhere. Can someone please point me in the ri
try something like this:
check 1
check 2
check 3
check 4
check 5
that should do it...
Edward
- Original Message -
From: "Scott Saraniero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 3:17 PM
Subject: [PHP] Sending Form Arrays
> Hi,
>
> I have a form
SHOW US YOUR CODE
-Original Message-
From: Ben Turner [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 27, 2002 10:56 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Got a problem I cant figure out
Parse error: parse error in /var/www/docs/tacklebox/404handler.php on line
47
I am receiving thi
Could be that you have a open curly bracket somewhere.
Here is a quick program I use to beautify and clean up my PHP code and
point out any open brackets;
HTH .. Dan
";// lemme see it in the browser
$i++;
// bump count for input array
}
On Saturday 26 January 2002 03:49, Zeev Suraski stuffed this into my mailbox:
I use Activestate Komodo (www.activestate.com). It's not free though ($ 29,95
end-user/educational $ 299 commercial). However, it's not just PHP, it also
has stuff for perl, C and several other languages.
regards
>
Thanks, I'll try this, but why is the value always 'Y'?
> From: [EMAIL PROTECTED] (Edward Van Bilderbeek - Bean It)
> Newsgroups: php.general
> Date: Mon, 28 Jan 2002 15:24:01 +0100
> To: <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Sending Form Arrays
>
> try something like this:
>
> check 1
> c
Could be that you have a open curly bracket somewhere.
Here is a quick program I use to beautify and clean up my PHP code and
to point out any open brackets;
HTH .. Dan
";// lemme see it in the browser
$i++;
// bump count for input array
}
What I do is:
Box 1
Box 2
Box 3
Box 4
Box 5
Then in the action script you'll get an array with only the checked values named
$checked. So $checked[0] could be 'Box 2' and $checked[1] could be 'Box 5'. Be aware
if nothing is checked, then $checked won't be an array, so you'll need
to test
Liz Lynch wrote:
> can someone tell me whether or not asp can be used with mysql and is there any
>drawbacks to using it as opposed to php
>
>
Yes it can be used - no there are no real drawbacks other than that most
documentation for ASP work assumes SQL Server or Access, so many
tutorials
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then liz lynch blurted
> can someone tell me whether or not asp can be used with mysql and is there any
>drawbacks to using it as opposed to php
erm are you looking for an unbiased opinion on a /php/ mailing list?
If you're serious yo
You can use html-kit (www.chami.com) with the php plugin.
Very simple editor with syntax highlighting. Free
Or you can buy phped from www.nusphere.com more sophisticated.
Laurent Drouet
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
I've been searching the PHP website and FAQ and also the Analog web server analyzer
website and their FAQ, but I haven't found an answer and was wondering if anyone else
had seen ridiculously high request counts for their PHTML pages?
I've tried a couple of the pages on my site and a single re
typically this means a missing semi-colon or a control structure that
wasn't closed somewhere in the code... it won't tell you where, so you'll
just have to check and double-check all the lines of code
At 08:28 AM 1/28/2002 -0600, Rick Emery wrote:
>SHOW US YOUR CODE
>
>-Original Message-
sorry i should have explained myself abit better.i am a huge fan of php
hence why i subscribe to this mailing list. its just that i need to settle
an argument. my understanding is that php works better with mysql however a
friend of mine is adament that asp will work just as well. i am not
sur
Hi
If you have a delete "link" then try this :
function confirmThis(url) {
if (confirm("Are you sure you want to delete ?")) {
window.location = url;
}
}
Then you can generate the delete link dynamically with PHP eg :
Delete!
This should pop up a OK/Cancel dialog bo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then liz lynch blurted
> sorry i should have explained myself abit better.i am a huge fan of php
> hence why i subscribe to this mailing list. its just that i need to settle
> an argument. my understanding is that php works better with
> sorry i should have explained myself abit better.i am a huge fan of
php
> hence why i subscribe to this mailing list. its just that i need to settle
> an argument. my understanding is that php works better with mysql however
a
> friend of mine is adament that asp will work just as well. i am
Is strerror function removed from PHP 4.1.1 ?
I'm getting an error like this after upgrading to PHP 4.1.1 from PHP 4.0.6.
Fatal error: Call to undefined function: strerror() in
/usr/nmademo/ctm/nma.php on line 79
This line was working fine on PHP 4.0.6.
Any help is appreciated.
Regards
R'twic
I am soon to encounter the problem Mostafa is facing.
Currently, I have written my custom code to mail to
users subscribed to mailing lists on my site. (It is
custom code using PHP, MySQL, Linux cron.)
I was wondering if there is a mailing list system that
could use MySQL to retreive the list of s
On Monday 28 January 2002 23:33, Anas Mughal wrote:
> I am soon to encounter the problem Mostafa is facing.
> Currently, I have written my custom code to mail to
> users subscribed to mailing lists on my site. (It is
> custom code using PHP, MySQL, Linux cron.)
> I was wondering if there is a mail
On Monday 28 January 2002 22:34, Scott Saraniero wrote:
> Thanks, I'll try this, but why is the value always 'Y'?
It doesn't have to be 'Y', it can be anything you want, as long as it's not 0
(zero) or an empty string because they would be pretty hard to test for.
> > try something like this:
On Monday 28 January 2002 23:15, liz lynch wrote:
> sorry i should have explained myself abit better.i am a huge fan of php
> hence why i subscribe to this mailing list. its just that i need to settle
> an argument. my understanding is that php works better with mysql however a
> friend of min
If you use qmail, then ezmlm (www.ezmlm.org) might be a solution
for you. It's capable of using MySQL to store the subscriber
lists.
Daniel
> I am soon to encounter the problem Mostafa is facing.
> Currently, I have written my custom code to mail to
> users subscribed to mailing lists on my site.
Can someone point me to a section in the manual where I can read about basic
Authentication?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
I'm trying to redirect based on referring host
and request.
I have an .htaccess set up like this:
RedirectMatch (.*)\.gif$ http://www.domain.com/_borders/test.php
to redirect all requests for .gif's to a php script which then
determines the referring host.
$url=parse_url($HTTP_REFERER);
if ($url
With ASP the only cost is the OS.
Clint
-- Original Message --
From: Jason Wong <[EMAIL PROTECTED]>
Date: Mon, 28 Jan 2002 23:45:57 +0800
On Monday 28 January 2002 23:15, liz lynch wrote:
> sorry i should have explained myself abit better.i am a huge
> With ASP the only cost is the OS.
>
> Clint
ASP = Cost of hardware + Cost of OS + Cost of 3rdParty components.
PHP = Cost of hardware.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969
PGP Key available, send email with subject: Send PGP
--
--
PHP G
Hi
Try :
http://www.php.net/manual/en/features.http-auth.php
Check the comments on the page for links to tutorials etc.
Regards :)
Girish
--
www.girishnath.co.uk
- Original Message -
From: "Philip J. Newman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002
On Monday 28 January 2002 16:21, you wrote:
I could be very very very wrong on this, but I think that if you want to
access MySQL through ASP you need an ODBC in between it and I think that will
slow things down. Far as I know PHP uses the MySQL libraries and that SHOULD
(again, I'm NOT sure)
Hi
This should send different images to the referer based on what parse_url()
returns:
You may need to modify it a bit perhaps with a "switch" statement for more
flexibilty. Let me know how you get on.
Regards
Girish
--
www.girishnath.co.uk
- Original Message -
From: "Brian V Bo
We tried to install php 4.1.1 on our Solaris 2.8 machine with gcc 2.95.2 and
apache 1.3.22. We tried to enable as many configuration options as possible.
It configured OK, but we encountered several error messages during compilation:
We configured with option "--enable-dmalloc" and "--with-a
How do you make a function like
bool session_register (mixed name [, mixed ...])
What does the function look like that it can take unlimited arguments?
Charles Killmer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
First I must state that I didn't write the code, and I'm not much of a programmer of
any kind. I'm hoping someone can tell me how to sort the filenames and file sizes
returned by readdir and filesize in the below code. Thanks in advance.
dan
";
while ($file = readdir($handle
http://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list
-Original Message-
>From: charlesk [mailto:[EMAIL PROTECTED]]
>What does the function look like that it can take unlimited arguments?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
Is that a bad word?
\ :
[EMAIL PROTECTED] wrote:
>Did someone say hosting fees?
>
>- Original Message -
>From: "sundogcurt" <[EMAIL PROTECTED]>
>To: "GENERAL PHP LIST" <[EMAIL PROTECTED]>
>Sent: Monday, January 28, 2002 3:32 PM
>Subject: Re: [PHP]Upload file to system
>
>
>>You could tr
You can use ASP with Mysql, as long as you have myodbc installed on your
machine. For me, ASP has been a bit slower, but you can still use it.
- Original Message -
From: "liz lynch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 7:14 AM
Subject: [PHP] php vs as
If I have a PHP class (let's say it's called ClassA), how do I call a method
from another class (ClassB) within ClassA? Thanks.
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
Hi
Are there any PHP Projects that are developing a HR management system. We
hope to create this and in future integrating with payroll and tax
deductions etc.
I will appreciate anyone who can advise where I can find info relating to
this.
Thanks
Mohamed
- Original Message -
From: Mi
Both work well with PHP. Later versions of PostgreSQL are quite fast
(comparable to PHP). MySQL is still a little faster and there seems to be a
much larger base of users and support. You can't go wrong with either one...
if you need the features that PostgreSQL offers that MySQL currently lacks
(
> -Original Message-
> From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 28, 2002 9:30 AM
> To: PHP-General
> Subject: [PHP] strerror and PHP 4.1.1
>
>
> Is strerror function removed from PHP 4.1.1 ?
The manual at http://www.zend.com/manual/function.strerror.ph
"my name ",
"second_arg" => "is ",
"third_arg" => "Jim.",
));
// this will print
// "hi there, my name is Jim."
?>
Hope this helps.
Jim Lucas
-
Hi Torkil,
You may want to head over to Webmonkey and read their article about Search
Engine optimization:
http://hotwired.lycos.com/webmonkey/01/23/index1a.html
A few key points that have proven very helpful with my personal web site:
A central "crawler index" with links to each page on my
We host many sites with PHP. Is there any way to have each site use a different
php.ini?
Charles Killmer
--
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: [
Hi.
Look at
http://www.911-job.com
If it is like that you need, call me directly.
Elena Koroleva
"M.E. Suliman" wrote:
>
> Hi
>
> Are there any PHP Projects that are developing a HR
management system. We
> hope to create this and in future integrating with
payroll and tax
> deductions etc
what OS are you running them on?
if it is linux with apache, you can override most of the php.ini settings in
the httpd.conf file
http://www.php.net/manual/en/configuration.php#AEN2200
this will show you how to override. it doesn't show it here, but this will
also work in the blocks in the ht
On Mon, 28 Jan 2002 12:10:02 -0600, you wrote:
>We host many sites with PHP. Is there any way to have each site use a different
>php.ini?
You can put seperate PHP directives in Apache's .htaccess file for
each site you host.
djo
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Someone knows how to use the IF command ?
I need two expressions as such as IF (exp1 AND exp2) ...
thank's
eduardo melo
computer programmer
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/sup
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Eduardo Melo blurted
> Someone knows how to use the IF command ?
Have you Read The Fine Manual Eduardo?
Try www.php.net I'm not sure if there is a translation for your language
though.
- --
Nick Wilson
Tel:+45 3325 0688
Fax:
Windows 2000 Server, PHP 4.1.0, IIS 5.0
--
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]
Not quite your thing, but I'm sticking the school's timetable on a server so
that anyone can call up their lesson timetable and also find out teacher's
timetables and whether or not classrooms are free.
The only way I found I could do this was in MySQL and although I dont know
of any projects, I t
Hi
http://www.php.net/manual/en/control-structures.php
for example :
if ($firstname == "Eduardo" && $lastname == "Melo") {
print ("I know you")
}
else {
print ("I don't know you");
}
Regards
Girish
--
www.girishnath.co.uk
- Original Message -
From: "Eduardo Melo" <[EMAIL
> Someone knows how to use the IF command ?
>
> I need two expressions as such as IF (exp1 AND exp2) ...
>
>
> computer programmer
^
A "computer programmer" not knowing the "IF command"?
Really, what computer do you program?
-Stathis.
PS: Sorry, I just can't resist. It's
Hi
It's in the manual at :
http://www.php.net/manual/en/features.file-upload.php
Regards
Girish
--
www.girishnath.co.uk
- Original Message -
From: "qartis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 6:37 PM
Subject: Re: [PHP] Fil
Hi
It's in the manual at :
http://www.php.net/manual/en/features.file-upload.php
Regards
Girish
--
www.girishnath.co.uk
- Original Message -
From: "qartis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 6:37 PM
Subject: Re: [PHP] Fil
Hello All
I would like to initialize the array $pos[17][7][3] to zero. Can i do
like in C ie. $pos[17][7][3] = 0;? Or, will I have to do initialize every
single element of array to zero by using loop?
Thank you.
Pong
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
first create an instance of class B like this...
$test = new classB();
Now, u can refer to any function or method of classB like this:
$test->hello(); // where hello() is a method of classB..
cheers,
sands
-Original Message-
From: David Yee [mailto:[EMAIL PROTECTED]]
Sent: segunda-fe
We tried to build php 4.1.1 with as many options as possible on our Solaris 2.8
machine with gcc 2.95.2 and Apache 1.3.22. During the compilation, we had
a problem with wddx extention which complains that header file "expat.h" is
not in the expat 1.2 package that we installed for php. Thanks to
I think you might be looking for HTML form element.
"Duky Yuen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to make something like when you are attaching something to an
> email in hotmail. I want to make something that searches your own
> computer
I found some nice mailing list managers at
http://www.hotscripts.com/PHP/Scripts_and_Programs/Mailing_List_Managers
/
-Original Message-
From: Anas Mughal [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 5:33 PM
To: Mostafa Al-Mallawani; [EMAIL PROTECTED]
Subject: Re: [PHP] mai
It seems that only the first condition is being evaluated.
I know that if both of the following conditions are false then the second
set of statements should get read, and that's what happens, but when I set
$name to true and $text to false (true||false) then the first set gets read.
Shouldn't
With a logical OR statement, many languages will evaluate the first
statement, and if the first condition is true, then it will not evaluate
the second condition, because TRUE OR (anything) is TRUE. This saves the
program from executing any more code than it has to. If the first
condition is
hmmm, I think I see where your going but
that either just puts out a lot of garbage
on the screen:
¤X!lø`7Y± Á\t1h^(uT3è¡ J2¶O\ÔG)ÂGì
Ìtéä(ò¡¹!n3pPßÔÓÄVõ`\Z·Åô2Ô;Ur©e8òÞhS0Ít%;-X
âÑ9ºcI%(CqxpR ¤Ô4ûȶÔ&%03. Ì`ÃåP r é
ÀÃ^IÀ¦Zª:;}äò,
Got it- thanks Sandeep.
David
- Original Message -
From: "Sandeep Murphy" <[EMAIL PROTECTED]>
To: "'David Yee'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 11:12 AM
Subject: RE: [PHP] How to call method from another class
>
> first create an instance of clas
> first create an instance of class B like this...
>
> $test = new classB();
>
> Now, u can refer to any function or method of classB like this:
>
> $test->hello(); // where hello() is a method of classB..
That's not what the original question was, though. David (I think, unless
I got my nested
1.) I would like to chat about using logins with php. I think this requires
sessions, but I would like to talk about ways to provide "user accounts" and
relate user details to the accounts.
2.) E-Mailing using PHP. How to configure sendmail or qmail to allow PHP to
sendmail out from variables he
Read the first user note at the bottom of this manual page:
http://www.php.net/manual/en/function.htmlentities.php
-Original Message-
>Subject: [PHP] How to echo the "/n", "/r", etc... to the HTML display?
>So, you see, if I use the PHP function, nl2br(), that took care of the "cr"
Good day,
I've already done this once with Perl and qmail, which was used against
about 50,000 users. I'm sure it would not be much different with PHP.
All I did was create a program to get the addresses from the DB, and then
use what effectively is a wrapper script for qmail-inject (you would
For sake of efficiency, many languages will do what is called "Short
Circuit" in a situation like this. Let's look at a simple truth table for
an OR using two conditions (T=true, F=false):
T || T = T
T || F = T
F || T = T
F || F = F
In the first two cases, it is only necessary to evaluate the
1 - 100 of 162 matches
Mail list logo