Re: [PHP] PHP vs JAVA

2013-08-20 Thread PHP List
On 8/20/2013 10:00 AM, Tedd Sperling wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your answer? (sounds like a

Re: [PHP] MySQL over TCP results on CLOSE_WAIT state in PHP 5.3.8

2012-03-05 Thread php-list
I have a MySQL server A, a server B with PHP 5.3.8 and a server C with PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C using an internal network. Server B and C use the same PHP application. There are also same PHP scripts that get data from the database and then

[PHP] MySQL over TCP results on CLOSE_WAIT state in PHP 5.3.8

2012-02-27 Thread php-list
Hi, I have a MySQL server A, a server B with PHP 5.3.8 and a server C with PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C using an internal network. Server B and C use the same PHP application. There are also same PHP scripts that get data from the database and then

Re: [PHP] OT- why is network solutions more than godaddy?

2007-08-03 Thread Eric Holt (PHP List)
How about a middle-of-the-road solution? www.PairNIC.com The domain services of the very good webhost, Pair Networks. I've been with their hosting solutions since 1998, and with their domain registration services since whenever it opened (5 years ago, I spose). Not the cheapest, not the

Re: [PHP] Re: Dealing with ImageMagick from PHP

2007-07-29 Thread Eric Holt (PHP List)
, look in the examples section. Eric Holt (PHP List) wrote: Hello everyone. This is my first post to the list, so bare with me :) I have written an application for a client that is used in the Event Photography business. It handles taking photographs, categorizing them, making thumbnails

[PHP] Dealing with ImageMagick from PHP

2007-07-28 Thread Eric Holt (PHP List)
the time recoding the application to work with MagicWand, only to find out that I dont end up with any performance increase -- or worse of all, a decrease. I wasnt convinced either way, from the Googling I had done on the subject, so I thought I would post the question to the PHP list. A little

Re: [PHP] Files passing through

2005-08-23 Thread Kim Steinhaug \(php list\)
I'm using this method, works fine with 50mb+ files : if( $fd = fopen ($filepath, 'r')){ while(!feof($fd)) { $buffer = fread($fd, 2048); print $buffer; } fclose ($fd); exit; } Regards, Kim Steinhaug - - - - - - - - - www.easycms.no - Original

Re: [PHP] Looking for CMS advice

2005-08-23 Thread Kim Steinhaug \(php list\)
You are referring to this page : http://www.opensourcecms.com/ Regards, Kim Steinhaug - - - - - - - - - - - - - http://www.easywebshop.no/ - Original Message - From: Richard Lynch [EMAIL PROTECTED] To: Erik Gyepes [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Tuesday, August

[PHP] session_start(), Pragma and Cache-control headers

2005-08-22 Thread Kim Steinhaug \(php list\)
Hello, I'm working on a downbload script which serves M3U files (Winamp playlist files) through a PHP file like this : somepath/download.m3u.php?id=2 Then in the PHP script I generate the M3U file, and serve up the headers I want. Swell so far, but a little problem appears. The downloads are

Re: [PHP] session_start(), Pragma and Cache-control headers

2005-08-22 Thread Kim Steinhaug \(php list\)
- - - - - - - - - www.steinhaug.com - Original Message - From: Kim Steinhaug (php list) [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, August 22, 2005 7:01 PM Subject: [PHP] session_start(), Pragma and Cache-control headers Hello, I'm working on a downbload script which serves M3U

Re: [PHP] AJAX coding and Sesisons

2005-08-22 Thread Kim Steinhaug \(php list\)
I have done this quite a few times lately, you shouldn't worry. Just have your session_start() and login security on the pages that you access with javascript aswell, they will have the same security as any other page. The sessionID is used for all requests to the server from the webbrowser,

RE: [PHP] Help With Error

2004-10-19 Thread php-list
Pablo, Thanks for responding. I found out what the problem was. There was an argument that was empty (i.e. empty string) in the add_cat() method. Thanks for your help, I really appreciate it. :) [snip] Notice: Undefined index: 0 in

[PHP] Help With Error

2004-10-17 Thread php-list
Hello Everyone, I keep getting the following errors in my class and I don't know why. Maybe something has changed in PHP 5.x that I don't know about? Here are the errors and the methods of that class: --- Notice: Undefined index: 0 in

RE: [PHP] Meaningful Subject

2004-10-11 Thread php-list
-Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 8:09 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] On Monday 11 October 2004 19:41, [EMAIL PROTECTED] wrote: Never mind guys, I figured it out. I appreciate your help. Thanks for everything!

RE: [PHP]

2004-10-11 Thread php-list
Never mind guys, I figured it out. I appreciate your help. Thanks for everything! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, October 10, 2004 10:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Thanks to all of you for your explanation of my method.

[PHP]

2004-10-10 Thread php-list
Thanks to all of you for your explanation of my method. Minuk, thanks for the detailed explanation, it really helps me understand what I'm doing wrong. Now I have one more problem. When the $children array is empty, it returns a 10 instead of a 0. Why is that? Here's the method again with the

[PHP]

2004-10-09 Thread php-list
Hello everyone, I'm hoping you guys can help me with this error. Here's what I'm getting: Notice: Undefined variable: children in L:\localhost\catalog\catalog_0.1.0\includes\classes\tree.class.php on line 58 This error occurs only when the class's method outputs $children as having a value of

[PHP] Host for Mod PHP5

2004-09-16 Thread php-list
Hello everyone, I know this is going to be tough but I need a hosting company that supports PHP5, has unlimited disk space and a good amount of bandwidth with a decently fast connection for a decent price. I realize that this might be rare, but is anyone offering such a package like this

RE: [PHP] Help With PEAR::DB Connection

2004-09-13 Thread php-list
Jim, Thank you. Problem solved thanks to you. The moment you said that PEAR::DB is not finding the MySQL extention I realized that the extension in php.ini hasn't been commented out and the extension folder had not been recognized by PHP. I forgot we had to do that in PHP5. Everything is working

[PHP] Help With PEAR::DB Connection

2004-09-11 Thread php-list
Hello everyone, I have a problem connecting to the Database. When I execute the code at the bottom, it gives me this message: DB Error: extension not found. It sees the DB file and the parameters are correct. I checked the include path and it was correct. Did I do something wrong? Any help would

RE: [PHP] PHP5 - How Do I Let Users Download Music Files?

2004-09-05 Thread php-list
Thanks Anders and Daniel. Daniel, I like your approach. I want to make it as secure as possible. I'm going to place the files outside the web directory and use authentication to approve that the user can download some particular song. I didn't know you could do a forced download. I will definitely

[PHP] PHP5 - How Do I Let Users Download Music Files?

2004-09-04 Thread php-list
Hello everyone, I want to build a music site, all copyrights intact, and I want users to be able to download mp3 or realplayer files using a one-click link. When they click on a link they will simply be given a typical download window to save that music file. How do I go about doing that and

RE: [PHP] Is javascript enable?

2004-08-25 Thread php-list
Try phpsniff at http://phpsniff.sourceforge.net/. It not only detects javascript using PHP, but many other things as well. You will wonder how you lived without it. It's pretty cool... Navid -Original Message- From: Thomas Goyne [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004

[PHP] For Loop Problems

2004-07-28 Thread php-list
Hello Everyone, I'm building a hotel management system and I can't seem to figure out why my for() loop doesn't work the way it should. I'm using patTemplate to create the HTML Template (I like using it and I don't want to start a pro/con template war). Here is the script: for ($j = 0; $j 32;

RE: [PHP] what is difference between php and perl

2004-07-22 Thread php-list
PHP is more of a binding language that takes advantage of many different coding practices and puts them together. PHP is not jealous and does not separate or shun itself from other languages and borrows many of the ideas, schemes, similar libraries, etc. from these other languages. And yet, it is

RE: [PHP] Creating Rows and Columns Using for() Loops

2004-07-19 Thread php-list
No, no...that's actually a great idea. I like your approach, especially in my case. Thank you for the suggestion! :) Navid -Original Message- From: Rory McKinley [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:57 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re:

[PHP] Creating Rows and Columns Using for() Loops

2004-07-08 Thread php-list
Hello Everyone, I have an HTML table with 7 columns and 32 rows, not including table headers and footers. I want to create a tabular data table that spans 7 columns and 32 rows. I get my info from MySQL and use for() loops to loop through two types of arrays. An array containing the dates (the

RE: [PHP] Creating Rows and Columns Using for() Loops

2004-07-08 Thread php-list
Chris, It's a little difficult to do in ascii, but here's an attempt. This is a simple hotel/motel log of who's staying in certain rooms. The 7 columns are the 7 days in the week and guest names fall under whichever date they checked in. So, let's see if I can give you a visual representation of

RE: [PHP] Creating Rows and Columns Using for() Loops

2004-07-08 Thread php-list
I wrote this in plain text. I hope it came out well... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 9:02 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Creating Rows and Columns Using for() Loops Chris, It's a little difficult to do in

RE: [PHP] Re: Graphical calendar

2004-05-08 Thread php-list
You can try using PEAR's Calendar System. It works great for what you might need. Here's a website of what you can do with PEAR Calendar: http://pearcalendar.sourceforge.net/examples/ -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED] Sent: Saturday, May 08, 2004 12:59 PM To:

RE: [PHP] PHP5 and PEAR

2004-05-05 Thread php-list
So other than Config (for now), most other packages are compatible with PHP 5 already? What about the answers to my other questions? How will PEAR be organized in PHP 5? What do I need to look out for when making the transition, etc?? Thanks. -Original Message- From: Oliver Kuhl

[PHP] Freelance PHP Bids

2004-04-19 Thread php-list
Hello, There is a person asking me where she can find a website developer that will create an e-commerce solution for her. I don't feel I'm ready to help her out in that area yet, but I still want her to be able to have other choices. I remember there was a main website where freelance

[PHP] AOL Email client

2003-08-08 Thread php list
I am using php mail and setting all my $headers info to show From:, To:, etc. It work perfectly on my computer. I use MS Outlook. I am doing this for a client who received his email via his aol account. When he receives the email, the email comes in with Unknown Sender. Is there issues with this?

[PHP] HTTPS POST without user/client intervention

2003-07-15 Thread PHP List
I am writing a php script to accept an HTTPS POST of data from a remote site, process the data, and send an HTTPS POST response back (not necessarily to the same remote site). I can do this pretty easily in PERL (which I may have to if I can't find a PHP solution). Also I need to do the https

Re: [PHP] HTTPS POST without user/client intervention

2003-07-15 Thread PHP List
On Tue, 2003-07-15 at 15:12, Chris Shiflett wrote: --- PHP List [EMAIL PROTECTED] wrote: I am writing a php script to accept an HTTPS POST of data from a remote site, process the data, and send an HTTPS POST response back (not necessarily to the same remote site). Can you perhaps

[PHP] Session Question

2003-03-20 Thread PHP List
Hi All, I have a question about sessions. I need to pass session data from one domain to a secure domain. (www.mydomain.com to www.securedomain.com). I would like to preserve the session data in case the visitor goes back to www.mydomain.com. I thought about just passing the session ID to

RE: [PHP] mysql_num_rows() error

2003-01-09 Thread Jay \(PHP List\)
You query is incorrect. Try doing the same query from the MySQL clent. |- -Original Message- |- From: Phil Powell [mailto:[EMAIL PROTECTED]] |- Sent: Thursday, January 09, 2003 7:46 PM |- To: [EMAIL PROTECTED]; [EMAIL PROTECTED] |- Subject: [PHP] mysql_num_rows() error |- |- |-

Re: [PHP] Upgrade help!

2003-01-08 Thread PHP List
instead. Is this a bug? Shouldn't it use libpng-1.2.1 for everything? Once I got rid of the rpm versions, I know longer had a problem. - Original Message - From: PHP List [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 4:34 PM Subject: [PHP] Upgrade help! Hi, I am

[PHP] Upgrading to 4.3.0

2003-01-07 Thread PHP List
Hi, According to the docs, 4.3.0 comes with gd bundled in. Do I still have to use libpng and jpg and free type seperately? Do I still need --with-png-dir= in the configuration of php or is it part of the built in gd library? Thanks for any help.

[PHP] Upgrade help!

2003-01-07 Thread PHP List
Hi, I am trying to upgrade to php4.3.0, everything works, but when I try to use any gd image functions I get the following error: libpng warning: Application was compiled with png.h from libpng-1.2.1 libpng warning: Application is running with png.c from libpng-1.0.12 gd-png: fatal libpng

[PHP] Using fopen() to open a php file with variables.

2002-12-11 Thread Jay \(PHP List\)
Okay, I need to retrieve the output of a php file with variables being passed to it. Example: $calendar_file = make_calendar.php3?month=$monthyear=$year; $fp = $fp = fopen($calendar_file, r); while (!feof ($fp)) { $buffer = fgets($fp, 4096); $calendar_html .= $buffer; }

[PHP] Script Question

2002-11-21 Thread PHP List
Hi, This is more of a Javascript question so please forgive. I generate a dynamic form with php. I need to be able to test in javascript if a certain field exists: . . if (document.myform.mytextfield) { . . This line will give me the javascript error document.myform.mytextfield is undefined

Re: [PHP] Script Question

2002-11-21 Thread PHP List
Same problem, I still get an undefined error. Try using the string functions. document.myform.mytextfield.value or something... On Thu, 2002-11-21 at 13:25, PHP List wrote: Hi, This is more of a Javascript question so please forgive. I generate a dynamic form with php. I need

Re: [PHP] Firewall Question

2002-11-05 Thread PHP List
[EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 4:57 PM Subject: Re: [PHP] Firewall Question it depends on the operating system your running. Paul Marinas Technical Support RDS Craiova Phone: +402-51-410-194 Mobile: +407-22-451-439 Fax:+402-51

Re: [PHP] Firewall Question

2002-11-05 Thread PHP List
: Paul Marinas [EMAIL PROTECTED] To: incoming [EMAIL PROTECTED] Cc: Stephen [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 4:57 PM Subject: Re: [PHP] Firewall Question it depends on the operating system your running. Paul Marinas

RE: [PHP] search tricks of the trade

2002-10-31 Thread PHP List
Too many to list in an email. This site has allot of information. http://searchenginewatch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Form Question

2002-10-31 Thread PHP List
not sure if this has something to do with the fact that all the boxes have the same name rgItems[] and the browser doesn't know which one to uncheck. Has anybody else come accross this? Thanks, And I apologize for asking this question on the PHP List, but I am hoping someone here may have had

Re: [PHP] Saving form input fields to MySQL br clicking on a button

2002-10-31 Thread PHP List
Why not use the Memorize button to set a hidden field? Or just use a check box. Since you are going to be submitting the data anyway, save the fields at that time depending on whether or not the check box/hidden filed is set? Hi, I have a form where the user enters some information. For a

Re: [PHP] PHP - Internal linking in a page

2002-10-31 Thread PHP List
Your get statement is wrong: http://maloyportalen.no/~critical/maloy/index.php?page=main2.php?id=7 use http://maloyportalen.no/~critical/maloy/index.php?page=main2.phpid=7 You only get 1 question mark, any after will be treated as part of the variable page. Hi! I started to learn PHP

Re: [PHP] Form Question

2002-10-31 Thread PHP List
) { alert(document.LevelListForm.elements['rgItems[]'][i].value); document.LevelListForm.elements['rgItems[]'][i].checked = false; } } } //-- /script PHP List wrote: Hi, I am hopeing someone can help me with this. This is more of a javascript problem I suppose. I have a bunch of check

Re: [PHP] How printing the name and value of a variable ?

2002-10-31 Thread PHP List
Why? echo THE VARIABLE .(please help me right here). EQUALS .$tigidizougou; Obviously the variables name is tigidizougou, so just do this: echo THE VARIABLE tigidizougou EQUALS .$tigidizougou; Or am I missing something here? Theoriquement it is not possible, because you cannot use any

[PHP] Dazed and Confused

2002-10-30 Thread PHP List
For some reason my brain is not operating within normal parameters this week. $myarray[test] = sd; echo $myarray[0]; Why will nothing echo? Do I somehow have to initialize indexing on the array $myarray? php says that $myarray is an array, but I can't access it with numeric indexes. I know if I

[PHP] Re: Dazed and Confused

2002-10-30 Thread PHP List
I think the fog is starting to clear, thanks for the help. I do have one more question: If I want to use array_walk in a class, how do I refer to a function in that class? Class MyClass { . . . function DoArrayStuff($item1, $key, $nMode) { echo $item1; }

Re: [PHP] Array Question

2002-10-29 Thread PHP List
No, array_keys does not do what I want, in order to user array_keys, it assumes I know the value of the key, but I don't, I want to get the value of the key but all I know is the index. Perhaps you want to look at array_keys(). On Monday, October 28, 2002, at 05:48 PM, PHP List wrote: How

Re: [PHP] Array Question

2002-10-28 Thread PHP List
'? I think you are looking for array_search() On Mon, 28 Oct 2002, PHP List wrote: Hi, Lets say I have a simple array like this: $myarray = array(a=b,d=c); echo $myarray[0] will return 'b'; How can I get the name of the index? so: echo $myarray[something] would return 'a'; I

Re: [PHP] DB speed

2002-10-10 Thread PHP List
From my experience, I found this: Selecting 1000 records from 2 tables using a join, 10secs and up. Selecting 1000 records for table 1, all records from table 2, then using php to figure out which rows from table 2 belong to table 1 and building my own combined array, less than a second.

Re: [PHP] Finding out what week it is

2002-05-15 Thread PHP List
but remember, this wasn't added until PHP version 4.1.0 Jim Lucas www.zonedzero.net www.giantmaps.com - Original Message - From: PHP lists [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 9:43 AM Subject: Re: [PHP] Finding out what week it is $week = date(W);

[PHP] Include Files self aware?

2002-04-30 Thread PHP List
Hi, Is it possible to detect if a file is being called as an include or require? ex: include(file.php)-- file.php code can detect that is has been called as an include. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] To store or not to store . . .

2002-04-24 Thread PHP List
Hi, I was wondering about the following: Should I store a picture directly in a MySQL table? Or just store the link to a file on the system somewhere? I would think that leaving the picture as an actual file and just storing the link would be quicker. But what are the dis/advantages of storing

[PHP] Stupid Question

2002-02-28 Thread PHP List
Yes, this is probably in the manual, but I can't find it. If I want to upgrade from 4.0.6 to 4.1.2, do I have to re-compile apache as well? Thanks Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PNG Lib

2002-02-28 Thread PHP List
Hi, Does anyone know where the PNG library went? The manual points to cdrom.com/pub/png, but that does not exist anymore. Thanks for any help. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Stupid Question

2002-02-28 Thread PHP List
RE: [PHP] Stupid QuestionThanks for all the responses. Just to be clear, I have php installed as a module, so I have to re-compile apache. - Original Message - From: Adam Plocher To: 'PHP List' Sent: Thursday, February 28, 2002 9:46 AM Subject: RE: [PHP] Stupid Question

Re: [PHP] PNG Lib

2002-02-28 Thread PHP List
Thanks, Sorry I asked, I should have just searched for it, but my clue-x-4 is broken. Does anyone know where the PNG library went? The manual points to cdrom.com/pub/png, but that does not exist anymore. http://www.libpng.org/pub/png/

Re: [PHP] Upgrading PHP

2002-02-28 Thread PHP List
Yes, you have to re-compile php because php compile and install a module under apache_1.3.xx/src/modules Thanks for the reply. I have another question. If I have to recompile Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14 but would like to upgrade to a more

[PHP] RePOST: Sessions and Classes

2002-02-05 Thread PHP-List
What is the proper way to transfer class properties through-out my pages... let's say i have a ShoppingCart Class and i have methods like addToCart(id, qty) and deleteFromCart(id) also i have properties like CartItems(id = array(), qty= array()) this is what i do... //when the user enters my

[PHP] Sessions and Classes

2002-02-05 Thread PHP-List
What is the proper way to transfer class properties through-out my pages... let's say i have a ShoppingCart Class and i have methods like addToCart(id, qty) and deleteFromCart(id) also i have properties like CartItems(id = array(), qty= array()) this is what i do... //when the user enters my

[PHP] PHP Classes and Sessions

2002-02-04 Thread PHP-List
What is the proper way to transfer class properties through-out my pages... let's say i have a ShoppingCart Class and i have methods like addToCart(id, qty) and deleteFromCart(id) also i have properties like CartItems(id = array(), qty= array()) this is what i do... //when the user enters my

Re: [PHP] printing html

2002-01-18 Thread PHP List
You could just change the code for the generated page to re-generate the page without the headers, etc. Then just link to the same page with a print command: echo a href=\$PHP_SELF?print=yes\Click here for a printable version of this page./a; if ($print yes) include(header.inc);

[PHP] Regex error

2002-01-18 Thread PHP List
Hi, Can someone please tell me why the this is happening: 1) $szTag = test|3; 2) $rgTemp = split(|,$szTag); 3) $szTag = $rgTemp[0]; 4) $nItemID = $rgTemp[1]; ^line numbers for ref only, not in actual code. Will give me the error: PHP Warning: unexpected regex error(14) in /test.php on

[PHP] Images

2001-12-20 Thread PHP List
Hi, I am trying to do something like this: img src=image.php?image=1 The code is like this: script language=php $szPicture = myimage.gif; $url = http://www.mysite.com/; . $szPicture; header(Content-type: image/gif); header(Content-Length: . strlen($url)); echo $url; /script But nothing

Re: [PHP] Images

2001-12-20 Thread PHP List
Thanks, but my html is valid, and what you are doing is not what I want to do. I want to display a random image included in the page, just like a banner program would work. I do not allow php execution on the page so the only way to get the image is to call the script with the img src tag, just

Re: [PHP] Check contents of variable

2001-11-20 Thread PHP List
How about: if (substr($url,0,7) http://;) $url = http://; . $url; Hi, which function would i use to check if a certain value is in the contents of a variable? I have a form where the users submits url's. I need the url with http:// in the beginning. Since there is more data after

Re: [PHP] Check contents of variable

2001-11-20 Thread PHP List
Correct, the third parameter is for the number of characters to read, nothing means entire string. Function details can be found here: http://download.php.net/manual/en/function.substr.php How about: if (substr($url,0,7) http://;) $url = http://; . $url; Thanks! That´s just

Re: Re: [PHP] How do I convert from perl to php?

2001-11-20 Thread PHP List
How about like this: $required = array(field1,field2,field3); for ($i=0;$icount($required);$i++) { $temp = $required[$i]; if (trim($$temp) == ) { echo You Missed One; continue; (break?) } } Something like that, I havn't acually tried it. - Original

[PHP] htaccess

2001-09-21 Thread PHP List
Hi, I heard it was possible to turn off/on php execution in a directory using the .htaccess file. Can some one tell me how to do that? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Engine Question

2001-09-04 Thread PHP List
Hi, I am trying to update my server to php4. Everything seemd to compile fine. httpd -l shows mod_php4.c in the list. I used to use these entries in my httpd.conf to specifically turn php on in certain dirs instead of default on for everyting. Directory /dir/dir/dir php3_engine on

Re: [PHP] Engine Question

2001-09-04 Thread PHP List
to turn PHP parsing on and off on a per-directory or per-virtual server basis. By putting engine off in the appropriate places in the httpd.conf file, PHP can be enabled or disabled. Kind of misleading that last part. - Original Message - From: Steve Edberg [EMAIL PROTECTED] To: PHP List

Re: [PHP] Strange Form Error

2001-08-30 Thread PHP List
On Thu, 30 Aug 2001 02:25, PHP List wrote: Hi, Can anyone tell me why php is behaving like this? If I use enctype=multipart/form-data, it seems the first form field is not passed to php. ex: form method=post action=products.asp enctype=multipart/form-data input type=hidden name

[PHP] Strange Form Error

2001-08-29 Thread PHP List
Hi, Can anyone tell me why php is behaving like this? If I use enctype=multipart/form-data, it seems the first form field is not passed to php. ex: form method=post action=products.asp enctype=multipart/form-data input type=hidden name=cmd value=edit $cmd will not be passed to php, I have to

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread PHP List
Thats interesting. I tried to do the same thing with 5000 emails using sendmail, and I found that only about 1/2 were actually sent, it seems like the multiple calls to mail caused some of them to be ignored. I had to sleep for a couple of seconds before each call to mail() in order to get them

Re: [PHP] Win One of 25 Dream Vacation Getaways!! .

2001-08-16 Thread PHP List
Ge, does this mean we ALL won? :O - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 2:40 PM Subject: [PHP] Win One of 25 Dream Vacation Getaways!! . You have been specially selected to qualify for the following: Premium Vacation

[PHP] Engine help

2001-08-15 Thread PHP List
Hi, I am trying to upgrade from php3 to php4, I recompiled apache_1.3.20 and php4.0.6 as per instructions(http://www.php.net/manual/en/install.apache.php). Everything seemed ok, but LoadModule in the httpd.conf was no longer recognized so I # all the LoadModule and AddModule lines. httpd -l

Re: [PHP] Need open source community help!

2001-08-15 Thread PHP List
IMO I would have to say it depends on the Timeline of your Boss. Releasing the app to the open source community would be great, the more there is, the more reason for people to stop using MS, but you can't demand a schedule of when new features will be added. You may have to go with the MS for

[PHP] Loop error?

2001-08-14 Thread PHP List
Hi, Can anyone tell me why this is a never ending loop? $i=0; $count = 1; while ($count $i); { echo $i br; $i++; } Chris

Re: [PHP] Loop error?

2001-08-14 Thread PHP List
Oops, well, that is just mental. Must be getting tired or something, yes, that's it :) Thanks. - Original Message - From: Gyozo Papp [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED]; php [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 4:58 PM Subject: Re: [PHP] Loop error? Hi

[PHP] mysql table dump problem

2001-01-20 Thread PHP List
Hi list, I have scoured the archives with no good game plans. Here is what I am trying to accomplish: dump a table to a file on my server: $sql = "SELECT * INTO OUTFILE '/tmp/test.txt' FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' FROM table_name"; take the file and email it to someone: