[PHP] Installin PHP as a module
Hello everyone, First off, I've tried every option to get this working I could find in the past few days. I am trying to use the php4apache2.dll as a module in apache. I've tried changing the quotations and the direction of the slashes on the LoadModule line in the httpd.conf file. I've also tried copying the php4apache2.dll into the \apache2\modules\ directory and changing the httpd.conf file appropriately. Still no joy. What pisses me off is I have the same setup at my workstation at work and everything is fine. The only difference is that everything is loaded on the C drive. Is that what is causing the problem by chance? Any help would be greatly appreciated. Versions: Windows 2000 SP2 PHP 4.2.2 Apache 2.0.40 The error message I get is as follows: D:\Program Files\Apache Group\Apache2\bin>apache -t Syntax error on line 173 of D:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load D:/php/sapi/php4apache2.dll into server: The specified procedure could not be found. My install paths are: PHP:d:\php\ Apache: d:\program files\apache group\apache2\ I've added the following lines in my httpd.conf file: LoadModule php4module d:/php/sapi/php4apache2.dll AddModule mod_php.c AddType application/x-httpd-php .php I've also put the php.ini and php4ts.dll files in c:\winnt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Help Needed
But then you would have to rely on the end user having a working email client and working email account. Plus with submitting to a PHP script you can process and format the form to fit your exact needs. Carl -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 11:49 AM To: 1LT John W. Holmes; Pushpinder Singh Garcha; [EMAIL PROTECTED] Subject: Re: [PHP] Help Needed > The easiest way to do this would be to have your survey be a basic HTML > page. Then use a single PHP processing page. You could just write the value > of $_POST to a variable and send that in your email. > $string = implode("\n",$_POST); > mail($to,$subject,$string); Correct me if I'm mistaken but couldn't you get the same result simply by setting the form's action to be a "mailto:";? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] command to determine the end of a page?
I am very unfamiliar with printing from PHP, but could you just guess how many lines per page you want to print and after that many lines issue a page break then print your header for the next page? Once you have it working you can tweak the line per page to where they fill a whole sheet of paper. It's a quick and dirty way of printing reports that I use in our DOS based accounting system. Carl On Thursday 31 October 2002 10:08 am, Jeff Bluemel wrote: > is there a php command that could determine if the end of a page has been > reached according to their print driver? I'm need to print out a report > that could be multiple pages. I need to be able to put column headings & > page numbers. > > thanks, > > Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] User Contributed Notes at php.net?
Actually they aren't there. The bottom of the page says "There are no user contributed notes for this page." on every page. Carl -Original Message- From: Ernest E Vogelsinger [mailto:ernest@;vogelsinger.at] Sent: Monday, November 11, 2002 3:34 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] User Contributed Notes at php.net? Importance: High At 23:33 11.11.2002, Tracy Finifter Rotton said: [snip] >Does anyone know what happened to the User Contributed Notes on the PHP >Manual? I went to go find one today, and they all appear to be gone! [snip] yeah, right... this afternoon they were still there I believe... -- >O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php