php-general Digest 15 Feb 2001 09:01:00 - Issue 513
Topics (messages 39740 through 39857):
Re: gettimeofday() question
39740 by: James Moore
39791 by: CC Zona
Re: Structuring large PHP programs
39741 by: Ben Peter
39743 by: Michael McGlothlin
39751
"Daniel Grace" [EMAIL PROTECTED] wrote in message
96g30n$jgi$[EMAIL PROTECTED]">news:96g30n$jgi$[EMAIL PROTECTED]...
"Rog" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Can anyone here decipher for me some of the undocumented Socket
functions
in PHP4?
Rick Hodger wrote:
I'm not honestly sure if it'd be possible. Normally you would have a daemon
running that listens for incoming connections and then spawns another
process for each connection. Then the daemon goes back to listening. As far
as I know, PHP doesn't have any sort of fork() or
Please read and forward.
-Original Message-
From: James [mailto:[EMAIL PROTECTED]]
Sent: 14 February 2001 21:39
To: Young, Stuart; Raf; Nicky Gosney; Nick;
[EMAIL PROTECTED]; John Boddy; Iain; Green, Karen; Darren S;
Andy; [EMAIL PROTECTED]
Subject: FW: CSETI Announcement - Urgent
Hello.
I receive from a post T1, T2, T3, ... Tn
I want to put then in an array with a for, how can I do that?
How can I use $T$i ???
Thank you
Fabian Fabela
[EMAIL PROTECTED]
www.vacagorda.com
Hi!
I mean running php in an oracle server!
thanks
From: Adi Wibowo [EMAIL PROTECTED]
To: kaab kaoutar [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] Oracle Web Php
Date: Thu, 15 Feb 2001 02:22:03 +0700 (GMT+0700)
On Wed, 14 Feb 2001, kaab kaoutar wrote:
Hi!
Sorry
I know the answer now.
Thank you
Fabian Fabela
From: "Fabian Fabela" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 3:30 AM
Subject: [PHP] Concatenate a variable.
Hello.
I receive from a post T1, T2, T3, ... Tn
I want to put then in an array with a for,
Hi!
I'm about to use cookies in my application, and i'm intersted in using
baskets, i mean while the user surfing in my web site, he can select items
and it will be added to the basket etc (like the classical shopping) !
can u point me to a url with details information about cookies(i've read
Hello,
In $a I have the name of the array that I want to use.
For example.
$a="myarray";
I need to send
myFunction($myarray);
if I try myArray($a); the string "myarray" is sent, and I want to send $myarray that
is the text in $a.
Thank you.
Fabian Fabela
[EMAIL PROTECTED]
Hi all:
I am working now on a project where I want to use PHP's XML and XSLT
capabilities. The problem is that, after searching the list archives, I
have seen endless questions from people who have had problems compiling
PHP4 with Sablotron and XML support, so before I start with it, I
Using PHP4 I think u should store your vars on session and pass the
session_id() for all your web pages ...
take a look at the sess-cap on the php man
I hope this help
max
---
Please Help Puppies
---
x
On Thu, 15 Feb 2001, kaab kaoutar wrote:
Hi!
I'm
On Thu, 15 Feb 2001, Sascha Schumann wrote:
There might be more systems which do not support chroot, so we check
for the existence of it.
Additionally, if chroot is not supported, the warn_not_available function
is invoked now.
Thanx Sascha, I hope it's now really fixed :)
Derick
Hi everyone,
im making a statistics type program and was wondering if anyone knew of
some PHP libraries to produce charts/graphs etc.
Cheers
Phil
P.S. Can you please reply to this address as im not on the mailing list
anymore
--
PHP General Mailing List (http://www.php.net/)
To
On Thursday 15 February 2001 02:49, Christian Dechery wrote:
that's kinda what I have here... but the line of code isn't being
shown... and that is the problem... I for one, think that in an
error message the line of code is crucial.
Check the manual for set_error_handler ()
On Thu, 15 Feb 2001, kaab kaoutar wrote:
So it has nothing to do with cookies ?!
No, I did not say this ... I think u need to associate a unique_id for
each client/customer and store the basket's vars on it ...
u know that the session_id is passed on all your pages:
- via cookies
- via
http://www.phpbuilder.com/columns/allan2830.php3
http://www.phpbuilder.com/snippet/detail.php?type=snippetid=183
http://phpclasses.upperdesign.com/browse.html/class/11
This is a great class for printing HTML graphs
http://www.advgraph.regiocom.net/
hope that helps
best regards
Ankur
Hello,
I need to generate the value '0A 00 00 00' with the pack function.
How to do this?
TIA
--
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
On Thu, Feb 15, 2001 at 04:17:06AM +0200, Zeev Suraski wrote:
This patch won't always work (it may cause the link not to be closed when
it's supposed to). I committed a different patch to the CVS - can you
under what circumstances?
please check it?
will do -
tc
At 18:54
How can I delete one record in a array?
Example:
$myarray = array ("a", "b", "c");
I want to delete/take away "b" so the array is:
$myarray = array ("a", "c");
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
when i try the phinfo test in a php file it works!
however when i put it in an htm file it does not work :
htmlheadtitlePHP Test/title/head
body
?php
phpinfo();
?
/body/html
It gives me a blank page
_
Get Your Private,
On Thursday 15 February 2001 01:40, Chris wrote:
How do I get the index,number of an array if reffering to an array via
string? Ex:
I have 100 arrays, and I want to know what # myarray["something"] is.
That element doesn't have an index number such arrays are implemented as
hashes or
On Thursday 15 February 2001 04:31, Dallas Kropka wrote:
I have a few text input boxes that I am using to allow the client to
compose emails for a mailing list... does anyone have a little snippet
that will take the "\n's" and turn them into BR's? I would attempt to
write one myself but
On Thursday 15 February 2001 08:03, Scott Mebberson wrote:
When Jason says 'especially when your note using the cgi' he means the
cgi version of PHP (I think) in preference to installing PHP as an
apache module.
...just as using mod_perl is better than perl as CGI
--
Christian Reiniger
LGDC
"c" == christian [EMAIL PROTECTED] writes:
does anyone know of a way to currency conversions with php? i want
to grab the current currency from some kind of web site and then
convert money to different currency value
I'm sure plenty of people have done this properly, but here's a
quick
Hi!
How can i make my web server PWS parse html file into PHP? cause it shows
nothing when i include php in an html file.However it works when i put it in
a php file !
Thanks
_
Get Your Private, Free E-mail from MSN
Gerald,
although I cannot give you extensive answers, I hope I can help you in
some points:
1) JSPs can persist variables at the page, request, session and application
scopes. I believe PHP variables are implicitly page-scoped, and session
management can be used for session-scoping. Are
use
array_splice ($myarray, 1 ,1);
hope that helps
best regards
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
- Original Message -
From: "David Tandberg-Johansen" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:35 PM
Subject: [PHP] Array
http://liga1.com/
new weblog on localisation, internationalisation, globalisation and
accessibility issues.
Any feedback welcome, and feel free to participate, post articles, ...
Peter
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Joe,
I believe that the concept of the Zend Cache shows the contrary. It
basically pre-parses scripts and stores them in memory. Zend.com give
figures up to 603% performance increase
(http://www.zend.com/cguidemo/benchmark_frame.html). Part of this
certainly is due to less disk access, the other
php-i18n Digest 15 Feb 2001 11:20:21 - Issue 52
Topics (messages 123 through 123):
weblog on i18n issues
123 by: Peter Van Dijck
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To
On Thu, Feb 15, 2001 at 12:01:35PM +0100, Thies C. Arntzen wrote:
On Thu, Feb 15, 2001 at 04:17:06AM +0200, Zeev Suraski wrote:
This patch won't always work (it may cause the link not to be closed when
it's supposed to). I committed a different patch to the CVS - can you
under what
At 13:01 15/2/2001, Thies C. Arntzen wrote:
On Thu, Feb 15, 2001 at 04:17:06AM +0200, Zeev Suraski wrote:
This patch won't always work (it may cause the link not to be closed when
it's supposed to). I committed a different patch to the CVS - can you
under what circumstances?
Well, if
When Jason says 'especially when your note using the cgi' he means the
cgi version of PHP (I think) in preference to installing PHP as an
apache module.
Almost, yes - I literally meant the 'common gateway interface', due to the
fact that the webserver spawns the requested script/program
How can i make my web server PWS parse html file into PHP? cause it shows
nothing when i include php in an html file.However it works when i put it
in
a php file !
You need to edit your registry (using regedit or a .reg file based on the
one shown here).
-Original Message-
From: Chris Carbaugh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 1:39 AM
To: Mike Tuller; Michael Stearne
Cc: php mailing list
Subject: Re: Re: [PHP] PDF Functions
Redhat's *.0 releases are known to be problematic. They are usually
pretty
Hi all:
A question tangentially related to the former one. I have seen lots of
tutorials about how to parse XML files using PHP and generate something
else (usually HTML) from it, but I haven't seen anything so far about
generating XML with some specific data.
Basically, what I
gluke Thu Feb 15 03:50:49 2001 EDT
Modified files:
/php4/ext/mnogosearch php_mnogo.c test.php
Log:
Added thow new mnoGoSearch agent session parameters:
UDM_PARAM_WEIGHT_FACTOR and UDM_PARAM_WORD_MATCH.
Index: php4/ext/mnogosearch/php_mnogo.c
diff
This is because your server is set up to parse .php files as php, and .html
files as html.
If you have access to your httpd.conf or whatever, you can set it to include
.html files in the php parsing. If not, you'll have to stick with calling
your php files .php.
HTH
Jon
-Original
On Thu, Feb 15, 2001 at 01:47:46PM +0200, Zeev Suraski wrote:
At 13:01 15/2/2001, Thies C. Arntzen wrote:
On Thu, Feb 15, 2001 at 04:17:06AM +0200, Zeev Suraski wrote:
This patch won't always work (it may cause the link not to be closed when
it's supposed to). I committed a different
This has been extensively covered in a step by step process in the PHP
Manual Installation Chapter
http://www.php.net/manual/en/install.iis.php
follow the steps and you will have php working just fine with PWS
best regards
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
-
Oh yes u're right it's that once installing i just cares for php file !
but when i try now, i find that thaere are existent phpfile keys that are
already filled with things related to, for instance in the
shell-open-commnand default ihave the following :
Hi,
Problem:
I'm trying put to work the debugger in php4.0.4pl1(Red Hat Distribution), I
change my php.ini file to enable the debugger but when try to use in a simple
script I get the following error:
Fatal error: Call to undefined function: debugger_on() in
/var/www/html/php/dbg.php on line 2
Well, why not store the item's in the session-var? When the session dies because of
timeout or user-intervention, the items dissapear too.
Or store a timestamp along with the items, and refresh the timestamps as needed. Then
put in a cron-job to delete out-of-date items left in the DB at
Hello all,
I've been searching for a framework for MVC in PHP and I've been
unsuccessful thus far.
Does anyone know of one out there?
TIA,
-Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Wed, Feb 14, 2001 at 11:07:46PM -0800, Thomas Edison Jr. wrote:
The code I'm entering is:
?php
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=\"My Realm\"");
Header("HTTP/1.0 401 Unauthorized");
echo "Text to send if user hits Cancel button\n";
exit;
} else {
On Thu, Feb 15, 2001 at 03:57:58AM -0600, Fabian Fabela wrote:
$a="myarray";
myFunction($myarray);
if I try myArray($a); the string "myarray" is sent, and I
want to send $myarray that is the text in $a.
You were pretty close. I think you want to try this:
myFunction($$a);
It is a
How legal is this?
can u use it on a website?
free?
- Original Message -
From: Robin Vickery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 10:46 AM
Subject: Re: [PHP] currency conversion
"c" == christian [EMAIL PROTECTED] writes:
does anyone know of
Hi,
I have 4 images, and I copy three of them onto one main background, these
images all have fairly different colors and as you can imagine the resulting
image looks splotchy and missing colors.
What do i need to do to make sure the resulting image looks proper?
--
David Raufeisen [EMAIL
Wddx may also be an option. That would allow you to serialize the xml
into php variables so that you could use them in your example. But if
your provider won't compile xml in, I doubt you'll be able to get wddx.
Shaun
On Wed, 14 Feb 2001, Stefen Lars wrote:
Hello all
I have recently been
thies Thu Feb 15 05:41:05 2001 EDT
Modified files:
/php4/ext/xml xml.c
Log:
fixed SEGFAULT when using xml_set_object. Zend does not yes support
cyclic references!
Index: php4/ext/xml/xml.c
diff -u php4/ext/xml/xml.c:1.71 php4/ext/xml/xml.c:1.72
thies Thu Feb 15 06:01:18 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
0..255
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.187 php4/ext/standard/string.c:1.188
--- php4/ext/standard/string.c:1.187Fri Feb 2
I'm sure this wont' help, but just in case you may have missed the obvious
(it happens sometimesg)..Make sure you PHP script has the extension .PHP
.. The server won't recognize it as a PHP file otherwise, and it won't know
what to do with it. Also this extension has to be registred properly on
Gerald Gutierrez wrote:
Hi all.
I understand that a lot of JSP Vs. PHP questions have been asked on this
list, but they've been philosophical and general in nature. I have some
specific questions and was hoping that someone might be able to entertain them:
1) JSPs can persist variables
Hi!
Right now, I'm trying to figure out which step in order is
appropriate. I'm going to put it down now, if I got it wrong then help me
out with the correct order. Whether it is from scratch or from existing
softwares.
1) OpenSSL
2) libmcrypt (Add-on to PHP)
Hi everyone,
im doing a statistics type system with PHP4 and I was wondering if
anyone had any experience of creating charts/graphs with PHP.
Cheers
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Can someone please help? I'm seeing lots of interesting message headings
go by in the digest, but I can't get to the current archive. I get the
error message: "Forbidden. You don't have permission to access
/mail/php-general/2001012/ on this server." But I can get to all the other
archives.
Hi!
please help me !
i have tried to do what is that url concerning html file but i've found that
there is already a key called htmlfile where the default is filled with
Microsoft HTML Document 5.0 and the shell-open-command with
"C\PROGRA~1\Plus!\MICROS~1\iexplorer.exe" -nohome
i get rid of
Therefore any date on or before 1 Jan 1970 ain't going to
work using mktime or any PHP function which returns a
UNIX timestamp.
I'm sorry, but this is wrong. The following works with no
problems whatsoever.
script language="php"
$month = 3;
$day = 9;
$year = 1935;
echo
You must be viewing old documentation.
http://php.net/manual/en/debugger.php
clearly states that debugger, ie debugger_on() support is in php3 only, not
in php4.
Your not out of luck though, you could still use the Zend Debugger, the Zend
boys seem to be quite eager to improve its current
thies Thu Feb 15 06:48:59 2001 EDT
Modified files:
/php4/ext/cpdf cpdf.c
/php4/ext/gdgd.c gd_ctx.c
/php4/ext/hyperwave hw.c
/php4/ext/interbase interbase.c
/php4/ext/oci8 oci8.c
/php4/ext/pdf pdf.c
I was reading through the documentation on sessions at
http://www.php.net/manual/en/html/ref.session.html
I have a few questions..
1) How do I explicitly close a session, so that any subsequent attempts to
use pages would require a new session started? Will session_destroy() do
this?
2) I
hi, can anyone help me spot the parse error?
It's throwing up on the first "if" line, and for the life of me I cannot
find it! :)
tia,
andrew
?php
include("db_connect_params.inc");
$sql="select path from PHOTO where pid =1";
$link_id = mysql_connect($host, $usr, $pass);
$result =
Hello everyone:
I'm trying to build a table with the last row being a check function for
an image, where it checks if the item image exists in the image
directory and either echos "no image" or places a small icon of
something (I guess you could say Ebay style).
The problem is that the fuction
After hours of pulling my hair out and staring a C code I don't understand,
I almost have a generic PHP multiplexing TCP server running. Basically
right now multiple clients can connect and be recognized by the server and
the server is aware of incoming input from the clients.
This is mostly
El Jue 15 Feb 2001 11:47, escribiste:
Hi!
Right now, I'm trying to figure out which step in order is
appropriate. I'm going to put it down now, if I got it wrong then help me
out with the correct order. Whether it is from scratch or from existing
softwares.
1) OpenSSL
Instead of
if ((mysql_num_rows($result)) = 1)
try
if ((mysql_num_rows($result)) == 1)
HTH
Jon
-Original Message-
From: Andrew [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 15:34
To: [EMAIL PROTECTED]
Subject: [PHP] parse error driving me nuts ...
hi, can anyone help me spot
Try to use == instead of =
Sorin Ifrim
- Original Message -
From: Andrew [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 5:33 PM
Subject: [PHP] parse error driving me nuts ...
hi, can anyone help me spot the parse error?
It's throwing up on the first
On Thu, 15 Feb 2001, Scott wrote:
I am uploading files and want to limit the size of the file. I can do this
as long as the file that I am uploading doesn't exceed the Server limit. We
don't own the server so I can't change any configuration on the server.
Is there a way to Catch the
hi, can anyone help me spot the parse error?
It's throwing up on the first "if" line, and for the life of me I cannot
find it! :)
tia,
andrew
?php
include("db_connect_params.inc");
$sql="select path from PHOTO where pid =1";
$link_id = mysql_connect($host, $usr, $pass);
$result =
I think that the registry key you are playing with here just sets what
happens when a file is opened (e.g. by double clicking on it). It should
have no effect on how PWS deals with the file. You should restore that to
it's original setting.
When you have had .php files working, I assume that you
Jon, John, Ifrim, the == worked ... thank you!!
gotta read up on it now :)
Cameron, dropping the extra () did not work :(
thanks for the suggestions folks!
andrew
-Original Message-
From: Jon Haworth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 10:38 AM
To: '[EMAIL
Jon, John, Ifrim, the == worked ... thank you!!
gotta read up on it now :)
Cameron, dropping the extra () did not work :(
thanks for the suggestions folks!
andrew
Remember that '=' means assign what is on the right to what is on the left,
whereby '==' means is what is on the left equal
why does this
?php
$string = "this is my string.";
print $string . "br\n";
$string = preg_replace(
array( '/is/', '/string/'),
array( 'is not', 'bit of text' ),
$string
);
print $string
Try this :
?php
$foo = array('a','b','c');
unset($foo[1]);
print_r($foo);// [0] = a [2] = c
$bar = array('a','b','c');
$piece = array_splice ($bar, 1 ,1);
print_r($piece); // [0] = b
print_r($bar);// [0] = a [1] = c
?
Does anyone know of any sites that have any scripts for managing magazine
subscriptions!
Cheeky I know but may save a lot of time!
Thanks
Andy Kent
Managing Director
Angel Solutions Ltd
t: 0151 737 1048
f: 0870 126 9837
e: [EMAIL PROTECTED]
w: http://www.angelsolutions.co.uk
Hi all,
Unique ID Software are looking for a new permanent PHP
and MySQL programmer. The company is based in central
London and works in the video/film industry.
The main product is called Cakes (don't ask!) which
transparently manages video footage in a professional
environment. I think we
I have the same problem but i don't study the record which is the
subject of the update query.
I tested just the object "db" from ac_store, which has the props Host,
Database, user. The values of the db are correct in a debug mode (print
the values :o) ) but in the command query($q) is the error.
First Thanks !
well yes when i call http://localhost/myfile.html
it skips the php syntaxes it shows wht is only in the html tags!
Can you check that a view source shows all your php code.
What OS are you running - 9x or NT WS?
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
Thanks a lot guys for ur help!
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Ah right, strings not words, I feel like a dummy now... ;-)
-Original Message-
From: John Vanderbeck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 10:57 AM
To: [EMAIL PROTECTED]; Robin Vickery; [EMAIL PROTECTED]
Subject: Re: [PHP] ereg_replace
why does this
Folks:
I have some code that encrypts data using a relatively long (164 characters)
alphanumeric key.
The code for encrypt is:
$encrypted = mcrypt_cbc( MCRYPT_TripleDES, $secret_key, trim($data),
MCRYPT_ENCRYPT);
and the decrypt code is:
$decrypted = mcrypt_cbc( MCRYPT_TripleDES,
I am using MySQL 3.22.32 and PHP 4.01PL2, but it seems that
mysql_db_query($db, $myQuery) is not quite stable, actually, in my code, it is like
mysql_db_query($db, $myQuery) or die "Something wrong during query");
1 out of 15 (the same query), it will "die".
Does anyone have any suggestion?
Hi, on PHP.ini, it's said
[mail function]
SMTP = localhost ;for win32 only
sendmail_from = [EMAIL PROTECTED] ;for win32 only
;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail
-t -i')
Well, my question is : does anyone knows abasic solution to use another
"VB" == "Brian V Bonini" [EMAIL PROTECTED] writes:
Ah right, strings not words, I feel like a dummy now... ;-)
-Original Message- From: John Vanderbeck
[mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001
10:57 AM To: [EMAIL PROTECTED]; Robin Vickery;
[EMAIL
I will as soon as the final release comes out. I don't want to rely on the
beta now. Even though it is very stable. It will be nice to have standard
hardware for a change.
Mike
From: Michael Stearne [EMAIL PROTECTED]
Date: Thu, 15 Feb 2001 00:53:22 -0500
To: [EMAIL PROTECTED]
Cc: Mike
I'm running PHP4.0.4pl1-Win32, Zend Engine v1.0.4, Zend Optimizer v1.0.0, I
tryed to run sample script for creating PDF document. It's PHP manual
script, but I get message like this:
Fatal error: Call to undefined function: pdf_new() in c:/web/pdf/pdf.php on
line 2
phpinfo.php said:
try using mysql_query( $qQuery, $dbConnection );
At 10:32 AM 2/15/01 -0600, Zhu George-CZZ010 wrote:
I am using MySQL 3.22.32 and PHP 4.01PL2, but it seems that
mysql_db_query($db, $myQuery) is not quite stable, actually, in my code,
it is like
mysql_db_query($db, $myQuery) or die "Something
Couldn't find one in the manual under arithmetic functions.
--
Randy Perry
sysTame
Mac Consulting/Sales
--
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:
Randall Perry wrote:
Couldn't find one in the manual under arithmetic functions.
%
-Egon
--
SIX Offene Systeme GmbH Stuttgart - Berlin
Sielminger Strae 63 D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 Fax +49 711 9909199 http://www.six.de
Besuchen Sie uns auf
Randall Perry wrote:
Couldn't find one in the manual under arithmetic functions.
You would've found it under operators, I think.
It's %
regards
Wagner
--
Three may keep a secret, if two of them are dead.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
I have an array of search results which I am searching through and
unset()ing unwanted search results. My question is once I have unset a
result there is then a break in the numeric index and how do I stop this
from happening or reindex the results. Like this..
$results = array(0 = array(more
$remainder = 10 % 5;
--- Randall Perry [EMAIL PROTECTED] wrote: Couldn't
find one in the manual under arithmetic
functions.
--
Randy Perry
sysTame
Mac Consulting/Sales
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For
Hello,
Is it impolite to ask about when approximately PHP will support Exception
handling ? :)
Thanks !
--
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:
on 2/15/01 12:01 PM, Mukul Sabharwal at [EMAIL PROTECTED] wrote:
$remainder = 10 % 5;
--- Randall Perry [EMAIL PROTECTED] wrote: Couldn't
find one in the manual under arithmetic
Thanks
--
Randy Perry
sysTame
Mac Consulting/Sales
--
PHP General Mailing List (http://www.php.net/)
Try this :
?php
$foo = array('a','b','c');
unset($foo[1]);
print_r($foo);// [0] = a [2] = c
$bar = array('a','b','c');
$piece = array_splice ($bar, 1 ,1);
print_r($piece); // [0] = b
print_r($bar);// [0] = a [1] = c
?
Hello,
Anybody here would know, how I could inverse the date sorting or ordering?
This script below gives me for example:
2001-01-01
2001-01-15
2001-01-31
and so on...
when I wish it would gives me:
2001-01-31
2001-01-15
2001-01-01
and so on...
-
thies Thu Feb 15 08:56:49 2001 EDT
Modified files:
/CVSROOTcvsusers
Log:
by request
Index: CVSROOT/cvsusers
diff -u CVSROOT/cvsusers:1.214 CVSROOT/cvsusers:1.215
--- CVSROOT/cvsusers:1.214 Mon Feb 12 04:05:12 2001
+++ CVSROOT/cvsusersThu Feb
add a DESC to your order by clause... fairly simple SQL syntax, could be
picked up from a myriad of SQL references and manuals
$sql = "select * from table_name WHERE TO_DAYS(NOW()) - TO_DAYS(date) = 21
order by date DESC";
At 12:14 PM 2/15/01 -0500, Malouin Design Graphique wrote:
Hello,
I am new to php and I am wondering if it is possible to use a javascript
variable in a php statement for example:
// create sql statement
$sql = "select * from main where businesstype = "consultancy" and
top.upper.villagename = != "0";";
Is it possible to make this work if
Hi!
I read the instruction and am not sure on whether to proceed or not.
The instruction mentioned that you install/compile the FreeTDS first then
compile PHP 2nd. So, does this mean I have to compile Apache as well?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To
1 - 100 of 233 matches
Mail list logo