It seems so
Sent from my iPhone 5 Beta [Confidential use only]
On 7 jun. 2012, at 20:07, Sven Kowalski sven-kowal...@gmx.de wrote:
does it work now?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List
On 6/7/12 1:07 PM, Sven Kowalski wrote:
does it work now?
It pretty much always did.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 20, 2012, at 2:49 PM, Daniel Brown wrote:
On Mon, Feb 20, 2012 at 14:40, Bastien phps...@gmail.com wrote:
Definitely doesn't work
The list works just fine, it's you goofs who need to work now! ;-P
It still doesn't work and I didn't get this. :-)
Cheers,
tedd
It's like coming home, I knew I could count on certain of you to make
light of this and that makes me strangely happy.
On 2/21/2012 7:55 AM, Tedd Sperling wrote:
On Feb 20, 2012, at 2:49 PM, Daniel Brown wrote:
On Mon, Feb 20, 2012 at 14:40, Bastienphps...@gmail.com wrote:
Definitely
On Feb 21, 2012, at 9:44 AM, Jay Blanchard wrote:
It's like coming home, I knew I could count on certain of you to make light
of this and that makes me strangely happy.
Seek professional help now. :-)
Cheers,
tedd
_
tedd.sperl...@gmail.com
http://sperling.com
--
PHP
On Mon, Feb 20, 2012 at 13:57, Jay Blanchard
jay.blanch...@sigmaphinothing.org wrote:
Does this work?
It does now. Guessing your host fixed some routing issues when
you contacted them.
--
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/
--
PHP General Mailing List
Does this work?
No?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nope doesn't work, ;)
On Feb 20, 2012, at 1:57 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org
wrote:
Does this work?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To
On Mon, Feb 20, 2012 at 8:57 PM, Jay Blanchard
jay.blanch...@sigmaphinothing.org wrote:
Does this work?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it works
Definitely doesn't work
Bastien Koert
On 2012-02-20, at 2:21 PM, Jason Pruim li...@pruimphotography.com wrote:
Nope doesn't work, ;)
On Feb 20, 2012, at 1:57 PM, Jay Blanchard
jay.blanch...@sigmaphinothing.org wrote:
Does this work?
--
PHP General Mailing List
On Mon, Feb 20, 2012 at 14:40, Bastien phps...@gmail.com wrote:
Definitely doesn't work
The list works just fine, it's you goofs who need to work now! ;-P
--
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/
--
PHP General Mailing List (http://www.php.net/)
To
I'll be darned - it finally works. What's up with that?
On Feb 20, 2012, at 1:49 PM, Daniel Brown wrote:
On Mon, Feb 20, 2012 at 14:40, Bastien phps...@gmail.com wrote:
Definitely doesn't work
The list works just fine, it's you goofs who need to work now! ;-P
--
/Daniel P. Brown
Someone finally got off their butt and got some work done? ;)
And I have today off for Washingtons birthday!
On Feb 20, 2012, at 2:59 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org
wrote:
I'll be darned - it finally works. What's up with that?
On Feb 20, 2012, at 1:49 PM, Daniel
It's alvvve!!!
Sent from my iPhone 5 Beta [Confidential use only]
On 20 feb. 2012, at 21:08, Jason Pruim li...@pruimphotography.com wrote:
Someone finally got off their butt and got some work done? ;)
And I have today off for Washingtons birthday!
On Feb 20, 2012, at 2:59
Nooo, It's DEAD!
On Mon, Feb 20, 2012 at 9:45 PM, Camilo Sperberg unrea...@gmail.com wrote:
It's alvvve!!!
Sent from my iPhone 5 Beta [Confidential use only]
On 20 feb. 2012, at 21:08, Jason Pruim li...@pruimphotography.com wrote:
Someone finally got off their butt and got some
I tried again and got this error message:
Hi. This is the qmail-send program at outbound-mail-319.bluehost.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
php-general@lists.php.net:
On Mon, Jan 11, 2010 at 15:52, LAMP l...@afan.net wrote:
I tried again and got this error message:
Hi. This is the qmail-send program at outbound-mail-319.bluehost.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry
Daniel Brown wrote:
On Mon, Jan 11, 2010 at 15:52, LAMP l...@afan.net wrote:
I tried again and got this error message:
Hi. This is the qmail-send program at outbound-mail-319.bluehost.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent
-Original Message-
From: Daniel Lambert [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 26, 2008 2:48 AM
To: php-general@lists.php.net
Subject: [PHP] Test
Just testing to see if this is correct address to email to.
It depends on what you are asking
--
PHP General Mailing List
On Wed, Feb 27, 2008 at 5:33 PM, Ray Hauge [EMAIL PROTECTED] wrote:
I recently figured out how to use two SMTP accounts in Thunderbird.
Hopefully this will help the list to not count me as spam so much (I was
using my own host to send as gmail... doesn't work so well).
I hadn't noticed a
John Pillion wrote:
I'm trying to recursively loop through a multi dimensional array with
unknown keys and unknown values, and echo the keys/values to a sql
statement, where the key is the field, and the value is the. value.
What I want to do is test an array index to see if it has any children
Stupid?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2006-08-29 at 23:00 -0400, Rafael Mora wrote:
Hello! this is a test, can anyone tell me if u are getting my emails??
I'm not getting them :/
Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com |
At 1:36 PM -0700 5/4/06, Ryan A wrote:
Hi again,
Kindly save the below code as t.php and run it in as
many browsers/servers you can, then click on each of
the links and tell me if you run into any problems.
(Basically, I am checking to see how many characters
we can have in a URL that the
Ryan:
http://xn--ovg.com/t.php
In Safari 2.0.3, FireFox 1.5.0.2, IE 5.2, Mozilla
1.83a I could run
8168 characters (f-click) without any problems. But,
Opera 8.5 failed.
However, when I increased it to 8169 characters
(g-click) they all failed.
HTH's
tedd
PS: Mac OS-X
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 1:36 PM said:
(Basically, I am checking to see how many characters
we can have in a URL that the server will accept and
process, the script checks 200-1000 chars.. add more
if you want to)
Without any tweaking of the server mine
On Thu, May 4, 2006 4:51 pm, Chris W. Parker wrote:
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 1:36 PM said:
(Basically, I am checking to see how many characters
we can have in a URL that the server will accept and
process, the script checks 200-1000 chars.. add more
if
Hey,
Thanks for replying and testing it out.
Here's the thing though: Do you really want a
4000-char URL?
Not at all, I just wanted to know if I can put 30-50
words in a url or would it break
MOST people asking this question are e, not
newbies,
Well, if you compare me to the
Hey,
Thanks for replying and testing it out.
Without any tweaking of the server mine went up to
4000 without a
problem. However, 5000 always times out.
Fx 1.5, Apache 2, Fedora 4, PHP 4.3.11
Cool...
Are you sure you searched on this subject?
maximum url length in Google turns up a
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, May 04, 2006 4:08 PM said:
Are you sure you searched on this subject?
maximum url length in Google turns up a number of
resources saying 2083 due to IE's limit.
Yes, I mentioned that in my original post...
Yes I know, that's why I said,
Paul Scott wrote:
On Tue, 2006-04-04 at 15:32 -0800, Angelo Zanetti wrote:
Ive developed a site and now I've come to the stage where I need to test each
textfield on each form for illegal characters that have been inputted.
I would like to know from some of you how you go about it?
In our
On Wed, 2006-04-05 at 13:34 -0800, Angelo Zanetti wrote:
Thanks for the reply. So what do you do if someone enters illegal characters
in one of your form? Do you inform the user and prompt them to enter the
fields again or do you just strip out all the bad
characters and enter the rest of
Paul Scott wrote:
On Wed, 2006-04-05 at 13:34 -0800, Angelo Zanetti wrote:
Thanks for the reply. So what do you do if someone enters illegal characters in one of your form? Do you inform the user and prompt them to enter the fields again or do you just strip out all the bad
characters and
On Tue, 2006-04-04 at 15:32 -0800, Angelo Zanetti wrote:
Ive developed a site and now I've come to the stage where I need to test each
textfield on each form for illegal characters that have been inputted.
I would like to know from some of you how you go about it?
In our framework, we use a
- Original Message -
From: PHP Mailer [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Saturday, March 25, 2006 10:59 AM
Subject: [PHP] Test email
Seems pretty dead tonight.
Checking POP3 quickly.
Ignore this email or reply kindest!
=)
--
PHP General Mailing List
Gregory Machin wrote:
Hi
Is there an application that can pass source code and report potential
security problem and or the live site ?
Many thanks
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.linuxpro.co.za
www.exponent.co.za
Web Hosting Solutions
Scalable Linux Solutions
Thanks looks good will read on further .
On 3/9/06, Chris [EMAIL PROTECTED] wrote:
Gregory Machin wrote:
Hi
Is there an application that can pass source code and report potential
security problem and or the live site ?
Many thanks
--
Gregory Machin
[EMAIL PROTECTED]
[EMAIL
Hello there...
i think you can lessen this effort by improving your qualitymanagement
during the planing and development phase of your projects (means making
a lot of UML diagrams and so on...).
You may try to let the application handle its missbehavours by itself.
If you don't want anyone to
William Stokes wrote:
Hello
What is the best way to determine if a variable has no value?
if ($var== '')
or
if ($var== 'null')
Can 'null' be used here?
yeah buts its a string which doesn't do what you want.
if (empty($var)) { echo 'yes'; }
or:
if (is_null($var)) { echo 'yes'; }
William Stokes wrote:
Hello
What is the best way to determine if a variable has no value?
if ($var== '')
or
if ($var== 'null')
Can 'null' be used here?
Depends what you mean by no value. I suggest you read
http://php.net/is_null, http://php.net/empty and http://php.net/isset.
-Stut
How about...
if (!$x){
echo x is empty;
}
Regards,
Rodolfo Andradee
- Original Message -
From: Stut
To: William Stokes
Cc: php-general@lists.php.net
Sent: Wednesday, January 11, 2006 8:08 AM
Subject: Re: [PHP] test variable value?
William Stokes wrote:
Hello
What
Rodolfo Andrade wrote:
How about...
if (!$x){
echo x is empty;
}
Because $x could be an empty string, 0, false, null or undefined. If
that's what you need to check for then knock yourself out.
-Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Subject: Re: [PHP] test variable value?
Rodolfo Andrade wrote:
How about...
if (!$x){
echo x is empty;
}
Because $x could be an empty string, 0, false, null or undefined. If
that's what you need to check for then knock yourself out.
-Stuart
--
PHP General Mailing List (http://www.php.net
.
- Original Message -
From: Stut
To: Rodolfo Andrade
Cc: William Stokes ; php-general@lists.php.net
Sent: Wednesday, January 11, 2006 11:49 AM
Subject: Re: [PHP] test variable value?
Rodolfo Andrade wrote:
How about...
if (!$x){
echo x is empty;
}
Because $x could be an empty
Gerry Danen wrote:
On 1/11/06, M. Sokolewicz [EMAIL PROTECTED] wrote:
remember though that
if(!$x) {
echo 'nothing here';
}
will also output 'nothing here' when provided with the string '0'!
That's because (!$x) means ($x == false) and '0' is false...
Gerry
I know that, and you know
On 1/11/06, M. Sokolewicz [EMAIL PROTECTED] wrote:
remember though that
if(!$x) {
echo 'nothing here';
}
will also output 'nothing here' when provided with the string '0'!
That's because (!$x) means ($x == false) and '0' is false...
Gerry
did it work ;)
On 10/14/05, Alan Lord [EMAIL PROTECTED] wrote:
please ignore
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Amazingly Yes!
Dan McCullough wrote:
did it work ;)
On 10/14/05, Alan Lord [EMAIL PROTECTED] wrote:
please ignore
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Tue, 2005-06-07 at 14:46 +0200, Hans J.J. Prins wrote:
test
Failed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gmail doesn't show you your own posts
why is that??
Angelo Zanetti
Z Logic
www.zlogic.co.za
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
gmail doesn't show you your own posts
why is that??
[/snip]
Sounds like a question for the gmail folks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/31/05, Justin Hannus [EMAIL PROTECTED] wrote:
testing
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What about it?
--
PHP rocks!
Knowledge is Power. Power Corrupts. Go to school, become evil
Disclaimer: Any disclaimer
it worked
-Original Message-
From: Martin Zvarik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 31, 2005 11:40 AM
To: php-general@lists.php.net
Subject: [PHP] TEST
test dammit, doesnt work
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
It sometimes takes a while for posts to get through to the list.
On 5/31/05, Martin Zvarik [EMAIL PROTECTED] wrote:
test dammit, doesnt work
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good test!
On 4/4/2005 2:46:14 PM, [EMAIL PROTECTED] wrote:
Test
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
--
No virus found in this outgoing
-
?php
/*
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?
From: [EMAIL PROTECTED]
Date: Tue, 5 Apr 2005 09:40:55 +0800
To: php-general@lists.php.net
Subject:
[snip]
Is the list active?
My last received message is:
[PHP] die function
[/snip]
yes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 15 February 2005 14:54, Giulio wrote:
only a test.
Your test was successful
--
NSK
http://portal.wikinerds.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2004-12-28 at 18:09 +0100, Steven Spierenburg wrote:
to see if i can post...
no, you can't.
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | [EMAIL PROTECTED]
* 503.351.4730 |
On Wednesday 29 December 2004 01:09, Steven Spierenburg wrote:
to see if i can post...
If you have something to post why not just post it.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design Hosting * Internet Intranet Applications
Cosmin wrote:
test
Had this been a real email, we would have been given instructions on how
to reply. This has been a test of the emergency php email broadcast system.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Jay Blanchard wrote:
Odd stuff this morning.
I think it's overloaded with unsubscribe requests.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sheesh.. ok, who is going to sign that denise character back up to the
list :P
Jason
Marek Kilimajer [EMAIL PROTECTED] wrote:
Jay Blanchard wrote:
Odd stuff this morning.
I think it's overloaded with unsubscribe requests.
--
PHP General Mailing List (http://www.php.net/)
To
Please just read the manual
Function is_integer ... it seems ok ?
cdt
Pierre
-Message d'origine-
De : vlad georgescu [mailto:[EMAIL PROTECTED]
Envoyé : mardi 29 juin 2004 22:13
À : php-general
Objet : [PHP] test if $int is integer
how can test if var $int is integer ?
--
PHP
On Wednesday 02 June 2004 02:15, Tom Chubb wrote:
Sorry if anyone else gets this, but I'm not receiving any emails at the
moment and wanted to check my subscription.
In future please use one of the list archives to check that the list is
functioning. Eg:
From: Tom Chubb [EMAIL PROTECTED]
Sorry if anyone else gets this, but I'm not receiving any emails at the
moment and wanted to check my subscription.
You know php-general is working when you get emails from Advance Credit
Suisse Bank and the Information Desk.
---John Holmes...
(Sorry... had
John W. Holmes wrote:
From: Tom Chubb [EMAIL PROTECTED]
Sorry if anyone else gets this, but I'm not receiving any emails at the
moment and wanted to check my subscription.
You know php-general is working when you get emails from Advance Credit
Suisse Bank and the Information Desk.
---John
No [EMAIL PROTECTED] about the spammers!
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
John W. Holmes wrote:
From: Tom Chubb [EMAIL PROTECTED]
Sorry if anyone else gets this, but I'm not receiving any emails at the
moment and wanted to check my subscription.
Sherri wrote:
Yup. this is a test. Sorry.
Did we pass??
--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Tuesday, October 21, 2003, 5:04:14 PM, you wrote:
JW I am trying to create a remote status page for my website. So far, I
JW have found the fsockopen() function and used the example code to create
JW the following basic script:
JW ?php
JW $fp = fsockopen (xxx.xxx.xxx.xxx, 80, $errno,
On Tue, 21 Oct 2003 00:04:14 -0700
Jason Williard [EMAIL PROTECTED] wrote:
I am trying to create a remote status page for my website. So far,
I have found the fsockopen() function and used the example code to
create the following basic script:
?php
$fp = fsockopen (xxx.xxx.xxx.xxx, 80,
Thank you. That worked perfectly.
Jason
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 12:34 AM
To: Jason Williard
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Test Connection - fsockopen()
Hi,
Tuesday, October 21, 2003, 5:04:14 PM, you
Doug Coning said the following on 9/26/2003 12:15 PM
Greetings All,
I am creating a 'links' page and was wondering if there was a way in PHP
to test the response of an outside link? I'm sure everyone here has
clicked on a links page link and have a No Page Found error because no
one is keeping
Ive used curl to test stuff out with too...however, if on link i like to
use wget to test it out. You might not have that option but I have seen
others use fopen or file_get_contents.
HTH,
BigDog
On Fri, 2003-09-26 at 10:15, Doug Coning wrote:
Greetings All,
I am creating a 'links' page and
lol...if on linux...
On Fri, 2003-09-26 at 12:35, Ray Hunter wrote:
Ive used curl to test stuff out with too...however, if on link i like to
use wget to test it out. You might not have that option but I have seen
others use fopen or file_get_contents.
HTH,
BigDog
On Fri, 2003-09-26 at
On that same note, if this list did NOT except attachments, we wouldn't have
to worry as much about Thank You! and Details, etc...
-Original Message-
From: Wouter van Vliet [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 7:47 PM
To: PHP General
Subject: [PHP] test - please ignore
Ivo Pletikosic mailto:[EMAIL PROTECTED]
on Friday, August 01, 2003 5:10 PM said:
Wrapping the zipinfo utility in php did not help since it does not
return an exit code whether it succeeded or not.
Well if zipinfo returns anything at all it's probably valid. If it
doesn't then it's probably
* Thus wrote Ivo Pletikosic ([EMAIL PROTECTED]):
Hello all,
How do I go about checking if a file is a zip file?
Wrapping the zipinfo utility in php did not help since it does not return an
exit code whether it succeeded or not.
I'm assuming the zipinfo your talking about is part of the
On Sun, 2003-06-15 at 13:28, jb wrote:
Testing news reader
Please use a test group for your testing. misc.test is a good bet.
--
Torben Wilson [EMAIL PROTECTED]+1.604.709.0506
http://www.thebuttlesschaps.com http://www.inflatableeye.com
Come on, check the mysql section of the PHP manual ... this took about 20 sec
http://www.php.net/manual/en/function.mysql-list-tables.php
At 11:34 PM 3/30/2003 +0300, Antti wrote:
How do I test if a mysql table exists or not? Is there a function for
this? I didn't find a good one.
-antti
--
PHP
use mysql_query(show tables); get them in array and then scan the array
thats what i would do if there isn;t any function
Friendship is always a sweet responsibility, never an opportunity.
HaSeEb IqBaL.
0300-4258030
- Original Message -
From: Antti [EMAIL PROTECTED]
To: [EMAIL
On 30-Mar-2003 Antti wrote:
How do I test if a mysql table exists or not? Is there a function for
this? I didn't find a good one.
-antti
function tableexists($tbl) {
$res = @mysql_query(SELECT 1 FROM $tbl LIMIT 1);
return ($res ? true : false);
}
Regards,
--
Don Read
Sebastian wrote:
put this in a .php file:
?php phpinfo(); ?
it'll tell you what OS, (usually)
check if safe mode is on.. if it's on then usually you can't exec
anything.
cheers,
- Sebastian
Yes I know but my aim is to make a php script which checks automaticly
if the php and the shell functions I
On Sat, 22 Mar 2003 12:59:19 -0800, you wrote:
Yes I know but my aim is to make a php script which checks automaticly
if the php and the shell functions I need are available.
If you look at the output of phpinfo() you'll see a whole bunch of
variables that are set differently depending on the
At 21:59 22.03.2003, Vincent M. said:
[snip]
Yes I know but my aim is to make a php script which checks automaticly
if the php and the shell functions I need are available.
[snip]
You can use function_exists() and
put this in a .php file:
?php phpinfo(); ?
it'll tell you what OS, (usually)
check if safe mode is on.. if it's on then usually you can't exec
anything.
cheers,
- Sebastian
- Original Message -
From: Vincent M. [EMAIL PROTECTED]
| Hello,
|
| Is there anyway to check these two things:
At 08:52 20.03.2003, cpaul said:
[snip]
ok thanks - that makes sense. sort of doesn't solve my problem, because
if my function receives an enumerated array, i want it to treat it as an
associative array, using the value as the key.
At 08:52 20.03.2003, cpaul said:
[snip]
ok thanks - that makes sense. sort of doesn't solve my problem, because
if my function receives an enumerated array, i want it to treat it as an
associative array, using the value as the key.
At 09:57 20.03.2003, cpaul said:
[snip]
as associative array. Take this example:
$a = array('one','two','three');
$b = array(); $b[0] = 'one'; $b[1] = 'two'; $b[2] = 'three';
$c = array(0 = 'one', 1 = 'two', 2 = 'three');
Which one would
So much for the theory - what are you really trying to achieve? Maybe
there's something you can redesign so you're not relying on the fact if an
array is enumerated or not.
thanks very much for your help - i understand now that no matter what
kind of array i think i'm making, it is being
--- cpaul [EMAIL PROTECTED] wrote:
Is there a method to test whether or not an array is associative?
I'm trying to make a function that can deal with whatever type of
array (associative or numeric) that is thrown at it.
It's all the same. An enumerated array is really an associative array
--- cpaul [EMAIL PROTECTED] wrote:
Is there a method to test whether or not an array is associative?
[EMAIL PROTECTED] wrote:
It's all the same. An enumerated array is really an associative array where
every key is an integer. Just treat them all like associative arrays, and
you'll be
Just a note, testing for those characters is trickier than it sounds. The
backslash throws off the test. Here's what I did on a POST form. Note the
-two- backslashes.
$chkstring=substr($thisfile,0,5);
if ($chkstring != {\\rtf) {
// fail
}
This seems to work, but I'm wondering
Not to sure on the RTF file format, but checking the first few letters might
help
Quickly opening a RTF file I see that they start with {\rtf
Maybe look for that.
Andrew
- Original Message -
From: bill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 07, 2003 4:22 PM
Subject:
IF this data is being uploaded via form you should look into $_FILES array,
in particular $_FILES[userfilename][type];
R
On 3/7/03 11:33 AM, Andrew Brampton [EMAIL PROTECTED] wrote:
Not to sure on the RTF file format, but checking the first few letters might
help
Quickly opening a RTF file I
You could always open it and see if the first few characters are
{\rtf1.
Brady
Is there any way to test a file to confirm it is an RTF file?
I'm thinking along the lines of how we can test for an image with
getimagesize().
kind regards,
bill
--
PHP General Mailing List
Guram --
...and then Guram Mosashvili said...
%
% test
Do I have to? I do not support the idea of testing or condone its
activity; I feel that it unfairly pigeonholes the developing spirit
and hinders natural unfoldment.
[Yes, your test worked, but please don't do this ;-]
HTH HAND
:-D
--
At 12:56 21.02.2003, Guram Mosashvili said:
[snip]
test
[snip]
did it
--
O Ernest E. Vogelsinger
(\)ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List
This is a test message. I sent a real message last night and apparently
it didn't make it to the server.
So this is not a real message? Do I exist?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 16:07 20.02.2003, 1LT John W. Holmes spoke out and said:
[snip]
This is a test message. I sent a real message last night and apparently
it didn't make it to the server.
So this is not a real message? Do I exist?
1 - 100 of 174 matches
Mail list logo