php-windows Digest 17 Jan 2003 00:06:55 -0000 Issue 1539
Topics (messages 17906 through 17917):
Re: Help using Mail() on XP standalone config
17906 by: Dash McElroy
17908 by: Allan
PHP Search
17907 by: Radovan Radic
Image Creation Error
17909 by: Ed
17917 by: Pat Johnston
What kind of Editor you used to build PHP script ?
17910 by: skyweb
17911 by: Aaron Smith
17912 by: Sean Malloy
17913 by: Chris Kranz
17914 by: Nick H. -- Technical Support Engineer
17915 by: Mikey
17916 by: Ed
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Allan,
You need some kind of an SMTP server for mail() on Win32. Either find a
free one that you can load on your machine for testing, or use your ISP's
(or if you're at work, possibly their internal mail server) mailserver.
Then point your php.ini's 'SMTP = ' line towards the mailserver.
Note that if you load an SMTP server on your localhost, it is possible
that other mailservers won't take your mail - spam relay issues abound.
Good luck.
-Dash
Nine megs for the secretaries fair,
Seven megs for the hackers scarce,
Five megs for the grads in smoky lairs,
Three megs for system source;
One disk to rule them all,
One disk to bind them,
One disk to hold the files
And in the darkness grind 'em.
On Sat, 11 Jan 2003, Allan Hardy wrote:
> Hi, need just a bit of help or point in the right direction
> I have a working php / apache/ mysql set up that I use to develop/test
> application before hosting it.
>
> I've just started using the mail() function and it fails.
> Failed to connect to mailserver, verify your "SMTP" setting in php.ini in
>
> I need to know what to set up for a local XP / Apache (1.3.) configuration?
>
> Allan
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Dash, thanks. I eventually configured it and go it to work using the smtp
server of my ISP.
I tried using the XP smtp service that comes with OS (or was that with IIS
?), but didn't get it to work. Might be because I had Apache and IIS
conflict, just not sure.
Anyway, I've done my deed, thanks for the follow up
Passion and Presence
Allan Hardy
-----Original Message-----
From: Dash McElroy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 12:24 PM
To: Allan Hardy
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Help using Mail() on XP standalone config
Allan,
You need some kind of an SMTP server for mail() on Win32. Either find a
free one that you can load on your machine for testing, or use your ISP's
(or if you're at work, possibly their internal mail server) mailserver.
Then point your php.ini's 'SMTP = ' line towards the mailserver.
Note that if you load an SMTP server on your localhost, it is possible
that other mailservers won't take your mail - spam relay issues abound.
Good luck.
-Dash
Nine megs for the secretaries fair,
Seven megs for the hackers scarce,
Five megs for the grads in smoky lairs,
Three megs for system source;
One disk to rule them all,
One disk to bind them,
One disk to hold the files
And in the darkness grind 'em.
On Sat, 11 Jan 2003, Allan Hardy wrote:
> Hi, need just a bit of help or point in the right direction
> I have a working php / apache/ mysql set up that I use to develop/test
> application before hosting it.
>
> I've just started using the mail() function and it fails.
> Failed to connect to mailserver, verify your "SMTP" setting in php.ini in
>
> I need to know what to set up for a local XP / Apache (1.3.)
configuration?
>
> Allan
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi all
I got (i think) heavy task for my school project. I
hope someone can help
me.
Script needs to find key words (for example: computer,
science)
It should search in url or mail
Script should find words within meta-tags (i know how
to do it) and:
In the body of html (url or email) but only if the
words are different color
than the background!
BG could be table, tr, td, body...
Do i need to parse it, how can i obtain color of the
found text, is preg()
helpful...?
Could anyone help me with the tips
Thx,
Radovan
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---
--- Begin Message ---
I'm running PHP 4.3 and W2k with IIS 5.0. I have enabled php_gd and it does
show up when I do a phpinfo. The php_gd.dll is in the winnt/system32
directory and it's in the extensions directory (I've also tried it in almost
every other directory too) and I get
this error message:
Fatal error: Call to undefined function: imagecreate() in
C:\Inetpub\wwwroot\template\index.php on line 4
Here's the code:
<?php
header("Content-type: image/png");
$im = imagecreate(100, 20);
$red = imagecolorallocate($im, 255, 0, 0);
$white = imagecolorallocate($im, 255, 255, 255);
$ImageString($im, 3, 3, 3, "Home", $white);
imagepng($im);
ImagegDestroy($im);
?>
Any help would be appreciated.
--- End Message ---
--- Begin Message ---
Hi Ed
I have a similar probelm with resizing and cannot work it out. My phpinfo
(ver 4.3) says jpeg support enabled and put php_gd.dll in the same
directories as you.
My code is:
$imagesrc = ImageCreateFromJpeg($image);
$imagedst = ImageCreate($im_width,$im_height);
ImageCopyResized($imagedst, $imagesrc, 0, 0, 0, 0,
$im_width,$im_height,$width,$height);
header("Content-type: image/jpeg");
ImageJpeg($imagedst, '', -1);
ImageDestroy($imagesrc);
ImageDestroy($imagedst);
Any help on appreciated..
Pat
"Ed" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm running PHP 4.3 and W2k with IIS 5.0. I have enabled php_gd and it
does
> show up when I do a phpinfo. The php_gd.dll is in the winnt/system32
> directory and it's in the extensions directory (I've also tried it in
almost
> every other directory too) and I get
> this error message:
>
> Fatal error: Call to undefined function: imagecreate() in
> C:\Inetpub\wwwroot\template\index.php on line 4
>
> Here's the code:
> <?php
>
> header("Content-type: image/png");
> $im = imagecreate(100, 20);
>
> $red = imagecolorallocate($im, 255, 0, 0);
> $white = imagecolorallocate($im, 255, 255, 255);
>
> $ImageString($im, 3, 3, 3, "Home", $white);
> imagepng($im);
>
> ImagegDestroy($im);
>
> ?>
> Any help would be appreciated.
>
>
>
>
--- End Message ---
--- Begin Message ---
I like SSEditor, because I made it. and I use it to build my web site:)
What features should be in a PHP Editor ? can you tell me ?
http://www.skyweb2k.com/sseditor
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Check out HTML-Kit (www.chami.com). Fully functional (PHP preview and
validation), very powerful, and free!
At 03:14 PM 1/16/2003, skyweb wrote:
I like SSEditor, because I made it. and I use it to build my web site:)
What features should be in a PHP Editor ? can you tell me ?
http://www.skyweb2k.com/sseditor
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
To insure that you receive proper support, please include all
past correspondence (where applicable), and any relevant
information pertinent to your situation when submitting a
problem report to the GW Micro Technical Support Team.
Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development
--- End Message ---
--- Begin Message ---
I use visual studio. The editor is good, but the database integration is
second to none, and its what I've become accustomed to.
--- End Message ---
--- Begin Message ---
Line numbers...
Colours are nice, but I like it simple. And line numbers are about as
nice as I like :)
I pretty much stick to dreamweaver MX, but I disable most of the crap in
it. Just plain line numbers, and some colouring :)
Suites me just fine!!!
chris kranz
fatcuban.com
-----Original Message-----
From: skyweb [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 8:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] What kind of Editor you used to build PHP script ?
I like SSEditor, because I made it. and I use it to build my web site:)
What features should be in a PHP Editor ? can you tell me ?
http://www.skyweb2k.com/sseditor
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
As crazy as this may sound....
NOTEPAD... or if on my freebsd machines... vi =)
Regards,
Nick H.
----- Original Message -----
From: "Chris Kranz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 4:45 PM
Subject: RE: [PHP-WIN] What kind of Editor you used to build PHP script ?
> Line numbers...
>
> Colours are nice, but I like it simple. And line numbers are about as
> nice as I like :)
>
> I pretty much stick to dreamweaver MX, but I disable most of the crap in
> it. Just plain line numbers, and some colouring :)
>
> Suites me just fine!!!
>
> chris kranz
> fatcuban.com
>
>
> -----Original Message-----
> From: skyweb [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 16, 2003 8:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] What kind of Editor you used to build PHP script ?
>
> I like SSEditor, because I made it. and I use it to build my web site:)
>
> What features should be in a PHP Editor ? can you tell me ?
>
> http://www.skyweb2k.com/sseditor
>
> [EMAIL PROTECTED]
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
> As crazy as this may sound....
>
> NOTEPAD... or if on my freebsd machines... vi =)
Had to stick my 2c in on this one...
UltraEdit (http://www.ultraedit.com) is fantastic. It has configurable
syntax highlighting, save to FTP, templates, macros and a whole lot more. I
would have to agree about vi on *nix machines although I think you need to
be a true masochist to use Notepad :-)
regards,
Mikey
--- End Message ---
--- Begin Message ---
I uses zend studio. It has a preview pane, code completion, and it's own
server. It also has the PHP documentation in the help files. Personal use
is a free download.
"Skyweb" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I like SSEditor, because I made it. and I use it to build my web site:)
>
> What features should be in a PHP Editor ? can you tell me ?
>
> http://www.skyweb2k.com/sseditor
>
> [EMAIL PROTECTED]
>
>
--- End Message ---