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

2012-12-14 Thread FeIn
On Fri, Dec 14, 2012 at 7:41 AM, FeIn 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 application. The pr

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. > > $array = array( >'12_1'=>array( >56=>array( >23=>'23', >33=>'33') >)

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. > > $array = array( > '12_1'=>array( > 56=>array( > 23=>'23', > 33=>'

[PHP] Weird Behaviour of Array

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

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

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

RE: [PHP] Weird Behavior

2010-10-20 Thread admin
@dwdataconcepts.com] Sent: Wednesday, October 20, 2010 10: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

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

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

Re: [PHP] Weird Behavior

2010-10-20 Thread Daniel Brown
On Wed, Oct 20, 2010 at 10:35, 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 v

[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 <= $q

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 2>&1&'); A

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. Z:\\output.txt'); echo ' File A (2) '; ?> And because of my setup matching the docs at [1]

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

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Richard Quadling
On 15 July 2010 16:51, 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 >  

[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 output.txt &'); echo ' File A (2) '; ?> b.php output.txt (begins with 64 null bytes before the following) File A (2) I would expect the outpu

Re: [PHP] Weird while issue

2010-04-27 Thread Juan Rodriguez Monti
2010/4/27 Peter Lind : > On 27 April 2010 14:36, Juan Rodriguez Monti > 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

Re: [PHP] Weird while issue

2010-04-27 Thread Peter Lind
On 27 April 2010 14:36, Juan Rodriguez Monti 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 do something like :

[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 "somethin

Re: [PHP] Weird problem with is_file()

2010-04-26 Thread Jan G.B.
2010/4/25 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

Re: [PHP] Weird problem with is_file()

2010-04-26 Thread Peter Lind
On 25 April 2010 22:14, Michelle Konzack 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_" . > $_SERVER['REMOTE_ADDR'] . "_" . $_COOK

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 se

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

[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($is

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

[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: In the same directory I just have other file besides in

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 O

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 wrote: > On Thu, 2010-01-1

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. > Jason Bourne > when i

[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. Jason Bourne when i convert this xml into object by using simplexml_load_string I am not gettin

[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 -L/usr/contrib/pgsql/

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: > foo

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

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

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

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 di

[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 and if I do not select any languages in my Webbrowser, it show correctly english in the "Siteindex" (topmost block). Now selecting "de" as prefe

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 . AFAIK it is not possibel > for a mailinglist to subscribe itself to anoter mailinglist. > > I think, th

[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 . AFAIK it is not possibel for a mailinglist to subscribe itself to anoter mailinglist. I think, the listadmins from should blacklist . Thanks, Greetings and nice Day/E

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 loa

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

2009-02-01 Thread Michael Kubler
Maybe you can use Firebug , or the Web Developer plugins for Firefox? Michael Kubler *G*rey *P*hoenix *P*roductions Ashley Sheridan wrote: On Sun, 2009-02-01 at 13:42 -0600, Terion Miller

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 > wrote: > > > On Sun, 2009-02-01 at 11:01 -0600, Terion Miller wrote: > > > > > > > > > On Sun, Feb 1, 2009 at 10:57 AM, Ashley Sheridan > > > wrote: > > > > > > On Sun, 2009-02-01

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 wrote: > On Sun, 2009-02-01 at 11:01 -0600, Terion Miller wrote: > > > > > > On Sun, Feb 1, 2009 at 10:57 AM, Ashley Sheridan > > wrote: > > > > On Sun, 2009-02-01 at 10:10 -0600, Terion Miller wrote: > > > I noticed yesterday that

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 > wrote: > > 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

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

[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

[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: and if you look into those Build-Logs,

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 > wrote: Hi.. I have created a setup between my shared hoster and my home debian box, where th

Re: [PHP] weird curl problem

2009-01-07 Thread Nathan Nobbe
On Wed, Jan 7, 2009 at 11:21 AM, Rene Veerman 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 hosting). > > In ord

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

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

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)) - htt

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

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

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 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 Kyle Terry wrote: I keep getting this syntax error on the following string... syntax error une

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, upl_file_size

[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 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: query($query); $res = $sthr->fetch(PDO::FETCH_ASSOC); return $res['Name']; } try { $dbh = new PDO('mysql:host=localhost;port=3306;dbname

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 a

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

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

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: > multiple="multiple" size="10"> > ATX 120 > ATX 60 > ATX 90 > Device 2 > Device 4 > Lowvoltage > P4 Module > SATA 2 > SATA 4 > SATA 8 > > > Hell, why is $

[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<-- Fuzzy ATX 120 ATX 60 ATX 90 Device 2 Device 4 Lowvoltage

Re: [PHP] Weird issue with PHP5

2008-07-23 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 i

Re: [PHP] Weird issue with PHP5

2008-07-23 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

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 tha

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: > h

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

Re: [PHP] Weird update problem..

2008-05-25 Thread Ryan S
> $result = mysql_query($sql_1); You're running the wrong query. You're building a query in "$update_sql" but running something else. 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: >http:

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

[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: $how_many_to_

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

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 Fi

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

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 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 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 "".gettype ($result); > > Of course that's not all the code, but the results contain: > - > 0

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 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: 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 edit

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 conti

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

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 "

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 "".gettype ($result); Of course that's not all the code, but the results contain: -

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 "".gettype ($result); > > > > Of course that's not all the code, but the re

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 "".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 Pr

[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 "".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. Erro

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 ap

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

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

  1   2   3   4   5   >