[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 wrote: > But how are you getting the data from the db? > > Does $rowqry represent a call using the mysql_fetch_array() function? > > > Sent from my ma

[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 run

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 : >> 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

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 m

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 : > >> 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 = >> ".:/server/home/apache/php4/:/var/php/5.2/pear/:/usr/php/lib/

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 F

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 in

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

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 tr

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 hi

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

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

2009-08-31 Thread Ben Dunlap
> 1. Menu of what type of merge you want to do. (Initialize working table) > 2. Process Data File (Initialize working table and then load in new data) > 3. Build Email > 4. Send out Email How many PHP scripts correspond to these 4 steps? Is it one script (or more) for each step? For example: st

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

2009-08-31 Thread Matt Neimeyer
> How many PHP scripts correspond to these 4 steps? Is it one script (or > more) for each step? For example: > Or is it just one "dispatcher" script: > Or something in-between? It's a dispatcher script that can call multiple files. For example (without pulling up code)... (each dispatch job would

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 Firebu

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

[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: " gran

[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]['pa

[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 : > 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.i58

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. 2009/8/31 Nico Sabbi : > Lars Torben Wilson ha scritto: >> 2009/8/28 Nico Sabbi : >> >>> Hi, >>> I'm testing one of my sites in safe_mode, but I'm experiencing some >>> st

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? Plea

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 ho

Re: [PHP] Re: Install PHPMyAdmin with urpmi

2009-08-31 Thread hack988 hack988
I forgot some important thing. What Native api are u used by php_mysql? mysqlnd or mysql client lib? And What your mysql-server's version? 2009/9/1 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

[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 both

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 b

Re: [PHP] IRC and English

2009-08-31 Thread Daniel Brown
On Mon, Aug 31, 2009 at 21:06, 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. I

[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 McKa

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

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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 b

[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 ch

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 : > 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 a