php-general Digest 6 Sep 2007 12:58:02 -0000 Issue 5003

2007-09-06 Thread php-general-digest-help
php-general Digest 6 Sep 2007 12:58:02 - Issue 5003 Topics (messages 261762 through 261772): Re: Command line socket server and SSL 261762 by: Paul Re: Using PHP to determine if user has Java installed 261763 by: Paul Scott 261764 by: Matt Livingston Re: Curl

php-general Digest 7 Sep 2007 01:48:45 -0000 Issue 5004

2007-09-06 Thread php-general-digest-help
php-general Digest 7 Sep 2007 01:48:45 - Issue 5004 Topics (messages 261773 through 261808): Re: capital I letters in func/class method names do not work with turkish locale in php5 261773 by: Dan Shirah 261775 by: Roman 261780 by: Eric Butera Re: cant mail

Re: [PHP] Curl redirection problem.

2007-09-06 Thread Stut
Chris wrote: Basically I want to redirect to: http://www.website.org/index.php after logging in using curl. Curl won't redirect you, you have to do it. header('Location: http://www.website.org'); But bear in mind that any cookies you've set up with curl will not be there when you

[PHP] php5: capital I letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Roman Neumüller
I'm a german web-designer living in Turkey. Sometimes I use opensource software like gallery2 or WP to have customers have some nice web albums or blog. The turkish translation files of such opensource software usually use gettext and .po files for i18n and are always a bit behind the

[PHP] mail doesnt work

2007-09-06 Thread Diana Castillo
when I try to send mail using this code: mail([EMAIL PROTECTED],TEST MAIL,TESTING MAIL); I get this error: Warning: mail() [function.mail]: SMTP server response: 554 [EMAIL PROTECTED]: Recipient address rejected: Access denied in C:\Inetpub\wwwroot\intranet\test.php on line 4 my settings in

[PHP] cant mail

2007-09-06 Thread Diana Castillo
when I try to send mail using this code: mail([EMAIL PROTECTED],TEST MAIL,TESTING MAIL); I get this error: Warning: mail() [function.mail]: Failed to connect to mailserver at smtp.tsanalytics.com port 25, verify your SMTP and smtp_port setting in php.ini or use ini_set() in

Re: [PHP] cant mail

2007-09-06 Thread Robert Degen
Connection/Firewall ?! -- Run telnet SMTPSERVER 25, type EHLO ENTER and see if he talks to you No anonymous relaying ?! Set the From header, caus maybe your smtp doesn't relay for everyone :-) mail ($addressee, $sub, $body, 'From: [EMAIL

Fw: [PHP] cant mail

2007-09-06 Thread Diana Castillo
sorry I dont know how to run that telnet command, it doesnt work in my dos window. I downloaded absolute telnet but I dont know how to send a message withit. as far as sendmail_from, I already have that set to an email, so that isnt theproblem. Could it be that in out look express it

Fw: [PHP] cant mail

2007-09-06 Thread Diana Castillo
I found telenet.exe that comes with windows, but when I type in SMTPSERVER 25, type EHLO ENTER it says Command not valid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php5: capital I letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Tijnema
On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote: I'm a german web-designer living in Turkey. Sometimes I use opensource software like gallery2 or WP to have customers have some nice web albums or blog. The turkish translation files of such opensource software usually use gettext and .po

Re: [PHP] php5: capital I letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Dan Shirah
Now that's service! On 9/6/07, Tijnema [EMAIL PROTECTED] wrote: On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote: I'm a german web-designer living in Turkey. Sometimes I use opensource software like gallery2 or WP to have customers have some nice web albums or blog. The turkish

Re: Fw: [PHP] cant mail

2007-09-06 Thread Daniel Brown
On 9/6/07, Diana Castillo [EMAIL PROTECTED] wrote: I found telenet.exe that comes with windows, but when I type in SMTPSERVER 25, type EHLO ENTER it says Command not valid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php First of

Re: [PHP] php5: capital I letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Roman
On Thu, 06 Sep 2007 15:57:57 +0300, Tijnema [EMAIL PROTECTED] wrote: On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote: I'm a german web-designer living in Turkey. Sometimes I use opensource software like gallery2 or WP to have customers have some nice web albums or blog. The turkish

Re: [PHP] Curl redirection problem.

2007-09-06 Thread Rahul Sitaram Johari
Chris wrote: Curl won't redirect you, you have to do it. header('Location: http://www.website.org'); But bear in mind that any cookies you've set up with curl will not be there when you redirect the client since they're in your cookie jar not on the clients machine, so if you're trying to

Re: [PHP] Curl redirection problem.

2007-09-06 Thread Stut
Rahul Sitaram Johari wrote: Chris wrote: Curl won't redirect you, you have to do it. header('Location: http://www.website.org'); But bear in mind that any cookies you've set up with curl will not be there when you redirect the client since they're in your cookie jar not on the clients

[PHP] Flow chart graph library

2007-09-06 Thread Dani Castaños
Hi all! Does anybody know a PHP library to create Flow chart graphs?? I need it to do something like this: (yes) Is it true ? --- Update | (no) | | Cancel Thank you in advance! -- PHP

RE: [PHP] Flow chart graph library

2007-09-06 Thread Jay Blanchard
[snip] Does anybody know a PHP library to create Flow chart graphs?? I need it to do something like this: (yes) Is it true ? --- Update | (no) | | Cancel Thank you in advance!

Re: [PHP] php5: capital I letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Eric Butera
On 9/6/07, Tijnema [EMAIL PROTECTED] wrote: On 9/6/07, Roman Neumüller [EMAIL PROTECTED] wrote: I'm a german web-designer living in Turkey. Sometimes I use opensource software like gallery2 or WP to have customers have some nice web albums or blog. The turkish translation files of such

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 3, 2007, at 12:42 PM, tedd wrote: that would be more complicated than just using css with js, like so: http://sperling.com/examples/menuh/ http://sperling.com/examples/menuv/ Why complicate your life? Hey, tedd - - - - I like this tool, and am playing with it -- -- Just

RE: [PHP] Generating foldout menus in php

2007-09-06 Thread Edward Kay
-Original Message- From: Ken Kixmoeller -- reply to [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 September 2007 16:48 To: tedd; php-general@lists.php.net Subject: Re: [PHP] Generating foldout menus in php On Sep 3, 2007, at 12:42 PM, tedd wrote: that would be

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 11:02 AM, Edward Kay wrote: You may want to take a look at Yahoo's YUI menu: http://developer.yahoo.com/yui/menu/ These can be defined using standard XHTML markup. Thank you --- I will do that -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] cant mail

2007-09-06 Thread David Wonderly
Diana Castillo wrote: when I try to send mail using this code: mail([EMAIL PROTECTED],TEST MAIL,TESTING MAIL); I get this error: Warning: mail() [function.mail]: Failed to connect to mailserver at smtp.tsanalytics.com port 25, verify your SMTP and smtp_port setting in php.ini or use

RE: [PHP] cant mail

2007-09-06 Thread Sanjeev N
Hi, Try to set from the program using ini_set()function and or check your mail server is correct or what. In most of the case I have used as follows Ini_set(SMPT,mail.domainname.com); And port If mail server doesn't exist then used as Ini_set(SMPT,domainname.com); And port And believe me it

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 10:47 AM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Just wondering, though, if you have ever created PHP code to generate these menus on-the-fly? Never mind === I got it working. (Mechanically) -- Aesthetically, though, even though I used the horizontal

Re: [PHP] IE Not Following Header(Location: /path/to/file.php);

2007-09-06 Thread Edward Kay
Scott Wilcox wrote: hey folks. I have a strange problem with IE sometimes. It doesn't seem to accept and follow a header sent to the browser. The action occurs when a user logs in, then is sent this header. Any hints/ideas appreciated. Scott. Get Microsoft's (free) Fiddler Tool and look at

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread tedd
At 10:05 AM -0500 9/6/07, phphelp -- kbk wrote: On Sep 3, 2007, at 12:42 PM, tedd wrote: that would be more complicated than just using css with js, like so: http://sperling.com/examples/menuh/ http://sperling.com/examples/menuv/ Why complicate your life? Hey, tedd - - - - I like this

[PHP] IE Not Following Header(Location: /path/to/file.php);

2007-09-06 Thread Scott Wilcox
hey folks. I have a strange problem with IE sometimes. It doesn't seem to accept and follow a header sent to the browser. The action occurs when a user logs in, then is sent this header. Any hints/ideas appreciated. Scott. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] IE Not Following Header(Location: /path/to/file.php);

2007-09-06 Thread Kevin Murphy
Also, turn on error reporting and see if an error is being generated before the header is sent. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada College www.wnc.edu 775-445-3326 P.S. Please note that my e-mail and website address have changed from wncc.edu to

RE: [PHP] IE Not Following Header(Location: /path/to/file.php);

2007-09-06 Thread Sanjeev N
There may be some output before header() or may be IE browsing interface is not getting refresh properly Warm Regards, Sanjeev http://www.sanchanworld.com/ http://webdirectory.sanchanworld.com - Submit your website URL http://webhosting.sanchanworld.com - Choose your best web hosting plan

RE: [PHP] Flow chart graph library

2007-09-06 Thread Sanjeev N
Hi, The following link may help you for what you want to achieve. I had bookmarked this link a long back. http://www.phpclasses.org/browse/package/3009.html But I have not tried. Warm Regards, Sanjeev http://www.sanchanworld.com/ http://webdirectory.sanchanworld.com - Submit your website URL

Re: [PHP] IE Not Following Header(Location: /path/to/file.php);

2007-09-06 Thread Andrew Brampton
That is not valid, the Location field must contain the full URL, so /path/to/file.php should be http://yourserver/path/to/file.php Read RFC rfc2616, section 14 Will help find it: http://www.google.com/search?hl=enq=HTTP+Header+FieldbtnG=Google+Search Andrew - Original Message -

Re: [PHP] Preventing Access to Private Files

2007-09-06 Thread mike
On 9/6/07, Stephen [EMAIL PROTECTED] wrote: I understand how to use PHP with MySQL to have a members table to validate passwords. And to limit the generation of member pages to members only. But what about photographs? If someone knows the complete URL they could view it directly, unless the

[PHP] Loosing session data between requests

2007-09-06 Thread robert mena
Hi, I am facing a strange problem. I have two servers (both Centos 4.5, httpd 2.0.52, php 5.1.6) and in one of them a webmail (uebimiau) looses session data between requests and in another it does not. I've compared php.ini from both with nothing different except for some memory limits they are

Re: [PHP] Preventing Access to Private Files

2007-09-06 Thread TG
You could use PHP to read the file and send the proper image format header. Your URL might look something like this: http://www.yoursite.com/image.php?id=234 If you're worried about people hotlinking it in web forums or something, you can research 'hotlink protection'. There's a million ways

RE: [PHP] Preventing Access to Private Files

2007-09-06 Thread Daevid Vincent
-Original Message- From: Stephen [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007 1:04 PM To: php-general@lists.php.net Subject: [PHP] Preventing Access to Private Files I understand how to use PHP with MySQL to have a members table to validate passwords. And to limit

[PHP] Preventing Access to Private Files

2007-09-06 Thread Stephen
I understand how to use PHP with MySQL to have a members table to validate passwords. And to limit the generation of member pages to members only. But what about photographs? If someone knows the complete URL they could view it directly, unless the directory is protected using .htpassword But I

Re: [PHP] Loosing session data between requests

2007-09-06 Thread Edward Kay
robert mena wrote: I've checked both /tmp and the session file sess_x in one server is empty and in another has the data. Both $_SESSION are ok (I've checked with a var_dump). Check the permissions on /var/lib/php/session Edward -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] IE Not Following Header(Location: /path/to/file.php);

2007-09-06 Thread brian
Edward Kay wrote: Get Microsoft's (free) Fiddler Tool and look at the exact info been sent and received: http://www.fiddlertool.com/fiddler/ Edward I'd just like to say thanks for posting that. This might be the sugar i need to face the bitter prospect of booting Windows for testing.

Re: [PHP] Loosing session data between requests

2007-09-06 Thread robert mena
Edward, My session.save_path = /tmp. The sess_X is created but with no contents On 9/6/07, Edward Kay [EMAIL PROTECTED] wrote: robert mena wrote: I've checked both /tmp and the session file sess_x in one server is empty and in another has the data. Both $_SESSION are ok (I've

RE: [PHP] Preventing Access to Private Files

2007-09-06 Thread Daevid Vincent
Depends on your host I guess. Some hosts give you an entire Virtual Machine with root access. It depends on your distro too. But usually it's in /etc/apache... If you don't have direct access, you will have to talk to them about if mod_auth_mysql is installed and have them setup for you. If it's

Re: [PHP] Preventing Access to Private Files

2007-09-06 Thread brian
Daevid Vincent wrote: Depends on your host I guess. Some hosts give you an entire Virtual Machine with root access. It depends on your distro too. But usually it's in /etc/apache... If you don't have direct access, you will have to talk to them about if mod_auth_mysql is installed and have them

Re: [PHP] Fwd: 403 Forbiden

2007-09-06 Thread brian
Jesús de Diego Alarcón wrote: (Excuse me... wrong button) Hello all and thank you in advance. I'm totally beginer in PHP . I'm developing: http://www.my3dgis.es/visor/visor.htm# At Options Herramientas Búsqueda en Catastro the application shows a form (ExtJS). In this form, the

RE: [PHP] Preventing Access to Private Files

2007-09-06 Thread tedd
At 1:15 PM -0700 9/6/07, Daevid Vincent wrote: Basically add something like this to your apache vhost_foo.conf file: Where's that? I'm on a hosted server -- is that something that I can get to? Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com --

[PHP] Fwd: 403 Forbiden

2007-09-06 Thread Jesús de Diego Alarcón
(Excuse me... wrong button) Hello all and thank you in advance. I'm totally beginer in PHP . I'm developing: http://www.my3dgis.es/visor/visor.htm# At Options Herramientas Búsqueda en Catastro the application shows a form (ExtJS). In this form, the combobox Provincias should be loaded

Re: [PHP] Re: Opening a file

2007-09-06 Thread Ronald Wiplinger
On Wed, 2007-09-05 at 10:29 -0400, Dan Shirah wrote: Correction, I am now getting this error: PHP Warning: file(fruits.txt) [function.filehttp://develop1/credit%20card%20processing/function.file]: failed to open stream: No such file or directory PHP Warning: in_array()

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 1:17 PM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Aesthetically, though, even though I used the horizontal classes, it comes out vertical Never mind (not that you did) -- got it working fine --- -- PHP General Mailing List (http://www.php.net/) To

[PHP] 403 Forbiden

2007-09-06 Thread Jesús de Diego Alarcón
Hello all and thank you in advance. I'm totally beginer in PHP . I'm developing: http://www.my3dgis.es/visor/visor.htm# At Options Herramientas Búsq