[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

[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

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

2004-06-02 Thread Ligaya Turmelle
shouln't be QUOTE: wrote in message news:[EMAIL PROTECTED] > Should be: > > > NAME: > QUOTE: > > > > HTH > > > Matt > > On 3 Jun 2004, at 04:33, BigMark wrote: > > > OK no errors now but no data inserted, my form must be wrong as well. > > > > > > NAME > > > > QUOTE > > > > > > >

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 K&R 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 one-line

[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 .htac

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 PROT

[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 Ric

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

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 -f".$DataUs

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 http://www.php

[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 instea

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, 456890123, is a new employee. function callback($buffer) { // crea

[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 -f".$DataUserInfo['OriginatingE

[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, 456890123, is a new employee. function callback($buffer) { // create id links retur

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 SetOutputFilter PHP SetInputFilter PHP HTH R'twick -- This is a signature -

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 th

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 /usr/local/apache/module

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 sour

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: > > 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: -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 verification An

RE: [PHP] php installation verification

2004-06-02 Thread Daniel Clark
Running Apache? Windows? > I get the source display on the browser as: > > 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 Daniel Clark
And you test.php file has? (note starting with > 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 application/x-http

RE: [PHP] php installation verification

2004-06-02 Thread Nguyen, Long P (Mission Systems)
I get the source display on the browser as: -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 (Mission Systems) wr

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 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: -- Scot L. Harris [EMAIL PROTECTED] IF I HAD A MINE SHAFT,

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 > > LoadMod

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
Save to your root directory as test.php (or something ending in php). > 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 . > Could someone

Re: [PHP] php installation verification

2004-06-02 Thread Steve Douville
Open a file. Put this code in there: 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 am new

[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 . Could someone post a test.php file as an example? Thanks for the help. -- PHP General

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 w

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] 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 wrapper.

[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 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] 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 y

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 li

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

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

[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 ta

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'] )

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 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 > ( >

[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 resource

[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] [Stats] PHP Net List: May 2004

2004-06-02 Thread Bill Doerrfeld
-- Searchable archives for this list are available at --

[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 1)

[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 hardco

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 out

[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 users

[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 wh

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 T

[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 Engli

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 you

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 corr

[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 crea

[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 s

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] 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 ha

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

[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] 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 folde

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 input.php \n"; $sql = "INSERT INTO whosaid (username) VALUES ('" . $username . "'); if(!($insert = mysql_query($sql, $yourC

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

[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 Matt MacLeod
Should be: NAME: QUOTE: HTH Matt On 3 Jun 2004, at 04:33, BigMark wrote: OK no errors now but no data inserted, my form must be wrong as well. NAME QUOTE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP G

[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. NAME QUOTE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to insert form data

2004-06-02 Thread Craig Donnelly
HTH Craig "Bigmark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 >

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] 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

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

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 –

[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 ent

[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: 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 se

[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] [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 http

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] 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!! ;)

[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 SQL