intelligence, and makes the difference between a
man of sense and a fool. -- Dale Carnegie
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
legislators ... as they rarely make any moral distinctions,
they are as likely to serve the devil, without intending it, as God.
-- Henry David Thoreau
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
tragedies in life. One is to lose your heart's desire.
The other is to gain it. -- George Bernard Shaw
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of employment for economists.
-- John Kenneth Galbraith
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Jul 08, 2007 at 06:30:54PM -0700, Jim Lucas wrote:
Rick Pasotto wrote:
I'm using the PEAR Crypt_Blowfish module. When I decrypt the encrypted
string the result is the original plus some '\ufffd' bytes. How can I
get rid of those extra bytes? I've tried both trim($x,'\ufffd') and
trim
On Mon, Jul 09, 2007 at 07:45:10AM -0700, Jim Lucas wrote:
Rick Pasotto wrote:
On Sun, Jul 08, 2007 at 06:30:54PM -0700, Jim Lucas wrote:
Rick Pasotto wrote:
I'm using the PEAR Crypt_Blowfish module. When I decrypt the encrypted
string the result is the original plus some '\ufffd' bytes. How
.
What am I doing wrong?
--
Everyone is as God has made him, and oftentimes a great deal worse.
-- Miguel De Cervantes
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
Are there any good howtos for using php-cli as a progmatic browser.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, and every other kind of liberty, in the phrase
that is common in the sporting world, A free field and no favor.
-- Woodrow Wilson, U.S. President, 1915
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
On Fri, Aug 10, 2007 at 02:19:29PM +0100, Stut wrote:
Rick Pasotto wrote:
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
On 8/9/07, Rick Pasotto [EMAIL PROTECTED] wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do is similar to a mail merge
On Thu, Aug 09, 2007 at 02:39:51PM -0700, Jim Lucas wrote:
Rick Pasotto wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do is similar to a mail merge. IOW, I know I can
create an include file like:
$out = EOT
This is an example of $var1 and $var2.
EOT
On Thu, Aug 09, 2007 at 03:25:27PM -0500, Greg Donald wrote:
On 8/9/07, Rick Pasotto [EMAIL PROTECTED] wrote:
Does php have a facility similar to python's stringIO?
What I'm wanting to do is similar to a mail merge. IOW, I know I can
create an include file like:
$out = EOT
.
Rick Knight
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Chris,
That was the problem. Is this new php5? I've used 3 prior php4 version
and didn't have this problem.
Thanks,
Rick
Chris wrote:
You probably just have short_open_tags set to Off in your php.ini
file. If so, either turn it On, or change the file to be:
?php phpinfo(); ?
Chris
and testing when
do a planned upgrade, I just didn't have the time this time.
Thanks,
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() with the optional search_value parameter instead.
--
Now what liberty can there be where property is taken without consent??
-- Samuel Adams
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Sun, Sep 16, 2007 at 06:04:45PM -0700, Richard Kurth wrote:
Richard Kurth wrote:
Rick Pasotto wrote:
On Sun, Sep 16, 2007 at 07:09:02PM -0400, brian wrote:
Richard Kurth wrote:
$Campaign_array| = array('0','1','3','5','8','15','25');|
I know that I can find the next recored
It sounds like gettext isn't actually loading. Get the output of
phpinfo(), and search for the 'gettext' extension to make sure it's
there. If not, you either didn't ./configure correctly, or you aren't
telling the php.ini file to load the gettext extension.
hth
Rick
Zbigniew Szalbot
to accomplish it.
Thanks in advance,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
-- Leonardo Da Vinci
--
PHP
Quoting Richard Lynch [EMAIL PROTECTED]:
On Wed, September 27, 2006 7:40 am, Rick Emery wrote:
I'm trying to do something like this in the PHP application:
begin transaction
execute a stored procedure, receiving an identity back
if certain conditions are met
execute another stored
Quoting Chris [EMAIL PROTECTED]:
Rick Emery wrote:
Is anyone using PHP5 on Linux to connect to MS SQL Server 2000 on
Windows and execute stored procedures with output parameters within
a transaction? If so, how?
I'm trying to do something like this in the PHP application:
begin
?
Thanks,
Rick Fletcher
Reproduce code:
---
?php
$dbh = new PDO( 'sqlite::memory:' );
$dbh-query( 'CREATE TABLE things ( name VARCHAR NOT NULL )');
$dbh-query( 'INSERT INTO things VALUES ( thing one )');
foreach( $dbh-query( 'SELECT * FROM things' ) as $row ) {
print_r( $row
Thanks to anyone who entertained my previous email, but I've solved my
own problem.
It looks like the bug is in PDO_SQLITE 1.0.1. I've just compiled from
that extension from CVS, changing nothing else, and the bug is gone.
--rick
Rick Fletcher wrote:
I've just upgraded to Fedora Core 6
testimony against the giant falsehoods
which bewitch and enslave the land. -- Nathaniel Peabody Rogers
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of functions that are not used on a given page load?
--
If some peoples pretend that history or geography gives them the right
to subjugate other races, nations, or peoples, there can be no peace.
-- Ludwig von Mises
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP
the best way to output nothing
if the mysql connection fails?
I realize these are probably elementary questions but any advice would
be appreciated.
--
... the state ... is not armed with superior honesty, but
with superior physical strength. -- Henry David Thoreau
Rick Pasotto[EMAIL
is no more a virtue
than malnutrition. -- Alexander Comfort
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
' was the language used by
Ingres for their database and it was different from S-Q-L.
--
You are the only one who can use your ability. It is an awesome
responsibility. -- Zig Zigler
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net
On Mon, Dec 08, 2008 at 09:01:56AM -0800, Ryan S wrote:
Any advise is also most welcome.
'Advise' is a verb.
'Advice' is a noun.
No charge.
--
I didn't understand this at first, but YOUR CONVINCING USE
OF CAPITAL LETTERS HAS MADE IT ALL CLEAR TO ME. -- J. Nairn
Rick Pasotto[EMAIL
!= \'
--
The greatest danger to liberty today comes from...expert administrators
exclusively concerned with what they regard as the public good.
-- Friedrich Hayek
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
itself.
--
Paper has a genius for multiplication that cannot be equaled anywhere
else in nature. -- Hugh Keenleyside
Rick Pasottor...@niof.nethttp://www.niof.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm using an OnClick routine to set a session variable before I go
to another page.
onClick=?php $_SESSION['local_part']= 'rick'; ? works fine but I
need a variable where rick is
I've tried
onClick=?php $_SESSION['local_part']= $local_part; ?
and other variations but it doesn't work.
Can
Weather.com and METAR/TAF from NOAA are supported.
Further services will get included, if they become available, have a
usable API and are properly documented.
hth,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been
tags;
This should at least give you a starting point. I'm fairly new to php,
so maybe one of the gurus will give a better idea (or explain why mine
won't work, if it won't).
hth,
Rick
P.S. I would usually trim out the rest of the message, but am leaving
the code below as reference. Sorry
programmers with experience in both), but I have to
sell it to management (I'm already on the PHP side), so links to data
or articles comparing the two are best.
Thanks in advance,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward
effective
than this.
If you are worried about code parsing, php accelerator may be just enough. ;)
Thanks for your input!
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to extinguish LAMP, but I actually chuckled when I read that one.
Thanks for your input!
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
CMS
SugarCRM
and more...
GForge and SugarCRM also have paid support options as well.
-Jonathan Villa
Thanks for the info!
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Quoting Anton Kovalenko [EMAIL PROTECTED]:
As to ColdFusion, It seems to me that this technology is dead already.
What makes you say this? I had never heard anything like this, but it
would certainly be powerful ammunition to present to my bosses.
Thanks,
Rick
--
PHP General Mailing List
application
running on a Linux box with Apache.
If management can see that you are stoked to use PHP that might help
your cause.
That's what I'm hoping, and so far it seems to be having an impact.
Thanks for your input!
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
a ColdFusion developer.
Thanks!
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
comments when
I discuss this with management. I don't agree with all of your points,
but will present all of the information and let management decide.
That's what they get paid for :-)
Thanks again,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your
I normally don't top-post, but think I can get away with it just this
once, because I only wanted to say...
Well said.
Thanks,
Rick
Quoting Matthew Weier O'Phinney [EMAIL PROTECTED]:
* Andrew Scott [EMAIL PROTECTED]:
I have been a coldfusion developer for now 10 years almost, and can
code
). Is there a way for me to maybe use the PHP tidy functions
on the string containing the HTML ouput to validate it?
Thanks in advance,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long
install is using the php.ini file you think it is. I got bit by
this (I kept editing the php.ini file in one directory, but it was
reading the file from another).
It really does sound like error reporting is turned off.
hth,
Rick
--
Rick Emery
When once you have tasted flight, you will forever
with the file-extension
*.php and Konqueror can not handel this... (It is KDE 3.4)
Greetings
Michelle
I just opened it in Konqueror 3.4.1 to look for any javascript errors,
and it seemed to load and work fine.
Sorry I wasn't any help,
Rick
--
Rick Emery
When once you have tasted flight, you
the user side settings. You need
to go for JavaScript and ask the question in a JavaScript list.
Since you brought it up :-)
Can anybody recommend a good JavaScript mailing list?
Thanks,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned
Quoting Chris W. Parker [EMAIL PROTECTED]:
Rick Emery mailto:[EMAIL PROTECTED]
on Friday, August 05, 2005 4:20 PM said:
Can anybody recommend a good JavaScript mailing list?
If by anybody you mean Google, then yes anybody can recommend a good
JavaScript mailing list.
Well, as I found
Quoting Chris W. Parker [EMAIL PROTECTED]:
Rick Emery mailto:[EMAIL PROTECTED]
on Friday, August 05, 2005 4:54 PM said:
Well, as I found out when I Google'd before I posted, it *lists*
plenty of JavaScript mailing lists. But it can hardly recommend a
good one, which is what I asked
if the session variable changes
unless the script is reloaded.
2. My favorite, but probably overkill. Write a php page that outputs
the session variables (as XML would be cool). Then use xmlhttprequest
to retrieve them from javascript (Google AJAX for more information).
Hope this helps,
Rick
--
Rick Emery
Quoting Rick Emery [EMAIL PROTECTED]:
My employer has (finally) decided to take full advantage of our
intranet, and wants to move from client-server applications to
web-based applications.
[snipped]
Any input would be greatly appreciated. Opinions are welcome
(especially from programmers
Quoting Rick Emery [EMAIL PROTECTED]:
Ugh, we're *never* going to make a decision. My boss just sent me this email:
A *huge* THANK YOU! to everybody who replied; it was extremely
helpful and, after my meeting with my manager this morning, she seemed
to accept that the article was dated
Just a quick note to thank everybody who has replied. I've been getting
a lot of feedback, and won't be able to reply to all of the messages
I've received, but I appreciate each and every one of them and don't
want anybody to feel left out.
Thanks again,
Rick
--
Rick Emery
When once you have
to change their Microsoft
only attitudes, so the statement from my boss that management said it
has to run on IIS really caught me by surprise.
Thanks,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been
Quoting Miles Thompson [EMAIL PROTECTED]:
Rick,
Deepest sympathy.
So you have a solution which works, for everyone, but doctrine
dictates differently. I'd suspect VPN / IIS interaction.
If I was your manager, I'd take comfort from the FACT that you were
able to switch everything over
and I had a good laugh over this signature :-)
Thanks,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
-- Leonardo Da
connection works fine for us.
Thanks,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
-- Leonardo Da Vinci
--
PHP General
your script that's broken, but Windows+IIS, then maybe they
should just leave the WORKING stuff alone.
Probably won't work.
But that's how office politics work.
Exactly what I'm finding out.
Thanks,
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
write one
myself using preg_replace, but would need a regular expression to find
non-printable characters; I'm terrible at regular expressions.
Any ideas? Thanks in advance.
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward
Quoting Robin Vickery [EMAIL PROTECTED]:
On 9/5/05, Rick Emery [EMAIL PROTECTED] wrote:
What I really want to do is replace the non-printable character(s) with
printable character(s) (maybe a question mark, or a space), but haven't
been able to find a function that will do it. Maybe something
://asp2php.naken.cc/
I've never used it, but I have a friend who played around with it. He
said it wasn't perfect, but he was very impressed with what it did.
HTH,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have
?
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
-- Leonardo Da Vinci
--
PHP General Mailing List (http://www.php.net
add
to the cookie to make the process more secure?
Which leads back to my original question; what would keep me from
setting a cookie with, say, my manager's username, fooling the PHP
application into thinking I'm her?
I can't help but feel like I'm missing something.
Thanks,
Rick
--
PHP
about.
I have not tested this though. It is on my task list for next week
though. :)
Let us know how it goes!
Thanks,
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Quoting Jochem Maas [EMAIL PROTECTED]:
Rick Emery wrote:
Okay, I'm following all of this. So I could take, say, the username
reversed and encode it, then decode it in the PHP application,
and be
I wouldn't do it like that
instead stick the username in the cookie in plaintext
on to the network (LDAP or, in
my case, Active Directory) and using those credentials for the web
applications.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is there a guide for pda friendly web pages.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($age);
$results = mysql_query($insert) or die(mysql_error());
$age++
}
There's a semi-colon missing at the end of the last line ($age++).
Hope thi shelps,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been
of all SQL queries
executed output to the page as it loads. I'm not sure what the best
method to extend/wrap PDO calls to do this as I don't see any way in
the PDO functionality to do it now.
Thanks for the tips/help
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
of all SQL queries
executed output to the page as it loads. I'm not sure what the best
method to extend/wrap PDO calls to do this as I don't see any way in
the PDO functionality to do it now.
Thanks for the tips/help
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
throughout my code?
Thanks
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in advance,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
-- Leonardo Da Vinci
--
PHP General Mailing List (http
Quoting Jochem Maas [EMAIL PROTECTED]:
Rick Emery wrote:
We're running Zend Platform on a server that also has apc installed;
we're using apc in the scripts to cache data, and I understand (I think)
that it also does bytecode
also often referred to as 'opcode' caching
That's what I meant
, and performing XSL transformations on XML
documents.
Hope this helps,
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
.
Thanks again to everyone.
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
-- Leonardo Da Vinci
--
PHP General
administrator and I
think it defeats what management wants to accomplish with a
commercially supported distro (package management with easy updates).
Is anybody in a similar environment that has an easy solution, or can
anybody offer advice?
Thanks in advance,
Rick
--
Rick Emery
When once you
: * If you're using NTFS on Windows NT, 2000,
XP or 2003, make sure that the user running the web server has read
permissions to your php.ini (e.g. make it readable by Everyone).
2. IIS hadn't been restarted (to re-read the new php.ini).
Other than that, not sure. Sorry.
Rick
--
PHP General
haven't been able to
find them, and our system administrator wanted to use Fedora Core 4, so
I've been having to compile freetds and php from source (though now
that I've done it a few times, I kind of like doing it that way :-)
hth, and thanks,
Rick
--
Rick Emery
When once you have tasted
whether the
Fedora install needed it, but might be something to check.
As for the RPMs, they can be found at
http://phprpms.sourceforge.net/mssql. This is the site where I had
found the rpms to successfully connect via FC1.
Great, thanks!
hth,
Rick
--
PHP General Mailing List (http
a
test box and try the rpms to which you pointed me, to see if I run into
the same trouble.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an application that connects to MS
SQL Server from another box, and it worked. I didn't have to edit any
files (in fact, installing the php-mssql rpm even restarted apache for
me).
So I'm not sure what's going on with yours.
Sorry,
Rick
--
PHP General Mailing List (http://www.php.net
what I would need to do
there to make the script work via the web?
Did you run the script from the command line as the apache user? That
would rule out any permissions issues.
Just grasping at straws.
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your
What is the best FREE pdf generator for PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
don't think they have a version for PHP 5.1.x yet.
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
-- Leonardo Da Vinci
that rpm installed; thus, apxs (and
the httpd-devel rpm) was not needed on your system to build the module.
Rick
--
Rick Emery
When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return
on the left side of the expression. For example,
if ('' == $cardID) {
instead of
if ($cardID == '') {
That way, if you accidentally use = instead of ==, you should get
an error because you can't assign something to a literal or constant.
Hope this helps somebody,
Rick
--
Rick Emery
When once you
of Makefile).
Error Output for sanity check
= End of Error Report =
Aborting!
I am losing my mind... please help :)
Thanks,
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
(name=Janice, age=22, married=yes)
);
Am I missing something that already exists?
-Rick
--
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
?codeEx=627
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matt Babineau wrote:
Ahh so the regex gods are pissed at me. This is simple (I think), but I need
to figure out how to strip out everything in a string that is not a number.
Any takers?
I appear to have written that last snippet without really even looking
at it. This one works.
?php
$string =
Matt Babineau wrote:
Ahh so the regex gods are pissed at me. This is simple (I think), but I need
to figure out how to strip out everything in a string that is not a number.
Any takers?
?php
$string = asd98.a98asd/7987asd;
$numberless = preg_replace_all( /[^0-9]/, , $string );
?
--
PHP General
Can anyone recommend a freeware shopping card app in php?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
)) {
// $candidate is a decimal integer between 1 and 20 inclusive with
no leading zeros.
}
/^(1?[1-9]|[12]0)$/ works too. The first part covers 1-9, 11-19; the
second part gets you 10 and 20.
Plus, it's ever so slightly shorter! And isnt' that what's most
important? :P
--Rick
--
PHP General Mailing List
them?
Thanks.
Rick
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 1/28/2005
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Brian Dunning wrote:
On Mar 7, 2005, at 7:40 AM, M. Sokolewicz wrote:
array_rand()
But that's likely to give me the same element more than once. I want to
output the entire array but in a random order, like a shuffled deck of
cards.
like a shuffled deck of cards?
http://www.php.net/shuffle
--
Try this:
Goto 'My Network Places' and set up an ftp connection to whereever you
want to save the file. Then in notepad you can access it just 'like' a
directory on your computer.
On Sat, 19 Mar 2005 16:09:05 + (GMT), Philip Olson
[EMAIL PROTECTED] wrote:
If is easy please answer and
you can setup an ftp in my network places and use it just like a
folder on your computer from notepad
On Sat, 19 Mar 2005 20:55:49 -0500, Larry E. Ullman
[EMAIL PROTECTED] wrote:
WORK WITH PHP FILES REMOTELY WITH NotePad ? YES/NO ?
I want to know if when be online I CAN OPEN A FILE FROM A
Chances are it's not your fault.
The initial release of 5.0.4 was missing the RunTest.php file. The end
result of which is that pear isn't installed. It was noticed a day
after the initial release, and I believe the 5.0.4 that's on php.net now
has been fixed.
--Rick
mbneto wrote:
Hi,
I've
Hi,
please could someone tell me how i can return a month in text from an int
ie
getMonth(12)
How about:
$Months = array( , 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
echo $Months[12]; // Dec
Rick
--
PHP General
= 'PM';
}
else {
$AMPM = 'AM';
}
echo substr( $Date, 5, 2 ), '/', substr( $Date, 8, 2 ), '/',
substr( $Date, 0, 4 ), ' ', $Hour, substr( $Date, 13, 6 ), $AMPM;
You may need to adjust the numbers in the substrs...
Rick
--
PHP General Mailing List (http://www.php.net
401 - 500 of 903 matches
Mail list logo