Re: [PHP-WIN] Date Problem

2012-06-21 Thread John Harris
On 21 Jun 2012 8:43, Huiberts, Pieter J. wrote > Sorry gentlemen, quick question how do I unsubscribe from this list? > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Follow the information provided? -John -- PHP Win

Re: [PHP-WIN] phpinfo script loading time

2012-02-18 Thread John Harris
ipt again goes > slow. I try to find the bug in httpd.conf > and php.ini. Line 17 of your php.ini file contains a call to the internet. Windows waits until the site responds, which never happens. Your error timeout defaults to 5 seconds. -John -- PHP Windows Mailing List (http://www.php.

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

2009-08-28 Thread John Meyer
Keith Davis wrote: But how are you getting the data from the db? Does $rowqry represent a call using the mysql_fetch_array() function? mysql_fetch_assoc() -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2009-08-28 Thread John Meyer
Devendra Jadhav wrote: No need to do anything special. It should display date as string. Can you provide little more information or code snippet? $tweettable .= preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', '$1',$row["TWEET_TEXT"]) . "" . "Sent at: " . $rowqry["TWEET_

[PHP-WIN] Getting a date to print out

2009-08-28 Thread John Meyer
is there any special trick to getting a MySQL date to print out? Simply echoing it out doesn't seem to work. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] php with iis

2009-08-25 Thread John L
stall/index.php page just prompts me to open it or save it. opening it does nothing as it seems to be associated with a program called CLI. If there's anything i missed during the installation or any help will be appreciated. thanks. John L. -- PHP Windows Mailing List (htt

Re: [PHP-WIN] Problem: direct download of php pages

2009-07-27 Thread John Meyer
Niel Archer wrote: Windows XP Apache 2.2.11 PHP 5.2 (CGI version). When I navigate to a page on the server, it gives me a direct download dialog box. But when I take that page and parse it directly through the php-cgi program, it comes out fine. Probably a configuration problem with

[PHP-WIN] Problem: direct download of php pages

2009-07-27 Thread John Meyer
Windows XP Apache 2.2.11 PHP 5.2 (CGI version). When I navigate to a page on the server, it gives me a direct download dialog box. But when I take that page and parse it directly through the php-cgi program, it comes out fine. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

[PHP-WIN] PHP4 listening host:port

2009-06-09 Thread John Fairley
installed PHP 4.4.9 but I can't find how I set host and port in php. Running php -v has confirmed that this is the cgi-fcgi version. I'm sure it's simple but I'm being driven nuts. TIA, John

[PHP-WIN] PHP and Crystal Reports

2009-04-29 Thread John Messam
in was later than the one that is being used to open it via the php program. The other problem is that when it is run from the browser the program hangs on the openReport command Can anyone assist me on resolving the hanging issue or the entire thing for that matter. Thanks! John

Re: [PHP-WIN] PHP connecting to MSSQL

2009-03-29 Thread John Mertic
Which version of mssql are you connecting to? John Sent from my iPod On Mar 29, 2009, at 7:31 AM, Alf Stockton wrote: I vave also tried using echo "Error in DBConnect() = " . mssql_get_last_message(); & now all I get is "Error in DBConnect() = "

[PHP-WIN] Where to put class files?

2009-03-26 Thread John Hughes
I want to use PHP for command line scripting on Windows. Where would be the best place to put a class file so that it does not have to be in the same directory as every file that uses it? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Old version

2009-02-14 Thread John Mertic
http://us2.php.net/releases/ John Mertic jmer...@gmail.com | http://jmertic.wordpress.com On Sat, Feb 14, 2009 at 6:24 AM, mattias wrote: > Where to find old php for windows versions? > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit:

Re: [PHP-WIN] Access Violation

2009-02-11 Thread John Mertic
FastCGI will work on XP with the installer designed for Windows Server 2003, although it's not offically supported. John Mertic jmer...@gmail.com Sent from my iPod On Feb 11, 2009, at 8:02 PM, "Louis Solomon [SteelBytes]" > wrote: forget the ISAPI, use FastCGI. In my ex

Re: [PHP-WIN] Missing extensions from windows installer of PHP 5.2.8

2009-02-02 Thread John Mertic
These were shipped with 5.2.6 and they can be found at http://www.php.net/releases/; they should still work with 5.2.8. John Mertic jmer...@gmail.com | http://jmertic.wordpress.com On Sun, Feb 1, 2009 at 8:34 PM, Ambrish Bhargava wrote: > > Thanks for this, but I have another questi

Re: [PHP-WIN] Missing extensions from windows installer of PHP 5.2.8

2009-02-01 Thread John Mertic
announcement on php.net: http://www.php.net/archive/2008.php#id2008-12-10-1 Thanks! John Mertic jmer...@gmail.com | http://jmertic.wordpress.com On Sun, Feb 1, 2009 at 9:54 AM, Ambrish Bhargava wrote: > > Hi, > > I am a developer and maintainer of IBM_DB2, PDO_IBM and PDO_INFORMIX >

[PHP-WIN] Unsubscribe (was FW: [PHP-WIN] Politics)

2008-10-24 Thread John Harris
lto:[EMAIL PROTECTED]> list-unsubscribe: <mailto:[EMAIL PROTECTED]> -John -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] How to install PECL

2008-09-23 Thread John Mertic
y and see if they can be of assistance. John Mertic [EMAIL PROTECTED] http://jmertic.wordpress.com "Explaining a joke is like dissecting a frog: you understand it better, but the frog dies in the process." --Mark Twain On Tue, Sep 23, 2008 at 11:15 AM, [EMAIL PROTECTED] <[EMAIL

Re: [PHP-WIN] I don't know what I'm doing wrong

2008-09-15 Thread John Harris
ntained under my "test" directory > > --- On Thu, 9/11/08, John Harris <[EMAIL PROTECTED]> wrote: > > I can't see a problem if your connection.php file is located off the > practice.php folder. > > C:\wamp\www\WebRoot\Test\Images\Connections\connecti

Re: [PHP-WIN] I don't know what I'm doing wrong

2008-09-11 Thread John Harris
Images\Connections\connection.php In which folder is the connection.php file located? -John -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] WMI call to run a remote application

2008-05-22 Thread John Arends
t find anything that points me in the right direction. All the sample scripts are in vbscript, but I assume I can probably do something like this with PHP as well since it has COM libraries. Any suggestions? -John -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PECL SVN Extension Setup Help

2008-04-16 Thread John Mertic
You should grab the pre-complied extension from http://pecl4win.php.net/list.php instead. Use pecl install tried to compile it locally, which you aren't set up for. John On Wed, Apr 16, 2008 at 1:41 PM, Jake Conk <[EMAIL PROTECTED]> wrote: > Hello, > > I tried installing th

Re: [PHP-WIN] need help! plz

2008-03-24 Thread John Mertic
ocation.href = '<a rel="nofollow" href="http://www.blah">http://www.blah</a> blah.com';"; John On Mon, Mar 24, 2008 at 7:04 AM, Hooman Fatoorehchi <[EMAIL PROTECTED]> wrote: > dear all, > > I want to make a form-to-email page and I want

Re: [PHP-WIN] PHP + Apache + IIS/SMTP

2008-03-12 Thread John Mertic
Hi Alain, IIS has a bulit-in SMTP server you can enable and use. You should see it listed in the IIS Manager. John On Mon, Mar 10, 2008 at 2:39 AM, Alain Roger <[EMAIL PROTECTED]> wrote: > Hi, > > i know that this is not necessary the best forum for that, but i need to get >

Re: [PHP-WIN] Microsoft IIS - Fatal error: Call to undefined function db2_connect()

2008-01-03 Thread John Mertic
We'll be re-enabling from now on. John On Jan 3, 2008 3:35 PM, McCallister, Jason <[EMAIL PROTECTED]> wrote: > *** I think PHP may be using the wrong PHP.INI file. > > phpinfo() says this: > > Configuration File (php.ini) Path C:\WINNT > Loaded Configuration File (n

Re: [PHP-WIN] newbie: error when invoke .php

2007-12-09 Thread John Mertic
Try not enabling every single extension in the installer, instead enable only the extensions you need. You can go into Add/Remove Programs and make these changes as well. John On Dec 9, 2007 12:29 AM, Andre Junianto <[EMAIL PROTECTED]> wrote: > Dear all, > > I'm newbie.

Re: [PHP-WIN] Optimization/Benchmarking tools?

2007-12-06 Thread John Mertic
Here's a good one to get started on http://talks.php.net/show/tortech04/26. John On Dec 6, 2007 11:08 AM, Lewis Kapell <[EMAIL PROTECTED]> wrote: > John, > > Thanks for the tip. In just a short time, this tool helped me to find > the big bottlenecks in my scripts. > &

Re: Fw: [PHP-WIN] PHP and MySQL Configuration on my WinXP Pro machine

2007-12-05 Thread John Mertic
aking with php.ini directives, moving files, or configuring web servers ( unless you are using some really wacky web server ). John On Dec 5, 2007 10:45 AM, Jacob Kruger <[EMAIL PROTECTED]> wrote: > I did in fact use the file: > php-5.2.3-win32-installer.msi > That I downloaded

Re: [PHP-WIN] Optimization/Benchmarking tools?

2007-12-05 Thread John Mertic
Xdebug and WinCacheGrind are your friends here. Read more at http://xdebug.org/docs/profiler. John On Dec 5, 2007 11:01 AM, Lewis Kapell <[EMAIL PROTECTED]> wrote: > Hello all, > > I have a couple of web sites which rely heavily on PHP and PostgreSQL. > Sometimes, pages w

Re: [PHP-WIN] reading emails

2007-10-30 Thread John Mertic
Take a look at the IMAP extension. http://www.php.net/imap John On 10/29/07, Nishantha Pradeep <[EMAIL PROTECTED]> wrote: > I am using a mail server (xammp murcury) in order to send emails.I can send > emails using php mail() functions but I want to extract information from

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-11 Thread John Mertic
Do you have a working demo of what you are doing with Word COM and PHP? I'm kinda curious since I've never seen anyone be able to save a document back to the webserver like that. Are you setting some special permissions on the webserver? John On 10/10/07, Gustav Wiberg <[EMAIL PROT

Re: [PHP-WIN] Reading files from Win 2003 Server

2007-10-11 Thread John Mertic
You're going to want to mount the directory at the command line, something like smbmount //server/share /localdir -o username=user,password=pass,uid=500,gid=500 Also be sure that /localdir is readable by the www-user account. John On 10/10/07, Alexis <[EMAIL PROTECTED]> wrote: >

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread John Mertic
document would be in order. If you are looking at the second, you may want to consider one of the Rich Text Editing tools that you can drop in a webpage, such as FCKEditor or TinyMCE; these typically will want input and output in XHTML however. John On 10/10/07, Gustav Wiberg <[EMAIL PROTECTED]&g

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread John Mertic
ges are actually > made. > Example: > > John opens up file c:\test.doc. He writes "Ugly cow" in it and pushes the > save-icon. Ugly Cow is now stored in file c:\test.doc. Working with > COM-objects is the only solution I have found!? > > Normally If John opens up c:\tes

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-10 Thread John Mertic
s to take Word out of the loop when doing the mail merge ( we actually just do a global find and replace in the document since we've found more consistent results with that ). But again, this all depends upon the application. John On 10/10/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote:

Re: [PHP-WIN] Com++ Word AND PHP?

2007-10-08 Thread John Mertic
Also try doubling up the backslash or using a forward slash on Windows $word->Documents[1]->SaveAs("C:\\hello2.doc"); --or-- $word->Documents[1]->SaveAs("C:/hello2.doc"); Also be sure the process has create file access to to the C: drive. John On 10/8/07,

Re: [PHP-WIN] Com++ Word AND PHP?

2007-10-08 Thread John Mertic
Perhaps changing the 0 to 1 in the line would fix it, namely: $word->Documents[1]->SaveAs("C:\hello2.doc"); John On 10/8/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to run Word and save as a document in PHP. I have tested... > > $

Re: [PHP-WIN] odbc_connect unknown error

2007-09-20 Thread John Mertic
You can if the user that runs the web server process has access to that file then yes. Or you could set an ODBC bridge, but to be honest it's much faster and easier ( depending upon the application's requirements of course ) to export it to a SQLite or MySQL DB on the webserver. John

Re: [PHP-WIN] odbc_connect unknown error

2007-09-20 Thread John Mertic
lpathtodb; $con = odbc_connect($dsn,$user,$pass) or die(odbc_error()); John On 9/19/07, Alexander Fradiani <[EMAIL PROTECTED]> wrote: > > Hello!. > > I have a problem when trying to connect to an access database: > > $con = odbc_connect($dsn,$user,$pass) or die(odbc_error()); &

Re: [PHP-WIN] showing warnings

2007-09-12 Thread John Mertic
ant to try rewriting it like this: $sql = "SELECT Tune_Name,Tune_Type FROM Mobile_Tunes WHERE Tune_Type = '".$tunetype."' AND Tune_Name LIKE '".$tunename."%' "; Also be sure to run each of the parameters ( $tunetype and $tunename ) thru mysql_real_escape_

Re: [PHP-WIN] File-error code?

2007-09-11 Thread John Mertic
ess I don't really understand the context of your issue either, which may dictate why one way of doing things might be better than another. John On 9/11/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi! > > I have solved the problem, but I just wondered if there were any option

Re: [PHP-WIN] File-error code?

2007-09-10 Thread John Mertic
For the most part yes. Please elaborate if there is something particular you are looking for? John On 9/10/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi! > > Ok. That is the only option then? > > Best regards > /Gustav Wiberg > > > -----Original Message

Re: [PHP-WIN] showing warnings

2007-09-10 Thread John Mertic
Is the table 'Mobile_Tunes' indexed at all? If not, you may want to consider adding one at least one 'Tune_Type' and another on 'Tune_Name'. John On 9/10/07, Asim <[EMAIL PROTECTED]> wrote: > Hi > > script is following > > if(isset($_G

Re: [PHP-WIN] File-error code?

2007-09-10 Thread John Mertic
You can use is_file() and is_readable() to determine if the file exists and is readable. That's not really getting you any sort of "error code", but it least it helps narrow things down. John On 9/10/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi! > > Yes, th

Re: [PHP-WIN] showing warnings

2007-09-09 Thread John Mertic
Can you provide the script you are running and the exact error message you are getting? John On 9/9/07, Asim <[EMAIL PROTECTED]> wrote: > Hi > > > in my script when i scan whole table for result set to display in my page > it shows warning that suggest me to use > >

Re: [PHP-WIN] Why are errors displayed?

2007-09-07 Thread John Mertic
The folder that storeds the sessiondata must have read and write access to the user that the web server is running as ( typically this the Local Administrator ). John On 9/7/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi! > > @session_start(); //This causes the

Re: [PHP-WIN] php5ts.dll errors

2007-09-06 Thread John Mertic
that it is for the > php.exe? we use the apache module for php, so I set the debug up to > look at Apache, however, it's not capturing the faulting module > information - is there a way to set it up for the module by chance? or > am I thinking this out al

Re: [PHP-WIN] php5ts.dll errors

2007-09-05 Thread John Mertic
Build the backtrace and send it to me. I'll see what I can do.... John On 9/5/07, Sean <[EMAIL PROTECTED]> wrote: > "John Mertic" wrote: > > > Follow the instructions at > > http://bugs.php.net/bugs-generating-backtrace-win32.php to generate a > > b

Re: [PHP-WIN] php5ts.dll errors

2007-09-05 Thread John Mertic
Follow the instructions at http://bugs.php.net/bugs-generating-backtrace-win32.php to generate a backtrace and send that to http://bugs.php.net. John On 9/5/07, Stut <[EMAIL PROTECTED]> wrote: > Sean wrote: > > Stut wrote: > > > >> Sean wrote: > >>>

Re: [PHP-WIN] path + filename

2007-09-05 Thread John Mertic
ease Date: 2007-09-04 > 22:36 > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- John Mertic"Explaining a joke is like dissecting a frog: you [EMAIL PROTECTED]

Re: [PHP-WIN] Browse/file-button - default path?

2007-09-05 Thread John Mertic
virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.485 / Virus Database: 269.13.5/990 - Release Date: 2007-09-04 > 22:36 > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > &g

Re: [PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-25 Thread John Mertic
$ldapconn, LDAP_OPT_REFERRALS,0); > $ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass); > } > ?> > > > Then I get this error: > Warning: ldap_bind() [function.ldap-bind]: Unable to bind to server: Can't > contact LDAP server in C:\www\utveckling\ldap2.php on lin

Re: [PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-24 Thread John Mertic
» http://www.php.net/downloads.php is the best choice to have your system secure and optimised." Hopefully that helps adoption out. -- -- John Mertic"Explaining a joke is like dissecting a frog: you [EMAIL PROTECTED]

Re: [PHP-WIN] Confused

2007-08-24 Thread John Mertic
Just grab the windows installer and choose LDAP under the Extensions tree. John On 8/24/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi again! > > Sorry I'm so dumb, but what exactly should I download? I've tried to > download OpenLDAP (Is this wrong?) > ftp:

Re: [PHP-WIN] Windows Active Directory AND PHP ?

2007-08-24 Thread John Mertic
You can have IIS authenicate the users and then use LDAP to lookup what group they are to assign user rights in PHP itself. I do something similar to this, but with Apache and mod_auth_sspi instead. John On 8/24/07, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi! > > Is it possible

Re: [PHP-WIN] How to set GET and POST variables through CLI?

2007-08-24 Thread John Mertic
our reply John, > Having to add something to the top of my php to get the $_GET array > isn't a great option for me. I want to be able run my php as it would > be run from a web server. Actually I'd also like to integrate it into a > homegrown Java based web server I have

Re: [PHP-WIN] How to set GET and POST variables through CLI?

2007-08-22 Thread John Mertic
t; > Thanks for any help. > -- Steve > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- John Mertic"Explaining a joke is like dissecting a frog

Re: [PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-17 Thread John Mertic
On 8/17/07, Jürgen Wind <[EMAIL PROTECTED]> wrote > how can one recommend an installer that messes up session.save_path and > upload_tmp_dir ? > (unfixed for months, dunno if fixed meanwhile) > This has been fixed for nearly 9 months now. http://bugs.php.net/bug.php?id=39842 -

Re: [PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-17 Thread John Mertic
> respect my directory choices, instead of using C:\php5 for downloads, no > matter what I set. It should pick the installation directory of PHP by default from my experience; but you might want to ask the PEAR folks about that one. -- -- John Mertic&

[PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-17 Thread John Mertic
Hi everyone, My name is John Mertic, and I created and maintain the PHP Windows installer. I'd like to make myself available to the list as a both a resource for people using the installer as well as working on PHP under Windows in general. In searching the archives, I see that there seems

[PHP-WIN] PHP Windows Installer maintainer finally joins the list

2007-08-17 Thread John Mertic
Hi everyone, My name is John Mertic, and I created and maintain the PHP Windows installer. I'd like to make myself available to the list as a both a resource for people using the installer as well as working on PHP under Windows in general. In searching the archives, I see that there seems

Re: [PHP-WIN] Calling PHP from PHP

2007-04-11 Thread John Comerford
Yes, what you have described should work fine.. sam rumaizan wrote: 1- I have 50 php pages. 2- I want to include all 50 php pages in my main page. include("1.php"); .. include("50.php"); My question is: can I put all of the include php pages in one php page and sa

Re: [PHP-WIN] windows path problem: failed to open stream: No such file or directory

2006-12-18 Thread John Harris
e\classes\folder1\ThisClass.php* on line * > 3* Any chance you need back-slash to traverse in Windows? John -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] How do you play an mp3 file on php?

2006-12-04 Thread John Meyer
On Mon, 2006-12-04 at 12:31 -0400, [EMAIL PROTECTED] wrote: > Hi! > I'd like to know if it's possible to play an mp3 file using php only > (without flash) and how it's done. Hope this is possible and someone knows > how to do it. > > Thanks to whoever answers. > I don't know that it is possib

[PHP-WIN] Installing Apache after I have installed PHP

2006-08-16 Thread John Meyer
Hi, I have a machine that is running PHP/IIS. I want to run Apache on it. My question is: Do I need to set up a seperate PHP.ini file for Apache? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Localhost does not work

2006-08-10 Thread John Meyer
Is the MySQL server located on the same machine as the Apache machine? -Original Message- From: Harpreet [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 9:36 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Localhost does not work $con = mssql_connect('localhost','username',

Re: [PHP-WIN] problems with PHP and IIS SOLVED

2006-07-25 Thread John Meyer
located libmysql.dll from the zip file, plugged it into the directory set up by the automated installer, works (probably an error the people organizing the project should be aware of). -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Another error:

2006-07-25 Thread John Meyer
The directory name is invalid. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] problems with PHP and IIS

2006-07-25 Thread John Meyer
Daniel Kaliel wrote: > Could be a permission issue. As a test, give the user Everyone full > right to c:\php and see if that makes a difference. You can tighten it > afterwards. > > -Original Message----- > From: John Meyer [mailto:[EMAIL PROTECTED] > Sent: July

Re: [PHP-WIN] problems with PHP and IIS

2006-07-25 Thread John Meyer
Daniel Kaliel wrote: > In your phpinfo() page where does it say it finds the php.ini file? > Just want to make sure that you are editting the right one. > > -Original Message----- > From: John Meyer [mailto:[EMAIL PROTECTED] > Sent: July 25, 2006 10:43 AM > To: Danie

Re: [PHP-WIN] problems with PHP and IIS

2006-07-25 Thread John Meyer
Daniel Kaliel wrote: > Where is your php.ini located? I have had troubles when it was located > within c:\php even though that was in my path. C:\Windows -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] problems with PHP and IIS

2006-07-25 Thread John Meyer
Daniel Kaliel wrote: > Does php work at all? If you had a page that only did > > > > Does it display anything? Yep, it works. Can probably provide a PDF of it. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] problems with PHP and IIS

2006-07-25 Thread John Meyer
Daniel Kaliel wrote: > I think the problem is that you need to convert the password in MySQL to > an Old password. With version 5 MySQL released greater security > encrpytion for the root and other passwords. PHP still can not connect > using the new MySQL encryption. So you need to change your

[PHP-WIN] problems with PHP and IIS

2006-07-25 Thread John Meyer
Hi, When I try to connect with PHP and IIS 5, I get an error mysql_connect() unknown function. How do I fix that, or should PHP under Windows (the installer version) have that function internally? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

RE: [PHP-WIN] Finding a percentage

2006-05-31 Thread John Harris
On 31 May 2006 at 9:09, Luis Moreira wrote: > This is not exactly a PHP issue, it is straight math !!! > > Percent = value / (max - min) Don't forget to range the value (if unlike the original question, the minimum is not zero) and multiply by 100. Percent = ( (value - min) / (max - min) ) * 1

[PHP-WIN] Last supported version for windows 95

2006-05-19 Thread John Jairo Vega Angulo
rsion? (no matter how old it can be, i REALLY NEED to start programming in php) Thanks in advance, John -- "Too much fantasy loses reality, too much hope may seem somehow empty" -Toriyama Akira

Re: [PHP-WIN] variable in an array? Answer: Double quotes

2006-03-03 Thread John Ellingsworth
The answer to the interpolation problem is to use double quotes: $dsn = "{$servers["$id"]["type"]}://{$servers["$id"]["username"]}:{$servers["$id"]["password"[EMAIL PROTECTED]"$id"]["hostName"]}/{$servers[&

[PHP-WIN] variable in an array?

2006-03-03 Thread John Ellingsworth
:{$servers[$id]["password"[EMAIL PROTECTED]"hostName"]}/{$servers[$id]["databaseName"]}"; This works, so the problem is translating $id properly: $dsn = "{$servers[0]["type"]}://{$servers[0]["username"]}:{$servers[0]["password"[EMAIL PROTECTED]"hostName"]}/{$servers[0]["databaseName"]}"; I would appreciate any help with this. -- Regards, John Ellingsworth http://john.ellingsworth.org -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Page-style data display system [w/link]

2006-01-14 Thread John Ellingsworth
Dan You may want to try the Pear Pager package: http://www.google.com/search?q=php+pear+pager [sorry for the missing link] -- Thanks, John -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Page-style data display system

2006-01-14 Thread John Ellingsworth
Dan You may want to try the Pear Pager package: -- Thanks, John Ellingsworth Project Leader, Virtual Curriculum Academic Programs School of Medicine University of Pennsylvania (215) 573-4451 Virtual Curriculum http://www.cu2000.med.upenn.edu AIM: vc2000support To contact the Virtual

[PHP-WIN] Re: [PHP] new

2005-07-29 Thread John Smith
Francesco Reitano wrote: Hi guys, i'm new in this mailinglist! This is a test. Ciao Francesco I'm new too .. thought it would be appropriate to use this as a test reply. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Problem compiling a custom extension

2005-07-29 Thread John Smith
I am able to compile PHP, but I am trying to create an extension ( following zend's hello world tutorial ) and the configure step will not recognize my enable command. I'm working with: PHP5.1 and have tried both win2k3/vs.net and winxp/vsc++6 with the exact same results. My file structure l

RE: [PHP-WIN] (No subject header)

2005-06-16 Thread Asendorf, John
I hate to ask, but have you installed GD? http://www.boutell.com/gd/ -Original Message- From: David Collard [mailto:[EMAIL PROTECTED] Sent: Thursday, June 16, 2005 10:48 AM To: ddiffa Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] (No subject header) ddiffa wrote: >Okay I at lo

[PHP-WIN] Database Problem

2005-05-19 Thread John
I have code that querys a mysql server and then presents the result in a table. The code works fine until I put it in a for loop to get one row at a time. The problem is that I dont get the required result or any error message. If I reduce the number of iterations or decrease the amount of data

[PHP-WIN] Re: ODBC - What Perl can and PHP not

2005-05-13 Thread John Lim
Sounds like a permissions problem. Your web server's userid must have access to the required odbc driver files. "Markus Tacker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hoi all, > > I am a bit curious about that issue. > I have a ODBC datasource with an AcuODBC driver.

RE: [PHP-WIN] ereg_replace help wanted

2004-09-29 Thread Asendorf, John
Actually, what you need is split() by the sounds of it. Spliting the groups of pages by ',' would give you an array of either single pages or ranges of pages. From there, it is just a matter of mathematics to take the pieces of the new array and adding them together. -Original Message

RE: [PHP-WIN] Date Formatting

2004-09-22 Thread Asendorf, John
You are looking for the strtotime() function. $original_date = "Sep 12 2004 2:16AM"; $reformat = date ( "m/d/Y" , strtotime ($original_date) ); echo $reformat; John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September

RE: [PHP-WIN] Date Formatting

2004-09-22 Thread Asendorf, John
You are looking for the strtotime function... $original_date = "Sep 12 2004 2:16AM"; $reformat = date ( "m/d/Y" , strtotime ($original_date) ); echo $reformat; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 9:13 AM To: [EMAIL

[PHP-WIN] Re: [PHP-DB] Sending mail through localhost

2004-09-17 Thread John Holmes
ot;, set the "sendmail_from" to a "charter.net" (for example) email address, then restart your web server and things should work. I'm no SMTP expert, so I can't tell you if any of this is the "best" way to do it or not, though... ---John Holmes... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: interacting with Java or C

2004-08-31 Thread Oliver John V. Tibi
Hi! It would be possible to create a C or Java server that uses sockets to cater a PHP client's request. This is the quickest and easiest solution... OR... You can create a C or Java HTTP client to receive responses from an XML file generated in PHP (much like RSS readers and RSS feeds or SOAP s

[PHP-WIN] Re: include_path and relative vs. absolute paths

2004-08-17 Thread John Lim
Good question. I had the same problem when i switched from .asp to .php Suppose you want to use relative paths, eg. reference child1.php from file1.php, where the file locations are: path/file1.php path/child/child1.php The trick is to generate an absolute path for the current file, and find

[PHP-WIN] Re: include_path and relative vs. absolute paths

2004-08-16 Thread Oliver John V. Tibi
Hi Neil. The require and include family of constructs are 'able' to read absolute paths, but the resolve the paths as local physical paths on the filesystem, and not as absolute paths by the virtual root. -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." -- P

[PHP-WIN] Re: php installation problem

2004-07-28 Thread Oliver John V. Tibi
Hi! Please refer to the online installation procedures for using PHP with Apache. Make sure that your Apache server is running as a 'service' (daemon) by verifying its status under 'services.msc' snap-in for Microsoft Management Console. Have you ever tried accessing the file by NOT double-clicki

RE: [PHP-WIN] attach xml file to e-mail

2004-07-27 Thread Oliver John Tibi
hi! the encoding-type header do not matter unless you really endcode the xml attachment. try to encode the xml file by using PHP's base64_encode() function. HTH. Peace! Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." From: <[EMAIL PROTECTED]> To: [EMAIL PROTEC

Re: [PHP-WIN] how to expire a page?

2004-07-26 Thread Oliver John V. Tibi
Hi! You can use the HTTP META Refresh property to force the user-agent to refresh the page when the view expires (by placing a header() on the page), but then again, this will depend on what browser the client will be using. HTH, O.J. -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode)

php-windows@lists.php.net

2004-07-21 Thread Oliver John V. Tibi
*Chuckles!* And I thought we were on php.windows. :) -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Honestly, it's rude to directly email people trying to help you. You should >

[PHP-WIN] Re: Re:

2004-07-19 Thread Oliver John V. Tibi
Hey dude! I don't know if this address is spoofed but please check your box. Thanks! -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." "Ssb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To uns

Re: [PHP-WIN] PHP5 Access Violation

2004-07-15 Thread Oliver John V. Tibi
Hi Neil! I'm not sure but this could be a IIS specfic flaw, since by default IIS always authenticates a web client using Windows Authentication. Try creating a new virtual host and disable Windows Authenticatino for that specific site. Regards, O.J. -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPT

[PHP-WIN] Re: Oooer, namesake! - Was Oracle 10g on W2K

2004-07-14 Thread Oliver John V. Tibi
Hey Mikey! I hope you have luck completing that Oracle project. Maybe your clients should pick something more concise, more stable, smaller an not bloated, and definitely faster, like MySQL. Cheers. -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." "Mikey" <[EM

[PHP-WIN] Re: GTK - why not?

2004-07-07 Thread Oliver John V. Tibi
hi dude! the reason behind php- gtk not being web based is because GTK was primarily created as a toolkit for creating GUI apps on Unixes / Linuxes / Etc. running the X window system. that means GTK is a client technology, not a server technology. i hope i satisfied your question. peace! O.J.

  1   2   3   4   5   6   >