Re: [PHP] Mysqli Extension

2013-08-19 Thread Daniel P. Brown
On Aug 19, 2013 2:32 PM, "Ethan Rosenberg" wrote: > > Dear List - > > My mysqli extension seems to have gone away. > (REACTED) Remember: avoid putting passwords - especially for root users - on a public mailing list, which is also permanently archived. > echo "hello2"; > var_dump(function_ex

Re: [PHP] Session Vars not staying active

2013-08-03 Thread Daniel P. Brown
On Aug 3, 2013 3:03 PM, "dealTek" wrote: > > Hi all, > > > I am having trouble with session vars. > > I'm trying to implement the credit card direct pay method outlined here... > > http://developer.authorize.net/api/dpm/ > > - Basically, page 1 is my form that goes outside my site to the cc gatewa

[PHP] ZF developers in Spain

2013-06-12 Thread Jason P.
Hi people! I'm doing a personal research of Spanish freelancers and agencies that use ZF in his projects, version 2 preferably. My summer purpose is to learn the basics of the new framework and I would like to find people using it to simply interchange knowledge or job opportunities ;) T

[PHP] Re: debugging remote PHP code in eclipse

2013-06-12 Thread Jason P.
I haven't tested yet but I've found yesterday some good tips that maybe could work. 1) Xdebug wizard. Simple paste there the output of phpinfo() and follow the steps. http://xdebug.org/wizard.php If you find problems with phpize, remember to run it inside the inner xdebug folder. 2) Go

Re: [PHP] Sorry bout that...

2012-12-21 Thread Fatih P.
yah. we were just talking about that here too. On Fri, Dec 21, 2012 at 8:22 AM, Steven Staples wrote: > I would like to let everyone know that the world didn't end this morning > like it was supposed too. > > > > Sorry, carry on about your business. > > > > And HAPPY FRIDAY!!! > > > > Steven Sta

Re: [PHP] PDO question

2012-11-28 Thread Fatih P.
On Wed, Nov 28, 2012 at 9:22 PM, Jim Lucas wrote: > On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wrote: > >> >> Guys, >> I am not quiet sure what is happening but every time i try to connect to a >> remote host it refers back to localhost. >> >> $pdo = new PDO('mysql:host=171.16.23.44;**dbna

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Daniel P. Brown
On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford wrote: > The value of date.timezone in php.ini is set to "America/Los_Angeles". > > The local time is 11:02 a.m. Yet the output of date("h:i a e") is: > > 02:02 pm America/Los_Angeles > > which is three hours ahead of the real time. > > Why is t

[PHP] Re: A Question of SESSION

2012-06-07 Thread Daniel P. Brown
On Thu, Jun 7, 2012 at 11:20 AM, Daniel P. Brown wrote: > On Thu, Jun 7, 2012 at 11:15 AM, Tedd Sperling wrote: >> >> 3. Looking for an explanation, I came across Daniel's post to the PHP >> manual, which follows: >> >> http://www.webbytedd.com/b/sessions3

[PHP] Re: A Question of SESSION

2012-06-07 Thread Daniel P. Brown
On Thu, Jun 7, 2012 at 11:15 AM, Tedd Sperling wrote: > > 3. Looking for an explanation, I came across Daniel's post to the PHP manual, > which follows: > > http://www.webbytedd.com/b/sessions3 > > Now I am totally bonkers. > > What am I not getting? Anything

Re: [PHP] cyberweaponry

2012-06-03 Thread Daniel P. Brown
On Jun 3, 2012 12:05 PM, "Tedd Sperling" wrote: > > On May 31, 2012, at 7:45 PM, Ross McKay wrote: > > >> He said that this was unusual because typically such viruses are > >> written in languages like Ruby-on-Rails and such. > > > > Um, really? I very much doubt that. AFAIK, most true viruses are

Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 11:44 PM, Alexis wrote: > If I insert the full stop after the \n then the output stops just before > the fullstop. > > Currently I have \r\n \r\n > That is a space between the two sets of \r\n's. I tried it without any > spaces and still got the same result. > > Would it

Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 9:26 PM, Alexis wrote: > I am hitting my head over a problem with Mime Mail...which i am hoping > some kind some can help me out on please > > The email is sent out fine and when viewing the source, appears to be > fine, however neither the body of the email, nor the attac

Re: [PHP] Variables are empty only in fwrite

2012-03-15 Thread Daniel P. Brown
On Thu, Mar 15, 2012 at 11:30, Larry wrote: > Hello, when I pass a variable whose value originally came from $_GET > or $_REQUEST to fwrite, fwrite behaves as if it was passed an empty > string. Note that the file is successfully opened and written to by > the script, but the variable that origina

Re: [PHP] time/task reporting

2012-03-01 Thread Fatih P.
On Thu, Mar 1, 2012 at 10:43 AM, Robert Nilsson wrote: > Hi, > Ok, I admit -I'm lazy! > Been asked to make a reporting tool, what and how many hours spent on > Possible with a save option, to enable continuously adding during the > week, before sending off by mail to manager and one self. > >

Re: [PHP] Apache 2.4.1 and php?

2012-02-24 Thread Fatih P.
On Fri, Feb 24, 2012 at 3:58 AM, Daniel Fenn wrote: > Hi, > > Just a quick question, will I be able to run Apache 2.4.1 and php > 5.3.10 together? Or will I need to wait for php to be updated? I'm > setting this up on CentOs 6.2 > > Regards, > Daniel Fenn > > -- > PHP General Mailing List (http:/

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Fatih P.
So, to use my existing function, how do I get the following array to look > like the above one: > > > Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array > ( [cb] => 1 ) ) > > > --Rick > > > > On Feb 23, 2012, at 2:08 PM

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Fatih P.
On Thu, Feb 23, 2012 at 8:49 PM, Rick Dwyer wrote: > Hello all. > > I perform a SQL query like the following: > > $sql = 'select * from my_table where id="10" > > It returns the the following array for 3 records: > > > Array ( [0] => Array ( [cb] => 2 ) [1] => Array ( [cb] => 6 ) [2] => Array > (

Re: [PHP] Test

2012-02-20 Thread Fatih P.
On Mon, Feb 20, 2012 at 8:57 PM, Jay Blanchard < jay.blanch...@sigmaphinothing.org> wrote: > Does this work? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > it works

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
well then fix it. i m not using editor.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
;dir') > shows me files of C:\Program Files\GAMS23.7 > then it shoud run the command gams.exe transport.gms without giving > pathfiles > > what's wrong here? > what reason is here for setting path files? > > > On Fri, Feb 17, 2012 at 5:06 PM, Fatih P. wrote:

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
ERRORNULL maybe program Files which has space should have something like \ which I don't know ha? or because of Null It is correct? means false.. it cannot find the path. you have problem with path.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
On Fri, Feb 17, 2012 at 2:19 PM, Stuart Dallas wrote: > On 17 Feb 2012, at 12:12, Negin Nickparsa wrote: > > if (($out = system(' "C:/Program Files/GAMS23.7/gams.exe "C:/Program > > Files/GAMS23.7/trnsport_php.gms')) !== FALSE) > > { > > print('Not error!'); > > printf('Output is "%s"', $out); >

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
replace \ in path with / then should work fine on windows too.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
give the full path of trnsport_php.gms too. shell_exec should be working fine on windows as well.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
On Fri, Feb 17, 2012 at 1:26 PM, Negin Nickparsa wrote: > I have a Gams application< > http://interfaces.gams-software.com/doku.php?id=env%3aspawning_gams_from_php > > > which I want to run it through php code after trying many things finally I > found that for running in commmand line I should g

Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Fatih P.
mostly MVC, Singleton and Factory. depends on requirements.

Re: [PHP] Re: ArrayInterator always true

2012-01-28 Thread Fatih P.
2012/1/28 Mihai Anghel If you enable notices you will see that PHP outputs this : Notice: ArrayIterator::next(): Array was modified outside object and internal position is no longer valid.This line seems to be the problem //Test if next stream is an option for ( $iterator->next(); $iterator->vali

Re: [PHP] php sendmail_from

2012-01-09 Thread Fatih P
On Mon, 2012-01-09 at 13:53 -0500, alexus wrote: > I need to change sendmail from field, I added following to my .htaccess: > > php_value sendmail_from 'x...@xxx.xxx' > > and tried to send out an email, but it still comes from apache@FQDN > > through phpinfo(); I see as local value my email addr

Re: [PHP] Error in portuguese translation of substr_compare

2011-12-31 Thread Daniel P. Brown
Forwarded to the proper address. Docs PT/PT-BR folks, please see the below email. Thanks, and happy new year! On Fri, Dec 30, 2011 at 14:35, QI.VOLMAR QI wrote: > I was read substr_compare description in portuguese language, an I > asked myself to test it, so after several test, I foun

Re: [PHP] Question about date calculations

2011-12-29 Thread Fatih P.
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote: -Original Message- From: Fatih P. [mailto:fatihpirist...@gmail.com] Sent: Thursday, December 29, 2011 5:10 PM To: Frank Arensmeier Cc: Eric Lommatsch; php-general@lists.php.net Subject: Re: [PHP] Question about date calculations

Re: [PHP] Question about date calculations

2011-12-29 Thread Fatih P.
On Thu, Dec 29, 2011 at 11:40 PM, Frank Arensmeier wrote: > 29 dec 2011 kl. 22.22 skrev Eric Lommatsch: > > > So far in looking at the functions that are available at > > http://www.php.net/manual/en/ref.datetime.php I have not been able to > figure > > out how to do what I need to do. Below is a

Re: [PHP] Need Part-time Coder

2011-12-27 Thread Fatih P.
On Wed, Dec 28, 2011 at 12:54 AM, Ashley Sheridan wrote: > On Tue, 2011-12-27 at 17:29 -0500, John R. Cornell II wrote: > > > Email PHP sample for consideration > > > echo "hello world"; > ?> > > Reply to list with a few more details for a more detailed reply ;) > >

Re: [PHP] Converting a Unicode code to related charachter

2011-12-18 Thread Fatih P.
there is iconv to do this. you should better check that. On Sun, Dec 18, 2011 at 11:33 AM, Ali Asghar Toraby Parizy < aliasghar.tor...@gmail.com> wrote: > Hi. > As I was writing a php code last week, I struggled with a function that was > supposed to convert Unicode code to a character. At last

Re: [PHP] OOP problems

2011-12-15 Thread Fatih P.
On 12/15/2011 01:05 PM, Alex Pojarsky wrote: I'm not sure I've understood you correctly, but you may try something like the following primitive autoloader (I didn't debug it, it's just an example): class Base { protected $_path = ''; public function construct($base_path) {

Re: [PHP] RE: php-general Digest 9 Dec 2011 20:09:28 -0000 Issue 7604

2011-12-12 Thread Daniel P. Brown
On Mon, Dec 12, 2011 at 16:06, David Savage wrote: > I thought I posted this in the php.net web site under the "ksort" user notes, > but I don't know if it would be approved to be placed in the web site. > > Would "ksort($sortarr,SORT_STRING)" on a 1 dimensional array with a key > comprised of >

Re: [PHP] Syntax problem PDO and bindvalue

2011-12-12 Thread Fatih P.
On Mon, Dec 12, 2011 at 4:22 PM, FeIn wrote: > I don't think you're suppose to end your queries with a semicolon. Try: > you can end your queries with semicolon in prepared statements. How can I see the prepared SQL statement before it is executed? try-> var_dump ($statement);

Re: [PHP] Syntax problem PDO and bindvalue

2011-12-12 Thread Fatih P.
ne see what is wrong? How can I see the prepared SQL statement before it is executed? Thanks Stephen $x = $x['number']; $stmt->bindValue( ':q', $x['number'], PDO::PARAM_INT ); i didnt dig deep down the problem [might be some C thing, pointer access or ...] but this solves it. Fatih P. http://blog.teknober.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto CRUD Generator

2011-11-26 Thread Fatih P.
On 11/26/2011 10:20 PM, Muhammad Hassan Samee wrote: is there any class/script that can automatically create a CRUD [Create,Read,Update,Delete] grid table for any database table .? Hi Hassan, check my blog there are some functions I have been working on. it might give you some ideas. http:/

Re: [PHP] newline and return issues in string

2011-10-11 Thread Fatih P.
On 10/11/2011 04:44 PM, Richard Quadling wrote: On 11 October 2011 12:58, wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I exploded on the new line expl

Re: [PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Daniel P. Brown
On Tue, Oct 4, 2011 at 09:47, Kirk Bailey wrote: > I installed it in a Windows XP PC with a cgi capable server in it. No dice, > nothing happens. I also installed python in the same computer. Works > perfect. NEITHER language modified the http server. > > So, what do I have to do to get php to pla

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Daniel P. Brown
On Mon, Sep 19, 2011 at 17:08, Tedd Sperling wrote: > > As such, I need information regarding how wide-spread PHP is (i.e., number of > installations), who's using it (i.e., companies, organizations), and how it > compares with other Web Languages (i.e., ASP, Ruby, etc.). There's no really

Re: [PHP] Dreaded Premature end of script headers

2011-08-27 Thread Daniel P. Brown
On Sat, Aug 27, 2011 at 01:01, Jim Lucas wrote: > > Well, you might have to go about this the long way. I suggest you cut larger > sections of code out until you get a working script.  Then start putting it > back together. If possible, I'd also try running it from the production box CLI. It

Re: [PHP] Please help to unsubscribe

2011-08-27 Thread Daniel P. Brown
On Sat, Aug 27, 2011 at 15:45, Eli Orr wrote: > The advised email to unsubscribe does not work: > php-general-unsubscr...@lists.php.net It should work just fine, but I had checked and I don't even see any subscribers to the General mailing list with 'logodial' anywhere in their address. Are

Re: [PHP] form validation

2011-08-14 Thread Daniel P. Brown
On Sun, Aug 14, 2011 at 18:19, Ford, Mike wrote: > > The last part of that test is redundant, since if $_POST['market'] is > NULL isset($_POST['market'] will be FALSE. Good catch. Didn't even notice I typed that. Not that it would've done any damage, but a good reminder why code here is not

Re: [PHP] form validation

2011-08-12 Thread Daniel P. Brown
On Fri, Aug 12, 2011 at 11:42, Chris Stinemetz wrote: > I have a select menu created by a foreach loop. I am trying to > validate that there was a selection made before it is submitted to the > database. But I am not doing something correctly. Try using a combination of isset, empty, and is_n

Re: [PHP] text insertion

2011-08-10 Thread Daniel P. Brown
On Wed, Aug 10, 2011 at 17:37, Chris Stinemetz wrote: > No luck. Thanks. Per list rules, please don't top-post. If the situation you're describing is accurate and correct, then is indeed what you want. -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-43

Re: [PHP] text insertion

2011-08-10 Thread Daniel P. Brown
:On Wed, Aug 10, 2011 at 16:02, Chris Stinemetz wrote: >> Are you sure its not preserved? When you output text in a browser, by >> default its output as html, not plain text. Html ignores extraneous >> whitespace, and doesn't use a monospaced font, so formatting text into >> columns in a textar

Re: [PHP] form hidden value

2011-08-08 Thread Daniel P. Brown
On Mon, Aug 8, 2011 at 17:23, Chris Stinemetz wrote: > > You should drop the quotes around the $id[] array, and also figure out how you want to extract the element from the array. For example: -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321

Re: [PHP] A php bug or?..

2011-08-08 Thread Daniel P. Brown
On Mon, Aug 8, 2011 at 16:41, Andre Polykanine wrote: > >      For sure. But I'm asking: why it doesn't return 0 if it is not an array? > Logically: no array - no items! No, actually, if it's a string, it's a single item --- thus, 1. The documentation should probably reflect that as well. I

Re: [PHP] A php bug or?..

2011-08-08 Thread Daniel P. Brown
On Mon, Aug 8, 2011 at 16:20, Andre Polykanine wrote: > Hi everyone, > >                            As we all know, count() returns 1 if the variable > is not an array. > Question is: why in the world does it this? If a variable is *notA* an array, > it contains *zero* array elements. > You can

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 6:39 PM, wrote: > Fatih, >I am sorry spell check auto corrected your name, I was not changing > your name on purpose. > It was not my intension to piss you off. > > I understand your frustration, trust me. > I am running 5.3.6 on Windows Server 2008 R2 IIS, I am ru

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas wrote: > On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. wrote: > >> On Tue, Jun 28, 2011 at 5:12 PM, wrote: >> >> > Faith, >> > >> > I actually did read from the beginning of the message. >> > &g

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:12 PM, wrote: > Faith, > > I actually did read from the beginning of the message. > > That does not make sense. > PHP files are cached intentionally, the system does not Cache PHP on its > own. > Sounds to me like you have an issue re-declaring an object or calling the >

Re: [PHP] caching problem

2011-06-27 Thread Fatih P.
On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan wrote: > On 06/28/2011 10:56 AM, Fatih P. wrote: > > Hi guys, > > > > the code files are being cached. and modifications in methods are skipped > > and not executed. is there any parameter that i can pass it from in

[PHP] caching problem

2011-06-27 Thread Fatih P.
Hi guys, the code files are being cached. and modifications in methods are skipped and not executed. is there any parameter that i can pass it from ini file? this has been so annoying for me. restarting apache, windows, etc does not even help. im running apache 2.2.19, php ts 5.3.6 on windows 2003

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
p programmer thing", > an gmane artifact or something the mailing list does. > > > > "Fatih P." writes: > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > headers are set and sent by gmail itself Content-Type: multipart/alternative; boundary=00151747b53cf2927204a6a46ebb

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
well, anyway ignore it then On Sun, Jun 26, 2011 at 11:57 PM, Stuart Dallas wrote: > > On Sunday, 26 June 2011 at 22:50, Fatih P. wrote: > > Guys, when you reply a mail, You should write your reply on the top of > it, > > not at the bottom of it. > > makes it easier

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
Guys, when you reply a mail, You should write your reply on the top of it, not at the bottom of it. makes it easier to follow. On Sun, Jun 26, 2011 at 11:44 PM, Shawn McKenzie wrote: > On 06/26/2011 12:31 PM, Adam Tong wrote: > > Hi, > > > > I wanted tu use php filters for validation to avoid re

Re: [PHP] Get all the keys from a hierarchical hash

2011-06-24 Thread Fatih P.
use recursive calls to fetch them all in one array and there will be memory cost. refer array_keys function: http://php.net/manual/en/function.array-keys.php not sure but this should be working. function *get_keys_recursive*($arr) { while (list($k, $v) = each($arr)) { if (is_array($v)

Re: [PHP] help with an array if its possible!

2011-06-22 Thread Daniel P. Brown
On Wed, Jun 22, 2011 at 18:43, Adam Preece wrote: > Hi Gang! > > i have 2 assoc arrays from 2 querys, > > first one is page categorys it consists of: >        id >        name > > second is pages >        name >        cat_id > > now, i am using smarty, so i pass arrays into the view. this i would

Re: [PHP] URL Rewriting

2011-06-22 Thread Daniel P. Brown
On Wed, Jun 22, 2011 at 17:22, Silvio Siefke wrote: > Hello, > > is there a chance with php to use rewriting? > > Like Example: > > mysite.com/theme.php?id=1 to theme.php theme2.php etc. > > I have ask on the nginx list, but there they say i should use the power > language php. > > When i search i

Re: [PHP] URL Rewriting

2011-06-22 Thread Fatih P.
try RewriteEngine on RewriteRule ^theme([0-9]+).php$ /index.php?theme=$1 [L] On Wed, Jun 22, 2011 at 11:22 PM, Silvio Siefke wrote: > Hello, > > is there a chance with php to use rewriting? > > Like Example: > > mysite.com/theme.php?id=1 to theme.php theme2.php etc. > > I have ask on the n

Re: [PHP] 【N級、 S級、AAA級 財布、バッグ!】【ブランド館】

2011-06-20 Thread Fatih P.
ban it :) 2011/6/21 > I see that it is actually from rjck...@gmail.com > I am not bilingual in Japanese but this is what I can make out it is an > Advertisement. > > > (A/the N class, S class, AAA class purse, bag! ) (A/the brand mansion) > Japanese highest level copy brand 激 cheap market ☆*. >

Re: [PHP] php 5.3.6

2011-06-20 Thread Fatih P.
P variable is there, i checked all the possible things that came to me. but still nothing the config file was used in 5.3.3 in production just applied changes for 5.3.6 variables_order = "GPCS" request_order = "GP" register_globals = Off ; tried with On nothing changed post_m

[PHP] php 5.3.6

2011-06-20 Thread Fatih P.
Hi Guys, installed php 5.3.6 TS VC9 and apache 2.2.19 OpenSSL 1.0 compiled with VC9 on windows 2003 R2 but now having strange problem that post variables are not parsed. i have tried file_gets_contents("php://input"); this problems is there especially when i post strings starting with capital let

Re: [PHP] Odd Apache2/PHP Problem

2011-06-03 Thread Daniel P. Brown
On Fri, Jun 3, 2011 at 15:12, Floyd Resler wrote: > I am having a really odd Apache2/PHP problem.  My employer set up a new Web > server to migrate our Web sites to.  One site requires a log in and I have > the ability to log in a someone else.  However, when I do this, Apache throws > a Segmen

Re: [PHP] Does requesting $_SERVER variables need to query the server

2011-02-23 Thread Daniel P. Brown
On Wed, Feb 23, 2011 at 14:00, Marc Guay wrote: > This question will probably reveal my lacking knowledge of the > fundamentals, but I'm a go for it anyway: > > When you use a $_SERVER variable, is a query made to the server to get > the information or is it just sitting in a variable all ready to

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Daniel P. Brown
On Wed, Feb 16, 2011 at 09:41, David Hutto wrote: > On Wed, Feb 16, 2011 at 9:41 AM, David Hutto wrote: >> Only those who live in glass houses, should hide their errors. >> > > > if that makes sense. Did you even bother to read the whole of what I said? I wasn't advocating it as a solution,

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Daniel P. Brown
On Wed, Feb 16, 2011 at 09:37, David Hutto wrote: > > What was the intended purpose again? The hiding of errors. -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Daniel P. Brown
On Wed, Feb 16, 2011 at 07:15, Richard Quadling wrote: > On 16 February 2011 11:25, Andre Polykanine wrote: >> Hello Fotoo, >> >>           > error_reporting(0); > > Really? > > You consider shoving your head in the sand a REALISTIC option? Well, at the least, it would shut the errors up in

Re: [PHP] Regex for telephone numbers

2010-12-31 Thread Daniel P. Brown
On Fri, Dec 31, 2010 at 19:09, Jim Lucas wrote: > > Actually... > > Specified here [1] it says that the {1,} is the same as '+'.  I think you > should > drop the comma.  If you don't this would be valid 844-2345-123456 > > ^[2-9]{1,}[0-9]{2,}\-[2-9]{1,}[0-9]{2,}\-[0-9]{4,}$ > > should be > > ^[2-

Re: [PHP] Regex for telephone numbers

2010-12-31 Thread Daniel P. Brown
X) standards. It's the only suggestion so far that will work completely (which sounds cocky, but screw it, it's the last Friday of the year ;-P). -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing Lis

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-30 Thread Daniel P. Brown
On Thu, Dec 30, 2010 at 11:27, Omega -1911 <1911...@gmail.com> wrote: > Which topic ashley do u wish to discuss. With the eccouncil.org being in > your neck of th woods, learning/reading what hackers are using/doing > shouldn't be hard... Really, this entire thing has gone on for far too long.

Re: [PHP] Regex for telephone numbers

2010-12-29 Thread Daniel P. Brown
eople in Hell would like ice water. Now we all know that everyone wants something. ;-P Really, this isn't a PHP question, but rather one of regular expressions. That said, something like this (untested) should work: -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS,

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 18:38, Omega -1911 <1911...@gmail.com> wrote: > Etiquette went out the window a while ago. As Rambo said, "He drew > first blood..." If you could not PROVE ME WRONG, you could have kept > your mouth shut. You jumped in head first. And you have YET to prove > me wrong. Then t

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 18:20, Omega -1911 <1911...@gmail.com> wrote: > AHHH... Searching by by an email is REALLY what you call hacking? Oh > wait, you said that with all your knowledge in forensics you can find > people all over the world. Thank God for Go0GlE. Please don't top-post. Ne

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 15:16, Omega -1911 <1911...@gmail.com> wrote: > Sound silly? Why Daniel? It's all documented and public knowledge. What I > thought was silly was a entire thread about which ASCII combination was > best.. convert to a higher range above the 255 character range... > > There i

Re: [PHP] File-Upload per Drag-N-Drop?

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 13:23, Michelle Konzack wrote: > Hello, > > my users have an Online-File-Store with nearly anything  they  need  but > one feature is missing:  Drag-D-Drop. > > I like to implement Drag-D-Drop so users can Drag a file  from  a  File- > Manager and Drop it on the Upload-Icon

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-29 Thread Daniel P. Brown
On Wed, Dec 29, 2010 at 11:57, Omega -1911 <1911...@gmail.com> wrote: > Those were some pretty confident statements there. "You doubt the government > would want to hack your computer..." Well, the U.S. tries to prevent over 1 > million attacks per day as documented and has admitted to having been

Re: [PHP] Re: Need code like

2010-12-27 Thread Daniel P. Brown
On Mon, Dec 27, 2010 at 19:51, Michelle Konzack wrote: > > OK, I was a little bit working on it, but a  GPLed  code  which  include > AdWords and GoogleAnalytics is already suspect. > > Then the whole code is spagetti... > > And I do not know what Paul was smoking, when he has written layout.php.

Re: [PHP] Need code like

2010-12-27 Thread Daniel P. Brown
On Sat, Dec 25, 2010 at 12:32, Michelle Konzack wrote: > Hello, > > before I reinvent the weehl, I ask here: > > In my webinterface "My Space" I wan t include a section where users  can > upload files and have them proposed like  on  .  Also  for > source codes it would be nice, if users could cho

Re: [PHP] Server response very poor again

2010-12-22 Thread Daniel P. Brown
he Internet, it might be a good reason not to go nuts in sending > unrelated and unintelligible messages of this nature in the future." > > this could be one of those situations ;) Yes, you're right but mine was intelligible. ;-P > so now the whole world knows... GRE

Re: [PHP] Re: Warning when calling session_start()

2010-12-22 Thread Daniel P. Brown
On Wed, Dec 22, 2010 at 11:43, Ravi Gehlot wrote: > session_start (); should be before everything...first thing in the page. Unlike the body of your email, Ravi, which is why I've asked you before not to top-post. Please follow the formats as outlined in the list rules. -- Dedicated Serve

Re: [PHP] Server response very poor again

2010-12-22 Thread Daniel P. Brown
On Wed, Dec 22, 2010 at 12:17, Nicholas Kell wrote: > > I am with Steve. Well, what I mean is, on this topic I am in agreement with > Steve. My connection, etc. seems to be quite responsive. Oh, that's what you mean! Several of us were speaking about it the other day and thought you two wer

Re: [PHP] Server response very poor again

2010-12-22 Thread Daniel P. Brown
On Wed, Dec 22, 2010 at 10:19, Al wrote: > It was fixed about 3 or 4 weeks ago; but, has reverted to poor again.  Many > times outs etc. > > Took me 4 tries to post this. Al, are you using NNTP? -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www

Re: [PHP] Problem with Include

2010-12-21 Thread Daniel P. Brown
On Tue, Dec 21, 2010 at 02:48, Ravi Gehlot wrote: > My point is that you tried to take code from one page and put it all > "organized" in another page and the include that page of includes back into > the pages that you want it to feed off from. If stuff works the way that it > does then there a r

Re: [PHP] Performance Improvement on Calling C++ executable from PHP

2010-12-20 Thread Daniel P. Brown
On Sun, Dec 19, 2010 at 15:35, Shiplu wrote: > === > Recently I  my this php-general doesn't accept my mail for some > reason. So I send it again from anther email >

Re: [PHP] Problem with Include

2010-12-20 Thread Daniel P. Brown
On Mon, Dec 20, 2010 at 02:49, Simcha Younger wrote: > > Since it is being included by PHP, and not served by Apache, the extension is > not important. Correct, but keep in mind that it will likely be served as plain text if accessed directly, if the web server is not properly configured (wh

Re: [PHP] Problems w/ goto

2010-12-17 Thread Daniel P. Brown
On Fri, Dec 17, 2010 at 12:22, Robert Cummings wrote: > > I was one of the people that argued in favour of GOTO on the Internals list > a few years ago. GOTO has a use, and a very good one at that. It is by far > the most efficient construct when creating parsers or other similar types of > logic

Re: [PHP] Where is my array?

2010-12-15 Thread Daniel P. Brown
On Wed, Dec 15, 2010 at 17:21, Don Wieland wrote: > Hello, > > I originally had a line that built a static array: > > $instruments = > array('Leader','Singer','Piano','Synth','A-Guitar','E-Guitar','Bass','Drums','Perc','Sax','Flute','Sound/AV','Pastor','Producer'); > > Then I decided I wanted this

Re: [PHP] Error Querying Database

2010-12-15 Thread Daniel P. Brown
On Wed, Dec 15, 2010 at 13:42, Gary wrote: > I cant seem to get this to connect.  This is to my local testing server, > which is on, so we need not worry that I have posted the UN/PW. > > This is a duplicate of a script I have used countless times and it worked. > The error message is 'Error query

Re: [PHP] PHPInfo disabled due to security

2010-12-15 Thread Daniel P. Brown
there. (My own signature is not intended as a form of advertisement in this case, mind you it's simply the default. ;-P) -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] empty() in email message

2010-12-13 Thread Daniel P. Brown
On Mon, Dec 13, 2010 at 12:47, Gary wrote: > I have an email message > > $msg =  'Name: $fname ' . ' $lname\n' > . "Phone: $phone\n" > . "Email: $email\n" > > and it works fine, however in this message there are about 30 variables that > are being called...as such > > . "Order: beefschnitzel $beef

Re: [PHP] sending emails

2010-12-09 Thread Daniel P. Brown
On Thu, Dec 9, 2010 at 13:36, Marc Fromm wrote: > We have web forms that send the user an email confirmation after submission, > like most forms do. > The emails are being delivered to the users' junk folder. The main campus IT > staff claim it is because our server is sending the emails. > The

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread Daniel P. Brown
On Tue, Dec 7, 2010 at 10:40, Alexandru Patranescu wrote: > > but is there any way to write it directly? and if not, why isn't this > implemented yet and when will it be? That kind of chaining has not yet been implemented in PHP --- but it's being discussed and voted now, as a matter of fact.

Re: [PHP] Barcode Reader

2010-12-06 Thread Daniel P. Brown
On Mon, Dec 6, 2010 at 14:18, fakessh @ wrote: > > http://search.cpan.org/dist/GD-Barcode/ Your point? The OP never asked about a barcode generator. -- Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/ -- PHP General Mailing List

Re: [PHP] Barcode Reader

2010-12-06 Thread Daniel P. Brown
On Mon, Dec 6, 2010 at 12:07, Floyd Resler wrote: > They're 2d barcodes.  I did a Google search and really couldn't find > anything.  After talking with my boss, though, we decided that this project > would probably take too much time and be frustrating for the users.  We're > trying to decode

Re: [PHP] code quest

2010-12-04 Thread Daniel P. Brown
On Sat, Dec 4, 2010 at 15:58, Kirk Bailey wrote: > > And it works! >   BUT! > Where is the "1" coming from?!? No need to see the page. You're echo'ing an include. No need to do that; including the file is enough, and that's what's working. Adding the echo makes it print the status retur

Re: [PHP] Pass a value as hidden to PHP

2010-12-03 Thread Daniel P. Brown
On Fri, Dec 3, 2010 at 12:12, Larry Sandwick wrote: > How do I get the document.tstest.timestamp.value from the JS and pass it as > a hidden value on the resultsHistory.php page ? [snip!] There are tons of issues with that code, but not one bit of it has to do with PHP. You should ask on a n

Re: [PHP] Iterators.

2010-12-03 Thread Daniel P. Brown
On Fri, Dec 3, 2010 at 08:09, Richard Quadling wrote: > > Now I know someone could supply a solution not using the SPL. I've got > one of those. But trying to use the SPL just seems to awkward. Too > many choices. Too many things with the same name I put an example up on the list this week, a

  1   2   3   4   5   6   7   >