Below is an example code from an IIS webserver with PHP installed, and
the php is calling on IM to create a thumbnail.
It's been working fine for me. Hope this helps.
// if using convert, find where convert is (you could just manually
configure it, too)
if ($thumbnails == "convert" && $
Ok
So to update a record lets say...
I have a current value of 150 and the new value will be 250 now how would I
total them to equal 400?
I was thinking
$sql = "UPDATE $table value1 = value1 + ?
is that correct? how do you update it with simple math?
--
PHP Windows Mailing List (htt
try getting rid of the extra line between wrote in message
000b01c18fbc$71813000$[EMAIL PROTECTED]">news:000b01c18fbc$71813000$[EMAIL PROTECTED]...
The test.php file only has:
http://www.qnet.fi\r\n\n";);
exit();
?>
Result is a blank page, source code:
[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
php-windows Digest 28 Dec 2001 22:08:34 - Issue 924
Topics (messages 11168 through 11195):
Re: my site works well on WinME but Doesn`t work on WinXP HEEELP ME
11168 by: Michel Laine
11169 by: Svensson, B.A.T. (HKG)
XSL encoding not recognized in PHP 4.1.0 XS
I'm not sure about all that stuff that appeared in the log file. I dont have
any idea what those programs are for.
Has what Todd said helped?
The question about "GET /phpinfo.php HTTP/1.1" 200 33: GET means that the
browser told apache to GET /phpinfo.php. HTTP/1.1 is the way in which the
file w
At 05:32 PM 12/28/01 +0100, you wrote:
>Don't send CC message to those who does not need the information,
>plse!!!
>
>(I am starting to get pretty fucking annoyed about that people doesn't check
>those things before pressing the send button/key.)
Actually, I did it on purpose, not
Jukka,
I've used another method to do redirects that works OK (but it requires
Javascript on the client):
Something like echo "window.location.href=\"mypage.php\"";
I've used this with "... or die(...);" as a quick-and-dirty redirect to an
error page.
Cheers,
Fred Woolsey
-Original Messag
Grant,
I have never used Image Magick before. Honestly I just recently started
using PHP and I read somewhere that IM would work on *nix only, not on
Windows. When I find a binary for Windows I'll give it a try, but if you get
someone to write a php library for IM, I am willing to drive the 60 or
Frank,
Thanks for the help. In first place, I didn't even know if I could use Image
Magick on Windows, I will look for the binaries, as I only found the source
code so far and I don't have a C compiler handy right now.
I also downloaded the php_gd.dll from your site. Just a curiosity: it is
420K
BAT , theres no need for that.
whats up guy , didnt you get what you want off santa. cool it,
but really , this isnt any different from most of your cynical posts, I
honestly do not know half the time why you even bother to post, so why get
upset at others single cc , when you waste my bandwidt
>Imagemagick does have some pretty dope features.
You can always pipe input to and from IM using system or eval commands.
I vote for a php library of functions for ImageMagick!!
Grant Babb Email: [EMAIL PROTECTED]
Data Junction Corporation Phone: (512) 459-1308
2
What type of server are you running the program on? And is it properly
configured.
- Original Message -
From: "Jukka Pakkanen" <[EMAIL PROTECTED]>
To: "Mike Flynn" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 28, 2001 8:44 AM
Subject: Re: [PHP-WIN] header() problem
I agree, he is a bit on the edgy side... but he's also right. This is
simple math.
Here, I'll write you a function:
function average ( $array_numbers ) {
$total_numbers = count ( array_keys ( $array_numbers ) );
$sum = array_sum ( $array_numbers );
$average = $sum / $total_number
Here:
http://www.phpedit.com/
its still free
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
27E647E5629ED211BF78009027289C6302157DB5@mail1">news:27E647E5629ED211BF78009027289C6302157DB5@mail1...
From: Todd Williamsen
>PHPEdit
>
>I forget who its by... its nice, needs work, but what do
BAT..
you need to get that stick out of your ass, you are annoying and no help to
people that needs it
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
27E647E5629ED211BF78009027289C6302157DC5@mail1">news:27E647E5629ED211BF78009027289C6302157DC5@mail1...
> Don't send CC message to those wh
Don't send CC message to those who does not need the information,
plse!!!
(I am starting to get pretty fucking annoyed about that people doesn't check
those things before pressing the send button/key.)
>-Original Message-
>From: Mike Flynn [mailto:[EMAIL PROTECTED]]
>Sent
Huh? To average? You just use addition and division. It doesn't require
a function. A function would not only be silly but probably take more
keystrokes just to type.
Average = sum of units' values / number of units.
Additionally, you can do this automatically if you're storing your values
The test.php file only has:
http://www.qnet.fi\r\n\n";);
exit();
?>
Result is a blank page, source code:
[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"]
[HTML][HEAD]
[META http-equiv=Content-Type content="text/html; charset=windows-1252"][/HEAD]
[BODY][/BODY][/HTML]
The webser
I am kind of pessimistic by nature, and would not with out having checked
out this thing believe the case is not in you favor this time.
/Anders
>-Original Message-
>From: Todd Williamsen [mailto:[EMAIL PROTECTED]]
>Sent: Friday, December 28, 2001 5:04 PM
>To: [EMAIL PROTECTED]
>
Just use basic multiplication *, division / , and subtraction -, addition +
Why would you need a function to do this?
Average=total#ofwidgets/#ofwidgets
Ryan Conover
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pitt.edu/~rscst25/
-Original Message-
From: Todd Williamsen [mailto:[EM
That is not what I was looking for, is there a function in PHP that does
this?
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message
27E647E5629ED211BF78009027289C6302157DB4@mail1">news:27E647E5629ED211BF78009027289C6302157DB4@mail1...
> >I have a site that is for a football game and people pla
At 05:44 PM 12/28/2001 +0200, Jukka Pakkanen wrote:
>Thanks Mike, but still no luck. Nothing happens. No errors, no redirects,
>no nothing :(
Hmmm.. have you tried just making a blank page with this code? If so, what
shows up in the browser? A blank page? View the source, what does it show?
Thanks Mike, but still no luck. Nothing happens. No errors, no redirects, no nothing :(
- Original Message -
From: "Mike Flynn" <[EMAIL PROTECTED]>
To: "Jukka Pakkanen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 28, 2001 5:03 PM
Subject: Re: [PHP-WIN] header() pro
At 02:46 PM 12/28/2001 +0200, you wrote:
>Running NT4sp6a and PHP4.1.0.
>
>I try to redirect the browser to a new location [http://www.qnet.fi";); ?>], but nothing happens in the browser. There are no
>extra spaces, CR's, LF's or anything, and output_buffers are on in the
>php.ini.
>
>Any ideas??
At 02:10 PM 12/28/2001 +0800, you wrote:
>Dear all
>I'm using UltraDev which build a form containing a menu, there a two items
>inside this menu for user to choose. This form is using Post Action to
>$php_self which means it will pass back the variable to itself.
>Then here is the question:
>
> w
Is that the same as PHPEd? If so, it's no longer free, NuSphere bought it
and is selling it at something like $299... It was nice when it was still
free, not spectacular, but nice...
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW
Thanks for the offer Jim but I think I have it worked around. I still don't
understand the linux paths on this server I've got one of my websites set up
on so I don't really get where my include path is... it's not quite as
simple as my configuration here at work with our NT box (albeit may be m
Running NT4sp6a and PHP4.1.0.
I try to redirect the browser to a new location [http://www.qnet.fi";); ?>], but nothing happens in the browser. There are no
extra spaces, CR's, LF's or anything, and output_buffers are on in the
php.ini.
Any ideas??
I run in to this problem when trying to run som
The ftp_nlist command causes a great lag or something, when executet.
I wrote a script that reads dirs and subdirs of an ftp and writes an
index of the files into my mysql db
Since I use a recursive function for that, the ftp_nlist has to be
called about some thousand times.it is really i
Hi all,
I've downloaded the standard windows build of latest version of PHP
(4.1.0) and install it on my W2k Professionnal. I've tested the XML
support (with expat) and it works fine. I've activated the extension
xslt and try to transform an XML into HTML through XSLT API.
questions :
1) Shou
Michel, I would prefer, as one always should do, to look for a more likely
and realistic reason based on facts and empirical evidence. It must instead,
beyond all doubt and question, be someone of the following reason (or a mix
- possible all of them together, even) :
1) CIA and NSA has instrumen
Could it be the WinXP built-in firewall that is blocking access to the default
MySQL port?
Todd Williamsen wrote:
> if you give system specs, it may helps us help you... what web server you
> using?
>
> "Aiquidie" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED].
php-windows Digest 28 Dec 2001 09:13:51 - Issue 923
Topics (messages 11155 through 11167):
Image Magick on Windows NT?
11155 by: Damiano Ferrari
11156 by: Rasmus Lerdorf
11163 by: Frank M. Kromann
Re: Real dumb newbie question...
11157 by: VivoAnt
11
> From: "Mihail Bota" <[EMAIL PROTECTED]>
> > I am trying to use the HTTP_Referer (or any of its variants:
SERVER_VARS,
> > ENV_VARS) to keep track of the URL of pages that are passed through
forms.
One thing you might want to consider is that unless I am mistaken,
HTTP_REFERER is dependent o
34 matches
Mail list logo