[PHP] Error message trying to include a file

2003-12-01 Thread Matthias Wulkow
Hi php-general, sorry for the post before, forget the sentence about the writehead function. It means writeHead() (error Warning doesn't seem to be case sensitive...). It's the name of my method... :-( But it has nothing to do with the error itself... SvT -- Who is the ennemy? -- PHP General

[PHP] Error message trying to include a file

2003-12-01 Thread Matthias Wulkow
Hi php-general, I have an array filled with urls of javascript files and then I include them one by one in a loop. for( $i = 0 ; $i < sizeof($this->page->javascript) ; $i++ ){ include($this->page->javascript[$i]); //This line above is line 52 shown on error warning } When I had only

Re: [PHP] mail() php in message

2003-10-12 Thread Matthias Wulkow
Hallo Onno, am Sonntag, 12. Oktober 2003 um 20:07 hast Du Folgendes gekritzelt: OK> Hi, OK> is there a way to create a mail (with the mail() function) that contains OK> php in the message. OK> Like: OK> $to = "[EMAIL PROTECTED]"; OK> $subject = "a subject"; OK> $message = OK> I WANT

[PHP] Question about mail()

2003-08-28 Thread Matthias Wulkow
Hi php-general, I have a question about the mail function. In the API I saw, that when running on linux, I just need the binary sendmail, usually located on /usr/sbin. Windows users need a running mail-server. I have php working on a linux machine. Why do I need to have postfix running then to

[PHP] mail() function

2003-08-27 Thread Matthias Wulkow
Hi php-general, I have a question about the mail function. In the API I saw, that when running on linux, I just need the binary sendmail, usually located on /usr/sbin. Windows users need a running mail-server. I have php working on a linux machine. Why do I need to have postfix running then to m

Re: [PHP] mail() question

2003-08-25 Thread Matthias Wulkow
Hallo Alister, am Montag, 25. August 2003 um 03:27 hast Du Folgendes gekritzelt: A> Did you install postfix _after_ PHP? Did you have a sendmail binary in A> place before you configured PHP? If it's not there are configure time, A> it won't even compile the 'mail' function. Yes and there was

Re: [PHP] mail() question

2003-08-25 Thread Matthias Wulkow
Hallo Curt, am Montag, 25. August 2003 um 01:35 hast Du Folgendes gekritzelt: >> I have followig error reported: >> >> Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line >> 235 >> >> What is the trouble here? If I would have trouble because of >> delivery, nor

[PHP] mail() question

2003-08-24 Thread Matthias Wulkow
Hi php-general, I have followig error reported: Fatal error: Call to undefined function: mail() in /usr/local/www/login.php on line 235 What is the trouble here? If I would have trouble because of delivery, normally mail would return false. But here... I have php4.3.1 running on linux. I just

[PHP] Content of Variable ist html code

2003-08-24 Thread Matthias Wulkow
Hi php-general, I'm thinking of how I could store the content of a String-variable a) in a Variable to be passed to other functions b) in a Database (MySQL) too . The content is html-code (with tags and style code (css)). The point is that I'm making myself a kind of CMS, and I want to edit a pa

Re: [PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hallo Jim, am Samstag, 23. August 2003 um 21:32 hast Du Folgendes gekritzelt: JL> how are you checking to see if the files are getting uploaded? JL> Jim Lucas I'm looking in /tmp for new files... but there are none. I'm also looking in the Apache-RootDirectory. No files neither. SvT -- W

Re: [PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hallo Jim, am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt: JL> when you are uploading files via a form, you must use the POST method. well, I tried the example from http://de.php.net/manual/de/features.file-upload.php#features.file-upload.post-method and that doesn't work nei

[PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hi , I try to upload a file with such an input type = 'file' field. My form looks like: echo "\n"; ... echo "\n"; ... echo "\n"; echo "\n"; After submition, I can't find the file on the server. Nowhere. In php.ini, I have /tmp as upload-directory. I'm using apache2 on linux. Can somebod

Re: [PHP] eval function

2003-08-23 Thread Matthias Wulkow
Hallo Tom, am Samstag, 23. August 2003 um 17:50 hast Du Folgendes gekritzelt: TR> Hi, TR> Saturday, August 23, 2003, 10:01:54 PM, you wrote: MW>> Hallo Tom, MW>> am Samstag, 23. August 2003 um 05:14 hast Du Folgendes gekritzelt: TR>>> This should do it: TR>>> eval('${"content".$databasepagena

Re: [PHP] eval function

2003-08-23 Thread Matthias Wulkow
Hallo Tom, am Samstag, 23. August 2003 um 17:50 hast Du Folgendes gekritzelt: TR> This works for me, what error message do you get? Make sure you use TR> single quotes in the eval otherwise the string will get substituted TR> before eval gets a look at it. TR> $contentarray = array(1=>'testpag

Re: [PHP] eval function

2003-08-23 Thread Matthias Wulkow
Hallo Tom, am Samstag, 23. August 2003 um 05:14 hast Du Folgendes gekritzelt: TR> This should do it: TR> eval('${"content".$databasepagename}[$i]();'); I'm afraid to say it, but it does not :-( Yesterday I was also trying to find some manual pages about eval() which would explain me the synta

[PHP] eval function

2003-08-22 Thread Matthias Wulkow
Hi php-general, I have a question about eval(); I'm having multiple pagenames I store in a database. I also have a lot of functions starting with "content" and then the name of the pages taken from the database. Ex: pagenames = about,download functions = contentAbout(), contentDownload(). Now I w

[PHP] directory listing

2003-08-19 Thread Matthias Wulkow
Hi php-general, I'm reading through the filesystem function of php and I can't find any function which will list me all the files which are in a certain directory. Am I blind or do I have to "create" myself one? Thanks for help M. W. -- Who is the ennemy? -- PHP General Mailing List (http:/

[PHP] mail() function & exchange

2003-06-10 Thread Matthias Wulkow
Hi php-general, a friend of mine is trying to set up an automated mailing function. The platform is Windows & he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really