php-windows Digest 7 Mar 2002 05:38:19 -0000 Issue 1033

2002-03-06 Thread php-windows-digest-help
php-windows Digest 7 Mar 2002 05:38:19 - Issue 1033 Topics (messages 12491 through 12498): sprintf 12491 by: Scott St. John 12492 by: Mike Flynn 12495 by: Scott St. John Formatting 'body' using mailto: command 12493 by: Mick 12494 by: Matt Hillebrand

[PHP-WIN] Re: MySQL auto_increment ??

2002-03-06 Thread Steve Yates
"Sviss Cobazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Now I want to delete user with ID = 2. > Now I create a new user, he will get ID = 4. > > How can i reuse the ID 2 for creation of new users? I am not familiar with MySQL specifically but in my

[PHP-WIN] Re: mail() and no internet connection

2002-03-06 Thread Steve Yates
"Kenneth Brill" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If I issue a mail() command but there is no live internet connection, what > happens? Will the mail be sent when there is a connection? Are you running your own mail server? If so then you ca

[PHP-WIN] prob with imagestring

2002-03-06 Thread Carl L.
Whene i create images with `ê` and `è` , I get `ë` anyone can help me please -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] sprintf

2002-03-06 Thread Scott St. John
Mike: Yeah (hitting head on wall), that will work! Thank you. -Scott On Wed, 6 Mar 2002, Mike Flynn wrote: > One option is to use substr(): > > $thestring = 'scott'; > $thestring = substr($thestring, 0, 3); > > At 03:02 PM 3/6/02 -0500, Scott St. John wrote: > >I am trying to create a fi

RE: [PHP-WIN] Formatting 'body' using mailto: command

2002-03-06 Thread Matt Hillebrand
I know that with mail() in Windows, you must use \r\n for each carriage return line feed, so why don't you try this: %5Cr%5Cn Matt Hillebrand -Original Message- From: Mick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 12:47 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Fo

[PHP-WIN] Formatting 'body' using mailto: command

2002-03-06 Thread Mick
Using the 'mailto:' command I'm trying to format a 'default' message something like... $msg_body = "?subject=whatever&body=This%20is%20the%20default%20part%20of%20the%20message%20..." and soon on but I want to force some 'newlines' into the resultant message body but to no avail. If I just put \n

Re: [PHP-WIN] sprintf

2002-03-06 Thread Mike Flynn
One option is to use substr(): $thestring = 'scott'; $thestring = substr($thestring, 0, 3); At 03:02 PM 3/6/02 -0500, Scott St. John wrote: >I am trying to create a file in which each line is exactly 255 characters >long, some of the data I am importing is longer than the field allows. >Does any

[PHP-WIN] sprintf

2002-03-06 Thread Scott St. John
I am trying to create a file in which each line is exactly 255 characters long, some of the data I am importing is longer than the field allows. Does anyone know of a way to strip that data off at x character? Example, I have a 3 character field and the value being inserted into it is scott,

php-windows Digest 6 Mar 2002 17:34:43 -0000 Issue 1032

2002-03-06 Thread php-windows-digest-help
php-windows Digest 6 Mar 2002 17:34:43 - Issue 1032 Topics (messages 12479 through 12490): Re: Help me pleaase 12479 by: alain samoun How can I use & install IMP in windows??? 12480 by: hei Re: mail() function EXTREMELY slow 12481 by: DL Neil 12487 by:

[PHP-WIN] Re: fasttemplates parsing

2002-03-06 Thread Nicole Amashta
OK, I am not one-on-one familiar with fasttemplates; however, I do use PHPLib's template class. If this fasttemplates is anything like PHPLib's template, then, the template only parses the template file as HTML. So, if you have any PHP code, it will not work (eg. includes, etc.) It will not take

[PHP-WIN] fasttemplates parsing

2002-03-06 Thread Wolfgang Schneider
Hello, I am encountering a problem with a php "application" which uses "fasttemplates" ... Everything works nicely when I use a straight html file as a template (using the extension .tpl). For certain functions and a better incorporation into the existing website (which is written in php thro

[PHP-WIN] Re: Mail with php and w2k

2002-03-06 Thread J Wynia
I've got an article up on setting up Hermes as a local SMTP server for PHP scripts on Windows. http://www.phpgeek.com/modules.php?op=modload&name=News&file=article&sid=8&m ode=nested&order=2&thold=-1 "Mike Schmid" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

Re: [PHP-WIN] mail() function EXTREMELY slow

2002-03-06 Thread James Fullerton
Hi DL, The hardware is so "un-notable" it's not even funny. I'm running a Gigabyte 6VMML motherboard (consumer PC!) with a Celeron 800/100, 512mb RAM, and using the built-in 10/100 NIC. It's got a Western Digital (or Seagate, I can't remember) 18gb 7,200 RPM ATA-100 HDD. This is basically your

Re: [PHP-WIN] mail() and no internet connection

2002-03-06 Thread DL Neil
> If I issue a mail() command but there is no live internet connection, what > happens? Will the mail be sent when there is a connection? That is the principle of SMTP (store and forward). I didn't find anything about this situation in the manual though. Please tell us what happens when you try

[PHP-WIN] mail() and no internet connection

2002-03-06 Thread Kenneth Brill
If I issue a mail() command but there is no live internet connection, what happens? Will the mail be sent when there is a connection? Thanks [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Re: File corruption during HTTP Upload

2002-03-06 Thread Ryan Marrs
Hrrm, maybe magic_quotes_runtime has something to do with it also. I remember having this problem, and if you open the file with vedit, it will show a ton of \0\1\x and things like that. Per chance can you send me the script and I will test it and see what I can make of it? Ryan -Original

[PHP-WIN] MySQL auto_increment ??

2002-03-06 Thread Sviss Cobazor
Hi NG. Now I've read page up and page down in the MySQL online manual about how to use the auto_increment. But I didn't find anywhere how to reuse a deleted id created by auto_increment. Say I have a table [users] with 4 columns: | ID | name | username | password | ID is an auto_increment valu

RE: [PHP-WIN] Re: File corruption during HTTP Upload

2002-03-06 Thread Stevens, Julian C
Thanks for the advice. I did have magic_quotes_gpc on, but turning it off hasn't fixed the problem. :-( I have actually found that corruption showed up when magic_quates_gpc was turned on. I would check that if I were you. Ryan "Julian C Stevens" <[EMAIL PROTECTED]> wrote in message news:"DS

Re: [PHP-WIN] mail() function EXTREMELY slow

2002-03-06 Thread DL Neil
James, > I personally found that messages were slow on my machine (going to an > external mail server) and I discovered that if you can use the built-in IIS > (Windows) SMTP mail server you'll have no more problems. The built-in IIS > SMTP server was easily 1000 times faster in my case. Of cour

[PHP-WIN] How can I use & install IMP in windows???

2002-03-06 Thread hei
How can I use & install IMP in windows??? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php