php-general Digest 31 Aug 2009 06:35:27 -0000 Issue 6314

2009-08-31 Thread php-general-digest-help
php-general Digest 31 Aug 2009 06:35:27 - Issue 6314 Topics (messages 297494 through 297498): Script sometimes not recognized as php 297494 by: Rick Pasotto windows 5.2.10 PHP not working with phpinfo 297495 by: Fred Silsbee 297497 by: Ralph Deffke 297498

php-general Digest 31 Aug 2009 18:57:11 -0000 Issue 6315

2009-08-31 Thread php-general-digest-help
php-general Digest 31 Aug 2009 18:57:11 - Issue 6315 Topics (messages 297499 through 297516): Re: [PHP-WIN] Re: [PHP] Problem outputting MySQL Date field 297499 by: Devendra Jadhav Write Japanese text into an existing PDF 297500 by: Dave M G 297504 by: tedd Re:

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-31 Thread hack988 hack988
Please set log_error=on,error_reporting=E_ALL,error_log=syslog in php.ini and then,see error detail in syslog. 2009/8/31 Fred Silsbee fredsils...@yahoo.com: I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I had to return to 5.2.8 but I found no

[PHP] Re: [PHP-WIN] Re: [PHP] Problem outputting MySQL Date field

2009-08-31 Thread Devendra Jadhav
At the beginning of the code add following lines error_reporting(E_ALL); ini_set('display_error',1); On Sat, Aug 29, 2009 at 8:28 AM, Keith Davis keithda...@pridedallas.comwrote: But how are you getting the data from the db? Does $rowqry represent a call using the mysql_fetch_array()

[PHP] Write Japanese text into an existing PDF

2009-08-31 Thread Dave M G
PHP List, I am looking for a way I can create a PDF file by overlaying text onto an existing PDF document. I have found three open source script sets that seem to do that, but I can't figure out exactly how they inter-relate. They are TCPDF, FPDI, and FPDF. From what I can tell, FPDI (which

Re: [PHP] windows 5.2.10 PHP not working with phpinfo

2009-08-31 Thread David Robley
hack988 hack988 wrote: Please set log_error=on,error_reporting=E_ALL,error_log=syslog in php.ini and then,see error detail in syslog. 2009/8/31 Fred Silsbee fredsils...@yahoo.com: I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I had to

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Nico Sabbi
Lars Torben Wilson ha scritto: Hi Nico, First the obligatory safe_mode is deprecated and not recommended speech. . .but I guess you've already seen that in the docs and decided to use it anyway. I read it, but I don't know if I have to interpret it as php6 wil only work in safe mode or

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Nico Sabbi
Lars Torben Wilson ha scritto: 2009/8/28 Nico Sabbi nsa...@officinedigitali.it: Hi, I'm testing one of my sites in safe_mode, but I'm experiencing some strangeness that is not documented. The settings are: in php.ini: include_path =

Re: [PHP] Write Japanese text into an existing PDF

2009-08-31 Thread tedd
At 5:18 PM +0900 8/31/09, Dave M G wrote: PHP List, I am looking for a way I can create a PDF file by overlaying text onto an existing PDF document. I have found three open source script sets that seem to do that, but I can't figure out exactly how they inter-relate. They are TCPDF, FPDI, and

RE: [PHP] vote package

2009-08-31 Thread Bob McConnell
From: Noel Butler On Fri, 2009-08-28 at 08:33 -0400, Bob McConnell wrote: Forging IP addresses is actually quite simple. VMs do it all the time when bridged to the real NIC. There are also some projects on Source Forge designed to load test HTTP servers that do similar

[PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Matt Neimeyer
Probably a year or so ago I asked on this list before and basically the response was that this should be impossible that it shouldn't happen... So I'm asking again hoping someone new to the list can suggest something that might lead to a fix or that someone else has run across the problem in the

RE: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Williams, Dewey
-Original Message- From: Matt Neimeyer [mailto:m...@neimeyer.org] Sent: Monday, August 31, 2009 11:06 AM To: php-general Subject: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible! One of our products allows you to mail merge using an uploaded data

Re: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Matt Neimeyer
No answers - just more questions to maybe point you in a direction you haven't been Anything is appreciated... Is it possible that the query/script is taking too long to build the response page and FireFox/Safari is asking for an empty query result? I don't think so... the

Re: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Robert Cummings
Matt Neimeyer wrote: No answers - just more questions to maybe point you in a direction you haven't been Anything is appreciated... Is it possible that the query/script is taking too long to build the response page and FireFox/Safari is asking for an empty query result? I don't

Re: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Matt Neimeyer
If it were prefetching, or another request clobbering your current request then you would see a second hit in your server logs. I will admit... I have made (at least) one assumption... Since... 1. This is a difference between IE and Firefox/Safari... 2. I was seeing a tracer email for each hit

Re: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Paul M Foster
On Mon, Aug 31, 2009 at 11:55:38AM -0400, Matt Neimeyer wrote: If it were prefetching, or another request clobbering your current request then you would see a second hit in your server logs. I will admit... I have made (at least) one assumption... Since... 1. This is a difference

Re: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Matt Neimeyer
In circumstances like this, I would instrument the code with echo/print statements all around where you think the problem is. We did that with no luck. We only saw one call to the initialize function which is why I switched to tracer emails because we knew the initialize function was the only

RE: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Bob McConnell
From: Matt Neimeyer So far... I can reliably reproduce the problem in Firefox on Windows and Mac, Safari on Windows and Mac. But Chrome and IE appear to be unaffected. Finally, have you reproduced the problem while watching the network activity using something like tcpdump or Firebug's Net

Re: [PHP] I'm not crazy I swear it... IE vs Safari and Firefox - The impossible!

2009-08-31 Thread Ben Dunlap
I would set up Wireshark to capture and compare the http sequences from each browser. After you capture each stream, use the Follow TCP Stream option to look at the raw HTTP. If it is the browsers, there should be some obvious differences in the sequence of requests from them. This is a good

[PHP] Install PHPMyAdmin with urpmi

2009-08-31 Thread Ricky Tompu Breaky
Dear my friends, I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva 2009.1. I have defined in the file of '/var/www/phpmyadmin/libraries/config.default.php' this things: $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'mypassword'; . I've done: grant

[PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread Shawn McKenzie
Ricky Tompu Breaky wrote: Dear my friends, I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva 2009.1. I have defined in the file of '/var/www/phpmyadmin/libraries/config.default.php' this things: $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] =

[PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread Ricky Tompu Breaky
Dear Shawn. Firstly, thank you very much for your quick respond. I've installed the php-mysql: [r...@mandreev linux]# urpmi php-mysql Package php-mysql-5.3.0-0.1mud2009.1.i586 is already installed [r...@mandreev linux]# . But I don't know if it's enabled already. How can I know that? Please

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
Are u set auth_type to config? $cfg['Servers'][$i]['auth_type'] = 'config'; 2009/9/1 Ricky Tompu Breaky ricky.bre...@uni.de: Dear Shawn. Firstly, thank you very much for your quick respond. I've installed the php-mysql: [r...@mandreev linux]# urpmi php-mysql Package

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread hack988 hack988
Please create a file(.php) and write follow codes for more details. ?php phpinfo(); ? 2009/8/31 Nico Sabbi nsa...@officinedigitali.it: Lars Torben Wilson ha scritto: 2009/8/28 Nico Sabbi nsa...@officinedigitali.it: Hi, I'm testing one

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread Ricky Tompu Breaky
Dea my ePal, I tried by editing the line as you adviced just now. But It does not make any difference. After I type root and the password and click the Login Button ('Go'), I am not in but just stay on the login form without any error or success message. Is there any another possibility?

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
Config means just use username and password for config file,in that case u need't type any things,just open url. U must set another option in file. $cfg['blowfish_secret']='some string'; If not work agian,please check others options. $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL

[PHP] IRC and English

2009-08-31 Thread Paul M Foster
I'm sorry, but is anyone else annoyed by people who attempt to use IRC jargon on mailing lists? For example, substituting u for you. Oddly enough, I'm seeing this primarily in foreign language posters, not in native English speakers. It's often accompanied by English so broken I don't even bother

Re: [PHP] IRC and English

2009-08-31 Thread Stephen
Paul M Foster wrote: I'm sorry, but is anyone else annoyed by people who attempt to use IRC jargon on mailing lists? For example, substituting u for you. Oddly enough, I'm seeing this primarily in foreign language posters, not in native English speakers. It's often accompanied by English so

Re: [PHP] IRC and English

2009-08-31 Thread Daniel Brown
On Mon, Aug 31, 2009 at 21:06, Paul M Fosterpa...@quillandmouse.com wrote: I'm sorry, but is anyone else annoyed by people who attempt to use IRC jargon on mailing lists? For example, substituting u for you. Oddly enough, I'm seeing this primarily in foreign language posters, not in native

[PHP] Re: Best way to test for form submission?

2009-08-31 Thread Ross McKay
On Sat, 29 Aug 2009 04:47:09 -0400, O. Lavell wrote: There are more methods, I always use: if($_SERVER[REQUEST_METHOD] == POST) { do_something(); } +1. Although, this doesn't catch PUT requests, but I have yet to encounter a place where I want one with form data. -- Ross McKay, Toronto,

Re: [PHP] IRC and English

2009-08-31 Thread Paul M Foster
On Mon, Aug 31, 2009 at 09:10:54PM -0400, Stephen wrote: Paul M Foster wrote: I'm sorry, but is anyone else annoyed by people who attempt to use IRC jargon on mailing lists? For example, substituting u for you. Oddly enough, I'm seeing this primarily in foreign language posters, not in

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
Use follow codes for test your php,php_mysql is work well. use your ip replace localhost,your mysql port replace 3306 and username,password to replace mysql_user, mysql_password. ?php error_reporting(2047); ini_set(display_error,On); if(mysql_connect('localhost:3306', 'mysql_user',

Re: [PHP] Write Japanese text into an existing PDF

2009-08-31 Thread George Langley
On 31-Aug-09, at 6:37 AM, tedd wrote: I used the PDFB library to create this: http://webbytedd.com/bb/pdf/ Here's a link for more information: http://chir.ag/projects/pdfb/ While I've never used Japanese text, I think as long as you have a font for it, it should work. Cool

[PHP] Re: IRC and English

2009-08-31 Thread Lupus Michaelis
Paul M Foster wrote: I'm sorry, but is anyone else annoyed by people who attempt to use IRC jargon on mailing lists? For example, substituting u for you. Oddly enough, I'm seeing this primarily in foreign language posters, not in native English speakers. It's often accompanied by English so

[PHP] LoginShare | How to authenticate once, and login to different websites

2009-08-31 Thread Behzad
Dear list, i'm trying to integrate two php-driven web applications, which both require the user to authenticate using a username and a password. Consider a situation where the user has logged-in to the 1st application. She clicks over a hyper-link, which directs her to the 2nd application. The

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Lars Torben Wilson
2009/8/31 Nico Sabbi nsa...@officinedigitali.it: Lars Torben Wilson ha scritto: Hi Nico, First the obligatory safe_mode is deprecated and not recommended speech. . .but I guess you've already seen that in the docs and decided to use it anyway. I read it, but I don't know if I have to