RE: [PHP] Setting permissions such that file can be included but not open directly

2005-04-17 Thread Kim Madsen
> -Original Message- > From: Mike [mailto:[EMAIL PROTECTED] > Sent: Friday, April 15, 2005 9:43 PM > To: 'Dasmeet Singh'; php-general@lists.php.net > Subject: RE: [PHP] Setting permissions such that file can be included but > not open directly > > > directly to private/includefile.php can

[PHP] How to ignore E_STRICT and E_NOTICE with error_handler callback

2005-04-17 Thread php
Hi there i have an error handler callback within an error class which is also being used for pear errors. E_NOTICE and E_STRICT are still triggering this callback method, so i have to make a check that the code is not one of these. I have error_reporting to ignore both of these and still no luck, a

[PHP] ldappasswd equivalent on PHP

2005-04-17 Thread Ilia Chipitsine
Dear Sirs, I installed smbk5pwd, that module catches password change request and synchronises both samba and kerberos passwords. How can I do the same by php/ldap functions (not by calling external binary ldappasswd) ? Cheers, Ilia Chipitsine -- PHP General Mailing List (http://www.php.net/) To

[PHP] SSH2, Reading Streams and Timing Out

2005-04-17 Thread Circumerro Reporting
I have a system that is using PHP to SSH(2) and administrate remote systems. It is set up to both sftp and run commands. The trouble I am having is that it has been very unreliable. While it always connects without trouble, it will often hang while reading or writing to a stream. (When executing

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Rory Browne
Because now it's out of order. On 4/18/05, Ryan A <[EMAIL PROTECTED]> wrote: > PLEASE lets not start on the. Only Joking. > > > > 2. "Because it reads out of order." > > Why? > > >"Why?" > > > > >"Top posting is bad." > > > > > III. Trimming is good, because it gets right to the

[PHP] PHP and Sessions

2005-04-17 Thread Reynier Perez Mira
Hi list: I have this code that Works perfectly: File: index.php Close session"; ?> File: logout.php When user click link all works fine but when user close window withouth click link the session is not delete and all vars preserve they values. How can I fix that? I use PHP 5.0.0 RC2 an

[PHP] Re: [PHP-WIN] Localhost not working with cookies

2005-04-17 Thread trlists
On 18 Apr 2005 Proudly Pinoy wrote: > I've read from php.net/setcookie and codecomments.com that using > localhost won't work with cookies and neither are IP addresses. So > how do I test cookies on local system? Hmmm, this works just fine for me -- I do it all the time. I tend to do it with a

[PHP] Re: [PHP-WIN] Localhost not working with cookies

2005-04-17 Thread Tom Rawson
On 18 Apr 2005 Proudly Pinoy wrote: > I've read from php.net/setcookie and codecomments.com that using > localhost won't work with cookies and neither are IP addresses. So > how do I test cookies on local system? Hmmm, this works just fine for me -- I do it all the time. I tend to do it with a

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Ryan A
PLEASE lets not start on the. > > 2. "Because it reads out of order." > > >"Why?" > > >"Top posting is bad." > > > III. Trimming is good, because it gets right to the point. .top posting / bottom posting thing again. -Ryan -- No virus found in this outgoing message. Chec

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Rory Browne
> Two things Rory > > a. You only replied to me, instead of the list. You have to probably > click on "reply to all" in your mail client. I have included the lists > address for this reply, so that it will appear there. Yeah sorry about that mailing you only thing. All the other lists I'm sub

Re: [PHP] Php + flash, need some help making a small .FLA

2005-04-17 Thread Rory Browne
I've only used flash, a couple of times( many years ago ), so I can't be of very much help, but you might be able to do something with ming - http://www.php.net/ming . If I remember correctly it would involve referencing images by their URL - images which would on the backend be served up with php.

[PHP] Php + flash, need some help making a small .FLA

2005-04-17 Thread Matt Babineau
Hi all - Does anyone have any experience with integrating php + flash? Or know of any good tutorial sites? Basically what I want to do is have an animated loading screen, and then pull pictures from a database and display text from a database, text could be scrolling across the bottom like CNN or

[PHP] Re: Localhost not working with cookies

2005-04-17 Thread M. Sokolewicz
Proudly Pinoy wrote: I've read from php.net/setcookie and codecomments.com that using localhost won't work with cookies and neither are IP addresses. So how do I test cookies on local system? set the hostname to an empty string; and 2, don't CROSS-post. That's a *very* bad habit -- PHP General Ma

[PHP] Localhost not working with cookies

2005-04-17 Thread Proudly Pinoy
I've read from php.net/setcookie and codecomments.com that using localhost won't work with cookies and neither are IP addresses. So how do I test cookies on local system? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql insert function

2005-04-17 Thread Dasmeet Singh
Hi! I regularly need to insert data into MySQL.. and instead of writing Insert query everytime i wrote this function... and it works well.. Please see and tell is it a good idea using this..or there might be problems with it? function db_query($sql) { global $dbh; $result = mys

Re: [PHP] Replacing spaces with commas

2005-04-17 Thread W Luke
On 4/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have about 200 records in a table, and I need to update 2 of the > > fields. The first is easy, but the second contains a list of keywords > > all separated by spaces; I need to replace the spaces with commas. Is > > this something I

Re: [PHP] Replacing spaces with commas

2005-04-17 Thread trlists
On 17 Apr 2005 W Luke wrote: > I have about 200 records in a table, and I need to update 2 of the > fields. The first is easy, but the second contains a list of keywords > all separated by spaces; I need to replace the spaces with commas. Is > this something I can do with some clever SQL, or sha

[PHP] Replacing spaces with commas

2005-04-17 Thread W Luke
Hi, I have about 200 records in a table, and I need to update 2 of the fields. The first is easy, but the second contains a list of keywords all separated by spaces; I need to replace the spaces with commas. Is this something I can do with some clever SQL, or shall I just do it in PHP? Any idea

[PHP] CFP: DLS05: ACM Dynamic Languages Symposium

2005-04-17 Thread Roel Wuyts
CALL FOR PAPERS FOR THE ACM Dynamic Languages Symposium 2005 October 18, 2005 San Diego, California (co-located with OOPSLA'05) URL: http://decomp.ulb.ac.be:8082/events/dls05/

[PHP] Re: chat script

2005-04-17 Thread Michelle Konzack
Am 2005-04-17 13:53:21, schrieb Dasmeet Singh: > Sukalyan Banga wrote: > > > Sir, > > I am hosted a chat script at www.bioraj.net/raj/chat/ but it shows > > some error what should I do. > > > > sukalyan > > > > > > > I got a virus warning while trying t

[PHP] Re: chat script

2005-04-17 Thread Dasmeet Singh
Sukalyan Banga wrote: Sir, I am hosted a chat script at www.bioraj.net/raj/chat/ but it shows some error what should I do. sukalyan I got a virus warning while trying to open your site.. Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-

[PHP] Re: query error

2005-04-17 Thread Dasmeet Singh
pete M wrote: I've got a database table with a whole list of "windows" file paths. eg Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Binder.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Excel.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Office Setup.ln

RE: [PHP] chat script

2005-04-17 Thread YaronKh
This error message is because you are trying to send header information after you already printed some text. The header information have to come before any other information sent to the browser meaning : http://www.example.com/'); ?> WON'T WORK!!! But http://www.example.com/'); print ("hello")