I've been coding PHP for about a year, and I'm running out of things to code
that force me to learn new things. If you have any suggestions, I'd greatly
appreciate it.
If I have something like $string = 'hello there'; (the word hello is
in double quotes, if you can't see it), how would I output it as
something like font color=colorhello/font there.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
coded in
about 3 years and need to get my hand back in. Trying to
make use of one
idea led to several others. Thanks, tedd!
Charles
On Sat, Apr 25, 2009 at 4:54 AM, tedd tedd.sperl...@gmail.com wrote:
At 7:00 PM -0400 4/24/09, Andrew Hucks wrote:
I've been coding PHP for about
This isn't a question. :-D.
Anyways, there's a website that I came across which has kept me up
past bedtime the past few nights.
Project Euler is a series of challenging mathematical/computer
programming problems that will require more than just mathematical
insights to solve. Although
Take the values out of single quotes, else it sets them as strings,
and not as the variable value. Also, are you meaning to set the
cookie's expiration to time()-3600? Try time()+3600.
On Tue, Apr 28, 2009 at 4:49 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Tue, 2009-04-28 at 16:38
$sale_value would have worked if it hadn't been in single quotes, I
believe. (Assuming it was populated.). When you put it in quotes, you
were making the cookie's value a string instead of a variable. So, the
value would actually have literally been $sale_value, rather than the
value for that
It'd be a hassle to just remove a function from a language, I suppose...
On Thu, Apr 30, 2009 at 6:15 PM, Reese howel...@inkworkswell.com wrote:
Tom Worster wrote:
why use SGML character entity references in a utf-8 file or stream? can't
you just put the character in the file?
Because, I
http://notepad-plus.sourceforge.net/uk/site.htm
Try out N++. It's very good, supports a whole bunch of languages by
default, has folding, and you can tweak the syntax highlight if you
want. (You don't need to though.)
Takes two minutes to install, and 45 seconds to uninstall it if you
don't like
Is it possible to rename images dynamically?
Say that I had something like image1.png, and I don't want to rename
it on the server. I'm working on an image rotater for a forum that
doesn't allow anything but image files as signatures.
Here's my code so far:
?php
//LolRotator
//add images. not
Thanks, but I solved the problem another way. http://codepad.org/6juIkECZ.
On Sun, May 3, 2009 at 3:02 PM, Michael A. Peters mpet...@mac.com wrote:
Andrew Hucks wrote:
Got this error:
Fatal error: Cannot instantiate non-existent class: finfo in place on
line 6
You need the pecl-FileInfo
When you say die, does it just stop, or do you get an error message?
Depending on how long it's taking to perform the action, the script
will stop just because it's taking a while. (by default, I think it's
30 seconds.)
If so, use: ini_set(max_execution_time, time in seconds);
On Mon, May 4,
11 matches
Mail list logo