Results 1 through
15
while searching for:
"php"
how do you convert html characters to their character key codes
try:
print(htmlspecialchars('foo html bar'));
John M.
http://rockfloat.com/board/post/?id=173
July 03, 2003 @12:56
(Replies: 0)
(Rank: 0.061)
php
navigation
$params = array('one','two','three');
$names = array('something1','something2','something3');
foreach($parms as $k => $v)
{
$$names[$k] = $v;
}
http://rockfloat.com/board/post/?id=383
December 20, 2003 @00:03
(Replies: 0)
(Rank: 0.061)
php
Re: problem getting php to add line breaks in the code
from my experience, this could be cuz your using single quotes. here's what i've found:
this works:
print("line one \n line two");
this doesn't:
print('line one \n line two');
i'm no php expert :)
John M.
http://rockfloat.com/board/post/?id=441
April 03, 2002 @06:26
(Replies: 0)
(Rank: 0.061)
php
How do you prevent attachements from getting truncated when using Thunderbird with Microsoft Exchange?
Try going to Edit::Preferences::Config Editor
and set: "mail.server.default.fetch_by_chunks" to "false"
REFERENCE: http://forums.mozillazine.org/viewtopic.php?f=39&t=822995&p=4397665
http://rockfloat.com/board/post/?id=599
October 01, 2008 @18:33
(Replies: 0)
(Rank: 0.000)
How do you fix this problen: ERROR: could not find tsearch config by locale
Try this as a temporary fix (see reference below for more detail):
database=# SHOW lc_collate;
database=# UPDATE pg_ts_cfg SET locale = 'en_US.UTF-8' WHERE ts_name = 'default';
REFERENCE:
http://people.planetpostgresql.org/xzilla/index.php?/a
[...]
http://rockfloat.com/board/post/?id=564
April 01, 2007 @18:21
(Replies: 0)
(Rank: 0.000)
Tips on getting the Atheros 5211 to work with madwifi on gentoo?
Here is a good reference:
http://madwifi.sourceforge.net/dokuwiki/doku.php?id=gentoo
http://forums.gentoo.org/viewtopic-t-375750-highlight-madwifi.html
Here's some other stuff:
ln -s /etc/init.d/net.lo /etc/init.d/net.ath0
John M.
http://rockfloat.com/board/post/?id=481
October 01, 2005 @06:58
(Replies: 0)
(Rank: 0.000)
when sending mail using php from gentoo linux i'm getting: apache@_HOSTNAME_ not found
this is because the ssmtp server on gentoo does a reverse lookup of the domain... what you need to do is edit /etc/ssmtp/ssmtp.conf and edit to look something like:
mailhub=your.mail.host.com
hostname=some.valid.dns.domain.name
gentoo uses a
[...]
http://rockfloat.com/board/post/?id=92
December 06, 2003 @03:05
(Replies: 0)
(Rank: 0.000)
gentoo emerge error: no masked or unmasked ebuilds to satisfy sys-apps/bzip2
this error is happening because sys-apps/bzip2 was moved to app-arch/bzip2
the following temporarily fixed the problem (until i emerge sync'd again):
root# rm -rf /var/cache/edb/dep/* && emerge regen
this took a while, and it broke again nex
[...]
http://rockfloat.com/board/post/?id=89
November 16, 2003 @00:58
(Replies: 0)
(Rank: 0.000)
how do you get links to open up opera in kmail?
go to:
control center:files associations:text:html
and add .asp; .php; and so on...
and then have it execute: opera %u
the %u tells kde that the program can handle links directly... other wise kde thinks it can handle only files, and it
[...]
http://rockfloat.com/board/post/?id=301
May 13, 2003 @21:07
(Replies: 0)
(Rank: 0.000)
No input file specified error when using php with iis
this is usually because iis can't find the file, look to see if the document root is correct in iis
John M.
http://rockfloat.com/board/post/?id=147
April 04, 2003 @20:49
(Replies: 0)
(Rank: 0.000)
How can I read excel files using php
Try looking into some of these:
<a href="http://chicago.sourceforge.net/devel/docs/excel/" target="_blank">http://chicago.sourceforge.net/devel/docs/excel/</a>
John M.
http://rockfloat.com/board/post/?id=199
November 23, 2002 @03:46
(Replies: 0)
(Rank: 0.000)
having problems with mail() on php 4.2.2
a friend wrote the following function with good luck so far :)
function sendmail($to='', $subject='', $message='', $headers='',
$extra='')
{
$fd = popen("/usr/sbin/sendmail -t $extra", 'w'); fputs($fd, "To: $to\n");
fputs($fd, "Subject
[...]
http://rockfloat.com/board/post/?id=242
August 01, 2002 @14:45
(Replies: 0)
(Rank: 0.000)
Re: how do you compile php for use with apache
I think a really nice way to complile php is as a "dynamically shared object" of apache. To acomplish this, complile php like this:
./configure --with-apxs=/location/of/apache/bin/apxs --with-pgsql --with-mysql
this will load php into apach
[...]
http://rockfloat.com/board/post/?id=437
April 04, 2002 @13:40
(Replies: 0)
(Rank: 0.000)
how do you compile php for use with apache
I can't get a php page served up by apache to parse the php
John M.
http://rockfloat.com/board/post/?id=467
April 04, 2002 @13:34
(Replies: 1)
(Rank: 0.000)
problem getting php to add line breaks in the code
I think I understand that \n is supposed to enter a line break in the html, so the browser doesn't get all the code on one line. any idea why I can't get this to work?
thanks,
John M.
http://rockfloat.com/board/post/?id=460
April 03, 2002 @05:01
(Replies: 1)
(Rank: 0.000)