Why does PHP always close the connection with Connection: close? I'm
using PHP 4.3.11 w/ Firefox 1.0.4. Requests are HTTP/1.1 and Connection:
keep-alive is requested.
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 21 Dec 2005, at 18:17, Richard Lynch wrote:
At least I *think* it was called "webthumb"...
Maybe from the GD folks???
It's out there somewhere, and I was going to look into it, but...
You'd feed it a URL and it gives you an image. You need X installed,
so it can run X in the background an
On Wed, 2005-12-21 at 09:17 -0800, Daniel Lahey wrote:
> I found one set of links that might prove helpful: http://
> www.helpdesk.com/software-helpdesk.htm A lot of the software doubles
> as asset management software or comes bundled with such a module.
> There are a yitload of links on th
On 21 Dec 2005, at 21:18, M wrote:
http://marginalhacks.com/Hacks/html2jpg/
That's the kind of marginal hack I was hoping to avoid ;^) However,
it did lead me to http://khtml2png.sourceforge.net/ which seems far
more like it. Now I just have to persuade it to compile.
Thanks.
Marcus
--
On 12/21/05, Ross <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Have a load of dates in the format DD/MM/YY. Thet are stored as a VARCHAR on
> a mysql DB.
Couldn't you use cast() to cast the values first? Something like (untested):
SELECT CAST(doc_date AS DATE) FROM papers ORDER BY doc_date DESC
c
--
PH
Marcus Bointon wrote:
Has anyone seen such a thing? I'm looking to be able to generate web
page previews dynamically and automatically, so I need to render the
page on the server. The most efficient way would be if there was a PHP
HTML rendering extension - gecko or KHTML perhaps. HTML2PDF
Currently, I'm running PHP 5.0.4 (only because it's the only one I can
get to work on my FC4 x64 install!), but for some reason, using pixel
sizes under 8, or using bold fonts, makes the text look horrible.
My old host (1&1 in case anyone else has them..) had this working well,
but I have no ide
> > The loop then continues forever with file_exists() returning true, but
> > unlink() returns false with the error message "Warning:
> > unlink(/config1/C) [function.unlink]: No such file or directory in
> > /www/script.php on line 10"
>
> This might be an issue with the OS or Filessystem. The c
You COULD sort them if the date was stored backwards, ie. Year/Month/Day
On 12/21/05, Jim Moseby <[EMAIL PROTECTED]> wrote:
> > Have a load of dates in the format DD/MM/YY. Thet are stored
> > as a VARCHAR on
> > a mysql DB.
> >
> > I need a way to sort them into order(most recent first)
> >
> >
>
On Wed, Dec 21, 2005 at 11:27:23AM -0700, jgmtfia Mr wrote:
> I have a directory with the files:
> /config/A
> /config/B
> and
> /config/C is a symlink to /config/A.
>
> Via php I unlink /config/C:
>
> $FILE = '/config/C';
> while(file_exists($FILE)){
>
Hi,
Have a load of dates in the format DD/MM/YY. Thet are stored as a VARCHAR on
a mysql DB.
I need a way to sort them into order(most recent first)
Using the QUERY $query = "SELECT doc_date FROM papers ORDER BY doc_date
DESC";
this just arranges them by day. e.g
30/12/2005
30/11/2005
22
I have a directory with the files:
/config/A
/config/B
and
/config/C is a symlink to /config/A.
Via php I unlink /config/C:
$FILE = '/config/C';
while(file_exists($FILE)){
unlink($FILE);
clearstatcache();
}
When run,
On Wed, December 21, 2005 12:13 pm, Marcus Bointon wrote:
> Has anyone seen such a thing? I'm looking to be able to generate web
> page previews dynamically and automatically, so I need to render the
> page on the server. The most efficient way would be if there was a
> PHP HTML rendering extension
Has anyone seen such a thing? I'm looking to be able to generate web
page previews dynamically and automatically, so I need to render the
page on the server. The most efficient way would be if there was a
PHP HTML rendering extension - gecko or KHTML perhaps. HTML2PDF
doesn't go nearly far
I found one set of links that might prove helpful: http://
www.helpdesk.com/software-helpdesk.htm A lot of the software doubles
as asset management software or comes bundled with such a module.
There are a yitload of links on that page. I'm only on the Bs. Good
luck.
On Dec 21, 2005,
I found my problem...I was using:
pspell_new("en", "british");
pspell_new("en", "american");
pspell_new("en", "canadian");
and I should've been using:
pspell_new("en_GB", "british");
pspell_new("en_US", "american");
pspell_new("en_CA", "canadian");
if I want to use specific dictionaries in the
Jay Blanchard wrote:
[snip]
Jay how come you though concating would give
a different result to interpolation?
[/snip]
It is not really a different result, it is just something that I am in the
habit of doing. The "concat or not to concat" question has fueled many a
holy war. I concat, others d
[snip]
Jay how come you though concating would give
a different result to interpolation?
[/snip]
It is not really a different result, it is just something that I am in the
habit of doing. The "concat or not to concat" question has fueled many a
holy war. I concat, others do not. I am used to see
Jay how come you though concating would give
a different result to interpolation?
Jay Blanchard wrote:
[snip]
$query=" SELECT title FROM $cat WHERE id='$id'";
[/snip]
echo $query; // does it look right to you?
Alway throw an error when in question
if(!($result = mysql_query($query, $conn
[snip]
> $query=" SELECT title FROM $cat WHERE id='$id'";
[/snip]
echo $query; // does it look right to you?
Alway throw an error when in question
if(!($result = mysql_query($query, $connection))){
echo mysql_error() . "\n";
exit();
}
My bet is that you need to concatenate
$query = "SELEC
>
> Can someone tell me why this select is wrong please---ive
> tried everything.
> the $cat is the tablename .
>
>
> $query=" SELECT title FROM $cat WHERE id='$id'";
>
>
Apparently, either $cat or $id is not the value you think it is. First, I
would try changing
$result=mysql_query($query
Ross wrote:
> Hi,
>
> I am trying create a multiple file upload to a mysql server.
>
Google is your friend...
http://www.google.com/search?hl=en&q=multiple+upload+php&btnG=Google+Search
And, by the way, if you are uploading and storing images in your MySQL
DB, you might want to consider that th
Hi,
I am trying create a multiple file upload to a mysql server.
I have done the the single upload
http://www.php-mysql-tutorial.com/php-mysql-upload.php but what if I want to
upload many files (BLOB)at once.
Thanks,
Ross
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
Adrian Bruce wrote:
> Hi
>
> Does anyone know where i can get some decent gdf fonts for using in the
> imageloadfont() function, i have found some on the net but they are all
> a bit naf so far. I'm really just looking for something like Arial or
> verdana. Im creating pie charts on the fly but
On 12/21/05, Anasta <[EMAIL PROTECTED]> wrote:
> Can someone tell me why this select is wrong please---ive tried everything.
> the $cat is the tablename .
You've tried *everything* ?
Why do you think it's "wrong"? Did you get an error message of some kind?
What do you see if you echo $query? Ar
Hi
Does anyone know where i can get some decent gdf fonts for using in the
imageloadfont() function, i have found some on the net but they are all
a bit naf so far. I'm really just looking for something like Arial or
verdana. Im creating pie charts on the fly but at the moment they look
lik
26 matches
Mail list logo