Re: [PHP] https question

2013-09-25 Thread Daniel Brown
On Wed, Sep 25, 2013 at 1:55 PM, Tedd Sperling t...@sperling.com wrote: Hi gang: I have a client who had his entire site moved to another host -- no big problem. However, the old site had a https directory, where I had secure scripts to do credit-card transactions, but the new site

Re: [PHP] Friday's Question

2013-09-20 Thread Daniel Brown
On Fri, Sep 20, 2013 at 12:51 PM, Tedd Sperling t...@sperling.com wrote: Hi gang: Do you use a Mousepad? I'm in my mid-thirties and - despite having an optical mouse - I do indeed still use a mousepad. A customized one that the wife did for me for Christmas one year: images of Futurama,

Re: [PHP] Friday's Question

2013-09-20 Thread Daniel Brown
On Fri, Sep 20, 2013 at 1:20 PM, Jen Rasmussen j...@cetaceasound.com wrote: LOL. What in the heck is a Bag Bomb? He's referring to Bag Balm. http://www.bagbalm.com/ -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List

Re: [PHP] Resolving a PHP Notice Error

2013-09-17 Thread Daniel Brown
On Tue, Sep 17, 2013 at 3:38 PM, Ron Piggott ron.pigg...@actsministries.org wrote: I am wanting to establish a default sort by preference when the user hasn’t specified one. I setup to test this with: ?php if ( !is_set( $sort_by_preference ) ) { Did you create a function is_set(), or

Re: [PHP] Off the wall - sub-domain question

2013-08-27 Thread Daniel Brown
On Wed, Aug 21, 2013 at 5:16 PM, Jim Giner jim.gi...@albanyhandball.com wrote: I have a main domain (of course) and a sub domain. I'm really trying to steer my personal stuff away from the main one and have focused all of my php development to the sub-domain. Lately I noticed that google

Re: [PHP] Re: Permissions

2013-08-27 Thread Daniel Brown
On Tue, Aug 27, 2013 at 3:07 AM, David Robley robl...@zoho.com wrote: I beg to differ here. If the x bit isn't set on a directory, that will prevent scanning of the directory; in this case apache will be prevented from scanning the directory and will return a 403. Well, that's partially

Re: [PHP] How to send post-variables in a Location header

2013-08-27 Thread Daniel Brown
On Mon, Aug 26, 2013 at 3:48 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = /autologin.php; $username = ajay;

Re: [PHP] exec and system do not work

2013-08-27 Thread Daniel Brown
On Sun, Aug 25, 2013 at 11:41 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com wrote: Dear List - I'm lost on this one - This works - $out = system(ls -l ,$retvals); printf(%s, $out); This does - echo exec(ls -l); This does not - if( !file_exists(/var/www/orders.txt)); {

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Daniel Brown
On Tue, Aug 20, 2013 at 10:00 AM, Tedd Sperling t...@sperling.com wrote: Hi guys: A teacher at my college made the statement that JAVA for Web Development is more popular than PHP. Where can I go to prove this right or wrong -- and/or -- what references do any of you have to support your

Re: [PHP] How to upstream code changes to php community

2013-08-16 Thread Daniel Brown
On Tue, Aug 13, 2013 at 12:38 AM, Shahina Rabbani shahinarabbani.sh...@gmail.com wrote: Hi, I have done some modifications to the php source code and i tested it with php bench and I observed some improvement. I wanted to upstream these code changes to PHP community. I searched the wed but

[PHP] Finally....

2013-08-16 Thread Daniel Brown
# ezmlm-list ~ezmlm/php-general | grep skynet supp...@skynet.be # ezmlm-unsub ~ezmlm/php-general supp...@skynet.be # ezmlm-list ~ezmlm/php-general | grep skynet # No more of those Your e-mail concerning our products and services autoreplies from the Belgacom Webteam. Sorry it took me this

Re: [PHP] /tmp/directory

2013-07-23 Thread Daniel Brown
On Mon, Jul 22, 2013 at 10:10 PM, Tedd Sperling t...@sperling.com wrote: On Jul 22, 2013, at 4:10 PM, Matijn Woudt tijn...@gmail.com wrote: On Mon, Jul 22, 2013 at 5:20 PM, Tedd Sperling t...@sperling.com wrote: Hi gang: I should know this, but I don't. Where is the /tmp/ directory? You

Re: [PHP] I am completely lost and need an advice (beginner)

2013-07-18 Thread Daniel Brown
On Thu, Jul 18, 2013 at 3:08 PM, php colos phpco...@gmail.com wrote: Hello world! I'm trying to learn PHP ( first programming language that I learn) and I feel kinda lost. I've read PHP programming 3rd edition( O'reilly), 'getting good with PHP' by Andrew Burgees and some tutorials on the

Re: [PHP] pass parameter from client to server

2013-07-18 Thread Daniel Brown
On Thu, Jul 18, 2013 at 6:04 PM, iccsi inu...@gmail.com wrote: I have a select control on the form and need to pass value user select to my query parameter. I just realized that user entry value is client side and query parameter is server side. Are there any way to read client parameter to

Re: [PHP] Premature end of script

2013-07-17 Thread Daniel Brown
On Wed, Jul 17, 2013 at 11:22 AM, R B rbp...@gmail.com wrote: Hello, 5 years ago, y developed a php system and was working fine. But 20 days ago, when y try to access to some pages (not all the pages), in the log appears this message and the page is not displayed: ==

Re: [PHP] Error checking ON

2013-07-17 Thread Daniel Brown
On Wed, Jul 17, 2013 at 11:49 AM, Tedd Sperling t...@sperling.com wrote: Hi gang: Considering: On Jul 17, 2013, at 11:41 AM, Jim Giner jim.gi...@albanyhandball.com wrote: Since you state that you haven't made any changes to the system (in general), I'm going to guess that you modified an

Re: [PHP] Kickstarter Project on Massive Log data Aggregation and Processing with Open Source Software

2013-07-15 Thread Daniel Brown
On Jul 15, 2013 11:29 PM, Israel Ekpo israele...@gmail.com wrote: Hi Everyone, [snip!] No. Good luck with your endeavor, but please do not broadcast it to this list.

Re: [PHP] A Strange Problem

2013-06-20 Thread Daniel Brown
On Thu, Jun 20, 2013 at 2:14 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: Bastien: You were right on - by changing the directory to what I needed, everything works. My follow-up question is Why? I have *never* had to specifically tell any script to chdir() -- why with that one?

Re: [PHP] Hoping nobody notices it isn't Friday.

2013-06-18 Thread Daniel Brown
On Tue, Jun 18, 2013 at 1:36 PM, Richard Quadling rquadl...@gmail.com wrote: Hi. We've all been told that 'free software' is to be thought of as 'free speech', not 'free beer'. Well, I hope to muddy the waters with this link. https://www.facebook.com/TheFreeBeerApp I'd say that I'd

Re: [PHP] URL Rewriting

2013-06-02 Thread Daniel Brown
Studying archaeology now, Tam? ;-P On Sat, Jun 1, 2013 at 8:22 PM, Tamara Temple tamouse.li...@gmail.com wrote: Silvio Siefke li...@silvio-siefke.de wrote: On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote: Has someone a Link with Tutorials or other Information? Not

Re: [PHP] sorry for the blast from the past

2013-06-02 Thread Daniel Brown
On Sat, Jun 1, 2013 at 9:02 PM, Tamara Temple tamouse.li...@gmail.com wrote: Sorry for replying to a message from 2011 -- for some reason I had a whole bunch of PHP messages suddenly show up in my inbox from the past. I generally don't check the year of an unread message in my inbox, as I

Re: [PHP] Webpage Persistence Load balancing

2013-05-29 Thread Daniel Brown
On Wed, May 29, 2013 at 8:03 AM, Al n...@ridersite.org wrote: I'm having a webpage Persistence problem, it is intermittent. I suspect it is caused by load-balancing. Specifically: Users are connected to a webpage form to complete. Generally, everything is OK if they take a minute or even

Re: [PHP] Source code of original PHP release.

2013-05-23 Thread Daniel Brown
On Thu, May 23, 2013 at 2:16 AM, chris ch...@cribznetwork.com wrote: I'm currently writing a paper on the evolution of PHP and web development/security as a whole. One of the things I want to incorporate is snippets of source code to show how things have grown and advanced since the 90's If

Re: [PHP] Random

2013-05-23 Thread Daniel Brown
On Thu, May 23, 2013 at 4:51 PM, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site. You need to know that you've been removed from the list (but you'd still have to be subscribed to be able to read this). -- /Daniel P. Brown Network

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 6:15 AM, georg georg.chamb...@telia.com wrote: Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be correct; utilities missing, erroneous file-directory

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: Aren't DLLs a Windows thing? Yeah, I misread the bit about MS XP and thought he was using XP for this install. I just realized the remainder of the discussion between us was off-list, so - for posterity -

Re: [PHP] FW:

2013-05-08 Thread Daniel Brown
If you're going to send hack attempts, at least adjust your clock so that it doesn't look like it took almost a month for your SPAM to get here. We're not the Pony Express. (And, no, PHP doesn't stand for Produced by Horses Ponies.) On Thu, Apr 11, 2013 at 11:43 AM, Paul Novitski

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 1:14 PM, Tedd Sperling tedd.sperl...@gmail.com wrote: PS: PHP + Produced by Horses Ponies. ? You got too much time on your hands Daniel. Sometimes I wish that were the case. Honestly, I think it's having a three-and-a-half-year-old daughter that's rubbing off on

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 1:26 PM, David OBrien dgobr...@gmail.com wrote: That would be reverse acronymization :) You're absolutely correct. Deacronymize? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP]

2013-05-08 Thread Daniel Brown
On Wed, May 8, 2013 at 3:13 PM, Steven Staples sstap...@mnsi.net wrote: Why does this feel like a new function/feature for PHP now? Function acronymize($acronym) { // do stuff here now... :S } ?php function acronymize($text) {

Re: [PHP] htaccess question

2013-04-09 Thread Daniel Brown
On Tue, Apr 9, 2013 at 2:07 PM, Al n...@ridersite.org wrote: I know it's not a php question, but I can't readily find the answer elsewhere. I want to make this directive universal. Put htaccess file on any host in any folder. This works RewriteEngine On RewriteCond %{SERVER_PORT} !=443

Re: [PHP] Commands which call exec() or shell_exec() ??

2013-04-09 Thread Daniel Brown
On Tue, Apr 9, 2013 at 3:11 PM, Ken Kixmoeller phph...@comcast.net wrote: Hi -- - Strange problem. One of my applications was just moved to a new server. The new server has php configured to blacklist some functions (using disable_functions=). One of the banned functions is exec(). The

Re: [PHP] application level variable file

2013-03-22 Thread Daniel Brown
On Fri, Mar 22, 2013 at 10:22 AM, inu...@gmail.com wrote: I am very new to the PHP application and would like to create a new project. I would like to have a file to save my application level variable and functions. I would like to know does PHP have any default file name and file path for

Re: [PHP] Surge 2013 CFP open

2013-03-20 Thread Daniel Brown
The below is a good example of why to trim your signature before sending an email to a public mailing list. Ignoring for a moment the irrelevance of the conference, a one-line email should not have a nineteen-line signature --- particularly when the notice is null and void when sent willingly

Re: [PHP] Introduction ... !

2013-03-01 Thread Daniel Brown
On Fri, Mar 1, 2013 at 10:57 AM, Nick Whiting prg...@gmail.com wrote: Hello PHP'ers! Just thought I would introduce myself to the mailing list since I've worked with PHP for almost 10 years now and yet haven't really been community active ... I've developed quite a few open-source projects

Re: [PHP] Introduction ... !

2013-03-01 Thread Daniel Brown
On Fri, Mar 1, 2013 at 12:54 PM, Jim Giner jim.gi...@albanyhandball.com wrote: What gives you such optimism? I recently saw a list of languages in use and PHP has dropped quite a bit over the last 5 or more years. Being a relative newbie myself, I'm happy that PHP exists and is so readily

Re: [PHP] Stupid question

2013-02-28 Thread Daniel Brown
On Wed, Feb 27, 2013 at 9:14 PM, Curtis Maurand cur...@maurand.com wrote: Well that means the docs on the PEAR MDB2 website are incorrect and should be fixed. Thanks for the lesson. If there's an issue with the docs, you're right, they should definitely be fixed. We'd appreciate it very

Re: [PHP] Stupid question

2013-02-26 Thread Daniel Brown
On Tue, Feb 26, 2013 at 4:27 PM, Curtis Maurand cur...@maurand.com wrote: I have the following: $dsn = mysqli://$username:$password@$hostname2/$database; $options = array( 'debug' = 3, 'result_buffering' = false, ); $dbh = MDB2::factory($dsn, $options); if

Re: [PHP] Very Large File Splatter

2013-02-22 Thread Daniel Brown
On Fri, Feb 22, 2013 at 4:04 PM, Brian Smither bhsmit...@gmail.com wrote: PHP 5.4.4-TS-VC9 on Windows XP SP3 NTFS non-system drive with 18GB free. I dare not try to replicate this. As such, I cannot firmly place the blame on PHP. I have peppered a PHP application with a call to a function

Re: [PHP] stripped \n

2013-02-20 Thread Daniel Brown
On Wed, Feb 20, 2013 at 1:32 PM, Matijn Woudt tijn...@gmail.com wrote: An input with type=text is used for single lines, so yes, newlines get stripped. Either use a textarea with style=display: none, or store the data in a session instead. Or at least input type=hidden/. -- /Daniel P.

Re: [PHP] PHP fails to install on Ubuntu 12.10. What's going on?

2013-02-14 Thread Daniel Brown
On Thu, Feb 14, 2013 at 2:20 PM, Chris Bergstresser ch...@subtlety.com wrote: Hi all -- I've got a cloud server on Rackspace. If I bring up a fresh Ubuntu 12.10 machine image, and type apt-get install php5 it seems to install fine. But if I then type php -version I get PHP Parse error:

Re: [PHP] PHP fails to install on Ubuntu 12.10. What's going on?

2013-02-14 Thread Daniel Brown
Remember to hit reply-all, Andy, so it goes to the list as well as the previous author. On Thu, Feb 14, 2013 at 2:49 PM, Andy McKenzie amckenz...@gmail.com wrote: On Thu, Feb 14, 2013 at 2:29 PM, Daniel Brown danbr...@php.net wrote: On Thu, Feb 14, 2013 at 2:20 PM, Chris Bergstresser ch

Re: [PHP] PHP fails to install on Ubuntu 12.10. What's going on?

2013-02-14 Thread Daniel Brown
On Thu, Feb 14, 2013 at 4:56 PM, Andy McKenzie amckenz...@gmail.com wrote: Can I just mention, as so many others have, how much I hate the fact that this list is configured to not reply to the list by default? I know. Actually, the only reason it's like this is because a lot of people

Re: [PHP] webDAV/CalDAV client class experience ?

2013-02-13 Thread Daniel Brown
On Tue, Feb 12, 2013 at 3:40 PM, B. Aerts ba_ae...@yahoo.com wrote: Hello, I'm working on this one for more than a year (personal project) - but I'm turning pretty desperate here. I'm trying to connect to 2 Calendars through the CalDAV protocol. The calendars are hosted by 2 webmail

[PHP] Re: [PHP-DEV] new FTP function

2013-01-18 Thread Daniel Brown
On Fri, Jan 18, 2013 at 10:33 AM, KISE wowk...@gmail.com wrote: Paul Dragoonis, Actually it wont work i did tried it before, if the dir end with / it will list the directories inside the path you gave it and if it doesn't have any directories it will return false since there is no directories

Re: [PHP] Some date() oddities

2013-01-08 Thread Daniel Brown
On Tue, Jan 8, 2013 at 3:43 PM, Arno Kuhl a...@dotcontent.net wrote: I've bumped into an odd result with the date() function that I can't make sense of. Starting with a unix timestamp for 31 December 2012 13:12:12 (which is 1356952332) I calculate a week number: $ux_date = 1356952332;

Re: [PHP] Re: form validation

2012-12-20 Thread Daniel Brown
On Thu, Dec 20, 2012 at 10:34 AM, Jim Giner jim.gi...@albanyhandball.com wrote: If you are using mysql for a db, then you should already be using mysql_real_escape_string in place of addslashes. Actually, you should start moving toward MySQLi, as mysql_*() is deprecated. -- /Daniel P.

Re: [PHP] MySQLi

2012-12-20 Thread Daniel Brown
On Thu, Dec 20, 2012 at 12:18 PM, Stephen stephe...@rogers.com wrote: I read about the subject in another thread. Where does PDO fit? That is what I have used for sometime. Am I good? Right as rain. PDO is a preferred abstraction layer in PHP and isn't going anywhere anytime soon. --

Re: [PHP] Session ?

2012-12-08 Thread Daniel Brown
On Sat, Dec 8, 2012 at 10:52 AM, Jim Giner jim.gi...@albanyhandball.com wrote: Didn't work. Let me explain my domain names. My main domain is albanyhandball.com. I have two subs called x.albanyhandball.com and y.albanyhandball.com. Attached to each of these is what my isp calls an add-on

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Something new for me - working with scripts on two of my sub-domains. I want to call script 2 in my B domain from script 1 in my A domain. It appears that the session vars established in script 1 do not show up in

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 2:38 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 12/7/2012 2:36 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:33 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Something new for me - working with scripts on two of my sub-domains. I want to call script

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 2:54 PM, Jim Giner jim.gi...@albanyhandball.com wrote: What if my sub-domain names are not in the form of 'a.domain.com' and 'b.domain.com'. A subdomain is a subdomain. Unless you've discovered a new magical form of subdomain that is not, you should be fine. And if

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 3:04 PM, Jim Giner jim.gi...@albanyhandball.com wrote: OK - now that I've messed us all up, help me to understand your proposed solution. I added the ini-set line to my first script. Then I called my second one and still had the same problem with a missing session var.

Re: [PHP] Session ?

2012-12-07 Thread Daniel Brown
On Fri, Dec 7, 2012 at 3:20 PM, Sebastian Krebs krebs@gmail.com wrote: Would be better to put 'session.cookie_domain' into the php.ini. In both cases: Clear cookies (at least for your site) completely and set session.auto_start to 0. If it's configured on the server for overrides,

Re: [PHP] PHP site search broken?

2012-12-05 Thread Daniel Brown
On Tue, Dec 4, 2012 at 3:56 PM, Paul M Foster pa...@quillandmouse.com wrote: Is it just me, or is the search feature on php.net broken? When I enter a full search term (known good function name) and then hit the arrow, it brings me back to the generic search page. If I enter a partial search

Re: [PHP] how to read emails with php

2012-12-04 Thread Daniel Brown
On Tue, Dec 4, 2012 at 8:10 AM, Farzan Dalaee farzan.dal...@gmail.com wrote: hi guys i want to open an email content ( subject ,body , attachment ) with php i use imap_php but its wont connect to host what should i do? thanx Start by finding out why it won't connect. Check the logs on

Re: [PHP] how to read emails with php

2012-12-04 Thread Daniel Brown
On Tue, Dec 4, 2012 at 1:44 PM, Farzan Dalaee farzan.dal...@gmail.com wrote: Same error I think its need something else for opening service like ssl setting or somthing like that Or this host im using block imap or pop3 access Per list rules, please don't top-post. Some things to

Re: [PHP] How to get a PHP bug fixed?

2012-11-17 Thread Daniel Brown
On Sat, Nov 17, 2012 at 1:51 AM, Enumag enu...@gmail.com wrote: Hi, there is a bug I'd like to be fixed and even a patch is available. But there is still no reaction at all after 2 years. What else can I do to get the bug fixed? https://bugs.php.net/bug.php?id=45351 - patch available from

Re: [PHP] Date manipulation

2012-10-25 Thread Daniel Brown
On Thu, Oct 25, 2012 at 3:06 PM, Ron Piggott ron.pigg...@actsministries.org wrote: Is it possible for PHP to accept the following as a date: 04:11:22 Aug 21, 2011 PDT so I may output it as: gmdate(‘Y-m-d H:i:s’) - I want the time zone included Sure. ?php $ds = strtotime('04:11:22

Re: [PHP] select function

2012-10-25 Thread Daniel Brown
On Thu, Oct 25, 2012 at 5:35 PM, Jeff Burcher j...@allredmetal.com wrote: Hi, I can't remember if this is the PHP list for RPG programmers or not, so apologize if this is the wrong one. This is just a general PHP mailing list. Guessing you need the other one. -- /Daniel P. Brown

Re: [PHP] cron job problem

2012-10-23 Thread Daniel Brown
On Tue, Oct 23, 2012 at 4:48 PM, Jim Giner jim.gi...@albanyhandball.com wrote: I have a php script that has been triggered by my hoster's cron process(?) to run once a day since last March. It's been running fine - and I've made no changes to it. Suddenly in the last couple of days it is

Re: [PHP] cron job problem

2012-10-23 Thread Daniel Brown
On Tue, Oct 23, 2012 at 4:59 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Yes - same msg same time If it wouldn't be a problem, can you provide the script here (or on a site like Pastebin), as well as the crontab time entry for this? While checking the crontab, make sure a duplicate

Re: [PHP] Help using PHP 5.3.3 mail() with Apache James

2012-10-23 Thread Daniel Brown
On Tue, Oct 23, 2012 at 5:00 PM, Steven Pogue spo...@us.ibm.com wrote: Has anyone been successful at using the above on a RHEL 6.2 environment? I am able to use Postfix using the php.ini SENDMAIL_PATH but when I bring down PostFix, start Apache James and switch the sendmail_path value to point

Re: [PHP] cron job problem

2012-10-23 Thread Daniel Brown
On Tue, Oct 23, 2012 at 5:34 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Crontab is the daemon which runs cron jobs, and some distros have set up special files called cron.daily (or daily.cron I don't recall), cron.hourly, etc to make it easier to schedule jobs. Quick

Re: [PHP] Missing email

2012-10-20 Thread Daniel Brown
On Sat, Oct 20, 2012 at 5:00 AM, Karl DeSaulniers k...@designdrumm.com wrote: @Moderator Any reason why my emails do not post or at least dont post for hours later? There is no moderator on this list. I'm probably about as close as it comes. Can you explain more about the problems you're

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

2012-10-17 Thread Daniel Brown
On Wed, Oct 17, 2012 at 2:28 PM, Richard S. Crawford rscrawf...@mossroot.com wrote: You can see the current output of the above code here: http://projectbench.extensiondlc.net I've confirmed that the server is set to PDT. The value of date.timezone in php.ini is America/Los_Angeles, which

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

2012-10-16 Thread Daniel Brown
On Tue, Oct 16, 2012 at 4:19 PM, Richard S. Crawford rscrawf...@mossroot.com wrote: Thanks for the suggestion. Unfortunately the problem seems to be that PHP thinks the America/Los_Angeles timezone is the same as EDT. I'm not sure how to approach this issue. Per list rules, just a gentle

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

2012-10-16 Thread Daniel Brown
On Oct 16, 2012 5:24 PM, Richard S. Crawford rscrawf...@mossroot.com wrote: Sorry about that. I was getting very frustrated with the issue, and I forgot. I'll be sure to keep it in mind. No worries. With regard to debugging your issue, it's extremely unlikely that it's PHP's fault,

Re: [PHP] Beneficial site spamming framework

2012-10-15 Thread Daniel Brown
On Sat, Oct 13, 2012 at 5:10 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: It was only your replies coming through so often, so I doubt its my end. Also, the newsgroup is the same thing as the mailing list I believe, in this instance. Hmm I only got each reply once as well,

Re: [PHP] Re: PHP The Right Way (website)

2012-10-14 Thread Daniel Brown
On Sun, Oct 14, 2012 at 11:48 AM, Jim Giner jim.gi...@albanyhandball.com wrote: Sounds like a good idea, but as for me - if I was a newbie I'd have a problem with their very first instructions. It says right off the start to type in the following: php -5 localhost:8000 That should be a

Re: [PHP] Re: Reaching the PHP mailing list owners

2012-10-12 Thread Daniel Brown
What is it you're trying to achieve with the below, Helmut? On Fri, Oct 12, 2012 at 1:53 PM, Helmut Tessarek tessa...@evermeet.cx wrote: Well, this is useful. First I get a a message that the owner of the list is available at internals-ow...@lists.php.net and then I get another automated

Re: [PHP] Re: Reaching the PHP mailing list owners

2012-10-12 Thread Daniel Brown
On Fri, Oct 12, 2012 at 2:19 PM, Helmut Tessarek tessa...@evermeet.cx wrote: Hello Daniel, I wanted to get an answer to my question (which you would have seen, if you actually had read the mail). I briefly glanced, and no more, because anyone with any idea of Internet etiquette knows not

[PHP] Friday - Return of Brain Teasers

2012-10-05 Thread Daniel Brown
About five-and-a-half years ago, we had a brainteasers thread going on[1]. Last year it was briefly resurrected[2], and both times got some good content and dialogue going. So I'd like to reprise the thread in 2012, as well. Those of you connected to me on Facebook (parasane) or Twitter

Re: [PHP] Responding to an XML data post

2012-09-27 Thread Daniel Brown
On Thu, Sep 27, 2012 at 1:48 PM, Bastien Koert phps...@gmail.com wrote: Hi All, I am stuck in something where a 3rd party app pushes an XML post to my site. They need me to respond to that push with a synchronous XML post back confirming that the data was received / had issues etc. Those

Re: [PHP] Round help needed

2012-09-27 Thread Daniel Brown
On Thu, Sep 27, 2012 at 11:05 PM, Chris Payne oxygene...@gmail.com wrote: Hi everyone, I'm having one of those nights where nothing is working, please help What I have is this: $rounded_number = round($test, -3); Here's the problem i'm having, I need it to increment to the nearest 1000

Re: [PHP] PHP as Application Server

2012-09-26 Thread Daniel Brown
On Wed, Sep 26, 2012 at 5:58 AM, Maciej Liżewski maciej.lizew...@gmail.com wrote: Why there is no possibility to run PHP in application server way among other SAPI modules and other possibilities to run PHP? PHP would encounter great performance boost and became more enterprise :) Just look at

[PHP] Vulnerability Announced in phpMyAdmin

2012-09-25 Thread Daniel Brown
Afternoon, folks; Just a three-list cross-post to bring it to everyone's attention at once, in case you weren't already aware. It was announced today that a compromised SourceForge mirror was distributing a malicious file with the phpMyAdmin package that allows an attacker to arbitrarily

Re: [PHP] Re: How to limit source IP in PHP

2012-09-18 Thread Daniel Brown
On Tue, Sep 18, 2012 at 9:15 AM, Ian php_l...@fishnet.co.uk wrote: Hi Curtis, I am suffering from sleep deprivation due to a new family addition and I fail to see how your code will prevent a malicious user from binding to an IP that I do not want him to. It appears to be an example of how

Re: [PHP] bucle while for to msqyl

2012-09-16 Thread Daniel Brown
On Sep 16, 2012 4:33 PM, El Ale... alexissauc...@gmail.com wrote: hi! im new in this forum, i not speak very good english, apologise im spanish. I have a problem, need one infinit bucle to mysql only true if false break this, for example: Que paso, Alex? La lista de PHP en espanol

Re: [PHP] How to limit source IP in PHP

2012-09-12 Thread Daniel Brown
On Wed, Sep 12, 2012 at 10:18 AM, Tonix (Antonio Nati) to...@interazioni.it wrote: Is PHP able to 'force' binding IP? I hoped there was an external directive I did not see, but probably this is a PHP lack. Not at all. Essentially, PHP is an interface to underlying software, OS commands,

Re: [PHP] How to limit source IP in PHP

2012-09-12 Thread Daniel Brown
On Wed, Sep 12, 2012 at 11:38 AM, Tonix (Antonio Nati) to...@interazioni.it wrote: So, the answer is no, PHP is not able to do that. There is an (heavy) BASEDIR directive for disk, but nothing equivalent (and simpler) for IP. That's correct. However, that doesn't mean you can't put in a

Re: [PHP] The end of mysql

2012-09-08 Thread Daniel Brown
On Fri, Sep 7, 2012 at 9:58 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So with the announced end of the mysql functions (and switching to a different extension), one would think that my isp/hoster would be a bit more interested in my dilemma. I tried today to create my first

Re: [PHP] a little trickery

2012-09-08 Thread Daniel Brown
On Sat, Sep 8, 2012 at 10:49 AM, Stuart Dallas stu...@3ft9.com wrote: Is there just one image in the folder that starts with the 9 digit number? In that case it's dead simple (untested code): ?php function completeImageFilename($prefix) { $matches =

Re: [PHP] The end of mysql

2012-09-08 Thread Daniel Brown
On Sat, Sep 8, 2012 at 11:40 AM, Paul M Foster pa...@quillandmouse.com wrote: Please excuse my ignorance. I feel like I just stepped into the middle of a conversation. What's this about announced end of the mysql functions? Who exactly announced what, and is there a link to whatever

Re: [PHP] syntax error breaking in and out of php into html code

2012-08-26 Thread Daniel Brown
On Sat, Aug 25, 2012 at 6:54 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I've just inherited some (pretty awful code) that I have to make some edits to, and came across a bit of a problem. A lot of the code breaks in and out of PHP and into HTML code: ?php while(condition) { ?

[PHP] Re: [PHP-DB] echo into variable or the like

2012-08-21 Thread Daniel Brown
On Tue, Aug 21, 2012 at 12:01 AM, s@optusnet.com.au wrote: Hi, this is my first post so forgive me if I missed a rule and do something wrong. I have this code, echo $_SERVER['PHP_SELF'].?; foreach ($_GET as $urlvar=$urlval) echo $urlvar.=.$urlval.; It works by it’s self. I want to

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-18 Thread Daniel Brown
On Aug 18, 2012 4:49 PM, Paul M Foster pa...@quillandmouse.com wrote: I can comment on part of this based on what I was recently told by an SEO company. Let's assume you've got a bunch of SEO goodness (recognition, Google search placement, etc.) going for you on site1.com. If you a permanent

Re: [PHP] Need to have form protection techniques

2012-08-17 Thread Daniel Brown
On Fri, Aug 17, 2012 at 12:05 AM, Ansry User 01 yrsna.res...@gmail.com wrote: I need to know the forms validity techniques for Php. This will probably take a while to absorb, so you may need to revisit this page several times:

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Daniel Brown
On Fri, Aug 17, 2012 at 3:35 PM, Tristan sunnrun...@gmail.com wrote: So, I need to change from somedomain.com to somenewdomain.com I was thinking of doing this 1) create an alias to the site somenewdomain.com to point to current server 2) run permanent 301 redirect from somedomain.com to

Re: [PHP] Cost of redirect and site domain switch? Good Practice / Bad Practice / Terrible Practice

2012-08-17 Thread Daniel Brown
On Fri, Aug 17, 2012 at 4:30 PM, Tristan sunnrun...@gmail.com wrote: My colleague is saying but I still think we should change all the references to someolddomain.com to some newdomain, especially in the code base, database etc... I don't want to introduce more problems if a find/replace

Re: [PHP] about unlink

2012-08-14 Thread Daniel Brown
On Tue, Aug 14, 2012 at 4:22 AM, Tolga kacmazto...@gmail.com wrote: hi, i have a very annoying problem with unlink() i use win7 and wamp server (apache 2.2.22 php 5.4.3) when i try to use unlink: SCREAM: Error suppression ignored for Warning: unlink(aaa/bbb.ccc): Permission denied in

Re: [PHP] PHP APC 3.1.11

2012-08-14 Thread Daniel Brown
On Tue, Aug 14, 2012 at 7:14 AM, Vedran Rodic vro...@gmail.com wrote: Hi, PHP APC 3.1.11 is marked beta, however it seems to contain important bugfixes. Is it safe to deploy on production (we're currently using 3.1.9)? Or it is better to wait for 'stable' release. When is next 'stable'

[PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread Daniel Brown
On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro tomas.la...@hotmail.com wrote: Hello, my name is tomas, i'm having a problem and i've checked a lot of times the script and it is not that, because in my local xampp server it works correctly, the issue is that i have a form on my webpage and when

Re: [PHP] Too many open files

2012-08-10 Thread Daniel Brown
On Fri, Aug 10, 2012 at 10:22 AM, Robert Cummings rob...@interjinn.com wrote: On 12-08-09 08:01 PM, Al wrote: I can't find a way to see what files could be open or what the limit is. Site is on a shared server, cPanel. ^ THIS is probably your problem. Too many

Re: [PHP] PHP session variables

2012-08-08 Thread Daniel Brown
On Wed, Aug 8, 2012 at 11:24 AM, Ansry User 01 yrsna.res...@gmail.com wrote: I am setting the _SESSION variables in one of my file, but whenever I leave the php page session variables are not accessible. Not sure what I need to do additionally other then defining _SESSION[]. Any pointer.

Re: [PHP] Coding Web search engine in PHP

2012-08-06 Thread Daniel Brown
On Mon, Aug 6, 2012 at 1:15 PM, shiplu shiplu@gmail.com wrote: Where *do* come up with those names :) Sorry I couldn't understand the meaning of your sentence. May be this is due to cultural difference. Anyway, Solr is a search engine. Nutch is a crawler. Both can be integrated. Then

Re: [PHP] Coding Web search engine in PHP

2012-08-06 Thread Daniel Brown
On Mon, Aug 6, 2012 at 1:42 PM, shiplu shiplu@gmail.com wrote: Thanks Daniel for clearing. I am pretty bad in English. :( Don't sell yourself short. Your English seems fine to me --- better than many native-speakers. -- /Daniel P. Brown Network Infrastructure Manager

Re: [PHP] get_browser error

2012-08-03 Thread Daniel Brown
On Fri, Aug 3, 2012 at 9:42 AM, admin ad...@buskirkgraphics.com wrote: Anyone using Get_browser() notice that IE 9 is reporting as IE 7? I am aware of compatibility mode in IE 9 but that should not change the version information sent will it? My guess is that it would, in fact,

Re: [PHP] Creating drop-down menus

2012-07-20 Thread Daniel Brown
On Fri, Jul 20, 2012 at 10:21 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Jul 20, 2012 9:20 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Jul 19, 2012 8:31 PM, Tedd Sperling t...@sperling.com wrote: On Jul 19, 2012, at 1:50 PM, Daniel Brown danbr...@php.net wrote

Re: [PHP] difference PEAR PECL

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 12:18 PM, Mihamina Rakotomandimby miham...@rktmb.org wrote: Hi all, Wondering about the difference between PECL and PEAR, I found: http://board.phpbuilder.com/showthread.php?10339238-Pecl-vs-Pear Is it a suitable answer? It's close. PECL (sometimes pronounced

  1   2   3   4   5   6   7   8   9   10   >