Re: [PHP] Weird MySQL+Gearman issue - SOLVED

2012-12-14 Thread FeIn
On Fri, Dec 14, 2012 at 7:41 AM, FeIn aci...@gmail.com wrote: Hi all, I have a typical web application that does some basic CRUD operations. Operations that modify the database (inserts, updates, deletes) trigger a background gearman job to refresh the cache that is used for another

[PHP] Weird Behaviour of Array

2012-03-04 Thread Ruwan Pathmalal
Hi People, I confused with weird behaviour of array. Following is my script. ?php $array = array( '12_1'=array( 56=array( 23='23', 33='33') ), '12_5'=array(

Re: [PHP] Weird Behaviour of Array

2012-03-04 Thread Ashley Sheridan
On Sun, 2012-03-04 at 20:01 +0530, Ruwan Pathmalal wrote: Hi People, I confused with weird behaviour of array. Following is my script. ?php $array = array( '12_1'=array( 56=array( 23='23', 33='33')

Re: [PHP] Weird Behaviour of Array

2012-03-04 Thread Stuart Dallas
On 4 Mar 2012, at 14:31, Ruwan Pathmalal wrote: I confused with weird behaviour of array. Following is my script. ?php $array = array( '12_1'=array( 56=array( 23='23', 33='33') ),

[PHP] Weird preg issue

2010-11-04 Thread Alex Nikitin
Hi, I'm kind of new to this list, and so if there have been discussions about this, i am not quite aware of them (i tried searching), but i ran across this issue and i figured it would be interesting enough to show you guys here: I was looking for a way to replace all the text in a string that

Re: [PHP] Weird Behavior

2010-10-21 Thread Alexander Schrijver
On Wed, Oct 20, 2010 at 07:02:49PM -0400, ad...@buskirkgraphics.com wrote: Hm I guess the little person inside, just hates the long way of doing something. My suggestion $CD = 1287583899; $q1s = 1283313600; $q1e = 1291093200; $q2s = 1291179600; $q2e = 1298869200; $q3s =

[PHP] Weird Behavior

2010-10-20 Thread Don Wieland
Little help please ;) $CD = 1287583899 $q1s = 1283313600 $q1e = 1291093200 $q2s = 1291179600 $q2e = 1298869200 $q3s = 1298955600 $q3e = 1306814400 $q4s = 1306900800 $q4e = 1314763200 Why does the following not return the value 1 in the $qCur var // Current Quarter if($CD = $q1s $CD = $q1e)

Re: [PHP] Weird Behavior

2010-10-20 Thread Daniel Brown
On Wed, Oct 20, 2010 at 10:35, Don Wieland d...@dwdataconcepts.com wrote: Little help please ;) $CD = 1287583899 $q1s = 1283313600 $q1e = 1291093200 $q2s = 1291179600 $q2e = 1298869200 $q3s = 1298955600 $q3e = 1306814400 $q4s = 1306900800 $q4e = 1314763200 Why does the following not

Re: [PHP] Weird Behavior

2010-10-20 Thread Alexander Schrijver
On Wed, Oct 20, 2010 at 07:35:26AM -0700, Don Wieland wrote: Little help please ;) $CD = 1287583899 $q1s = 1283313600 $q1e = 1291093200 $q2s = 1291179600 $q2e = 1298869200 $q3s = 1298955600 $q3e = 1306814400 $q4s = 1306900800 $q4e = 1314763200 Why does the following not return the

RE: [PHP] Weird Behavior

2010-10-20 Thread Steven Buehler
...@dwdataconcepts.com] Sent: Wednesday, October 20, 2010 9:35 AM To: php-general@lists.php.net Subject: [PHP] Weird Behavior Little help please ;) $CD = 1287583899 $q1s = 1283313600 $q1e = 1291093200 $q2s = 1291179600 $q2e = 1298869200 $q3s = 1298955600 $q3e = 1306814400 $q4s = 1306900800 $q4e

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Richard Quadling
On 15 July 2010 16:51, Leonardo leobasi...@oi.com.br wrote: Hi everybody. I need to use exec() to run a background php script, but it's not working properly. Take a look at this sample: a.php   ?   echo ' File A (1) ';   exec('php b.php output.txt ');   echo ' File A (2) ';   ?

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Jim Lucas
Leonardo wrote: Hi everybody. I need to use exec() to run a background php script, but it's not working properly. Take a look at this sample: a.php ? echo ' File A (1) '; exec('php b.php output.txt '); echo ' File A (2) '; ? b.php ? echo 'File B';

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Leonardo
Em 16/07/2010 09:09, Richard Quadling escreveu: I'm on Windows XP SP3 and using PHP 5.3.3RC3 (cli) (built: Jul 15 2010 02:00:11) Copyright (c) 1997-2010 The PHP Group All seems to work as expected. ?php // TestA.php echo ' File A (1) '; exec('C:\\php5\\php.exe -f Z:\\TestB.php

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Leonardo
Em 16/07/2010 12:18, Jim Lucas escreveu: I tried running the same script, and found that the php binary is not in my path. run this echo passthru('which php'); Also, modify your existing exec() command to the following and it will capture errors too. exec('php b.php output.txt 21');

[PHP] Weird behavior of exec()

2010-07-15 Thread Leonardo
Hi everybody. I need to use exec() to run a background php script, but it's not working properly. Take a look at this sample: a.php ? echo ' File A (1) '; exec('php b.php output.txt '); echo ' File A (2) '; ? b.php ? echo 'File B'; ? output.txt (begins with 64

[PHP] Weird while issue

2010-04-27 Thread Juan Rodriguez Monti
Hi guys, I have some issues with while. I have an HTML Form, that uses GET to process its contents. Then there's a PHP Script that receives the data, and evaluates the fields. So, in some instance of the code, I do something like : if (empty($a) AND empty($b)) { echo something; echo something;

Re: [PHP] Weird while issue

2010-04-27 Thread Peter Lind
On 27 April 2010 14:36, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote: Hi guys, I have some issues with while. I have an HTML Form, that uses GET to process its contents. Then there's a PHP Script that receives the data, and evaluates the fields. So, in some instance of the code, I

Re: [PHP] Weird while issue

2010-04-27 Thread Juan Rodriguez Monti
2010/4/27 Peter Lind peter.e.l...@gmail.com: On 27 April 2010 14:36, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote: Hi guys, I have some issues with while. I have an HTML Form, that uses GET to process its contents. Then there's a PHP Script that receives the data, and evaluates

Re: [PHP] Weird problem with is_file()

2010-04-26 Thread Peter Lind
On 25 April 2010 22:14, Michelle Konzack linux4miche...@tamay-dogan.net wrote: Hi, I have a code sniplet which does not work and I do not know why: 8--  $isfile=shell_exec(ls /tmp/tdphp-vserver/SESSION_ .

Re: [PHP] Weird problem with is_file()

2010-04-26 Thread Jan G.B.
2010/4/25 Michelle Konzack linux4miche...@tamay-dogan.net: Hi, I have a code sniplet which does not work and I do not know why: 8--  $isfile=shell_exec(ls /tmp/tdphp-vserver/SESSION_ . $_SERVER['REMOTE_ADDR'] . _ .

[PHP] Weird problem with is_file()

2010-04-25 Thread Michelle Konzack
Hi, I have a code sniplet which does not work and I do not know why: 8-- $isfile=shell_exec(ls /tmp/tdphp-vserver/SESSION_ . $_SERVER['REMOTE_ADDR'] . _ . $_COOKIE['VSERVER_AUTHUSER'] . _* |head -n1); if (is_file($isfile))

Re: [PHP] Weird problem with is_file()

2010-04-25 Thread Karl DeSaulniers
Hi Michelle, Maybe try adding an error catch to see what you get. if(is_file($isFile)) or die(mysql_error()); On Apr 25, 2010, at 3:14 PM, Michelle Konzack wrote: if (is_file($isfile)) { Karl DeSaulniers Design Drumm http://designdrumm.com -- PHP General Mailing List

Re: [PHP] Weird problem with is_file()

2010-04-25 Thread Karl DeSaulniers
Oops, my apologies. That is a PHP MySQL solution. Wrong list. Please disregard that solution. Maybe find a way to get an error response from your session to see what the problem is. Karl On Apr 25, 2010, at 3:24 PM, Karl DeSaulniers wrote: Hi Michelle, Maybe try adding an error catch to

[PHP] weird behavior: Apache mod rewrite

2010-02-26 Thread Alberto Lepe
Hello everyone, this is my first time in this mailing list. Using: PHP Version 5.2.10-2ubuntu6.4, Apache/2.2.12 I'm redirecting all the request into one file with ( .htaccess ): RewriteEngine On RewriteRule .* index.php My index code is: ?php echo $_SERVER[REDIRECT_URL]; ? In the same

Re: [PHP] weird behavior: Apache mod rewrite

2010-02-26 Thread Ashley Sheridan
On Fri, 2010-02-26 at 18:39 +0900, Alberto Lepe wrote: Hello everyone, this is my first time in this mailing list. Using: PHP Version 5.2.10-2ubuntu6.4, Apache/2.2.12 I'm redirecting all the request into one file with ( .htaccess ): RewriteEngine On RewriteRule .* index.php My index

Re: [PHP] Weird Array Issue...

2010-01-23 Thread Jochem Maas
Op 1/23/10 3:28 AM, Don Wieland schreef: Hi, I have defined a stored procedure in my mySQL DB and when I call the procedure in my mySQL browser it returns the CORRECT results: DROP PROCEDURE IF EXISTS `Get_OHC_Years`; DELIMITER $$ CREATE definer=`do...@`` PROCEDURE `Get_OHC_Years`()

[PHP] Weird Array Issue...

2010-01-22 Thread Don Wieland
Hi, I have defined a stored procedure in my mySQL DB and when I call the procedure in my mySQL browser it returns the CORRECT results: DROP PROCEDURE IF EXISTS `Get_OHC_Years`; DELIMITER $$ CREATE definer=`do...@`` PROCEDURE `Get_OHC_Years`() BEGIN SELECT (YEAR(ohc_Date)) as ohc_year FROM

[PHP] weird xml tag

2010-01-14 Thread Devendra Jadhav
Hi All, I am writing module to display recent Wordpress blog posts in drupal. I am taking RSS feeds of blog. I am using simple xml library of PHP to parse xml. Now the problem is I get weird tag in XML. dc:creatorJason Bourne/dc:creator when i convert this xml into object by using

Re: [PHP] weird xml tag

2010-01-14 Thread Ashley Sheridan
On Thu, 2010-01-14 at 18:00 +0530, Devendra Jadhav wrote: Hi All, I am writing module to display recent Wordpress blog posts in drupal. I am taking RSS feeds of blog. I am using simple xml library of PHP to parse xml. Now the problem is I get weird tag in XML. dc:creatorJason

Re: [PHP] weird xml tag

2010-01-14 Thread Devendra Jadhav
Hi Ashley, Thank you very much for your help. simplexml handles namespace. here is the link for reference http://www.sitepoint.com/blogs/2005/10/20/simplexml-and-namespaces/ I am very happy. Thank you very much again. :D On Thu, Jan 14, 2010 at 6:06 PM, Ashley Sheridan

[PHP] Weird compile error

2009-11-30 Thread The Doctor
Has anyone seen this? Script started on Mon Nov 30 11:30:16 2009 doctor.nl2k.ab.ca//usr/source/php-5.3.1$ make libs/libphp5.bundle gcc -I/usr/include -g -g -O0 -Wall -avoid-version -module -L/usr/contrib/lib -L/usr/contrib//lib -L/usr/X11R6/lib -L/usr/contrib/lib/mysql

[PHP] Weird domain seting in setcookie()

2009-07-14 Thread Michelle Konzack
Hello, on two websites I have encountered that cookies are not working properly and are accesibel from other subdomains which I do not want. The line is: setcookie('AdminOnCrack', $drug, $timeout, '/', $_SERVER['HTTP_HOST']); but the domain is always prefixed with a .. OK, now I have tested

RE: [PHP] Weird domain seting in setcookie()

2009-07-14 Thread Bob McConnell
From: Michelle Konzack on two websites I have encountered that cookies are not working properly and are accesibel from other subdomains which I do not want. The line is: setcookie('AdminOnCrack', $drug, $timeout, '/', $_SERVER['HTTP_HOST']); but the domain is always prefixed with a ..

Re: [PHP] Weird domain seting in setcookie()

2009-07-14 Thread Michelle Konzack
Hi Bob, Am 2009-07-14 11:46:16, schrieb Bob McConnell: In Firefox 3.0 under Tools-Options-Privacy, uncheck Accept third-party cookies. What has this to do with the Webbrowser? In the PHP manual it is written: [ url 'http://de.php.net/manual/en/function.setcookie.php' ] snip

Re: [PHP] Weird domain seting in setcookie()

2009-07-14 Thread Lists
Michelle Konzack wrote: [snip] so, I have set the the domain explicit to myspace.tdwave.net which should register the cookie as it is according to the PHP manual or not? Thanks, Greetings and nice Day/Evening Michelle Konzack the above will still make the cookie available to:

Re: [PHP] Weird problem with T_gettext()

2009-04-04 Thread Per Jessen
Michelle Konzack wrote: Now selecting de as prefered language is working, but if I select de_DE in Firefox, the second term About Us is something like Über Uns insteed Über Uns because the Website is UTF-8. Indeed. I'll venture a guess and say it's because your dictionary file

[PHP] Weird problem with T_gettext()

2009-04-03 Thread Michelle Konzack
Hello, I need some help from german coders since I have a weird encoding problem. Currently I am coding the new website http://www.tdwave.net/ and if I do not select any languages in my Webbrowser, it show correctly english in the Siteindex (topmost block). Now selecting de as prefered

[PHP] Weird spam messages on the list... [WAS: Stop Being a Wage Slave! Join EarnGoogleCash Program!]

2009-02-27 Thread Michelle Konzack
Hello *, This list is subscribers only, and HOW can it be, that a Spamme can use a Debian mailinglist to spam php-general. AFAIK it is not possibel for a mailinglist to subscribe itself to anoter mailinglist. I think, the listadmins from list.php.net should blacklist

Re: [PHP] Weird spam messages on the list... [WAS: Stop Being a Wage Slave! Join EarnGoogleCash Program!]

2009-02-27 Thread Paul M Foster
On Fri, Feb 27, 2009 at 12:35:25PM +0100, Michelle Konzack wrote: Hello *, This list is subscribers only, and HOW can it be, that a Spamme can use a Debian mailinglist to spam php-general. AFAIK it is not possibel for a mailinglist to subscribe itself to anoter mailinglist. I

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-02 Thread clive
If your using firefox, are you sure its not some addon, does this URL appear in the HTML source? Clive Terion Miller wrote: I noticed yesterday that sometimes I was seeing a strange url passing at the bottom of the browser when clicking around my site I'm working on while watching the page

[PHP] Weird url passing what does it mean, am I hacked?

2009-02-01 Thread Terion Miller
I noticed yesterday that sometimes I was seeing a strange url passing at the bottom of the browser when clicking around my site I'm working on while watching the page loads, its calling to mouserunner.com and I went to the site and it is a bunch of links, my site is on a private server for a large

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-01 Thread Ashley Sheridan
On Sun, 2009-02-01 at 10:10 -0600, Terion Miller wrote: I noticed yesterday that sometimes I was seeing a strange url passing at the bottom of the browser when clicking around my site I'm working on while watching the page loads, its calling to mouserunner.com and I went to the site and it is

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-01 Thread Ashley Sheridan
On Sun, 2009-02-01 at 11:01 -0600, Terion Miller wrote: On Sun, Feb 1, 2009 at 10:57 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2009-02-01 at 10:10 -0600, Terion Miller wrote: I noticed yesterday that sometimes I was seeing a strange

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-01 Thread Terion Miller
On Sun, Feb 1, 2009 at 11:17 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sun, 2009-02-01 at 11:01 -0600, Terion Miller wrote: On Sun, Feb 1, 2009 at 10:57 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2009-02-01 at 10:10 -0600, Terion Miller wrote:

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-01 Thread Ashley Sheridan
On Sun, 2009-02-01 at 13:42 -0600, Terion Miller wrote: On Sun, Feb 1, 2009 at 11:17 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sun, 2009-02-01 at 11:01 -0600, Terion Miller wrote: On Sun, Feb 1, 2009 at 10:57 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote:

Re: [PHP] Weird url passing what does it mean, am I hacked?

2009-02-01 Thread Michael Kubler
Maybe you can use Firebug http://getfirebug.com/, or the Web Developer https://addons.mozilla.org/en-US/firefox/addon/60 plugins for Firefox? Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Ashley Sheridan wrote: On Sun, 2009-02-01 at 13:42 -0600, Terion Miller

[PHP] Weird problem while reading in a file to an Array

2009-01-29 Thread Michelle Konzack
Hello, currently I am coding a RSS feeder for the Emdebian buildd-log and for testing I use two files: http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log http://www.emdebian.org/buildd/b/base-passwd/trunk/base-passwd-arm-1221459903.log and if you look into those Build-Logs, the

Re: [PHP] weird curl problem

2009-01-08 Thread Rene Veerman
Unfortunately neither ping or traceroute is installed on the shared hoster, can't call 'm.. Nathan Nobbe wrote: On Wed, Jan 7, 2009 at 11:21 AM, Rene Veerman rene7...@gmail.com mailto:rene7...@gmail.com wrote: Hi.. I have created a setup between my shared hoster and my home debian

[PHP] weird curl problem

2009-01-07 Thread Rene Veerman
Hi.. I have created a setup between my shared hoster and my home debian box, where the shared hosting accepts video uploads, and forwards them to the home server for video-conversion (which isn't allowed on shared hosting). In order to kick off the import process, I need the shared hoster to

Re: [PHP] weird curl problem

2009-01-07 Thread Nathan Nobbe
On Wed, Jan 7, 2009 at 11:21 AM, Rene Veerman rene7...@gmail.com wrote: Hi.. I have created a setup between my shared hoster and my home debian box, where the shared hosting accepts video uploads, and forwards them to the home server for video-conversion (which isn't allowed on shared

Re: [PHP] Weird pdo-mysql behavior

2008-11-14 Thread Martijn Korse
I agree, add some checks in your testcase so you can track exactly what is happening and see of what type your variables are. Also, try what happens when you - switch off persistent-connections (PDO::ATTR_PERSISTENT= false) - pass the object by reference (getClientFullName($id,$dbh)) -

Re: [PHP] Weird pdo-mysql behavior

2008-11-14 Thread Thodoris
I agree, add some checks in your testcase so you can track exactly what is happening and see of what type your variables are. Also, try what happens when you - switch off persistent-connections (PDO::ATTR_PERSISTENT= false) Tried that using both ways because I saw a similar error in

Re: [PHP] Weird pdo-mysql behavior

2008-11-14 Thread Thodoris
Perhaps when you try to make the connection you should check the return value and use whatever PDO error-checking methods exist to find out what went wrong, instead of blindly going forward assuming you have a database connection when you don't. As a said before I have dumped the hander

Re: [PHP] Weird Syntax Error

2008-11-14 Thread Thodoris
-Original Message- From: Edgar da Silva (Fly2k) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 9:39 AM To: Kyle Terry Cc: PHP General Mailing List Subject: Re: [PHP] Weird Syntax Error Try: $insert = INSERT INTO release_file_upload (upl_file_name, upl_file_type

RE: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread Arno Kuhl
Suppose I have two tables Contracts and Clients that are connected using ClientId field. This is a stripped sample code that doesn't work: ?php function getClientFullName($id,$dbh){ $query = SELECT * FROM Clients WHERE Id=.$id; $sthr = $dbh-query($query); $res =

Re: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread Martijn Korse
What do you mean with 'stops working'? Also, have you created a test-script that only contains (what you think is) the core-problem? If so, can you paste it here? And if not, i advise you to make one, so you can exclude that other factors play a role here. Thodoris wrote: Hi list, I am

[PHP] Weird pdo-mysql behavior

2008-11-13 Thread Thodoris
Hi list, I am developing something using PDO and I've noticed something weird that I want to share with you. I am creating a database handler in a script and I pass the handler to many functions I use in order to avoid creating a new connection into the function itself. Although this works

Re: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread Thodoris
What do you mean with 'stops working'? Also, have you created a test-script that only contains (what you think is) the core-problem? If so, can you paste it here? And if not, i advise you to make one, so you can exclude that other factors play a role here. Thodoris wrote: Hi list, I

[PHP] Weird Syntax Error

2008-11-13 Thread Kyle Terry
I keep getting this syntax error on the following string... syntax error unexpected T_ENCAPSED_AND_WHITESPACE expecting T_STRING or T_VARIABLE or T_NUM_STRING $insert = INSERT INTO release_file_upload (upl_file_name, upl_file_type, upl_file_size, upl_date, upl_by, upl_path, release_id) VALUES

Re: [PHP] Weird Syntax Error

2008-11-13 Thread Stut
On 13 Nov 2008, at 15:28, Kyle Terry wrote: I keep getting this syntax error on the following string... syntax error unexpected T_ENCAPSED_AND_WHITESPACE expecting T_STRING or T_VARIABLE or T_NUM_STRING $insert = INSERT INTO release_file_upload (upl_file_name, upl_file_type,

Re: [PHP] Weird Syntax Error

2008-11-13 Thread Michael Kubler
Hi Kyle, The line looks fine in my text editor (SciTE). Have you checked the line above it is properly enclosed and ended? Michael Kubler *G*rey *P*hoenix *P*roductions http://www.greyphoenix.biz Kyle Terry wrote: I keep getting this syntax error on the following string... syntax error

Re: [PHP] Weird Syntax Error

2008-11-13 Thread Edgar da Silva (Fly2k)
Try: $insert = INSERT INTO release_file_upload (upl_file_name, upl_file_type, upl_file_size, upl_date, upl_by, upl_path, release_id) VALUES ('$filename', '{$_SESSION['upload']['type']}', '{$_SESSION['upload']['size']}', now(), '$username', '$path', '$release_id'); 2008/11/13 Kyle Terry [EMAIL

RE: [PHP] Weird Syntax Error

2008-11-13 Thread Boyd, Todd M.
-Original Message- From: Edgar da Silva (Fly2k) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 9:39 AM To: Kyle Terry Cc: PHP General Mailing List Subject: Re: [PHP] Weird Syntax Error Try: $insert = INSERT INTO release_file_upload (upl_file_name, upl_file_type

Re: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread Thodoris
Hi Theodoris First place I'd look is to see if the sql query was successful. If it failed you'll get this error. You can try a simple test $sth = $dbh-query($sql); if ($sth == FALSE) { print failed; exit; } Arno Thanks for the advice but the script works in one of

RE: [PHP] Weird pdo-mysql behavior

2008-11-13 Thread ceo
Perhaps when you try to make the connection you should check the return value and use whatever PDO error-checking methods exist to find out what went wrong, instead of blindly going forward assuming you have a database connection when you don't. Ditto for any result of -query() What you

[PHP] Weird problem with HTML form and $_POST

2008-11-05 Thread Michelle Konzack
Hello, I am generating a HTML form from a database and it looks (CSS striped) like: 8-- form method=POST href=/ input class=setupProjectAddSubmit type=submit value=Remove input class=setupProjectAddSubmit type=submit

Re: [PHP] Weird problem with HTML form and $_POST

2008-11-05 Thread Oscar Gosdinski
On Wed, Nov 5, 2008 at 8:47 AM, Oscar Gosdinski [EMAIL PROTECTED] wrote: Name the select tag as sub_projects[], then in PHP you can read the $sub_project variable as an array. Oops, my error... you have to use the $_POST['sub_projects'] variable as an array. -- Saludos Oscar -- PHP General

Re: [PHP] Weird problem with HTML form and $_POST

2008-11-05 Thread Oscar Gosdinski
On Sat, Nov 1, 2008 at 6:20 PM, Michelle Konzack [EMAIL PROTECTED] wrote: select class=setupProjectAddSelect name=sub_projects multiple=multiple size=10 option value=6 selectedATX 120/option option value=4ATX 60/option option value=5ATX 90/option option

Re: [PHP] Weird issue with PHP5

2008-07-24 Thread Nathan Nobbe
On Wed, Jul 23, 2008 at 11:43 PM, [EMAIL PROTECTED] wrote: thats a decent bit of code to pick through, jeff. glancing at index.txt, the code looks pretty straight forward, and by that i mean that it doesnt look like theres anything that shouldnt work in php5. if i were to guess, i

Re: [PHP] Weird issue with PHP5

2008-07-24 Thread Nathan Nobbe
On Thu, Jul 24, 2008 at 12:07 AM, Nathan Nobbe [EMAIL PROTECTED]wrote: On Wed, Jul 23, 2008 at 11:43 PM, [EMAIL PROTECTED] wrote: thats a decent bit of code to pick through, jeff. glancing at index.txt, the code looks pretty straight forward, and by that i mean that it doesnt look

[PHP] Weird issue with PHP5

2008-07-23 Thread jeff . mills
I have a module originally written for PHP-Nuke that I have ported to CPG-Nuke/DragonFlyCMS. In PHP4, the page I'm displaying works fine. In PHP5, it doesn't. The following link is a screenshot of the page using PHP4: http://nukeleaguedf.winsto.net/working-php4.jpg And a screenshot from PHP5:

Re: [PHP] Weird issue with PHP5

2008-07-23 Thread Nathan Nobbe
On Wed, Jul 23, 2008 at 10:45 PM, [EMAIL PROTECTED] wrote: I have a module originally written for PHP-Nuke that I have ported to CPG-Nuke/DragonFlyCMS. In PHP4, the page I'm displaying works fine. In PHP5, it doesn't. The following link is a screenshot of the page using PHP4:

Re: [PHP] Weird issue with PHP5

2008-07-23 Thread jeff . mills
thats a decent bit of code to pick through, jeff. glancing at index.txt, the code looks pretty straight forward, and by that i mean that it doesnt look like theres anything that shouldnt work in php5. if i were to guess, i would suspect an environmental issue. you should ensure that all

[PHP] Weird update problem..

2008-05-25 Thread Ryan S
This is really weird... i have tried the same exact code in phpmyadmin and it works like a charm, but when i run the script... no errors then i go to phpmyadmin and nothing has changed :( this is the code:

Re: [PHP] Weird update problem..

2008-05-25 Thread Chris
Ryan S wrote: This is really weird... i have tried the same exact code in phpmyadmin and it works like a charm, but when i run the script... no errors then i go to phpmyadmin and nothing has changed :( this is the code:

Re: [PHP] Weird update problem..

2008-05-25 Thread Ryan S
clip $result = mysql_query($sql_1); You're running the wrong query. You're building a query in $update_sql but running something else. /clip DUH!!! Thats what you get for being up all night i guess! Time to hit the sack... pulled an all nighter and its 7:24am now Some of the comments here:

Re: [PHP] Weird Zend IDE Issue

2008-03-04 Thread Richard Lynch
On Mon, March 3, 2008 10:49 am, Jochem Maas wrote: Richard Lynch schreef: On Sun, March 2, 2008 11:07 pm, Steve Finkelstein wrote: Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Jochem Maas
Steve Finkelstein schreef: Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all left brackets, (eg: [ ) are not showing up in the code

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Steve Finkelstein
I've tried both restarting the IDE and changing font type + size in my preferences however this does not seem to render any effect on the code editor. Mind if I ask where you are changing the font so that we are on the same page? Thanks, /sf On 3/3/08, Jochem Maas [EMAIL PROTECTED] wrote:

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Jochem Maas
Steve Finkelstein schreef: I've tried both restarting the IDE and changing font type + size in my preferences however this does not seem to render any effect on the code editor. Mind if I ask where you are changing the font so that we are on the same page? Tools Preferences Colors Fonts ::

Re: [PHP] Weird Results from Curl

2008-03-03 Thread Richard Lynch
On Fri, February 29, 2008 3:20 pm, Wolf wrote: I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo HR.gettype ($result); Of course that's not all the code, but the results contain: - 0 11 0 1

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Richard Lynch
On Sun, March 2, 2008 11:07 pm, Steve Finkelstein wrote: Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all left brackets, (eg: [ )

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Jochem Maas
Richard Lynch schreef: On Sun, March 2, 2008 11:07 pm, Steve Finkelstein wrote: Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all left

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Samuel Vogel
Richard Lynch schrieb: On Sun, March 2, 2008 11:07 pm, Steve Finkelstein wrote: Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Steve Finkelstein
Samy is correct. I'm able to replicate this on 3 different monitors. Also, as far as changing the Editor Font and Size in the IDE -- I need to figure out what's setting this to a read-only property. I can't change the Editor Font or size at this point in time. /sf On 3/3/08, Samuel Vogel [EMAIL

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Sancar Saran
On Monday 03 March 2008 07:07:18 Steve Finkelstein wrote: Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all left brackets, (eg: [ )

Re: [PHP] Weird Zend IDE Issue

2008-03-03 Thread Steve Finkelstein
It required creating my own 'Custom Profile' which allowed me to manipulate the Font and/or Size. As soon as I modified those, it worked fine. Thanks for the assistance all. Pain in the butt issue! /sf On 3/3/08, Sancar Saran [EMAIL PROTECTED] wrote: On Monday 03 March 2008 07:07:18 Steve

[PHP] Weird Zend IDE Issue

2008-03-02 Thread Steve Finkelstein
Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all left brackets, (eg: [ ) are not showing up in the code editor. I have a screenshot of

Re: [PHP] Weird Zend IDE Issue

2008-03-02 Thread Bojan Tesanovic
Did you try to restart Zend studio, I am using same setup as you are except that my zend is 5.5.0 I never had problem with [ . though sometimes editor goes crazy and (doesnt show all lines or hides some characters at end of line ) but restarting Zend solves the problem, if this issues

Re: [PHP] Weird Results from Curl

2008-02-29 Thread Wolf
Ray Hauge [EMAIL PROTECTED] wrote: Wolf wrote: I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo HR.gettype ($result); Of course that's not all the code, but the results contain:

Re: [PHP] Weird Results from Curl

2008-02-29 Thread Ray Hauge
Wolf wrote: Ray Hauge [EMAIL PROTECTED] wrote: Wolf wrote: I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo HR.gettype ($result); Of course that's not all the code, but the results contain:

[PHP] Weird Results from Curl

2008-02-29 Thread Wolf
I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo HR.gettype ($result); Of course that's not all the code, but the results contain: - 0 11 0 1 1 1 1 11 5 An Error Has Occurred During Processing.

Re: [PHP] Weird Results from Curl

2008-02-29 Thread Wolf
Ray Hauge [EMAIL PROTECTED] wrote: Wolf wrote: Ray Hauge [EMAIL PROTECTED] wrote: Wolf wrote: I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo HR.gettype ($result); Of

Re: [PHP] Weird Results from Curl

2008-02-29 Thread Ray Hauge
Wolf wrote: I'm curling a site to process some data, all well and good but the results are baffling... $result = curl_exec($ch); curl_close($ch); echo HR.gettype ($result); Of course that's not all the code, but the results contain: - 0 11 0 1 1 1 1 11 5 An Error Has Occurred During

[PHP] Weird mystery error

2007-10-13 Thread Nathan Hawks
Hey all, I wrote a symfony app this week for a client, and I'm trying to install it on their server today. I am getting a Fatal that I can only assume is either an Apache 1.3.37 bug, or a PHP 5.2.4 bug. It's madness. PHP is reporting an undefined function, but it's undefined because it's only

Re: [PHP] Weird mystery error

2007-10-13 Thread Nathan Nobbe
are there any php extensions your code requires that arent on the production system? have you checked the php.ini settings on the new host to ensure theyre the same as your test box? that would be a good idea no matter what, and you might turn something up regarding your problem. can you run the

Re: [PHP] Weird mystery error

2007-10-13 Thread Nathan Hawks
I don't use lists regularly, sorry for the double-reply to Nathan. Sadly: - no ssh on the client box - can't 100% mimic because I have a different Apache However, I did use symfony freeze to move all the Pear modules etc that it needs, into the local site. An additional clue might be: the

Re: [PHP] Weird mystery error

2007-10-13 Thread Nathan Nobbe
On 10/13/07, Nathan Hawks [EMAIL PROTECTED] wrote: Ps: I have 4 other apps installed in this project and they all work fine :\ Believe me, in a file as short as a symfony front controller, and after checking about 40 times, I'm pretty sure the file is OK :) is this the first symphony app

Re: [PHP] Weird mystery error

2007-10-13 Thread Nathan Hawks
I think I misunderstood the question. All 5 apps in the project are installed on their server, and all working at 99-100% except this one. (can't be sure the rest is bug free because this is my white whale at the moment) On Sat, 2007-10-13 at 13:13 -0400, Nathan Nobbe wrote: On 10/13/07, Nathan

Re: [PHP] Weird mystery error

2007-10-13 Thread Nathan Nobbe
On 10/13/07, Nathan Hawks [EMAIL PROTECTED] wrote: I think I misunderstood the question. All 5 apps in the project are installed on their server, and all working at 99-100% except this one. (can't be sure the rest is bug free because this is my white whale at the moment) are the 5 apps all

  1   2   3   4   5   >