RE: [PHP] Sending secure mail

2007-02-04 Thread Ligaya A. Turmelle
IIRC the PEAR::Mail_Mime class also can handle it Respectfully, Ligaya Turmelle Systems Analyst Guamcell Communications Phone: (671)689-2377 -Original Message- From: Rob [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 10:23 AM To: php-general@lists.php.net Subject: [PHP] Sendi

Re: [PHP] Graphs

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 1:53 am, frank wrote: > yes it does a great job, almost every parameter even for the legend > can be > influenced by its methods and properties. i say jp graph is the best In my limited experience, I was able to "influence" every parameter, but not get the dang thing to sh

Re: [PHP] Jabber conection manager

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 9:07 am, chetan rane wrote: > i want to develop a Jabber connection manage its role will be > > 1. accept HTTp request from the Client > 2. establish connection with a jabber server using TCp > 3. and later start the instant mechanism between them > > has any one worked on

Re: [PHP] Executing scripts from a table

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 9:32 am, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: > > On Feb 2, 2007, at 6:59 PM, Richard Lynch wrote: > >> Putting PHP source into MySQL is the WRONG way to go for security >> and >> efficiency... > > Thank you, Richard -- I appreciate your advice. > > Here is a

Re: [PHP] is there socket.so file?

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 10:18 am, Yeni Setiawan wrote: > Hi there, > I'm currently writing an IRC bot using php (CLI) and get a little > problem. > > For windows version, I need to enable socket extension (socket.dll) > and > my bot will be able to connect to an IRC server. > > But in linux versio

Re: [PHP] Help with matching numbers 0-100

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 10:55 am, Chilling Lounge Admin wrote: > I need help with matching a variable. The variable would be e.g. 0-15 > , 16-30 etc. and when the variable is equal to a certain range, it > would echo an image. > > Does anyone know what function I should use? preg_match? > > The co

Re: [PHP] Matching numbers 1-100

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 11:09 am, Wikus Moller wrote: > I want to know if anyone can help me with my code which matches a > number to a range e.g. 1-15 and echoes an image if the number is in > the range. > > The code would use the if statement and check if a variable for > example 5 matches the

Re: [PHP] REST, SOAP or XML-RPC?

2007-02-04 Thread Paul Scott
On Sun, 2007-02-04 at 23:00 -0600, Richard Lynch wrote: > Presumably one can choose to install only some of the options. > > Of course, now you're into the wonderful land of module > dependencies... Good luck! > Module dependencies are sorted out by the framework already. We have modelled our

Re: [PHP] Re: REST, SOAP or XML-RPC?

2007-02-04 Thread Paul Scott
On Sun, 2007-02-04 at 23:00 -0600, Gregory Beaver wrote: > Why not use PEAR itself? The last chapter of my book > (http://www.packtpub.com/book/PEAR-installer) is a step-by-step tutorial > on designing just such a module that would allow downloads of module > code from a remote server. It also i

Re: [PHP] Regex Mixtake

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 12:58 pm, Manolet Gmail wrote: > anyway, PCRE is better that ereg? Yes! Faster, easier, more flexible, and better documented. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch

Re: [PHP] Pop up window in PHP code

2007-02-04 Thread Richard Lynch
PHP neither supports nor fails to support JS. PHP just spits out something for the browser. Use "View Source" in the browser and see what you've done. Fix the PHP until you get what you want in the "View Source" to make the JS work. On Sat, February 3, 2007 2:44 pm, Chris Carter wrote: > > I am

Re: [PHP] include file identifier

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 7:05 pm, Eli wrote: > Does any included file in PHP have a unique identifier? (like a stack > of > includes identifier). Down in the guts of PHP source, there may be some kind of file handler which is unique... But nothing I'm aware of exposes this to code in any way, ot

Re: [PHP] Billing client for studying documentation

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 8:09 pm, Mike Mannakee wrote: > I have a php project I have been working on for several months. The > client's requirements have expanded to include interfacing to an > online > service using xml, which I was familiar with but have never worked > with > prior to this proje

Re: [PHP] Read file on file system

2007-02-04 Thread Richard Lynch
On Sun, February 4, 2007 7:47 am, Bagus Nugroho wrote: > If I have file on[windows] c:\test.csv. > How I can read the entire contents of this file? > > I have try file_get_contents, fgetcsv and etc but didn't work. > May I'm mis-understanding about using those function. Define "didn't work" Becau

Re: [PHP] Stuffing code into variable

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 9:09 pm, Albert Padley wrote: > It's late and I've been at this a long time today so I throw myself > on the mercy of the list. > > I have an echo statement that I use in conjunction with a MySQL query. > > echo "\n" . $row['time'] . "\n class=\"tabletext\">" . $row['field'

[PHP] Re: REST, SOAP or XML-RPC?

2007-02-04 Thread Gregory Beaver
Paul Scott wrote: > I am developing a webservice like module for our framework that will > enable downloads of module code into the framework modules from a remote > server. > > Basically what this should do is: > > 1. User requests a list of available stable modules from server > 2. User clicks

Re: [PHP] PHP5 & Commercial Development

2007-02-04 Thread Craige Leeder
Eric, PHP is fine for commercial environments. Many people are just afraid of it due to the fact it is known to break some poorly written PHP 4 scripts, and the fact that many people don't think it's new features are "necessary". It is perfectly fine to use it in a commercial environment however.

Re: [PHP] Sending secure mail

2007-02-04 Thread Richard Lynch
I suspect that there are pre-built PHP classes out there that can handle TLS SMTP... Google for them and search usual places like PEAR, PHPClasses.org etc. On Sun, February 4, 2007 6:22 pm, Rob wrote: > I need to send a large number of emails (not spam!) through an > external > SMTP server that r

Re: [PHP] How can I know if a browser is cookies enables?

2007-02-04 Thread Richard Lynch
On Sun, February 4, 2007 10:36 pm, Mauricio Muriel wrote: > How can I know if a web browser is cookies enables? Send them ONE cookie and see if you get it back on the next page. Actually, just use session_start() and see if it works or not is even easier. -- Some people have a "gift" link here.

Re: [PHP] REST, SOAP or XML-RPC?

2007-02-04 Thread Richard Lynch
On Sun, February 4, 2007 10:38 pm, Paul Scott wrote: > I am developing a webservice like module for our framework that will > enable downloads of module code into the framework modules from a > remote > server. > > Basically what this should do is: > > 1. User requests a list of available stable mo

Re: [PHP] Who uses PHP

2007-02-04 Thread Craige Leeder
As has been said: It all depends on the developer. A skilled developer is not restrained by how "secure" the particular language is. A skilled developer will know the pitfalls of that language, and be able to avoid them. With php as an example, you have register_globals. Now, register_globals is

[PHP] REST, SOAP or XML-RPC?

2007-02-04 Thread Paul Scott
I am developing a webservice like module for our framework that will enable downloads of module code into the framework modules from a remote server. Basically what this should do is: 1. User requests a list of available stable modules from server 2. User clicks on install from the returned list

[PHP] How can I know if a browser is cookies enables?

2007-02-04 Thread Mauricio Muriel
Hello. How can I know if a web browser is cookies enables? Regards Mauricio M.

[PHP] Re: php code to upload a url correctly

2007-02-04 Thread Manuel Lemos
Hello, on 01/26/2007 12:10 PM Corden James (RW3) CM&MC Manchester said the following: > I have a form in which users submit a url. I am having problems as some > people submit the url in the format http://www.blah.blah.org > while others submit in the format > www.blah

Re: [PHP] Jabber conection manager

2007-02-04 Thread Ray Hauge
Le Phuoc Canh wrote: It seem that you want to develop a webchat :), today there is a lot library about Jabber protocol, but all in JAVA language, if you want you can use library of jivesoftware to develop. I use Wildfire for IM server, and Claros for webchat in servlet. You can try it for develop

[PHP] Re: Sending secure mail

2007-02-04 Thread Manuel Lemos
Hello, on 02/04/2007 10:22 PM Rob said the following: > I need to send a large number of emails (not spam!) through an external > SMTP server that requires TLS and a username/password. I have some > control over the SMTP server but very little over the web server where > the scripts reside. How do

[PHP] PHP book reviewers wanted

2007-02-04 Thread Manuel Lemos
Hello, Short version: the PHPClasses site is looking for reviewers of books of interest of the PHP users. Authors and publishers want to send me the books but nowadays I do not have the time to review most of them, if any. The candidates that are picked to review the available books will get fre

RE: [PHP] Jabber conection manager

2007-02-04 Thread Le Phuoc Canh
It seem that you want to develop a webchat :), today there is a lot library about Jabber protocol, but all in JAVA language, if you want you can use library of jivesoftware to develop. I use Wildfire for IM server, and Claros for webchat in servlet. You can try it for develop Jabber connection mana

Re: [PHP] Sending secure mail

2007-02-04 Thread Chris
Rob wrote: I need to send a large number of emails (not spam!) through an external SMTP server that requires TLS and a username/password. I have some control over the SMTP server but very little over the web server where the scripts reside. How do I connect with TLS, authenticate and send the mai

[PHP] Sending secure mail

2007-02-04 Thread Rob
I need to send a large number of emails (not spam!) through an external SMTP server that requires TLS and a username/password. I have some control over the SMTP server but very little over the web server where the scripts reside. How do I connect with TLS, authenticate and send the mail? I had pr

[PHP] Hello list

2007-02-04 Thread PHP Fusebox
I've tried subscribing 3 times now. This is a test. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Myron Turner
chetan rane wrote: same TCP creation, because i i am bindiing that stream to the Server. i am actually creating a component. a component which resides in between a client and server i accept HTTP requests from a client and relay the same uysing a TCP connection to the SERVER. and vice versa

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Myron Turner
chetan rane wrote: same TCP creation, because i i am bindiing that stream to the Server. i am actually creating a component. a component which resides in between a client and server i accept HTTP requests from a client and relay the same uysing a TCP connection to the SERVER. and vice versa

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
chetan rane wrote: same TCP creation, because i i am bindiing that stream to the Server. i am actually creating a component. a component which resides in between a client and server i accept HTTP requests from a client and relay the same uysing a TCP connection to the SERVER. and vice versa

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread chetan rane
same TCP creation, because i i am bindiing that stream to the Server. i am actually creating a component. a component which resides in between a client and server i accept HTTP requests from a client and relay the same uysing a TCP connection to the SERVER. and vice versa i think this makes i

Re: [PHP] Read file on file system

2007-02-04 Thread Satyam
file_get_contents takes a file name as an argument, not an opened file handle. - Original Message - From: "Bagus Nugroho" <[EMAIL PROTECTED]> To: "Stut" <[EMAIL PROTECTED]>; Sent: Sunday, February 04, 2007 3:45 PM Subject: RE: [PHP] Read file on file system in simple like this

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
Jiffy Slides Leonard Burton wrote: XAJAX or another AJAX library, perhaps? Sorry, I missed a question. 3) Why do you need to use the same TCP connection? -Stut On 2/4/07, Stut <[EMAIL PROTECTED]> wrote: chetan rane wrote: > i want to write a script > where , when ny client requests come i

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Jiffy Slides Leonard Burton
XAJAX or another AJAX library, perhaps? On 2/4/07, Stut <[EMAIL PROTECTED]> wrote: chetan rane wrote: > i want to write a script > where , when ny client requests come i read the stream and then process it > > here is the exact steps > > when the user first initiates > i create a session and est

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
chetan rane wrote: i want to write a script where , when ny client requests come i read the stream and then process it here is the exact steps when the user first initiates i create a session and establish a TCP connection second: when teh user next sends a request i dont create a new TCP conn

Re: [PHP] Read file on file system

2007-02-04 Thread Stut
Stut wrote: $filenane = "d:\\test.csv Oops... $filename = "d:\\test.csv"; -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread chetan rane
hi what i mean is i want to write a script where , when ny client requests come i read the stream and then process it here is the exact steps when the user first initiates i create a session and establish a TCP connection second: when teh user next sends a request i dont create a new TCP conne

Re: [PHP] Read file on file system

2007-02-04 Thread Stut
Bagus Nugroho wrote: in simple like this $filename = "d:\\test.csv"; $openfile = fopen($filename,'r'); $readfile = fread($openfile,filesize($filename); echo $readfile or like this . echo file_get_contents($openfile); . echo fgetcsv($openfile); Try this... ...and not

RE: [PHP] Read file on file system

2007-02-04 Thread Bagus Nugroho
in simple like this $filename = "d:\\test.csv"; $openfile = fopen($filename,'r'); $readfile = fread($openfile,filesize($filename); echo $readfile or like this . echo file_get_contents($openfile); . echo fgetcsv($openfile); Thxs and rgds bn -Original Messa

Re: [PHP] Read file on file system

2007-02-04 Thread Satyam
Have you doubled the backslash to escape it? Or put it in between single quotes? Either: "c:\\test.csv" or 'c:\test.csv' or even 'c:/test.csv' Otherwise, a \t in between double quotes will be interpreted as a tab Satyam - Original Message - From: "Bagus Nugroho" <[EMAIL PROTECTED]

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Stut
chetan rane wrote: I have a small issue to be handled here i want to persistently moniter the HTTP stream from a Client Browser. How do i accomplish it I'm not sure what you mean by 'persistently monitor'. If you mean listen for incoming connections then you need to look at the socket or st

Re: [PHP] Read file on file system

2007-02-04 Thread Stut
Bagus Nugroho wrote: If I have file on[windows] c:\test.csv. How I can read the entire contents of this file? I have try file_get_contents, fgetcsv and etc but didn't work. May I'm mis-understanding about using those function. Well, from examining the code you included in your post, and readin

[PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread chetan rane
HI all I have a small issue to be handled here i want to persistently moniter the HTTP stream from a Client Browser. How do i accomplish it -- Have A plesant Day Chetan. D. Rane Location: Pune , India Contact: +91-9890792762 otherID: [EMAIL PROTECTED] [EMAIL PROTECTED]

[PHP] Read file on file system

2007-02-04 Thread Bagus Nugroho
Hi All, If I have file on[windows] c:\test.csv. How I can read the entire contents of this file? I have try file_get_contents, fgetcsv and etc but didn't work. May I'm mis-understanding about using those function. Thanks in advance Regards, bn

[PHP] LDAP constants GSLC_SSL_...

2007-02-04 Thread Petric Frank
Hello, actually i am workinh with the ldap functions of php5. Reading the docs i found the constants GSLC_SSL_NO_AUTH GSLC_SSL_ONEWAY_AUTH GSLC_SSL_TWOWAY_AUTH They are simply documented, but i can't find any docs about them. Neither at php.net not via google. So - what they are for and