php-general Digest 5 Apr 2010 12:58:41 -0000 Issue 6676

2010-04-05 Thread php-general-digest-help
php-general Digest 5 Apr 2010 12:58:41 - Issue 6676 Topics (messages 303818 through 303833): Constructor usage 303818 by: Larry Garfield 303819 by: Nathan Rixham 303823 by: Adam Richardson 303824 by: Paul M Foster 303830 by: Larry Garfield OO Design

php-general Digest 6 Apr 2010 02:00:57 -0000 Issue 6677

2010-04-05 Thread php-general-digest-help
php-general Digest 6 Apr 2010 02:00:57 - Issue 6677 Topics (messages 303834 through 303843): Re: convert a string into an array 303834 by: Ashley Sheridan 303843 by: Nilesh Govindarajan problems with utf-8 conversion 303835 by: sudhir patil 303837 by: Nathan

RE: [PHP] Howto send command over ssh using sockets

2010-04-05 Thread Radek KrejĨa
Hello, thank you for response, more in you text: Instead of ssh, you could use telnet to connect to the Cisco router (which incidentally runs on port 23, but is likely to be disabled on I want to use my script against FreeBSD router and against RouterOS so I need ssh. I can use system function

[PHP] unsigned chars

2010-04-05 Thread donald sullivan
Hello, is it possible to return unsigned chars from an extension? I have looked and cant find anything on it, or maybe i am looking for the wrong keywords. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Howto send command over ssh using sockets

2010-04-05 Thread Bob McConnell
From: Radek Krejca I am trying send command to remote host over ssh with sockets. But I need to set up username/password. I am trying to modify this script (from www.php.net - function fsockopen), but I dont know, where set username/password because I got this message: Bad protocol version

Re: [PHP] convert a string into an array

2010-04-05 Thread Ashley Sheridan
On Mon, 2010-04-05 at 05:53 +0100, Nathan Rixham wrote: you sure you're only smoking cigarettes? has to be one of the most random replies to any php thread I've ever seen - awesome! regards Rene Veerman wrote: yea i'm not the only one with those type of problems. sometimes times

[PHP] problems with utf-8 conversion

2010-04-05 Thread sudhir patil
I have csv file with special characters, stored in default encoding(ISO-8859-1). I am convert file contents(string) to UTF-8using iconv. This doesn't convert special characters properly, shows broken on fronted. Page encoding meta tag are properly set to utf-8. Characters are shown properly

Re: [PHP] Re: Constructor usage

2010-04-05 Thread Peter Pei
On Sun, 04 Apr 2010 17:46:19 -0600, Nathan Rixham nrix...@gmail.com wrote: Larry Garfield wrote: Hi folks. Somewhat philosophical question here. I have heard, although not confirmed, that the trend in the Java world in the past several years has been away from constructors. That is,

[PHP] Re: problems with utf-8 conversion

2010-04-05 Thread Nathan Rixham
sudhir patil wrote: I have csv file with special characters, stored in default encoding(ISO-8859-1). I am convert file contents(string) to UTF-8using iconv. This doesn't convert special characters properly, shows broken on fronted. Page encoding meta tag are properly set to utf-8.

[PHP] Updating HTML on page

2010-04-05 Thread Ashley M. Kirchner
I have a PHP script that queries a DB to get a list of image names. Then it processes each name and generate thumbnails and what not. What I want to do is have a page called (through the browser) which updates as the PHP process in the background is working. So when you first pull up the page

Re: [PHP] Updating HTML on page

2010-04-05 Thread TG
The only way to do it with PHP alone would be to control the output buffering and I've found that to be inconsistant in quality and predictability with different browsers even web servers. I'm sure there's an art to getting that all working well with various technologies that are involved in

RE: [PHP] Updating HTML on page

2010-04-05 Thread Ashley M. Kirchner
Hrm, been looking at it for a while now and I can feel a headache coming up. I think I need to have one PHP script that does the processing, and another that the user pulls up in their browser. That one pings the processor every so often to get updated data. Yes? Am I way off here?

Re: [PHP] include path in httpd.conf

2010-04-05 Thread ad
Ash, Nice call. .htaccess was not being processed at all which led me to a cname configuration error for the sub domain. Thanks!. On 4/5/2010 8:27 PM, Ashley Sheridan wrote: On Mon, 2010-04-05 at 19:40 -0400, ad wrote: I have several virtual hosts on a dedicated server. In a IFmodule

Re: [PHP] Updating HTML on page

2010-04-05 Thread Paul M Foster
On Mon, Apr 05, 2010 at 09:29:26PM -0600, Ashley M. Kirchner wrote: Hrm, been looking at it for a while now and I can feel a headache coming up. I think I need to have one PHP script that does the processing, and another that the user pulls up in their browser. That one pings the processor

[PHP] imagecopyresize???????

2010-04-05 Thread Karl DeSaulniers
Hello List, I am new here, and I am hoping this will be a quick and easy for someone to help me with. I am trying to create an upload form that lets a user upload a product photo to the server. In the process of this upload, I want to take the file they are uploading and create two images