I have an array setup as such: *$arr['generated text']='generated number';*
What would be the best way to echo the key in a loop?
Seems pretty easy but I've never attempted...
Thanks all!
Matt Darby
Put this between the page's tags:
http://somesite_to_refresh_to";>
The "1" in the above line controls the time to refresh; the higher the
number, the longer to refresh.
Matt Darby
Miguel Guirao wrote:
Hello people,
I need to have a web page (PHP) that displays
$average = round(($votes/$pts),2);
;)
Ryan A wrote:
people vote on a scale of 1-5, so the average should be between 1-5
(right?? am not even sure of this!)
Yes.
I was thinking of rounding it with a 2 decimal point...eg:
round(5.045, 2)
Just need to solve this and them am hittin
Thanks,
Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
http://www.criticalcode.com
-Original Message-
From: Christian Calloway [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 10:56 AM
To: php-general@lists.php.net
Subject: [PHP] HTML -> PDF PHP Package
Hi Ever
server. Is there a way around something like this? Or perhaps could the
script keep time of how long it has been running will reading/writing and
then be able to continue writing to the partial file? Does anyone have any
suggestions for this problem?
Thanks,
Matt Palermo
http://sweetphp.com
Wouldn't something like rsync be better suited for this?
I only ask because I've run something like this before...
Matt Darby
Richard Davey wrote:
Hello Matt,
Saturday, July 16, 2005, 3:04:29 AM, you wrote:
MP> I am writing a script that will read a file from a remote server
t uses the fopen()
function to access the PHP file, that when the remote PHP file gets executed
it can log some information about the source server which is accessing it?
If so, what kind of code would I need to place in the remote PHP file to
obtain some of the information.
Thanks,
Matt Pa
p.ini:
Find php.ini (not sure where it installs to in Windows version), and set
error_reporting = E_ALL.
This will show all notices and warnings generated by your PHP code;
extremely usefull in debugging.
Matt Darby
Linda H wrote:
Hi,
I'm running MySQL 4.0.21, Apache 2.0.52 and PHP 5.
Try this just for kicks:
See if this will output errors. It's rather hard to debug without error
messages ;)
If I remember correctly, isn't php.ini supposed to be in c:/PHP?
Linda H wrote:
Thanks for the advice, Matt, but it doesn't seem to solve my problem.
php.ini is i
You should definitely see a listing for MySQL in phpinfo()...
What order did you install MySQL/PHP/Apache?
Linda H wrote:
I added the following to the top of my script:
Got all sorts of environment and path info. Not anything about MySQL,
but I didn't see anything that looked obviously wron
George B wrote:
Jay Blanchard wrote:
[snip]
$money -= 10;
saves some chars ;)
[/snip]
This actually requires two trips to the database, once to get $money and
once to update $money. Do it in the query instead...once.
$sqlUpdate = "UPDATE `myDatabase`.`myTable` SET `myMoney` =
(`myMoney`
It *is* a great book (I cut my teeth with it as well):
PHP and MySQL Development (Welling and Thomson)
http://www.amazon.com/exec/obidos/tg/detail/-/0672326728/qid=1121869940/sr=8-1/ref=pd_bbs_1/002-5827183-4477639?v=glance&s=books&n=507846
Read it, learn it, live it.
Matt Darby
Jay B
babu wrote:
It will become a big mess up for me if i combine all the files as they are
large files.
Matt Darby <[EMAIL PROTECTED]> wrote:
babu wrote:
I am using header method for redirecting to another php file.I also want to
pass some variables to the redirected file.
for e
http://uk.php.net/manual/en/ref.session.php
Mikey
So long as you call session_start(); at the very top of your scripts,
sessions will work.
session.auto_start is fine if your entire site will be using sessions.
Matt Darby
correct? This happens to me sometimes if the
query is rather crazy...
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ideas on how
to charge would be great. Thanks
I charge $50/hr. Be very careful when you specify a timeline, it will
always take at least 10-25% more than you estimate! It's better to over
estimate and complete earlier. At least it makes you look good ;)
Good Luck!
Matt Darby
--
PHP Ge
Eugene Voznesensky wrote:
I' looking for free PHP/MySQL Affiliate Tracking
[Management] program. Would appreciate any advice/idea
fd.
Have you looked over sourceforge.net?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The easiest way to fix this is to validate your output. Konqueror is
likely more picky about correct code.
Here is validator output:
http://validator.w3.org/check?uri=http%3A%2F%2Fmichelle.konzack.home.tamay-dogan.homelinux.net%2Ftdlandmap%2F
Michelle Konzack wrote:
Hello *,
I an developing
$_REQUEST['user']==$curr_user?$select="selected":$select="";
echo("$curr_user
Jack Jackson wrote:
Hi,
I have a form and it does basic error checking after submission; when
the user omits required fields it kicks back the form with highlighted
errors telling them the error of their ways
A blank (transparent) pixel would be more difficult, but a simple
colored pixel would be easy:
In target file:
pixel.php
I guess this begs the question, why not use session variables to track
activity??
Matt Darby
Brian Dunning wrote:
I want to create a pixel that can be used to track
The latter is slightly more efficient, but you won't notice the difference.
Incidentally, you should consider separating your presentation from your logic
a little more, but that's a whole other issue.
HTH
Matt
On Thu, 28 Jul 2005, Bruce Gilbert wrote:
Here is
lag in the database that
this link is no longer valid, and redirect the user's browser to the
file (check out the "header" function). The link in the email will only
be valid once (or as many times as you allow). You could even tie this
in with a login/password form.
HTH!
Matt D
Dotan Cohen wrote:
Hi list,
I need to redirerect a page, and send the referer information along
with the redirect. I have tried:
header("Location: $url");
and
print"";
Both of them redirect as expected, but the browser (Firefox and Opera)
do not send referer information along with the request.
, you will have to preface your script's path in your cron
entry with the location of the PHP binary:
0 1 1,15 * * /path/to/php/binary /root/scripts/System_Dump.php
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bad Idea. A Very Bad Idea actually. If he's just looking to
hide error output, he should at least edit php.ini
to log to an error file. Otherwise, debugging his code would be
horrible. The "@" is total slop.
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To uns
True, but if you check that it's equal to 'on' and it doesn't exist,
you'll get a warning. If you want to avoid the warning, check that it
exists first.
Matt
I mean, if $_SERVER['HTTPS'] exists doesn't mean it's equal to 'on'
bu
$num=mysql_num_rows($sql);
Gustav Wiberg wrote:
Hello there!
How do i get a fast count of a recordset in php?
Look at this code:
$sql = "SELECT COUNT(IDVara) cn FROM tbvara WHERE Varunamn LIKE
'$checkLev%'";
$querys = mysql_query($sql);
//Count products in db
//
$dbArray =
;.$file;
ftp_site($connId, $chmodCmd);
This properly changes the folder permissions to 777. Does anyone know why
the ftp_chmod() function doesn't work correctly? As a side note, the
ftp_chmod() function works correctly on a file, but not a directory. Any
help is appreciated.
Thanks,
Matt Palermo
It doesn't make sense to me that the function would work fine on a file and
not work on a directory. Moreover, why would the ftp_site chmod command
produce a working result and not the ftp_chmod? This seems strange to me.
-Matt
"Raj Shekhar" <[EMAIL PROTECTED]> w
an integer like it should
am I the only one who finds this little thing odd or am I missing
something that it is so simple it already sticks out to others as a big
glaring error?
any ideas?
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I should have added in my previous message, what my test input was so :
ok, i login, this is what I typed to test the little piece of code i
previously wrote...
/* my input */
.quit goodbye
/*
just a note, I know that '.quit' by itself is only one word, i guess I
just assumed people would know
hello,
I just wanted to say thank you to the person who basically rewrote the
function i seemed to have problems with and it actually now works.
thanks again
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mpt is where the no-screen-echo finally works like it
should
I must be doing something incorrectly but, what?
thanks
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ering, for an array that has several arrays in it, is there a way to
print the array names that are contained in the "main array" but not the
contents of each?
thanks
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hey, thanks for jogging my memory about the array_keys ; that was exactly
what i wanted,
now I don't have to run the program through the more program now, and i
got all the names of the arrays in the big array without having half of
the info scrolling off the screen.
thanks
matt
-
I wrote a script for this; it's designed to run from the command line in
*nix, but can be triggered via exec():
Usage: ./pdf2thumb.php "source_dir" "out_dir"
[code]
#!/usr/local/bin/php
echo("USAGE: pdf2thumb source_folder_path
\n\n");
exit;
}
if(!isset($argv[1])){usage();}
substr($a
I'm using 5.0.something.
"Al" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Palermo wrote:
>> Hello everyone. I have a script where I am using FTP functions to chmod
>> files/folders. I'm running into a problem with the ftp_chmod
stions. I really need to
upload larger files, and since it's going to an FTP site, there shouldn't be
too many size restrictions.
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, I would like to at least be able to upload a 10mb - 15mb file. I
don't need it to upload files that are HUGE, just a reasonable size.
"zzapper" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 30 Sep 2005 01:19:01 -0400, wrote:
>
>>Hello everyone. I'm basically bui
ything, the code doesn't even wait, it apparently is
some big code problem on my part or i just need to somehow clear the input
buffer, which i assume is just stdin,
do i need something like flush($sock); or did i just hit the nail on the
head with that question
matt
--
PHP General Mailing List
hello again
I have been battling this mysterious char thats showing up in the buffer
when i first log onto my chat, or else try to add new things to the logon
function, I am getting the code not to "fall through" to the next prompt
however, using $varname = socket_recv($sock, $read, 1024, 0)
th
hello again
I was writing and rewriting my user function for my chat server trying to
crush this bug but its beyond me whats going on. basically I have it so
if a new user comes on, we know that if they type "new" at the prompt so
it goes to the newuser function, asks for a username, accepts
od in your case.
HTH!
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;t hurt either ;)
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
word or email)
obviously I'm doing something wrong but what?
matt
ps, hope that is enough of the code to tell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pump it in
but I am not sure if this is the best option so am looking for
suggestions
Thanks!
You can easily do this; you could also cut out the middleman and use the
ODBC driver to import/export directly.
HTH
Matt Darby
--
PHP General Mailing List (http://www.php.net/)
To unsubs
hello all,
I have just installed php-4.4.0 on my windows xp system and added the
directory to the path c:/php-4.4.0-Win32 but I am having problems with the
cli version of php. I can get into the program but after i type a bit of
code, I try the following keys to get output but it never parses
I don't really have a question, I just have noticed in working with php
for about a year off and on, so you could probably say i'm a bit new
still, what an error says it is, or what line it is on, is hardly ever the
case, e.g, several different times until i figured out what this meant, i
would
$query = "SELECT * FROM login WHERE username = '".$_POST['username']."' AND
pass = '". $_POST['pass']."'";
> What is the correct syntax for
>
> $query = "SELECT * FROM login where
> username='$_POST['username']' AND pass ='$_POST['pass']'";
>
>
> Thought this would work.
>
> R.
>
> --
> P
..." instead of "connection:
127.0.0.1"
is this possible with the command line interface?
I am using php 4.3.10 on linux
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes, you assume right, I really did mean socket_getpeername()
its about midnight here and my brain shuts down at about 10:30 :p
thanks for the reply
matt
On Thu, 10 Nov 2005, Curt Zirzow wrote:
On Thu, Nov 10, 2005 at 11:35:06PM -0600, matt VanDeWalle wrote:
hello,
I was wondering, is there
ion for validating emails.
>How do you all validated emails on form submission?
There's a good article on validating e mails here: http://tinyurl.com/9k5jh
Cheers
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
saving the
signup info and then when the user clicks continue, it would have their
info. I know session vars work between two pages but will sessions work
across 3 and 4 pages or not?
thanks
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
script(my php chat server) was crashing at seeminly random times. I
finally figured out that when I logged out of my shell in linux, the
talker would go down as well. Obviously I don't want that but what do I
need to add to the line when i start the script
thanks
matt
ps If it helps,
ah ok thanks, am reading it now
On Mon, 21 Nov 2005, Marcus Bointon wrote:
On 21 Nov 2005, at 17:39, matt VanDeWalle wrote:
I have what may seem like a small problem but its not obvious to me.
I have a script that I forked and that part works fine, it forks, tells me
the pid like I wanted
his in a script now to run my
chat now with nohup, something like this
/* my script to start server */
#!/usr/bin/bash
nohup ./server.php &
of course i have to be in the right directory to do this but it works and
finally, i can log off of my account without the server going down yay!
m
wever, the
code seems to work fine. It still would be better not to use a reference
though.
Thanks in advance,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ect of type Data."
However if I create the link with a reference ...
$link =& new Data();
...everything works fine.
This error is interesting because it only occurs on the machine mentioned
above, in a Windows/MySQL 5.0 environment, everything works fine without the
reference
yesterdays date?
Yup,
DELETE FROM your_table WHERE date_column = curdate() -1;
Cheers
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ee if there is already one open,
therefore despite the fact that this link wasn't even using the same library
(mysql vs mysqli) it didn't matter; only one connection to the database
could be made (as root in this case).
If this is incorrect or anyone has additional insight, please reply
I get string(1) "", should that be taken just the same as 0? In addition
phpinfo() indicates php 5.0.4 - does the upgrade to .5 involve remove .4
first?
btw, as I'm new to the mailing list thing, why do some names appear in
quotes and others do not?
Thanks,
Matt
"
What is the best way to pass an object between pages? Currently I am
first
serializing, then doing a base64_encode, this doesn't seem entirely
efficient. (Especially the encode).
I am however using the encode because I have the serialized object as the
value of a hidden form element. I can only
displays $cars[].
Matt
"blackwater dev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello all,
I have some array code driving me nuts.
I am pulling from a db:
select id, vehicle, has_quotes from cars where active=1
I then loop through these and build an a
the
numeric keys entirely, but after this function they still exist.
Matt
"Pooly" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I've an array :
$ls_statfields=array(
"rfile" =>0,
"file" =>1,
"dev&q
In php.ini (most likely located in your windows directory) look for the
globals section and turn register_globals = on
Matt
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello everyone, i am running PHP 5 on Windows XP Pro SP2, my $_GET and
$_PO
I mean the object itself, not the class (the file containing the class
definition is included on all necessary pages with
require_once("file.inc.php");
I want to create an object on one page ($obj = new MyClass();) and have it
on other pages, all members and functions intact.
Matt
hecked for things like quotes and other
characters that will alter your SQL statement before you actually INSERT
that value into your table.
"Unknown Unknown" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Doesn't that cause security problems?
On 11/25/05
erties into a MySQL or other database? Then on a page that you need
the properties you pull them from the table?
On 11/25/05, Matt Monaco <[EMAIL PROTECTED]> wrote:
>
> I mean the object itself, not the class (the file containing the class
> definition is included on all necessary pag
I apologize, but I've never been able to access $_POST and $_GET in any
context whatsoever without first turning on the register globals.
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Monaco wrote:
>> Somewhat, but its what you n
turned on.
Matt
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Monaco wrote:
>> I apologize, but I've never been able to access $_POST and $_GET in any
>> context whatsoever without first turning on the register globals.
In outlook express by default the headers are displayed as some icons and
then subject, from, sent, size. For some people From is displayed in double
quotes, and others not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can use file_get_contents and use an http address as a parameter. Then
use the pearl regular expressions functions to replace with the elements
you'd like.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am trying to create my own CMS. To being with I wa
You can use file_get_contents and use an http address as a parameter. Then
use the pearl regular expressions functions to replace with the elements
you'd like.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am trying to create my own CMS. To being with I wa
There's really no reason making classes for those (unless you'd like to
write an entire HTML class and its children - I'd be happy to use it!).
Matt
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My background is in Object Orie
In your server configuration file (httpd.conf for apache) you specify which
extensions are parsed by the php module. It is perfectly acceptable for you
to specify .html in addition to .php as a parsed extension.
"Oil Pine" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I
Create an object with the functionality of your choosing, in the destructor
perform your cleanup operations.
""mail.pmpa"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greetings
>
> I'm having some trouble on a members online script.
> I use a php script to track member login t
nclude the file using
require_once("Login.class.php");
Matt
""mail.pmpa"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>De: Matt Monaco [mailto:[EMAIL PROTECTED]
>Create an object with the functionality of your choosing, in the destructor
Well if your keys are a straight sequence of numbers instead of a foreach
you can do a for loop and for those whose value is not one, set to zero.
Matt
"blackwater dev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have a form where I am dynamically bui
As I learned recently, register_globals should always be off, you do not
need it to enable GET and POST variables. I believe enabling it will do
something like set $_POST["name"] to $name automatically (of course there's
always the 90% chance that I'm absolutely wrong).
You might want to see i
Check your http access file to verify what david and jochem have said, you
should see lines upon lines of access for the pages in question.
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Angelo Zanetti wrote:
>> Hi guys.
>>
>> Been working on my site and then been tr
is valid just as with any other link.
""Shaun"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> How can I get the form values submitted from an iframe where the target is
> the parent window?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Is there a function or method to determine the class an object was defined
from?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hah, I was looking in the object aggregation functions, that really deserved
a RTFM
"Ray Hauge" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> That would be get_class( [obj] );
>
> http://us3.php.net/manual/en/function.get-class.php
>
> Matt Monaco
I have the following two methods as part of a class I'm using to transport
data between pages.
static function pack($object)
{
if (session_id() == "") {
session_start();
}
$class = get_class($object);
$_SESSION["cmsSessionArray"][$class] = seri
PROTECTED]
> On Sat, Dec 03, 2005 at 01:28:21PM -0500, Matt Monaco wrote:
>> I have the following two methods as part of a class I'm using to
>> transport
>> data between pages.
>>
>> static function pack($object)
>> {
>> if (sessio
could have probably done this "switch on the fly" like some pages do but
I was told that requires java and i don't have or want to use java lol
matt
if possible i want to keep my webpages java free
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s i'm a moron at times :p
and its not my usual time to be up but maybe that has something to do with
it anyway i will do some reading when my mind is switched on lol
matt
On Sat, 10 Dec 2005, Robert Cummings wrote:
On Sat, 2005-12-10 at 03:01, Aaron Koning wrote:
My experience was with
s it was doing what
i told it, not what i wanted though :p
matt
On Sat, 10 Dec 2005, Robert Cummings wrote:
On Sat, 2005-12-10 at 02:55, Michael Hulse wrote:
On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote:
Its been my experience that meta tags work better.
header("Refresh: 0; URL=https:/
hello,
I just found out why one reason for a meta refresh is a bad idea, it does
exactly that, it refreshes the page every 3 or 2 or 0 seconds which
basically is constant..so maybe the header idea is better in this case.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Register globals is no longer ON I believe. That is why it happened.
To fix this:
Foreach($_POST as $key => $value) ${$key} = $value;
That will convert all of your post variables to local variables.
:)
Thanks,
Matt Babineau
Criticalcode
858.733.0160
[EMAIL PROTECTED]
h
System Time
> Is the system time through Linux, Apache or through the php.ini file?
>
>
>
> On 12/11/05, Sebastian En3pY Zdrojewski <[EMAIL PROTECTED]> wrote:
> >
> > afaik it's the system time.
> >
> > Cheers
> >
> > En3pY
> >
> >
> > Sebastian Konstanty Zdrojewski
> >
> > _
ield. Who needs a bot to post that info when a single
click on a form can see your script used to spam a stack of recipients? To
put it another way, is it worth validating the source of your input if
you're not going to validate the input itself?
HTH
Cheers
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There's a big difference between the first and second scripts your using.
The second one isn't using a while loop so will only return the first row in
the recordset. See below.
HTH
Cheers
Matt
- Original Message -
From: "Anasta" <[EMAIL PROTECTED]>
To:
Sent:
i am trying to read a directory from a cd made in windows with a 3-word or
longer directory name like the one shown above, but how do i deal with a
oddly named directory like that in linux/php?
I know spaces don't work when changing directories so would i have to
escape the space or what?
m
I just figured out my own answer to the previous post so i guess just
ignore the question :p
i'll learn to try things first one of these days lol
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
verything is ignored
any ideas?
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
de, or is STDIN not
opened by default in php4.4
this is on slackware linux version 10.2 running php -v 4.4
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hmm, it seems php -a likes to complain heh, so I decided to do my little
STDIN tests in an actual script and not interactively and turned off error
reporting..things are all happy again in "matt land" lol
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
get these results? Please let me know.
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any ideas on how to accomplish this?
""Matt Palermo"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm try to sort a list of items using a usort function. Basically, I want
> it to sort in this order:
>
> Numbers (0-9)
> Letters
1501 - 1600 of 1662 matches
Mail list logo