Re: [PHP] phpMailer Problem!

2009-01-18 Thread Dmitrii Varvashenia
2009/1/18 shahrzad khorrami :
> $mail->Port   = 80;

Invalid mail port


-- 
WBR, Dmitrii
+375 29 40-LINUX
+375 29 60-LINUX
icq: 193-74-771
www.varvashenia.ru

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to upload via SFTP with allow_url_open disabled?

2010-07-29 Thread Dmitrii Varvashenia
http://www.php.net/manual/en/function.ssh2-scp-send.php

2010/7/29 Scott Teresi :
> I'm attempting to send a file over SFTP in PHP, but all the examples I find
> online do something like this:



-- 
WBR, Dmitrii
+375 29 60-LINUX, 25-LINUX, 40-LINUX
icq: 193-74-771
www.varvashenia.ru, www.seoder.ru

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] 2 submit buttons.

2011-02-14 Thread Dmitrii Varvashenia
2011/2/14 Paul Halliday :
> if (isset($_POST['botton1'])) {dothing1();}
> if (isset($_POST['button2'])) {dothing2();}

Hello.

in html:



in PHP
if(isset($_POST['op'])){
 switch($_POST['op']){
  case 'Update':
   dothing1();
  break;

  case 'Checkout':
   dothing2();
  break;

  default:
   dohatehackersfunction(':)');
  break;
 }
}

PS: Don't use multiple input type="image" buttons - all IE's don't
send value attribute in POST - use CSS


-- 
WBR, Dmitrii
+375 29 60-LINUX, 25-LINUX, 40-LINUX
icq: 193-74-771
www.varvashenia.ru, www.seoder.ru

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] 2 submit buttons.

2011-02-14 Thread Dmitrii Varvashenia
oh - I forgot - the first the submit will be the default

2011/2/15 Dmitrii Varvashenia :


-- 
WBR, Dmitrii
+375 29 60-LINUX, 25-LINUX, 40-LINUX
icq: 193-74-771
www.varvashenia.ru, www.seoder.ru

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Capitalization of variable

2008-06-18 Thread Dmitrii Varvashenia
2008/6/19 Ron Piggott <[EMAIL PROTECTED]>:
> How would I do this for a street address?
>
> If the user gave me their address as "12 george street" I would like the
> results to be 12 George Street.

For web I use CSS: text-transform:capitalize;


-- 
WBR, Dmitrii
+375 29 60-LINUX
+375 29 40-LINUX
icq: 193-74-771
www.varvashenia.ru

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php