I have read in several places that is dangerous to have register_globals on, but I
have not understood the (short) explanations given. Can anyone enlighten me?
Euan Greig
Technical Consultant
BRANN DATA
[EMAIL PROTECTED]
01285 645997
*
t: ' . ++$test . ' ';
--
Plutarck
Should be working on something...
...but forgot what it was.
""Greig, Euan"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I deliberately gave a simple example, perhaps too
et off the $test++
so it is evaluated before being echoed.
Euan
-Original Message-
From: Jason Brooke [mailto:[EMAIL PROTECTED]]
Sent: 18 April 2001 09:46
To: Greig, Euan; [EMAIL PROTECTED]
Subject: Re: [PHP] php equivalent for `command`
echo ++$x;
http://www.php.net/manual/en/language.o
> Is there a php equivalent for the use of ` (I think) in Unix/Perl? So for example
>echo "`$x++`" would first evaluate $x++ and then print the resulting value.
>
> Euan Greig
> Technical Consultant
> BRANN DATA
> [EMAIL PROTECTED]
> 01285 645997
>
>
>
**
Is there a php equivalent for the use of ` (I think) in Unix/Perl? So for example echo
"`$x++`" would first evaluate $x++ and then print the resulting value.
Euan Greig
Technical Consultant
BRANN DATA
[EMAIL PROTECTED]
01285 645997
***
Thanks for that Jason (and so quick!). I agree it's ugly, but I can see it being
useful occasionally.
Euan
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: 17 April 2001 12:38
To: 'Greig, Euan'; [EMAIL PROTECTED]
Subject: RE: [PHP] Is this ki
I was playing around with various ways of doing conditional output of text, and I
tried the following.
value is a
value is not a
It seems to work, ie it outputs different text depending on the value of $test. But is
it safe, can I rely on this behaviour? Maybe I just missed something
Is the anti-recursion feature you mention automatically activated or do you need to
configure it to take effect?
This error with print_r is documented in the manual, but would still be (have been) an
easy trap to fall into!
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
S
Isn't it time to give this poor guy a rest?!?
-Original Message-
From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2001 15:21
To: [EMAIL PROTECTED]
Subject: Re: [PHP] $8 PHP hosting from Jeffrey Greer
Jeffrey Greer wrote:
> Is 1/2 per
> year too much down time?
I was hoping that I could use this function to enable me to finish scripts tidily when
they time out or are aborted by the user. eg display the message "script timed out".
However this will not work as no output is allowed in the shutdown function. I can see
other ways to do what I want (but su
I would like to be able to turn on-screen errors on and off selectively within
scripts. I have tried using the error_reporting() function but this stops error
messages going to the log file, which I want always to happen. It seems to me that I
want to set the display_errors configuration option
... or is it?
-Original Message-
From: Brooks, Ken [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2001 14:04
To: 'Greig, Euan'; [EMAIL PROTECTED]
Subject: Oracle ODBC sql [ORA-00972: identifier is too long]
I'm getting this message when i try to run a query on an Oracle
< I have seen -many- messages and spent an entire day reading, and haven't
< found
< what I'm looking for so i hope this is the correct place to ask.
< When I try to make an ora_logon or ocilogon, I get
< the error: Fatal error: Call to undefined function: ora_logon()
< Is this an incorrect PHP
< on IIS it is much better solution for more than few mails is to put them
< simply in pickup directory of smtp server, I am also sure that there is a
< similar possibility on linux
How can I identify the location of the pickup directory for the smtp server (on NT)?
Euan Greig
Technical Consulta
Every two or three times that I receive the email digest for this mailing list, I get
a single text file attachment and the following message instead of a set of message
attachments. Is this a problem with my mail server or the list server?
This message uses a character set that is not supporte
To suppress the error messages on a single command, you can put an @ in front of it,
eg:
@$conn=ora_plogon(...
-Original Message-
From: Hardy Merrill [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 13:43
To: Rudolf Visagie
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Oracle error messages
R
-Original Message-
From: Brian White [mailto:[EMAIL PROTECTED]]
Sent: 09 March 2001 06:07
To: PHP
Subject: RE: [PHP] HTML book recommendation
I "learnt" SGML long before I learnt HTML, so all I've ever needed is a
a good reference.
So: I think the O'Reilly Koala Book is excellent bec
>> We send SMS messages from Oracle, but the method could be used in php I
think. We use www.quios.com. They accept SMS messages as XML documents
which you simply post to their site using http. The response, also by http,
is an xml document. It is very easy to build your outgoing xml document,
and
reasons... But in my
opinion, as a commercial product in a production environment I would say
that PHP over Windows is definetly not the better choice.
Paulo
- Original Message -
From: Greig, Euan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 6:4
Thanks Lance. The file is there, though I didn't put it there!
-Original Message-
From: Lance Koh [mailto:[EMAIL PROTECTED]]
Sent: 07 March 2001 14:20
To: Greig, Euan
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP dll on NT - more reliable with Apache than IIS?
did you copy this
We send SMS messages from Oracle, but the method could be used in php I think. We use
www.quios.com. They accept SMS messages as XML documents which you simply post to
their site using http. The response, also by http, is an xml document. It is very easy
to build your outgoing xml document, and
I have been having problems using the PHP 4 ISAPI module with IIS 4 on NT4 (The most
common problem is HTTP 500 internal server error which disappears if page is
refreshed). This is apparently not too surprising given the current status of the
ISAPI module. So I have switched to using CGI, whic
22 matches
Mail list logo