php-windows Digest 4 Jan 2003 00:42:11 -0000 Issue 1517 Topics (messages 17627 through 17637):
Re: How to use SQLServer in PHP? 17627 by: Radovan Radic 17633 by: Nguyen Le Vinh Re: PHP 4.3.0 no gif support? 17628 by: Rasmus Lerdorf Is php.net broken? 17629 by: Charles P. Killmer 17630 by: Fernando Serboncini running php with apache with different php.inis 17631 by: Ithilhin 17632 by: Stephen Edmonds PHP script not working 17634 by: Alvarez, Anthony 17635 by: Joseph W. Goff Re: Crystal Report -> PHP4 / Report Generator 17636 by: Bernain, Fernando G. getting the OS 17637 by: DaMouse Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
--- Begin Message ---You have to load php_mssql.dll extension. Then in php $dbhost="myDBHost"; // or IP address of the server $dbusername="username"; $dbpassword="password"; $dbname="MyDatabase"; $connection=mssql_pconnect($dbhost,$dbusername,$dbpassword); mssql_select_db($dbname); HTH, Radovan "Nguyen Le Vinh" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I want to program some PHP pages in WinXP but I can't connect to SQLServer. > Can you help me? > > VINHNL, [EMAIL PROTECTED] > >--- End Message ---
--- Begin Message ---Thanks Radovan, My page is OK. "Radovan Radic" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You have to load php_mssql.dll extension. > Then in php > > $dbhost="myDBHost"; // or IP address of the server > $dbusername="username"; > $dbpassword="password"; > $dbname="MyDatabase"; > > $connection=mssql_pconnect($dbhost,$dbusername,$dbpassword); > mssql_select_db($dbname); > > HTH, > Radovan > > "Nguyen Le Vinh" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi all, > > > > I want to program some PHP pages in WinXP but I can't connect to > SQLServer. > > Can you help me? > > > > VINHNL, [EMAIL PROTECTED] > > > > > >--- End Message ---
--- Begin Message ---Hrm.. Whoever built the Windows binary didn't define HAVE_GD_GIF_READ I guess. Or perhaps it should go into main/config.w32.h.in assuming we are always going to build the windows binary against the bundled gd library. -Rasmus On Fri, 3 Jan 2003, Zac Barton wrote: > hi all, i thought php 4.3 was ment to have read-only access to gif images? > > > all i get via phpinfo(); is: > > GD Support enabled > GD Version bundled (2.0 compatible) > FreeType Support enabled > FreeType Linkage with freetype > JPG Support enabled > PNG Support enabled > WBMP Support enabled > > wheres the gif read support? > > php 4.3 d/loaded via www.php.net so its the correct version.. what am i > missing? > > does gif read support mean i can load a gif image then output it as a PNG? > > many thanks in advance > > zac barton > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >--- End Message ---
--- Begin Message ---I submitted a bug report and never got a notification like usual. Someone posted a comment to it and again no response. It doesn't look like anyone working on PHP has looked at the bug report. Bug ID 21312. Also I have never had a bug report last this long without any developer comments. Charles--- End Message ---
--- Begin Message ---Charles, this happened to me too. don't know what it is. Try to post a bug report on the bug report engine. :) []s Fernando "Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I submitted a bug report and never got a notification like usual. Someone posted a comment to it and again no response. It doesn't look like anyone working on PHP has looked at the bug report. Bug ID 21312. Also I have never had a bug report last this long without any developer comments. Charles--- End Message ---
--- Begin Message --- Is it possible to tell Apache which php.ini to use? It would be used for semi-virtual hosts.
--- End Message ---
--- Begin Message ---No, you can only have one php.ini file used by php... HOWEVER it is possible to make changes to php.ini settings in the .htaccess files. Take a look at http://www.php.net/manual/en/function.ini-set.php, it contains infomation on the options that can be changed and where. How you make changes in .htaccess I don't know, but at least this should give you a start! ----- Original Message ----- From: "Ithilhin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 7:05 PM Subject: [PHP-WIN] running php with apache with different php.inis > Is it possible to tell Apache which php.ini to use? It would be used for > semi-virtual hosts. > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >--- End Message ---
--- Begin Message --- Title: PHP script not workingI know this has to be really basic, and apologies for the question.
But I couldn't find it elsewhere in the forum, so apologies if this is a FAQ.
PHP is installed an running on an internal Windows 2000 called webstat.
It seems that some PHP commands run properly and others do not.
Specifically, posting input data from a web form is not being processed by it PHP script.Please see attached files for details.
Form.html = input web form
Handleform.php = processes input data from form.html
webstat Test PHP Script.htm = config of my internal Windows 2000 that cannot process Form.html & Handleform.php properly.The test script is working and posted at ...
http://www.pucho.com/php/form.htmlWhen http://www.pucho.com/php/handleform.php is run on an internal Windows 2000., all that is output is always blank regardless of the input data presented to the handleform.php script.
For example:
firstname =.
lastname =.Could you kindly share your experience with me?
Is php.ini or apache's httpd.conf not setup properly or is this just a problem using apache2 and php on windows2000. My PHP do indeed work but not on webstat.What am I doing wrong? Any clues, suggestions, tips or advise are greatly appreciated. Please advise.
I look forward to hearing from you. Thanks in advance.
==
Anthony Alvarez, Webmaster
[EMAIL PROTECTED]
Panasonic Wireless Design Center (MMCD)
1225 Northbrook Pkwy, #2-352, Suwanee, GA 30024
+1 770 338 6176. Fax: +1 770 338 6238.
http://www.panasonic-wireless.comPGP Fingerprint: 9A2C E2D6 1D8E 96B4 CC57 9268 380B 00A6 A92D 9586
--Appended by Matsushita Mobile Communications Development Corporation of U.S.A.-----This e-mail and any attachments may contain information that is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.
--- End Message ---
--- Begin Message ---PHP script not workingHow are you trying to access the posted form variables? $_POST? $HTTP_POST_VARS? If you don't have register_globals on then you must use one of the above methods to access the values posted. ----- Original Message ----- From: Alvarez, Anthony To: [EMAIL PROTECTED] Sent: Friday, January 03, 2003 2:10 PM Subject: [PHP-WIN] PHP script not working I know this has to be really basic, and apologies for the question. But I couldn't find it elsewhere in the forum, so apologies if this is a FAQ. PHP is installed an running on an internal Windows 2000 called webstat. It seems that some PHP commands run properly and others do not. Specifically, posting input data from a web form is not being processed by it PHP script. Please see attached files for details. Form.html = input web form Handleform.php = processes input data from form.html webstat Test PHP Script.htm = config of my internal Windows 2000 that cannot process Form.html & Handleform.php properly. The test script is working and posted at ... http://www.pucho.com/php/form.html When http://www.pucho.com/php/handleform.php is run on an internal Windows 2000., all that is output is always blank regardless of the input data presented to the handleform.php script. For example: firstname =. lastname =. Could you kindly share your experience with me? Is php.ini or apache's httpd.conf not setup properly or is this just a problem using apache2 and php on windows2000. My PHP do indeed work but not on webstat. What am I doing wrong? Any clues, suggestions, tips or advise are greatly appreciated. Please advise. I look forward to hearing from you. Thanks in advance. == Anthony Alvarez, Webmaster [EMAIL PROTECTED] Panasonic Wireless Design Center (MMCD) 1225 Northbrook Pkwy, #2-352, Suwanee, GA 30024 +1 770 338 6176. Fax: +1 770 338 6238. http://www.panasonic-wireless.com PGP Fingerprint: 9A2C E2D6 1D8E 96B4 CC57 9268 380B 00A6 A92D 9586 --Appended by Matsushita Mobile Communications Development Corporation of U.S.A.-----This e-mail and any attachments may contain information that is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. ------------------------------------------------------------------------------ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php--- End Message ---
--- Begin Message ---Maybe I have to change my point of view... do i really need PHP for this??? does anybody know some app i can use (report generator with web client, for instance)??? I forgot, Im looking for a free solution, of course!!! Thanks! Fernando Bernain Senior A Business Process Outsourcing KPMG Argentina Tel: 54 11 4316 5754 Fax: 54 11 4316 5734 [EMAIL PROTECTED] -----Original Message----- From: Bernain, Fernando G. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 11:43 AM To: '[EMAIL PROTECTED]' Subject: [PHP-WIN] Crystal Report -> PHP4 / Report Generator I'm working in a migration of an application from MSSQL7-VB6.0-Crystal Reports to MSSQL7-winApache-PHP4. I'm having problems with the reporting, because I cant find an "user friendly" solution for the creation of reports with PHP (I need something similar in functionality and look and fell to the Crystal Reports). I tried with a class "report" wrote in PHP4 but I saw that I'll have a long way to obtain a minimum level of functionality... Am I following the correct way in solving this problem??? Have anybody of you developed something similar to a Report Generator??? Does exist any application that I could use??? Thanks!!!! Fernando Bernain Senior A Business Process Outsourcing KPMG Argentina Tel: 54 11 4316 5754 Fax: 54 11 4316 5734 [EMAIL PROTECTED] Email Disclaimer The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php--- End Message ---
--- Begin Message ------ End Message ---
ok I develop stuff on both windoze and linux so say I left my computer running and forgot which it was running and wanted to make a OS specific script from another computer. How could I tell what OS it was to see if I needed to go reboot it?
Ensign Baker
HCO Officer
USS Atlantis