[PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
Good morning friends, I have a script that collects data from a form and puts together a mysql query to search a database. Now, everything worked fine until I added a few new form fields... now the $_POST['var'] don't reach the script... I have about 20 to 25 form fields which are all taken

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Zoltán Németh
2007. 05. 21, hétfő keltezéssel 09.26-kor Christian Haensel ezt írta: Good morning friends, I have a script that collects data from a form and puts together a mysql query to search a database. Now, everything worked fine until I added a few new form fields... now the $_POST['var'] don't

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
Right, here we go... this page has about 1000 lines of code, so here the relevant stuff. $s_query = SELECT * FROM database WHERE kategorie LIKE '$s_cat' AND marke LIKE '$s_marke' AND leistung_kw = '$kw_von' AND leistung_kw = '$kw_bis' AND preis = '$s_preis_von' AND preis =

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Zoltán Németh
2007. 05. 21, hétfő keltezéssel 09.43-kor Christian Haensel ezt írta: Right, here we go... this page has about 1000 lines of code, so here the relevant stuff. $s_query = SELECT * FROM database WHERE kategorie LIKE '$s_cat' AND marke LIKE '$s_marke' AND leistung_kw = '$kw_von' AND

[PHP] Re: Uploading Files Should I use MySQL or Server for storage?

2007-05-21 Thread Jonathan
[EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a MySQL database or to my server? I

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
I thought so, too. But the part where it receives the data is this: $s_marke = $_POST['marke']; $s_modell = $_POST['modell']; $s_preis_von = $_POST['preis_von']; $s_preis_bis = $_POST['preis_bis']; $s_mileage_von = $_POST['mileage_from']; $s_mileage_bis = $_POST['mileage_to']; $s_ez_von =

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Zoltán Németh
2007. 05. 21, hétfő keltezéssel 10.04-kor Christian Haensel ezt írta: I thought so, too. But the part where it receives the data is this: $s_marke = $_POST['marke']; $s_modell = $_POST['modell']; $s_preis_von = $_POST['preis_von']; $s_preis_bis = $_POST['preis_bis']; $s_mileage_von =

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
Guys nevermind... stupid moron that I am I put a hidden action in the form whích I totally (!!) forgot... All my code is fine so far, and all is working perfectly... now that bloddy thing cost me 3 DAYS of work... sometimes I wonder if I should rather sell shoes than calling myself a

[PHP] When does PHP free-up memory allocated to it?

2007-05-21 Thread Richard Davey
Hi, Quick question - does anyone know when PHP actually frees allocated memory during the process of a script? I'm using 5.2.2. For example I see the following results when profiling: Memory: 256 KB Load a 1024x768 JPEG (via GD) Memory: 4 MB Create thumbnail (via GD) Memory: 5.2 MB Destroy

Re[2]: [PHP] Confused about handling bytes

2007-05-21 Thread Tom Rogers
Hi, Monday, May 21, 2007, 3:57:56 PM, you wrote: TR Hi, TR Monday, May 21, 2007, 10:50:27 AM, you wrote: JV While I'm sure this is a stupid question and the solution will be JV obvious to everyone here, this is confusing me. JV I'm trying to control a device over a serial port using a PHP

[PHP] Timezone DB update frequency

2007-05-21 Thread Rob Desbois
I am responsible for development of a product using PHP, which is distributed as a component of the product. How often does the timezone DB (php_timezonedb.dll) actually *need* to be updated? We would be responsible for this task via product updates so need to know if the default DB shipped with

Re: [PHP] Timezone DB update frequency

2007-05-21 Thread Crayon Shin Chan
On Monday 21 May 2007 19:33, Rob Desbois wrote: How often does the timezone DB (php_timezonedb.dll) actually *need* to be updated? Whenever jurisdictions around the world change their time? -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] [Linux] PHP and SQL Server

2007-05-21 Thread David BERCOT
Hi, I'd like to connect to SQL Server (it is MSDE from SQL Server 2000) from PHP. My system is Debian. I've installed FreeTDS and some dependencies... Here is my /etc/freetds/freetds.conf : [global] # TDS protocol version tds version = 4.2 [etemptation] host = 10.21.2.203

Re: [PHP] [Linux] PHP and SQL Server

2007-05-21 Thread Mike Smith
On 5/21/07, David BERCOT [EMAIL PROTECTED] wrote: Hi Mike, Le Mon, 21 May 2007 10:24:52 -0400, Mike Smith [EMAIL PROTECTED] a écrit : David, Is MSDE running in mixed mode authentication? I believe by default it only uses Windows authentication. If you're not sure you can readup on how to

Re: [PHP] Re: Include files....

2007-05-21 Thread Jason Pruim
Hi Everyone, Thanks for the info, putting the opening and closing tags in the include file worked like a charm! Now I just need to get the SQL injection protection junk to work... Back to the web to read more! -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave

[PHP] How can i help

2007-05-21 Thread James Savage
I am a PHP web programmer with a little bit more than basic knowledge. What could i do to help with developing PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How can i help

2007-05-21 Thread Jay Blanchard
You can participate in the developers list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] When does PHP free-up memory allocated to it?

2007-05-21 Thread Richard Lynch
On Mon, May 21, 2007 4:23 am, Richard Davey wrote: Quick question - does anyone know when PHP actually frees allocated memory during the process of a script? When it can be sure that a variable is no longer needed. Specifically, when the .refcount of a zval turns to 0. I'm using 5.2.2. For

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-21 Thread Richard Lynch
On Sun, May 20, 2007 8:16 pm, [EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-21 Thread Richard Lynch
On Sun, May 20, 2007 10:43 pm, Robert Cummings wrote: On Sun, 2007-05-20 at 20:35 -0500, Greg Donald wrote: On 5/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Richard Lynch
On Mon, May 21, 2007 2:26 am, Christian Haensel wrote: Good morning friends, I have a script that collects data from a form and puts together a mysql query to search a database. Now, everything worked fine until I added a few new form fields... now the $_POST['var'] don't reach the

Re: [PHP] Marketplace Framework

2007-05-21 Thread Richard Lynch
On Sun, May 20, 2007 5:33 am, PHP Mailing List wrote: Is there any PHP's framework for developing a marketplace site ? Yes. Here is a site that will let you play with many of them: http://www.opensourcecms.com/index.php -- Some people have a gift link here. Know what I want? I want you to buy

Re: [PHP] PHP Data Mining/Data Scraping

2007-05-21 Thread Richard Lynch
On Sat, May 19, 2007 10:22 pm, Shannon Whitty wrote: I'm looking for a piece of software or coding that will let me post a form to another URL, accept the response, search it for a specific success string and then let me continue processing the rest of my program. http://php.net/curl I

Re: [PHP] Adserver programming with php

2007-05-21 Thread Richard Lynch
On Sat, May 19, 2007 7:15 pm, Merlin wrote: I am thinking about creating a kind of adserver which is customized for my needs. The odds on your needs being THAT different from the existing dozens of highly customizable adservers seems remote... Save yourself a TON of money and do more research

Re[2]: [PHP] When does PHP free-up memory allocated to it?

2007-05-21 Thread Richard Davey
Hi Richard, Tuesday, May 22, 2007, 1:24:35 AM, you wrote: I would have expected (or rather, hoped) that the memory use would have dropped down quite dramatically after destroying the image resource that was using up nearly 4MB of memory, but it didn't seem to change. How are you measuring

Re: [PHP] php5 cert

2007-05-21 Thread Richard Lynch
On Fri, May 18, 2007 4:45 pm, Greg Donald wrote: Anyone wanna share their insights into the php5 cert test? The php4 test was pretty simple for me, but that was a couple of years ago. It seems there's quite a bit of new material being covered on the php5 version. I figure with the same

Re: [PHP] php5 cert

2007-05-21 Thread Richard Lynch
On Sun, May 20, 2007 10:14 am, Danial Rahmanzadeh wrote: are volcan exams really harder than actual php5 exam as phparch asserted? I'm pretty sure after seeing Star Trek: Voyage Home, that Vulcan exams are MUCH harder than the PHP 5 exam. -- Some people have a gift link here. Know what I

Re: [PHP] Include files....

2007-05-21 Thread Richard Lynch
An include jumps back into HTML mode so you need: ?php $server = ; $username = ; . . . ? On Fri, May 18, 2007 3:05 pm, Jason Pruim wrote: Okay, Very Newbie-ish question coming! I can't figure out why my include won't work... Here's the text: index.php: ?PHP include 'defaults.php';

[PHP] Re: Uploading Files Should I use MySQL or Server for storage?

2007-05-21 Thread Al
Best of both worlds may be SQLite. ZEND has a nice article on the subject. [EMAIL PROTECTED] wrote: I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you

RE: [PHP] How can i help

2007-05-21 Thread Ligaya A. Turmelle
There are a number of ways to help depending upon what you want to do. Any help is always appreciated. An incomplete listing - http://www.khankennels.com/blog/index.php/archives/2006/08/10/25-ways-to -help-out-php/ Lig -Original Message- From: James Savage [mailto:[EMAIL PROTECTED]

[PHP] Enabling LDAP on Plesk 8

2007-05-21 Thread Sn!per
Am currently running Plesk 8.0.1 . A php script with phpinfo() will give: ... ... '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared, ... ... But am not able to locate the LDAP section that normally looks like: LDAP Supportenabled RCS Version $Id: ldap.c,v 1.130.2.11 2005/01/19

Re: [PHP] PHP MySQL Problem

2007-05-21 Thread Christian Haensel
Hi there, good morning, as posted yesterday (I guess it kind of got overlooked by the nmber of posts here), I was such a dirk that I put a hidden action in my form that redirected the test page to another (currently running) form which didn't have the changes in it. So my test page showed me