[PHP] Installing Imagemagick on Windows

2004-06-02 Thread Tan Ai Leen
Hi, I need help with installing Imagemagick on Windows. I tried googling but there is no solution provided. I discovered that a lot of people are having the same problem as me. After placing the dll in the extension folder and adding in extension=php_imagick.dll into php.ini, Apache will hit

Re: [PHP] Willing to Pay For Upgrade Help

2004-06-02 Thread robi
I am willing to do it. what is your distribution? troby Da St 2. Jn 2004 06:08 Ryan Schefke napsal: Is any Linux techie out there willing to accept a small payment to upgrade my Linux dedicated root server from PHP 4.2.2 to PHP 4.3.3 (or 4.3.6, whichever is recommended)? I need to leverage

[PHP] Can session.save_path data be saved to a database instead of a file system?

2004-06-02 Thread Caleb Walker
I have 2 servers fail-over/load-balanced behind an F5 bigIP. I want session data to be maintained in the event one server takes a dive. In this scenario, if a user is in the middle of doing something while logged in, they will not have to lose all work and log back into the server to continue

Re: [PHP] RE: GD Library Upgrade

2004-06-02 Thread Jason Wong
On Wednesday 02 June 2004 07:47, Ryan Schefke wrote: I have root access to my server. It's a dedicated server with 1and1.com. OK. I have zero experience with shell commands and will be working off of any directions I can find online. There're plenty of those to be found. The list archives

[PHP] text search in database

2004-06-02 Thread Vincent DUPONT
Hi, I need to do a text search on some fileds in a database. I would like the users to be able to use some syntax like 'AND' 'OR' 'NOT' parentheses () and quotes to make their search queries more powefull. I face 2 problems : 1. parse the query 2. execute the search (create the appropriate

[PHP] Using Paradox and Delphi with PHP

2004-06-02 Thread WebMaster. Radio ECCA
Is there any way to use a Paradox database with PHP? I have an aplication made in Delphi using Paradox and I need to attack the Paradox database using PHP. Do you know if there is anyway? Thanks in advance!! ;)

Re: [PHP] RewriteUrl + open_basedir

2004-06-02 Thread Christophe Chisogne
Markus Post a écrit : DocumentRoot /srv/www RewriteRule ^/(.*)/(.*)$/$1/$2 This redirects the request http://domain.de/dir1/dir2 to the local files /srv/www/dir1/dir2/ and works fine. No RewriteRule necessary to do this: '/dir1/dir2' becomes '/dir1/dir2' btw RewriteRule

[PHP] [Newbie Guide] For the benefit of new members

2004-06-02 Thread Ma Siva Kumar
=== Please feel free to add more points and send to the list. === 1. If you have any queries/problems about PHP try http://www.php.net/manual/en first. You can download a copy and use it offline also. Please also try

[PHP] Re: text search in database

2004-06-02 Thread Michael Nolan
Vincent DUPONT wrote: Hi, I need to do a text search on some fileds in a database. I would like the users to be able to use some syntax like 'AND' 'OR' 'NOT' parentheses () and quotes to make their search queries more powefull. I face 2 problems : 1. parse the query 2. execute the search (create

[PHP] Re: Can session.save_path data be saved to a database instead of a file system?

2004-06-02 Thread Michael Nolan
Caleb Walker wrote: I have 2 servers fail-over/load-balanced behind an F5 bigIP. I want session data to be maintained in the event one server takes a dive. In this scenario, if a user is in the middle of doing something while logged in, they will not have to lose all work and log back into the

[PHP] SELECT

2004-06-02 Thread Phpu
Hi, Is there any way to select all entries in the database except one entry or tho entries? Thanks

[PHP] Re: SELECT

2004-06-02 Thread Craig Donnelly
SELECT * FROM foo_table WHERE field_foo some_value The above will select all from foo_table except where field_foo is equal to some value. HTH Craig Phpu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Is there any way to select all entries in the database except one entry or

Re: [PHP] text search in database

2004-06-02 Thread John W. Holmes
Vincent DUPONT wrote: I need to do a text search on some fileds in a database. It'd help if you said what database you're using and posted this on [EMAIL PROTECTED] -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals

Re: [PHP] SELECT

2004-06-02 Thread John W. Holmes
Phpu wrote: Is there any way to select all entries in the database except one entry or tho entries? Yes. http://www.bigredspark.com/answers.html -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP

[PHP] how to insert form data

2004-06-02 Thread BigMark
I am trying to learn how to take the value of $name and $quote from a form and put it in the database -whosaid but obviuosly i have it all wrong. Can anyone point out what im doing wrong. thx in advance ?php include(connect.php); $name = $_POST['name']; $quote = $_POST['quote']; $sql = INSERT

RE: [PHP] how to insert form data

2004-06-02 Thread Angelo Zanetti
INSERT into whosaid (name, quote) values ('$name', '$quote'); -Original Message- From: BigMark [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 5:13 AM To: [EMAIL PROTECTED] Subject: [PHP] how to insert form data I am trying to learn how to take the value of $name and $quote from

[PHP] Re: how to insert form data

2004-06-02 Thread Craig Donnelly
?php include(connect.php); $name = $_POST['name']; $quote = $_POST['quote']; $sql = mysql_query(INSERT INTO whosaid (name,quote) VALUES (' . $name . ',' . $quote . ')); ? HTH Craig Bigmark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to learn how to

[PHP] Re: how to insert form data

2004-06-02 Thread BigMark
OK no errors now but no data inserted, my form must be wrong as well. form method=post action=input.php NAME input name=textfield type=text id=name QUOTE input name=textarea type=text id=quote input type=submit name=Submit value=Submit /form -- PHP General Mailing List

Re: [PHP] Re: how to insert form data

2004-06-02 Thread Matt MacLeod
Should be: form name=form meth0d=post action=input/php NAME: input type=text name=name id=name / QUOTE: textarea name=quote id=quote/textarea input type=submit name=submit value=Submit / /form HTH Matt On 3 Jun 2004, at 04:33, BigMark wrote: OK no errors now but no data inserted,

[PHP] Re: how to insert form data

2004-06-02 Thread BigMark
Well getting closer now, its inserting into the tables but they are blank (no text) Any ideas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: how to insert form data

2004-06-02 Thread Jay Blanchard
[snip] Well getting closer now, its inserting into the tables but they are blank (no text) [/snip] Have you echo'd out the values to the screen? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: how to insert form data

2004-06-02 Thread Jay Blanchard
[snip] Well getting closer now, its inserting into the tables but they are blank (no text) [/snip] let's go short...(and watch for/avoid keywords like 'name') form.php form action=input.php method=POST input type=text name=username input type=submit name=submit value=Submit /form input.php ?php

RE: [PHP] Re: how to insert form data

2004-06-02 Thread Jay Blanchard
[snip] thanks works fine [/snip] No problem...a couple of notes a. Avoid using words that may be key words (such as 'name'). There are lists available for you database and PHP at their websites. 2. Always respond to the list as a private response may get inadvertently dumped to the spam

[PHP] PHP OpenSSL on the fly EAP/TLS certificates generation

2004-06-02 Thread Florian
Hi all ! I would like PHP to generate on the fly EAP/TLS certificates. Firt I wanted to use a shell script, but PHP can not answer yes (key y) through proc_open when I wanted, so that now, I would like to now if PHP is able to do the same things as when you call openssl with a shell script. I'm

RE: [PHP] Spammers

2004-06-02 Thread Angelo Zanetti
agreed!!! -Original Message- From: Justin Patrin [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 7:44 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Spammers John Nichel wrote: Steve Douville wrote: So, as I hit the send button, I know I'll have 3 messages to delete in a few

[PHP] sessions handling

2004-06-02 Thread Dmitry Ruban
Hi folks, We have two instances of apache/mod_php running on 80 and 443 ports accordingly. For both mod_php we have the same dir (/tmp) to store session information. Is it possible to mix sessions data up if user switches between 80 and 443 ports? I mean what if when user surfs over 80 port and

RE: [PHP] sessions handling

2004-06-02 Thread Vincent DUPONT
Hi, I beleive that if both servers run the same hostname (www.foo.com) (cookie domain) and both session files are stored in the same place (/tmp), then the session is unique for 80 and 443 ports. you could simply test this be adding a $_SESSION['foo']='port80'; on the HTTP server instance and

[PHP] spam filter

2004-06-02 Thread Merlin
Hi there, I am working on a spam filter for email forms. To improve it it would be great to compare 2 text and to find out how equal they are. Is there a function in php wich compares 2 text and returns a percentage of equality? The system allready checks for spam keywords, but there are some

[PHP] Refresh and retry when using back button on IE

2004-06-02 Thread Pieter from SA
Hi I need to know if there is any code that can be used to get rid of the refresh and retry when using the back button in internet explorer. Every time i get info from the database and display the result, and i use the back button it says Warning: Page has Expired The page you requested was

Re: [PHP] Strtotime() weirdness

2004-06-02 Thread Burhan Khalid
Alex Hogan wrote: Does anybody know of any peculiarities in the strtotime() function? If I enter any date before 1 Jan 1970 I get a -1 returned. Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that

Re: [PHP] Refresh and retry when using back button on IE

2004-06-02 Thread Marek Kilimajer
Pieter from SA wrote: Hi I need to know if there is any code that can be used to get rid of the refresh and retry when using the back button in internet explorer. Every time i get info from the database and display the result, and i use the back button it says Warning: Page has Expired The page

[PHP] need advice on an i18n english to arabic function

2004-06-02 Thread p80
I have a website in English, it is translated in many languages already (Spanish, french, German...), and i wanna translate it in Arabic, everytime i have a word in English i use a function like this i18n(MyEnglishWord) and the i18n function look up in an arabic.inc that contains a list of

Re: [PHP] Refresh and retry when using back button on IE

2004-06-02 Thread John W. Holmes
Pieter from SA wrote: I need to know if there is any code that can be used to get rid of the refresh and retry when using the back button in internet explorer. Every time i get info from the database and display the result, and i use the back button it says Warning: Page has Expired The

[PHP] Re: Can session.save_path data be saved to a database instead of a file system?

2004-06-02 Thread Caleb Walker
On Wed, 02 Jun 2004 10:29:31 +0100, Michael Nolan wrote: Caleb Walker wrote: I have 2 servers fail-over/load-balanced behind an F5 bigIP. I want session data to be maintained in the event one server takes a dive. In this scenario, if a user is in the middle of doing something while

[PHP] email formatting

2004-06-02 Thread BigMark
Is it possible to have this code changed easily to make the output run horizontally instead of vertically. example of current output to email below code // //email selections to all

Re: [PHP] email formatting

2004-06-02 Thread Tristan . Pretty
When you create $selections Make sure you add a '\n' to the end of each line... EG: $selection .= $myrow[result1]\n; BigMark [EMAIL PROTECTED] 03/06/2004 08:28 To [EMAIL PROTECTED] cc Subject [PHP] email formatting Is it possible to have this code changed easily to make the output

[PHP] image resize problems

2004-06-02 Thread Edward Peloke
I have looked at several of the functions and tried a few tutorials online but am not having much luck for some reason resizing images. I have this code which works fine but everytime I try to add some resizing code, I get the error that the image is not a valid image resource. I have even

[PHP] Re: PHP Newbie needs a little help 1-on-1

2004-06-02 Thread Justin Patrin
Mike wrote: Ok, I'm a pretty fast learn but syntax and basic lack of serious programming background hinder my efforts. I can make Javascript do what I want it to and usually perl also but I'm in over my head with my PHP project and I'm on a deadline. Objective: To create a set of forms that

[PHP] [Stats] PHP Net List: May 2004

2004-06-02 Thread Bill Doerrfeld
-- Searchable archives for this list are available at http://www.listsearch.com/phplist.lasso --

[PHP] Sorting an array

2004-06-02 Thread John Nichel
Okay, I know someone is going to shoot me for asking such a dumb question, but I just can't seem to find the answer anywhere. I have a multidimensional array which I would like to sort on the value of one of the keys... Array ( [0] = Array ( [foo] = blah

[PHP] Re: image resize problems

2004-06-02 Thread Justin Patrin
Edward Peloke wrote: I have looked at several of the functions and tried a few tutorials online but am not having much luck for some reason resizing images. I have this code which works fine but everytime I try to add some resizing code, I get the error that the image is not a valid image

Re: [PHP] Sorting an array

2004-06-02 Thread Robert Cummings
On Wed, 2004-06-02 at 12:59, John Nichel wrote: Okay, I know someone is going to shoot me for asking such a dumb question, but I just can't seem to find the answer anywhere. I have a multidimensional array which I would like to sort on the value of one of the keys... Array ( [0]

RE: [PHP] Sorting an array

2004-06-02 Thread Jay Blanchard
[snip] What I would like to do is sort this on the value of 'sort' in each sub-array. What am I missing TIA [/snip] http://us4.php.net/manual/en/function.array-multisort.php HTH! :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sorting an array

2004-06-02 Thread John Nichel
Robert Cummings wrote: On Wed, 2004-06-02 at 12:59, John Nichel wrote: What I would like to do is sort this on the value of 'sort' in each sub-array. What am I missing TIA usort( $theAboveArray, 'mySortHandler' ); function mySortHandler( $v1, $v2 ) { if( $v1['sort'] $v2['sort'] )

[PHP] Re: Can session.save_path data be saved to a database instead of a file system?

2004-06-02 Thread Torsten Roehr
Caleb Walker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, 02 Jun 2004 10:29:31 +0100, Michael Nolan wrote: Caleb Walker wrote: I have 2 servers fail-over/load-balanced behind an F5 bigIP. I want session data to be maintained in the event one server takes a dive.

Re: [PHP] email formatting

2004-06-02 Thread Marek Kilimajer
BigMark wrote: Is it possible to have this code changed easily to make the output run horizontally instead of vertically. example of current output to email below code I'm not sure what you mean by horizontaly. Do you mean one long line? Provide an example of what you want to get. And we don't

Re: [PHP] Re: Can session.save_path data be saved to a database instead of a file system?

2004-06-02 Thread John W. Holmes
From: Caleb Walker [EMAIL PROTECTED] This looks like modifications that need to be made to the application. I dont really want to touch the application. Instead I just want PHP, through the php.ini file or whatever to take the session data and put it in a database instead of the file system.

Re: [PHP] need advice on an i18n english to arabic function

2004-06-02 Thread Marek Kilimajer
p80 wrote: I have a website in English, it is translated in many languages already (Spanish, french, German...), and i wanna translate it in Arabic, everytime i have a word in English i use a function like this i18n(MyEnglishWord) and the i18n function look up in an arabic.inc that contains a

[PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread Chris W
I just moved my site to a new install of SUSE 9.1 and get the error.. Call to undefined function: mail() when ever I try to send a message. What is the easiest way to fix this since suse used postfix instead of sendmail. -- Chris W Bring Back the HP 15C http://hp15c.org Not getting the gifts

Re: [PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread Marek Kilimajer
Chris W wrote: I just moved my site to a new install of SUSE 9.1 and get the error.. Call to undefined function: mail() when ever I try to send a message. What is the easiest way to fix this since suse used postfix instead of sendmail. Hmm, weird. The function should always be available, it's

[PHP] Finding the sizeof a variable....

2004-06-02 Thread Matthew A. Blasinski
Hi, I'm wondering if there's something similar to the C sizeof operator in PHP? I would like to find out how much space in memory a variable is actually using (and possibly adjust the max memory per script accordingly). No, sizeof() http://us3.php.net/sizeof is not what I want :-( Thanks! Matt

Re: [PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread John Nichel
Chris W wrote: I just moved my site to a new install of SUSE 9.1 and get the error.. Call to undefined function: mail() when ever I try to send a message. What is the easiest way to fix this since suse used postfix instead of sendmail. You'll have to set the path to postfix's sendmail

Re: [PHP] Finding the sizeof a variable....

2004-06-02 Thread Daniel Clark
There is memory_get_usage() but it returns the amount of memory allocated to PHP. http://us3.php.net/manual/en/function.memory-get-usage.php I'm wondering if there's something similar to the C sizeof operator in PHP? I would like to find out how much space in memory a variable is actually

Re: [PHP] Finding the sizeof a variable....

2004-06-02 Thread Marek Kilimajer
Matthew A. Blasinski wrote: Hi, I'm wondering if there's something similar to the C sizeof operator in PHP? I would like to find out how much space in memory a variable is actually using (and possibly adjust the max memory per script accordingly). No, sizeof() http://us3.php.net/sizeof is not

[PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
I am new to php and was tasked with installing php v.4.3.6. I installed it on redhat with apache v2.0.48. I read in the doc that you can create a test file called test.php with some php tags such as ?phpinfo()?. Could someone post a test.php file as an example? Thanks for the help. --

Re: [PHP] php installation verification

2004-06-02 Thread Steve Douville
Open a file. Put this code in there: ? phpinfo(); ? Save as test.php and point your browser to it. - Original Message - From: Nguyen, Long P (Mission Systems) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:33 PM Subject: [PHP] php installation verification I

Re: [PHP] php installation verification

2004-06-02 Thread Daniel Clark
Save to your root directory as test.php (or something ending in php). ?php phpinfo(); ? I am new to php and was tasked with installing php v.4.3.6. I installed it on redhat with apache v2.0.48. I read in the doc that you can create a test file called test.php with some php tags such as

RE: [PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule php4_module libexec/libphp4.so Any thoughts? thank you.

RE: [PHP] php installation verification

2004-06-02 Thread Daniel Clark
Have you stopped and restarted the web server? OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType application/x-httpd-php .php AddType application/x-http-php-source .phps LoadModule

RE: [PHP] php installation verification

2004-06-02 Thread Scot L. Harris
On Wed, 2004-06-02 at 16:47, Nguyen, Long P (Mission Systems) wrote: OK - I tried that and what came up on the browser was the content of the test.php file. Open a file. Put this code in there: ? phpinfo(); ? Try: ?php phpinfo(); ? -- Scot L. Harris [EMAIL PROTECTED] IF I HAD A

RE: [PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
Yes. -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:51 PM To: Nguyen, Long P (Mission Systems) Cc: Steve Douville; [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification Have you stopped and restarted the web server? OK -

RE: [PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
I get the source display on the browser as: ?php phpinfo(); ? -Original Message- From: Scot L. Harris [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:53 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification On Wed, 2004-06-02 at 16:47, Nguyen, Long P

RE: [PHP] php installation verification

2004-06-02 Thread Daniel Clark
And you test.php file has? (note starting with ?php ?php ? Yes. Have you stopped and restarted the web server? OK - I tried that and what came up on the browser was the content of the test.php file. I checked in my httpd.conf file I do have the following: AddType

RE: [PHP] php installation verification

2004-06-02 Thread Daniel Clark
Running Apache? Windows? I get the source display on the browser as: ?php phpinfo(); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
The content of my test.php file has: ?php phpinfo(); ? -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 4:59 PM To: Nguyen, Long P (Mission Systems) Cc: [EMAIL PROTECTED]; Steve Douville; [EMAIL PROTECTED] Subject: RE: [PHP] php installation

RE: [PHP] php installation verification

2004-06-02 Thread Daniel Clark
Seems to me there was a problem with Apache 2 and PHP (some version). The content of my test.php file has: ?php phpinfo(); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
redhat and apache -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 5:02 PM To: Nguyen, Long P (Mission Systems) Cc: Scot L. Harris; [EMAIL PROTECTED] Subject: RE: [PHP] php installation verification Running Apache? Windows? I get the

RE: [PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
could it be something in my httpd.conf file? below are the results of the installation: [EMAIL PROTECTED] php-4.3.6]# make install Installing PHP SAPI module: apache2handler /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp4.la

Re: [PHP] spam filter

2004-06-02 Thread Marek Kilimajer
Merlin wrote: Hi there, I am working on a spam filter for email forms. To improve it it would be great to compare 2 text and to find out how equal they are. Is there a function in php wich compares 2 text and returns a percentage of equality? The system allready checks for spam keywords, but

RE: [PHP] php installation verification

2004-06-02 Thread R'twick Niceorgaw
Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: could it be something in my httpd.conf file? Remove the line AddType application/x-httpd-php .php and add Files *.php SetOutputFilter PHP SetInputFilter PHP /Files HTH R'twick -- This is a signature

[PHP] ob_start callback preg_replace

2004-06-02 Thread John Kaspar
Can someone help me with preg_replace? I want to convert all numbers either 8 or 9 digits in length, into a link. Such that when it sees: John Doe, 456890123, is a new employee. It converts it to: John Doe, a href='employee.html?id=456890123'456890123/a, is a new employee. function

[PHP] Please help, problem with set_ini

2004-06-02 Thread Warren Gardner
Hi, I'm having a problem with a set_ini command... I need to be able to set the -f parameter (to set the originating address on my server). I am getting a false response code when I run the following command: $Result=ini_get(sendmail_path), /usr/sbin/sendmail -t

Re: [PHP] ob_start callback preg_replace

2004-06-02 Thread Marek Kilimajer
John Kaspar wrote: Can someone help me with preg_replace? I want to convert all numbers either 8 or 9 digits in length, into a link. Such that when it sees: John Doe, 456890123, is a new employee. It converts it to: John Doe, a href='employee.html?id=456890123'456890123/a, is a new employee.

[PHP] Re: Can session.save_path data be saved to a database instead of a file system?

2004-06-02 Thread Michael Nolan
John W. Holmes wrote: From: Caleb Walker [EMAIL PROTECTED] This looks like modifications that need to be made to the application. I dont really want to touch the application. Instead I just want PHP, through the php.ini file or whatever to take the session data and put it in a database instead

Re: [PHP] Please help, problem with set_ini

2004-06-02 Thread Matt Matijevich
[snip] I'm having a problem with a set_ini command... I need to be able to set the -f parameter (to set the originating address on my server). I am getting a false response code when I run the following command: [/snip] looks like sendmail_path has to be set in http.conf or php.ini

Re: [PHP] Please help, problem with set_ini

2004-06-02 Thread Marek Kilimajer
Warren Gardner wrote: Hi, I'm having a problem with a set_ini command... I need to be able to set the -f parameter (to set the originating address on my server). I am getting a false response code when I run the following command: $Result=ini_get(sendmail_path), /usr/sbin/sendmail -t

Re: [PHP] Call to undefined function: mail() with SUSE 9.1

2004-06-02 Thread Curt Zirzow
* Thus wrote Chris W ([EMAIL PROTECTED]): I just moved my site to a new install of SUSE 9.1 and get the error.. Call to undefined function: mail() when ever I try to send a message. What is the easiest way to fix this since suse used postfix instead of sendmail. This happens when php is

[PHP] mail() problem

2004-06-02 Thread Rick
Hi All, Does anyone know a good format for sending email using the mail() function that doesnt get stopped by antispam software? I need to send and email from my sever when a new member creates an account, this ive done but my email gets binned straight away? must be the headers? Regards

RE: [PHP] mail() problem

2004-06-02 Thread Larry Brown
Sounds like a problem for the maintainers of the spam blocking software? You can't correct the problem with the headers if you don't know what the spam software is objecting to. It may be objecting to the fact that the source is 127.0.0.1? -Original Message- From: Rick [mailto:[EMAIL

[PHP] Re: Can session.save_path data be saved to a database instead of a file system?

2004-06-02 Thread Caleb Walker
This is how I would do it and would require no additional changes to the code - just set your auto prepend in a .htaccess file if you're using Apache. This sounds interesting. Could you elaborate a little more? I mean what is the auto prepend and what is the syntax for the .htaccess?

Re: [PHP] Re: PHP Coding Standards

2004-06-02 Thread Justin French
On 02/06/2004, at 3:00 AM, Justin Patrin wrote: And I'm one of them. :-) I like the KR version because it saves verticaly space and most editors can't really handle correct tabbing when you put it after. IMHO it's just not necessary as ALL blocks should have braces, even those that are

Re: [PHP] Re: how to insert form data

2004-06-02 Thread Ligaya Turmelle
shouln't be QUOTE: input type = textarea name=quote... Respectfully, Ligaya Turmelle Matt Macleod [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Should be: form name=form meth0d=post action=input/php NAME: input type=text name=name id=name / QUOTE: textarea name=quote

[PHP] Re: mail() problem

2004-06-02 Thread Ligaya Turmelle
minor suggestion: make sure you have a from address. Respectfully, Ligaya Turmelle Rick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Does anyone know a good format for sending email using the mail() function that doesnt get stopped by antispam software? I need to

[PHP] Re: mail() problem

2004-06-02 Thread Stephen Lake
Another suggestion is if its an HTML format mail, make sure you use properie making sure all tags are closed that kind of stuffsome software will block if the HTML is not well formed Rick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Does anyone know a good