[PHP-WIN] include_once problem...

2001-03-19 Thread JT Graveaud
Hi, I'm using PHP4.0.5-dev on Apache/1.3.17 - under Windows-Me, sorry not on purpose ;( ... ;-) I have in my script : include_once "my_file.inc"; and later on in the same script I have an other : include_once "my_file.inc"; unfortunately, I have this error: Fatal error: Cannot redeclare my_fun

[PHP-WIN] mime in php

2001-03-19 Thread Free Beachler
Has anyone done mime multipart in nt 4+ using iis 4+ (preferrably iis 5)? I can't figure out if my mail() send is breaking because of message length or mime format or what. I think my mail conforms to specification. -free [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To

php-windows Digest 19 Mar 2001 23:51:22 -0000 Issue 500

2001-03-19 Thread php-windows-digest-help
php-windows Digest 19 Mar 2001 23:51:22 - Issue 500 Topics (messages 6133 through 6155): Re: POST Problems 6133 by: Fernando Madruga Re: Need help bad, select element of form using time 6134 by: Tom Mathews Re: save as _> unable to retrieve the file_name of the image

[PHP-WIN] class and dynamic includes (IIS)

2001-03-19 Thread Joe Brown
This appears to be an IIS specific issue. Using IIS and Manuel Lemos' Metabase, I'm getting errors in metabase_interface.php. Fatal error: Cannot instantiate non-existent class: metabase_oci_class in metabase/metabase_interface.php on line 99 It's quite inconsistent. After recieving this error

[PHP-WIN] PHP, MySQL, Apache Set Up (Windows)

2001-03-19 Thread OneFish
Hi, I'm a newbie... Trying to set up these 3 on my windows 98 machine. PHP and Apache set up is OK. They can talk to each other. Have also installed MySQL. But I'm not sure how to make it accessible from PHP. Appreciate any help :-) Ricky -- PHP Windows Mailing List (http://www.php

Re: [PHP-WIN] Windows and Linux

2001-03-19 Thread Phil Driscoll
Whenever you get a warning like 'Supplied argument is not a valid MySQL result resource...' there is an error in your code - somewhere you have failed to check that the return value from a mysql call has not returned zero. In your case, one has, and if you do the check, and then print out mysql_er

Re: [PHP-WIN] Download Prompt Problem

2001-03-19 Thread Joe Brown
Cute... I think you've got a couple of things to do now. Your computer now has the file type .php associated with php.exe. If that was what you really wanted great! But I think it's not what you were looking for. Under IIS on my box, I have properties for the computer a section called Compute

[PHP-WIN] Help!! Problem with system()

2001-03-19 Thread Patrick O'Shea
Hello, I've done work with php, perl and the like on linux, but am having a problem attempting to execute a program from my php under windows. I'm trying to call sendmail from my page, but when the window pops up, my harddrive spins for a sec then the window closes, with no execution. he

RE: [PHP-WIN] Windows and Linux

2001-03-19 Thread Chris Leesch
hi, check your sql query, especially the table and column names. mysql for windows is not case sensitive, whereas mysql for linux is. so under linux, not only the spelling must match but also the used case. chris. -Original Message- From: Mujahid [mailto:[EMAIL PROTECTED]] Sent: lundi 19

Re: [PHP-WIN] apache + php + system() = error :(

2001-03-19 Thread Joe Brown
Forking is a unix thing... What happens when a process comes to a fork in the road, it splits and continues in two directions. You can't execute a batch file, you need the command intrepreter to handle that one, so the previous suggestion should be accurate. If you're on NT or 2000, maybe cmd.e

[PHP-WIN] Windows and Linux

2001-03-19 Thread Mujahid
Hi everyone, I built a small requirement using PHP and mySQL and using Win'98 and PWS as my production server. I followed the default instructions in setting this up. After the phase was completed we copied the site and the db script on a Linux machine with Apache Web Server. However some of our

RE: [PHP-WIN] Showing source code with .phps extension

2001-03-19 Thread Fernando Madruga
You can try adding a new handler to 'take care' of .phps: Action show-code /whatever/sourcify.php AddHandler show-code .phps The sourcify.php would be something like this: Source Display ERROR: Script Name needed"; } else { if (ereg("(\.php|\.phps|\.inc

Re: [PHP-WIN] php_fdf.dll ?

2001-03-19 Thread Alain Samoun
Check www.php4win.de. The last package should have the fdf module included. Alain On Mon, Mar 19, 2001 at 06:27:31PM +0100, Chris Leesch wrote: > hi! > I am required to install FDF support for PHP on a Win2K server. i've seen in > the php.ini file that PHP needs php_fdf.dll which i have been unab

Re: [PHP-WIN] Showing source code with .phps extension

2001-03-19 Thread Anders Pettersson
Thanks for your answer, but I don't run PHP as a module, but rather as CGI. If I follow your advise, my phps files get parsed as usual, they don't show the source code. At the moment I'm solving it with the highlight() command, but that is not an optimal solution... Regards Anders Pettersson

Re: [PHP-WIN] Web Servers

2001-03-19 Thread Giro
Yes indeed, I have tested apache under 98 se, me and win95 sr1 and it works fine, on win95 sr1 you have to get winsock2 but that's all. good luck. giro Ralph Alberti <[EMAIL PROTECTED]> wrote in article <[EMAIL PROTECTED]>... > Check out the following link. > > http://www.php.net/manual/en/ins

[PHP-WIN] php_fdf.dll ?

2001-03-19 Thread Chris Leesch
hi! I am required to install FDF support for PHP on a Win2K server. i've seen in the php.ini file that PHP needs php_fdf.dll which i have been unable to find. i have even downloaded the FDF Tool Kit from http://partners.adobe.com/asn/developer/acrosdk/forms.html but this one contains librairies fo

RE: [PHP-WIN] Problems with MySQL, & DCL

2001-03-19 Thread Robin Bolton
I found I get this error message if I roll back my clock while MySQL is running, perhaps check the time on your computer and see if it's set incorrectly. > -Original Message- > From: Schollnick, Benjamin [mailto:[EMAIL PROTECTED]] > Sent: March 19, 2001 8:56 AM > To: [EMAIL PROTECTED] > S

[PHP-WIN] resolution problems in dinamic .gif

2001-03-19 Thread Praying Mantis
I'm using version 3 of PHP to build a .gif image file dinamicly. I don't know what's happening, but the letters are being displayed a little bit blurry or spotty like if it had built with a low resolution. This happens just when I print the image through browser (IE 5, 5.5, NC 4.7, etc). On the sc

[PHP-WIN] Problems with MySQL, & DCL

2001-03-19 Thread Schollnick, Benjamin
I just rebooted my NT box today, running MYSQL v3.23.33 I've been running DCL (Double Choco Latte) w/PHP v4.04 PL 1, for about a week or so without any problems. Now, after rebooting once the desktop has appeared, and the WinMySQLAdmin tool loads, I get repeated errors: "3887879912" is not

[PHP-WIN] Looking for Samples

2001-03-19 Thread samsom, debra
I would like to write an entire Work Flow (or form flow) system using PHP, complete with database (read, writes and inserts) and email. The form will flow starting with the originator through a series of approval processes to the end. Are there any samples out there that would point me in the rig

Re: [PHP-WIN] How to use COM

2001-03-19 Thread Thomas Häger
Thanks for all to all. Thomas "Thomas" <[EMAIL PROTECTED]> schrieb in im Newsbeitrag: 98omg2$2n4$[EMAIL PROTECTED] > Hi all again, > > i' am a very bloody greenhorne with php and maybe i have many questions. > Heres one another: > > Who can exlpain to use com in php. > How can i execute

RE: [PHP-WIN] Problem with PHP4.04 installation

2001-03-19 Thread Fernando Madruga
The easiest way to get everything setup and running, is using OpenSA which contains: Apache 1.3.14 & mod_ssl 2.7.2 & OpenSSL 0.9.6 & PHP 4.0.4 Free download from: www.opensa.org; Dump PWS and use Apache instead! There's no reason why not to do it: all the software mentioned above is free, comes

[PHP-WIN] Problem with PHP4.04 installation

2001-03-19 Thread John
Dear All, I tried to install PHP using PHP4.04 installer and I ran into this error message "One of the library files needed to run this application cannot be found". I encountered the same error message earlier when I used tried to install PHP4.04 manually. I am using Win98 SE with PWS. Can s

RE: [PHP-WIN] save as _> unable to retrieve the file_name of the image

2001-03-19 Thread Fernando Madruga
Have you tried to add a name='whatever' attribute on the tag? If that does not work, what is the .php code you're using? HTH, Fernando Madruga -Original Message- From: Lars Eirik Rønning [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 19 de Março de 2001 10:26 To: [EMAIL PROTECTED]

Re: [PHP-WIN] Need help bad, select element of form using time

2001-03-19 Thread Tom Mathews
Don't know what your problem is? You can get the current time using the time() function - loads of formatting options to output it as you require. To get 15 minute intervals, just put the SELECT for your form element in a while loop. If your problem is which locale you are in, then that's another

RE: [PHP-WIN] POST Problems

2001-03-19 Thread Fernando Madruga
Extract from the included php.ini: [mail function] SMTP= localhost ;for win32 only sendmail_from = [EMAIL PROTECTED] ;for win32 only ;sendmail_path = ;for unix only, may supply arguments Do you have a

php-windows Digest 19 Mar 2001 10:13:34 -0000 Issue 499

2001-03-19 Thread php-windows-digest-help
php-windows Digest 19 Mar 2001 10:13:34 - Issue 499 Topics (messages 6123 through 6132): Re: Problem with php4 and PWS 6123 by: MD fopen, popen, fputs 6124 by: Josh Seward Re: Using Java extension with IIS5 has problem 6125 by: Jason Gan Re: [PHP-GTK] fopen, p

[PHP-WIN] save as _> unable to retrieve the file_name of the image

2001-03-19 Thread Lars Eirik Rønning
Hi there. I wonder if anyone know why i cannot retrieve the file name of an image file when i get the image from a datbase. I have an image stored in the database(mysql) and i also store its filename when uploaded. However when i ouput the file on the website and somone wants to save this image --