[PHP] Persistent connections

2013-10-26 Thread Nibin V M
Hello, I have been reading docs and many are telling that persistent connections are kept open indefinitely. But I found in PHP docs that it will not close after script execution like requesting a page; so should it close after the request is over? So when exactly a persistent connection should

Re: [PHP] Re: Sending PHP mail with Authentication

2013-09-29 Thread Paul M Foster
your requirements are extraordinary (which the OP's are), the native PHP mail() function is generally quite adequate. Never thought about creating a PHP email client. Interesting idea... Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http

Re: [PHP] Static methods vs. plain functions

2013-09-19 Thread Paul M Foster
functions. It is definitely something which benefits from OOP code, not flat functions. I've personally found that dates benefit from this same treatment. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] PHP Dependency Injector

2013-09-05 Thread Paul M Foster
On Thu, Sep 05, 2013 at 04:19:18PM -0400, Bastien Koert wrote: Jee, that should have been a friday comment...how does your dic standout Don't send emails like that to the list when I've got a mouthful of water! It all came out my nose! ;-} Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] PHP vs JAVA

2013-08-20 Thread Paul M Foster
, at least a passing skill in which is common to most programmers. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Paul M Foster
sorry. Were you saying something? As soon as I saw Ashley Sheridan in my email client, it closed and my computer rebooted for some strange reason. ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] POST action

2013-08-01 Thread Paul M Foster
! So there! ;-P Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POST action

2013-07-29 Thread Paul M Foster
On Mon, Jul 29, 2013 at 11:50:01AM -0500, Larry Garfield wrote: On 7/28/13 9:23 PM, Paul M Foster wrote: On Sun, Jul 28, 2013 at 08:46:06PM -0500, Larry Garfield wrote: [snip] Except as noted above. This is all home-grown, using native PHP functions designed to do these things

Re: [PHP] POST action

2013-07-28 Thread Paul M Foster
-- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reseting the auto-increment number in a MySQL database.

2013-06-27 Thread Paul M Foster
remember the system taking forever to calm down before it gave the next transaction a number way forward of the last one. I waited in front of my browser for quite some time. But I couldn't explain why. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing

Re: [PHP] Migration of applications to PHP 5.4

2013-06-25 Thread Paul M Foster
to get them to upgrade, so they can see the problems and fix them. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php, openssl and GOST ciphers - problem with GOST R 34.10-2001

2013-06-24 Thread Eugene M. Zheganin
Hi. So, back to the GOST ciphers problem. This is kinda a long story. Basically, there's tow sides of it. On one side there's a lack of OPENSSL_config() calls in ext/openssl/openssl.c. On the other hand, there's also a curl, which is also linked to Openssl. In case you want any encryption, you

Re: [PHP] Detect and Redirect Mobile Users

2013-06-12 Thread Paul M Foster
devices have become progressively more and more capable. Some of them are better than many desktops I've seen. So I'd be interested in the answer to the question myself. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] limit access to php page

2013-05-30 Thread Paul M Foster
On Thu, May 30, 2013 at 12:06:02PM -0400, Tedd Sperling wrote: On May 29, 2013, at 11:05 PM, Paul M Foster pa...@quillandmouse.com wrote: http://sperling.com/php/authorization/log-on.php I realize this is example code. My question is, in a real application where that $_SESSION['auth

Re: [PHP] limit access to php page

2013-05-29 Thread Paul M Foster
) things. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] webform spam prevention

2013-04-04 Thread Paul M Foster
not want cold-calling SEO marketing messages. Since that message there has been a significant reduction in emails from legitimate SEO companies. legitimate SEO companies ROTFL! (Oh, sorry, did I say that out loud?) Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP

Re: [PHP] php, openssl and GOST ciphers

2013-03-28 Thread Eugene M. Zheganin
Hi. On 28.03.2013 11:43, czir...@gmail.com wrote: My suggestion is to ensure all the paths to what you use are valid This should help: var_dump('file://'.realpath('./p12.pem')); Does that and the rest of the files Exists? I do hope these files are not in your document root Thanks for your

Re: [PHP] target question

2013-03-25 Thread Paul M Foster
a separate window/tab is determined by the HTML the browser is looking at when it makes the content request. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] target question

2013-03-25 Thread Paul M Foster
On Mon, Mar 25, 2013 at 04:37:50PM +, Stuart Dallas wrote: On 25 Mar 2013, at 16:35, Ford, Mike m.f...@leedsmet.ac.uk wrote: -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: 25 March 2013 16:09 This behavior of the browser actually conforms

[PHP] php, openssl and GOST ciphers

2013-03-22 Thread Eugene M. Zheganin
Hi. I'm trying to sign an S/MIME with PHP, using a pair of GOST-encrypted certificate and a private key. When using openssl itself from a console everything is fine: /usr/local/openssl/bin/openssl cms -sign -in file.txt -out signedfile.txt -signer p12.pem (signedfile.txt is created)

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Paul M Foster
difference is an asynchronous Javascript/AJAX call or a synchronous PHP call (on a standard PHP form submission). What am I missing? Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Re: Open form in new window

2013-03-04 Thread Paul M Foster
(as Matijn suggested) and then a single submit button. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Formatting -- defining sections of code

2012-12-14 Thread Paul M Foster
, their code base is relatively slim and well-organized. Also, obviously, study the MVC (model-view-controller) paradigm. It's a very useful way of dividing up your code's functionality. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http

Re: [PHP] storing searching docs

2012-12-12 Thread Paul M Foster
-- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP site search broken?

2012-12-04 Thread Paul M Foster
) does the same thing. Etc. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Beneficial site spamming framework

2012-10-11 Thread Paul M Foster
free to contact me privately if you think the answer shouldn't be in the archives of a public list. Likewise, if you can point me to a source of quickly absorbable research on the subject. I frankly don't know how I'd google such a thing. Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] Day after Friday

2012-09-23 Thread Paul M Foster
On Sun, Sep 23, 2012 at 09:33:33AM -0400, Tedd Sperling wrote: On Sep 22, 2012, at 3:59 PM, Paul M Foster pa...@quillandmouse.com wrote: On Sat, Sep 22, 2012 at 01:05:51PM -0400, Tedd Sperling wrote: Hi gang: I know it's the Day after Friday, but I'm asking a off-topic question

Re: [PHP] Day after Friday

2012-09-22 Thread Paul M Foster
-- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bounce messages

2012-09-21 Thread Paul M Foster
of cleaning up the bounce emails we all get when posting to the list(s)? ( Waits to delete all the bounce messages for this post :) ) Not seeing bounce messages here. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Programmers and developers needed

2012-09-18 Thread Paul M Foster
bought TiVo partially so I could skip ads. I've revelled in it every day since. I can watch an hour-long program in 47 minutes. (Though this is a sad commentary on television and cable content providers.) Yes, ads are Evil(tm). Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com

[PHP] Blocking gethostbyname and Net_DNS2 behaviour

2012-09-11 Thread a m
Hi, I was using gethostbyname up until recently but switched to Net_DNS2 due to lack of support for a timeout. Now I discovered some worrying behaviour and hope someone here get shed some light onto it. I am running PHP inside an Apache 2 installation as module and noticed that once I call

[PHP] Re: Blocking gethostbyname and Net_DNS2 behaviour

2012-09-11 Thread a m
My apologies, it looks like it was a false alarm and the blocking actually comes from PHP's session manager. Sorry, Alexander On 11 September 2012 14:22, a m ner...@gmail.com wrote: Hi, I was using gethostbyname up until recently but switched to Net_DNS2 due to lack of support for a timeout

Re: [PHP] The end of mysql

2012-09-08 Thread Paul M Foster
functions? Who exactly announced what, and is there a link to whatever announcement somewhere? Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FoxPro Table Structure

2012-08-28 Thread Paul M Foster
://noferblatz.com/dbfsak.php If you download the code and need help, just let me know. I believe the command line switch you're looking for is -i, as in: dbfsak -i mytable.dbf Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net

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

2012-08-18 Thread Paul M Foster
suspect it's true. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2012-08-18 Thread Paul M Foster
On Sat, Aug 18, 2012 at 05:10:39PM -0400, Daniel Brown wrote: On Aug 18, 2012 4:49 PM, Paul M Foster [1]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

Re: [PHP] Two ways to obtain an object property

2012-08-15 Thread Paul M Foster
in subsequent code, you're not suffering the (admittedly small) repeated overhead of the function call. But in answer to your question, isASubscriber() would be a pretty standard getter method to expose internal object properties. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com

[PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-12 Thread BRIAN M. FITZPATRICK
I've looked all over the net and I have been unable to find a concrete answer to this question. I am about to start development on a web application that will need to provide real-time updates of data to user's browsers. WebSockets are ideal for this task. I have read in some places on the net

Re: [PHP] Re: What do you call the end-user?

2012-07-24 Thread Paul M Foster
. But in the case of FOSS, nothing could be further from the truth. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-20 Thread Paul M Foster
On Fri, Jul 20, 2012 at 09:04:30AM +0100, Lester Caine wrote: Paul M Foster wrote: Here's another one: There are currently discussions in the U.S. Congress in favor of forcing internet vendors to charge sales tax on*all* sales, regardless of whether the vendor has a presence in that state

Re: [PHP] What do you call the end-user?

2012-07-19 Thread Paul M Foster
half the people who read anything can't actually *apply* what they read to whatever system they're working with. Supposedly they can read. But somehow they still need someone to explain it to them, no matter how good the docs are. Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Paul M Foster
. Governments and large corporations are about power and *control*. The internet is the antithesis of this. So expect their efforts to control some or all of the internet to continue until they succeed. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http

Re: [PHP] What do you call the end-user?

2012-07-19 Thread Paul M Foster
to you. In this case, I wouldn't want to waste my time on what you describe. I don't care how big the check is. I have too many other more important things to do with my time. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Creating drop-down menus

2012-07-17 Thread Paul M Foster
don't know why, but Javascript just devours CPU on my computer. The more javascript, the worse. And like I said, JQuery is a LOT of code. This is one of the reasons I tend to code things in PHP instead of Javascript. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP

Re: [PHP] PDO: extend or encapsulate?

2012-07-13 Thread Paul M Foster
would prefer not be used by my code. Encapsulation limits the methods of the classes to just what I deem necessary and no more. I can always write new methods if I need them. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Paul M Foster
the use of .htaccess files and Apache's mod_rewrite, which you may not have in a shared hosting environment. Hopefully that helps. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Paul M Foster
.). Then use those as part of the toolkit, assembled (again on a shallow basis) in a loosely MVC pattern. If I make a mistake, I should be able to isolate where it is within an hour (ideally much less). And be able to go to the specific class and method involved. Paul -- Paul M. Foster http

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Paul M Foster
on butterflies is exceptionally difficult. You really want to isolate that in your models. Fortunately, the herding_cats design pattern works equally well with butterflies. (Welcome to Friday, half a day early! ;-) Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General

Re: [PHP] disabled cookies

2012-06-04 Thread Paul M Foster
, but you can keep your parliament. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Open Call: Official PHP Mirror

2012-06-02 Thread Paul M Foster
clients, Droids, Borg, Klingons, Romulans, toddlers, and the gum disease known as gingivitis. There I was, ready to volunteer, until I saw Romulans. Geez, a few bad apples spoiling it for the rest of us. Crap. ;-} Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP

Re: [PHP] Happy Diamond Jubilee everyone!

2012-06-01 Thread Paul M Foster
days :-/ *Very* nice work! Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Function size

2012-05-30 Thread Paul M Foster
On Tue, May 29, 2012 at 11:40:25PM +0200, Matijn Woudt wrote: [snip] On Tue, May 29, 2012 at 11:06 PM, Paul M Foster pa...@quillandmouse.com wrote: [snip] I think a lot of coders try to be kewler than the next 18 guys who are gonna have to look at the code, so they use a lot

Re: [PHP] Re: Function size

2012-05-30 Thread Paul M Foster
. ALWAYS satisfy yourself that you know what a function is doing by *looking* at what it's doing. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Function size

2012-05-29 Thread Paul M Foster
of compression techniques to reduce LOC. Plus, they're lazy. I'd rather see everything with lots of spaces and plenty of comments and blank lines. Especially since I'm sometimes that 18th guy to look at the code. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General

Re: [PHP] Function size

2012-05-29 Thread Paul M Foster
extent they model how most people (programmers) would naturally approach the solution of programming problems. (Of course, there are always the oddballs like me who still prefer reverse polish notation on our calculators. Go figure.) Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] Re: Variables via url

2012-05-12 Thread Ashley M. Kirchner
On 5/12/2012 7:21 AM, Jim Giner wrote: Of course, someone here with much more knowledge than I could very soon make me look stupid :) Meh, I don't call that looking stupid. I call it a different way of skinning the cat. :) We're all here to learn from one another, right? Thanks

[PHP] Variables via url

2012-05-11 Thread Ashley M. Kirchner
Can someone point me at examples or directions on how I can pass a variable via a URL in the following way: http://server.domain.com//script///variable/ I will only be passing one single /variable/. And I want the /script/ to use that. I don't want to see what the script

Re: [PHP] PHP: a fractal of bad design

2012-04-11 Thread Paul M Foster
-- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Script execution after window close

2012-03-04 Thread Nibin V M
Hello, I need to run a few commands when a user close the browser tab. That is, I have a php page ( index.php ) and it will create a temporary file to track some stuffs. That temporary file should be removed, when the user close the browser tab. Is there any way to achieve this? Thank you, --

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
at 20:49 +0530, Nibin V M wrote: Hello, I need to run a few commands when a user close the browser tab. That is, I have a php page ( index.php ) and it will create a temporary file to track some stuffs. That temporary file should be removed, when the user close the browser tab. Is there any

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..I have script which will run based on some values in user's homedir. In fact I have tried to run the script from a various locations; but it didn't work as expected like it run from each users homedir. So, when the user access the page, it will copy the actual script to the user's homedir

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..thanks guys...I will check further then. thanks for your inputs :) On Sun, Mar 4, 2012 at 9:59 PM, Govinda govinda.webdnat...@gmail.comwrote: in factI really need to remove the file ( which will be created for every access - making a copy from another location ). I can't leave that

[PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
Hello, I am trying to display the website content through a php code ( my own websites; doesn't cause copy right issues ). I use curl to display the page via the following simple code. ?php $curl = curl_init(); curl_setopt ($curl, CURLOPT_URL, http://mytest.com;); curl_exec ($curl); curl_close

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
Thanks Marc. But that need to add the DOM parser to the server. What I am looking for something like iframe in html and that doesn't require any additional PHP modules ( I do would like to avoid additions to the current php; that is why I didn't compiled in curl ) On Fri, Mar 2, 2012 at 7:58 PM,

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
, Nibin V M nibi...@gmail.com wrote: Thanks Marc. But that need to add the DOM parser to the server. What I am looking for something like iframe in html and that doesn't require any additional PHP modules ( I do would like to avoid additions to the current php; that is why I didn't compiled

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
...@cmsws.com wrote: On 03/02/2012 06:26 AM, Nibin V M wrote: Hello, I am trying to display the website content through a php code ( my own websites; doesn't cause copy right issues ). I use curl to display the page via the following simple code. ?php $curl = curl_init(); curl_setopt ($curl

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
Hmm..I am a php newbie ( just started learning it )... what my need is to display website from my server always for a non-registered domain.This is the code I use now to display the website ?php $opts = array( 'http'=array( 'method'=GET, 'header'=Accept-language: en\r\n .

[PHP] Website preview script

2012-02-29 Thread Nibin V M
Hello, I am very new to PHP coding. I am trying to achieve a task via PHP, regarding which I have been googling around for a few days and now come up with emtpy hands! Ok, what I need to write is a website preview script. That is I need to display a website hosted on serverA and pointing

Re: [PHP] Website preview script

2012-02-29 Thread Nibin V M
:07 PM, Nibin V M nibi...@gmail.com wrote: Hello, I am very new to PHP coding. I am trying to achieve a task via PHP, regarding which I have been googling around for a few days and now come up with emtpy hands! Ok, what I need to write is a website preview script. That is I need

Re: [PHP] Website preview script

2012-02-29 Thread Nibin V M
-02-29 at 19:54 +0100, Simon Schick wrote: Hi, Nibin I wonder what you'd call a website preview ... Do you mean a screenshot or the HTML-response from the server, specially prepared (sounds like you want to create a proxy ;))? Bye Simon 2012/2/29 Nibin V M nibi...@gmail.com No..what I

Re: [PHP] Swiftlet is quite possibly the smallest MVC framework you'll ever use.

2012-02-13 Thread Paul M Foster
this is my C upbringing Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Swiftlet is quite possibly the smallest MVC framework you'll ever use.

2012-02-12 Thread Paul M Foster
that than spend hours trying to track down which file in which directory contains the class which paints the screen blue or whatever. (Yes, I'm aware that require_once() introduces some latency.) Just something to consider. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com

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

2012-02-08 Thread Paul M Foster
) around that time, and seeing all kinds of talk in the company materials about *Ethernet*. They explained the basic protocol and compared it to token ring, and I just thought, Hmm, yes, that seems like a pretty clever way to go about networking. Paul -- Paul M. Foster http://noferblatz.com http

Re: [PHP] Arrays: Comma at end?

2012-02-07 Thread Paul M Foster
it for all these years. Thanks! Micky I've always avoided trailing array commas, but only because I was under the impression that leaving one there would append a blank array member to the array, where it might be problematic. Yes? No? Paul -- Paul M. Foster http://noferblatz.com http

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

2012-02-07 Thread Paul M Foster
was remarkably similar for solving certain types of programming problems. So they codified what that found and wrote a book about it. I have the book on my shelf, and it's decent technology, but you could spend your whole career and never use any of it, and get along just fine. Paul -- Paul M. Foster

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
On Mon, Feb 06, 2012 at 02:28:42PM -0600, Donovan Brooke wrote: Paul M Foster wrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the same browsers as the desktop, or do they have their own stripped

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
-- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
On Mon, Feb 06, 2012 at 04:04:28PM -0500, Adam Richardson wrote: On Mon, Feb 6, 2012 at 3:50 PM, Adam Richardson [1]simples...@gmail.com wrote: On Mon, Feb 6, 2012 at 12:58 AM, Paul M Foster [2]pa...@quillandmouse.com wrote: This is sort of obliquely related to PHP

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
On Mon, Feb 06, 2012 at 09:01:45PM +, Stuart Dallas wrote: On 6 Feb 2012, at 05:58, Paul M Foster wrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: There are simulators available for most smartphones. 1) Do

[PHP] Headers on smart phone browsers

2012-02-05 Thread Paul M Foster
or smart phone version of a webpage)? Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable Troubleshooting Code

2012-01-09 Thread Paul M Foster
; } I use this routine wherever I want to see what's going on. It formats (particularly) array output so that I can read it, instead of having everything look like JSON, which is much harder to read. Feel free to use the above yourself as needed. Paul -- Paul M. Foster http://noferblatz.com

Re: [PHP] PDF Printing instead?

2012-01-05 Thread Paul M Foster
then simply click on the link and their browser will open it and provide the native (usually Adobe Reader) interface for viewing and printing it. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread L M Andrews
Hi, Or should I just be looking somewhere else? Yes, if you're setting up a local development environment on a Mac, the painless solution is to install MAMP (m as in Mac). Everything installs into a single folder (easily deletable, too) without modifying any of the original versions that might

[PHP] Alternative session control system

2011-12-26 Thread Francisco M. Marzoa Alonso
Hello, I need an alternative session control system different from the PHP standard one, that does not need to use the headers, because it's for a series of scripts that will be accessed through AJAX javascript code inserted in different places of a web page which headers I do not control, so I

Re: [PHP] Way to output HTML on professional websites

2011-12-26 Thread Paul M Foster
, I think you'll find that most CMS based site presentations are based on templating engines, though I could be wrong. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Question regarding passwords/security

2011-12-22 Thread Paul M Foster
. Is there any concensus or overwhelming argument one way or the other? Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Question regarding passwords/security

2011-12-22 Thread Paul M Foster
On Thu, Dec 22, 2011 at 12:55:41PM -0500, Al wrote: On 12/22/2011 10:05 AM, Paul M Foster wrote: Not sure how to ask this question... I've always eschewed consulting a database on page loads to determine if a user is logged in, primarily because of latency issues. For example, you could

[PHP] Problems with CURL using an HTTP Proxy on PHP5

2011-12-16 Thread Francisco M. Marzoa Alonso
Hello, The following code is failing and I do not find the cause (please, note that checkurl value and CURLOPT_PROXY are NOT the real values I'm using, of course): $ch = curl_init(); $checkurl = 'http://mycheckhost.com/'; curl_setopt ($ch, CURLOPT_TIMEOUT, 6000);

Re: [PHP] Finding and reading firefox bookmarks with PHP

2011-11-28 Thread Paul M Foster
On Mon, Nov 28, 2011 at 10:59:03AM -0500, David McGlone wrote: On Sun, 2011-11-27 at 22:20 -0500, Paul M Foster wrote: On Sun, Nov 27, 2011 at 06:47:36PM -0500, David McGlone wrote: Hi all, I am wondering if it's possible to find the bookmarks file in firefox and output the contents

Re: [PHP] Finding and reading firefox bookmarks with PHP

2011-11-27 Thread Paul M Foster
know why the first key I mentioned is 2 instead of 1.) Anyway, I have my Firefox set up this way. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-26 Thread Paul M Foster
for has to do with the user interface and not PHP, there is no ONE way to build a PHP app. PHP is flexible enough to allow you to do it any of a number of ways. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] news and article posts in one table

2011-11-26 Thread Paul M Foster
if this is a better arrangement than keeping them in separate tables.) I've had to hack this table. It's a prime example of bad design. Take a long look at the records of this table in an active blog, with a survey of each of the fields and their values. You'll see what I mean. Paul -- Paul M

[PHP] Problems with proc_open and getmypid

2011-11-14 Thread Francisco M. Marzoa Alonso
Hello, I'm developing a PHP application that runs on GNU/Linux with php cli. A process must launch another one and store its pid, so I use proc_open and then proc_status to achieve that. The child process must also get its own pid and write it down to a file. After that, the calling process

Re: [PHP] Need help Wth PHP

2011-10-10 Thread Paul M Foster
to directly modify the site, without having to call a programmer or web developer. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple SQLite statements

2011-10-10 Thread Paul M Foster
* that this may be how it actually works, but I wondered if anyone could confirm that. -- Cheers -- Tim The docs appear to agree that this is allowed. See: http://us.php.net/manual/en/function.sqlite-exec.php Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP

Re: [PHP] Re: Secure data management

2011-10-07 Thread Paul M Foster
injection beyond just quoting. Here's a good tutorial on how this works: http://www.youtube.com/watch?v=bORZlmyDw0s Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New Service - Short URL Unshortener

2011-09-26 Thread m...@smtp.fakessh.eu
Le lundi 26 septembre 2011 02:08, Mike Mackintosh a écrit : Hey All, Wanted to pass a kind word of a new service we launched called Unshortenr (www.unshortenr.com) - which was linkrater.com. Input a short url and you'll get the target address, the page title, and a description of the page.

Re: [PHP] What determines your use of the type of DB framework/abstract?

2011-09-22 Thread Paul M Foster
) eases the work. As for ORMs, I'm old skool; my preference is to use straight SQL where possible. I think it makes you think more carefully about your database structure and the type of queries you do. And sooner or later, ORM gets in the way of multi-table foreign-key reliant queries. Paul -- Paul M

Re: [PHP] Any free online tests to test my PHP knowledge?

2011-09-22 Thread Paul M Foster
. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Paul M Foster
they are-- flat files. Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   9   10   >