Re: [PHP] php5 oop question

2007-04-12 Thread Tim Stiles
o weren't the ones who created it. I don't think they make code execution any faster (or slower, for that matter). It's worth knowing about them, but they probably shouldn't change your day to day practices. As with most techniques, it becomes a matter of kno

RE: [PHP] isset

2007-04-16 Thread Tim Earl
s are not empty. Strings > containing a 0 are empty. It's crap for almost any kind of > validation routine. It's one of those useless, magical, shoot > newbies in the toes functions. But then I guess to each their own :) What about in the following context? $arr = array();

[PHP] Stricter Error Checking?

2009-09-23 Thread Tim Legg
eing returned via the echo command. There really must be a stricter error checking that is turned on somewhere, isn't there? Thanks for your help. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tim Thorburn
Tony Marston wrote: How many hosting companies write to all their account holders to ask permission before upgrading PHP, not just from 4 to 5, but all the releases in between? Very few of them, if any, in my experience. I've no idea what horrible hosting companies you've had experiences wit

Re: [PHP] Unexpected behaviour from define()

2010-06-24 Thread Tim Schofield
work fine Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Unexpected behaviour from define()

2010-06-24 Thread Tim Schofield
On 24/06/10 23:08, Ashley Sheridan wrote: On Thu, 2010-06-24 at 23:02 +0100, Tim Schofield wrote: Very strange, as seems to work fine Tim It would, you misspelt LOG_WARNING with a lowercase 'i' ;) Thanks, Ash http://www.ashleysheridan.co.uk Thats what I was trying to illu

[PHP] Question about SQL and Graph nodel trees

2010-07-21 Thread Tim Gallagher
I cannot be the only one that is having this problem, what are you using for DAG (Direct Acrylic Graph)? I need to have a mesh node edge graph and am having trouble with this? I see that Neo4j has a rest server and I can do this in Java but I want to do it in PHP with a MYSQL or postgresql. I

RE: [PHP] Question about SQL and Graph nodel trees

2010-07-21 Thread Tim Gallagher
Thank you for the informaiton. I did see that code but it looks like it is formatted for MSSQL and was unable to get it to work for Mysql. Tim From: Andrew Ballard [aball...@gmail.com] Sent: Wednesday, July 21, 2010 11:40 AM To: Tim Gallagher Cc: php

[PHP] Web application architecture (subdomain vs. sub directory)

2010-08-25 Thread Tim Martens
ons as to the pros and cons of each approach. As an aside, does anyone have some advice about rapid PHP deployment, i.e., pushing new features to production daily in micro iterations vs the typical milestone approach? Are there any good tools for this? What about hosts? Thanks all, Tim

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-25 Thread Tim Martens
nt. I can see the logic of setting up subdomain for things like a universal login and, say, metrics for example. Is javascripting more difficult across subdomains? Is one approach beter in terms of security? Essentially the entire app will be running on https. Thanks again! Tim On Wed, Aug 25, 20

[PHP] Re: Web application architecture (subdomain vs. sub directory)

2010-08-26 Thread Tim Martens
e here and elsewhere, I think we're tending toward a an "no framework" MVC approach and sub-directory model to get started. As Per so elegantly stated "The subdirectory approach is easily rewritten to an internal subdomain structure." So if we need to pivot to a subdomain model we can do so. Tim

[PHP] Re: [!! SPAM] Re: [PHP] 1984 (Big Brother)

2010-09-13 Thread Tim Thorburn
ing. Having everything require a usb stick to launch sounds secure, until he loses the stick or forgets it at home one day. For fun I'd suggest tagging him with a microchip which your application will constantly scan for and only activate when he's within a certain radius of his desk. Retna scans shouldn't be overlooked either. May the force be with you on this one. -Tim

Re: [PHP] Newbie Question

2011-01-03 Thread Tim Thorburn
On 1/2/2011 5:56 PM, Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty two here. I been alternating vim and dreamweaver. I'm trying to go 100% open source, but I really fin

[PHP] strftime silliness

2012-04-10 Thread Tim Streater
s space. Anyone know of an simple way to avoid it? There appears to be no specifier to do this. Of course, I can call strftime twice, once for the date portion and once for the time portion, trimming the latter, but that seems clumsy. -- Cheers -- Tim -- PHP General Mailing List (http://w

[PHP] Re: strftime silliness

2012-04-10 Thread Tim Streater
On Apr 10th, 2012 at 10:40pm, Tim Streater wrote: > I want to format a date/time using a 12 hour representation of the time part. > I can do this with, say, "%d %b %Y %l:%M %p", where the first time format > specifier is the lower-case L. But, this gives me a leading space

Re: [PHP] strftime silliness

2012-04-11 Thread Tim Streater
On 11 Apr 2012 at 01:47, Geoff Shang wrote: > On Wed, 10 Apr 2012, Tim Streater wrote: > >> I want to format a date/time using a 12 hour representation of the time >> part. I can do this with, say, "%d %b %Y %l:%M %p", where the first time >> format specif

Re: [PHP] php in windows

2012-04-11 Thread Tim Streater
;s quite an accomplishment. I exaggerate for effect. Sometimes I volunteer a small office that, inevitably, uses it. And when my dopey BiL downloaded iTunes and then asked me what to do next, I sent him to the Start menu. But I actively resist knowing more than I absolutely need to. -- Cheers --

Re: [PHP] learning resources for PHP

2012-04-18 Thread Tim Dunphy
> I've been having a lot of fun with Beginning PHP 5.3 by Matt Doyle. Covers > basics nicely... Nice! I'll give that a try! Thanks for the suggestion! On Wed, Apr 18, 2012 at 6:18 PM, wrote: > On Apr 18, 2012, at 1:30 PM, Henry Martinez wrote: > >> I've been having a lot of fun with Beginning

Re: [PHP] url string being split

2012-04-27 Thread Tim Streater
plit in two unless you encode the "Wiser Communication, LLC -& - Sprague Ave" portion. I would do that with JavaScript on the html page. This is not a PHP question. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] errors not showing

2012-05-19 Thread Tim Dunphy
hello, list! I have 'error_reporting = E_ALL' set in my php.ini file. However when I run a php script that has errors in it all that happens is that the page WSODs. I am running Mac OS X 10.6. Any thoughts on why errors don't show up in the browser and how to correct this? Than

Re: [PHP] errors not showing

2012-05-19 Thread Tim Dunphy
Syntax OK [dunphy@localhost:~/jf-current] #sudo apachectl restart [dunphy@localhost:~/jf-current] #uname -a Darwin localhost 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 i386 I was wondering if there might be something else I might'

Re: [PHP] Re: Function size

2012-06-03 Thread Tim Streater
alls. I suppose I could break it up into five separate functions, more or less one for each case value, but then I'd have lots of unimportant local variables to pass around as argument values, and, what's worse, lots of unimportant functions cluttering the place up. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hungarian Notation interest with PHP

2012-06-04 Thread Tim Streater
; But we're in conflict because the colleague really argue about his > "Hungarian Notation". This simply adds far too much noise to code. If I need to know what type a variable has, I'll look at its declaration, if any. -- Cheers -- Tim -- PHP General Mailing

[PHP] Re: show info from mysql db

2012-06-10 Thread Tim Dunphy
or die ('Could not connect to database'); d'oh!! spelling counts!!! :) On Sun, Jun 10, 2012 at 1:15 AM, Tim Dunphy wrote: > hello list, > >  I tried designing a very basic couple of web pages tonight that was > solely meant to build some php chops. intentionally ch

Re: [PHP] Re: show info from mysql db

2012-06-10 Thread Tim Dunphy
'echo hello' test strategy .. have to try to remember that strategy before i go running for help.. :) tim On Sun, Jun 10, 2012 at 12:15 PM, Adam Richardson wrote: > On Sun, Jun 10, 2012 at 8:25 AM, Tim Dunphy wrote: >> $dbc = mysqli_connect('127.0.0.1','admin

Re: [PHP] embedding php inside of php

2012-07-01 Thread Tim Streater
On 01 Jul 2012 at 01:00, Tim Dunphy wrote: > I am trying to get the hang of php using some examples that I found > in a book. I've been making progress lately, but one thing has me a > bit stumped. > > In an HTML form that I am echoing through PHP I would like to embed >

Re: [PHP] Unexpected Notice message

2012-07-04 Thread Tim Streater
On 04 Jul 2012 at 16:51, Marc Guay wrote: >> Notice: Use of undefined constant QUERY_STRING - assumed 'QUERY_STRING' in > > I would guess that it's asking you to add quotes around QUERY_STRING...? As in: if (strlen($_SERVER['QUERY_STRING']) > 0) { --

Re: [PHP] Creating drop-down menus

2012-07-16 Thread Tim Streater
suggestions? You could use ajax to request the information needed to load the second drop down. Once the user chooses their bank, then your JavaScript makes an ajax request to a PHP script that returns the clients list. You use this to populate the second drop down. -- Cheers -- Tim -- PH

Re: [PHP] Creating drop-down menus

2012-07-17 Thread Tim Streater
http://www.clothears.org.uk/examples-ajax.php to see a simple example of how to use AJAX. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2012-07-20 Thread Tim Streater
ow easily your "whomever" can use your work efforts? In principle, yes. But that's a bit hard at the moment. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Programmers and developers needed

2012-09-13 Thread Tim Dunphy
> We are looking for programmers and developers to create a world wide system. Is it bigger than a bread box? On Thu, Sep 13, 2012 at 3:45 AM, agbo onyador wrote: > Hello there! We are looking for programmers and developers to create a > world wide system. Your comments are welcome. > -- GP

Re: [PHP] Programmers and developers needed

2012-09-14 Thread Tim Dunphy
On Fri, Sep 14, 2012 at 3:00 PM, Robert Cummings wrote: > On 12-09-13 06:10 PM, Ashley Sheridan wrote: > >> On Thu, 2012-09-13 at 16:48 -0400, Tedd Sperling wrote: >> >> On Sep 13, 2012, at 3:45 AM, agbo onyador wrote: >>> >>> Hello there! We are looking for programmers and developers to create

[PHP] Re: PHP Re: Programmers and developers needed

2012-09-19 Thread Tim Streater
at does any of this have to do with PHP? Nothing, I think. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Bounce messages

2012-09-21 Thread Tim Streater
hing else? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Re: PHP Bounce messages

2012-09-21 Thread Tim Streater
On 21 Sep 2012 at 20:56, tamouse mailing lists wrote: > On Fri, Sep 21, 2012 at 4:17 AM, Tim Streater wrote: >> On 21 Sep 2012 at 08:40, Lester Caine wrote: >> >>> I know that the php list are one of the 'reply to sender' email handling >>> ca

Re: [PHP] Re: php can't insert data mysql table

2012-10-01 Thread Tim Dunphy
/more accurate error message? They take away from this for me was.. don't skimp on the error messages! The one I got was so clear that fixing the problem was easy at that point. But thanks again guys.. this list has been an indispensable source source of wisdom on my journey in learning PHP. Tim Thanks again guys, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Re: [PHP] Re: php can't insert data mysql table

2012-10-01 Thread Tim Dunphy
Yes I am now using auto_increment, and that's what seemed to solve my issue. Looks like a simple omission in forgetting to use auto_increment and using primary key. I usually know better. I'll blame this one on the clonopin. lol thank you tim On Mon, Oct 1, 2012 at 12:30 PM, Ji

[PHP] Re: problem with my login script

2012-10-02 Thread Tim Streater
to add additional clauses to your while-conditional. Agree 100%. -- Cheers -- Tim

[PHP] Re: Differences

2012-10-04 Thread Tim Streater
, the while loop goes round and round dealing with each filename you have in $matches, and echoes out each one. When the while loop has completed, the function returns, but returns nothing at all. So your original echo then does nothing at all. And so you see the observed behaviour. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: limiting

2012-10-09 Thread Tim Streater
for JavaScript/HTML/CSS/SQLite) so that must say something about the quality of the on-line documentation. Further, it is written in a straightforward way, not trying to be clever (unlike some languages I could mention), so I can recommend it. It's available in languages other than English,

[PHP] Re: limiting

2012-10-10 Thread Tim Streater
27;s a point of view. But more often that not it just leads to convoluted code in order to achieve that. The one time I *had* to use Pascal as that was the only option, I simply put a 999: label at the end of the function and did goto 999 wherever I wanted to do a return. Simples! -- Cheers -- T

[PHP] Re: limiting

2012-10-10 Thread Tim Streater
On 10 Oct 2012 at 19:53, David McGlone wrote: > On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote: >> On 10 Oct 2012 at 19:17, David McGlone wrote: >>>> BTW - in any of your other computer languages didn't they utilize a >>>> 'return'

[PHP] Re: appreciation

2012-10-12 Thread Tim Streater
That way, the unwanted cases don't clutter up the logic for the cases I do/might want. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Switch - Case Statement Questions

2012-11-16 Thread Tim Streater
Switch it always execute the first > case ? As has been pointed out you need switch(true). That's a strange way of writing a switch, IMO. You should be using the if version. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Switch - Case Statement Questions

2012-11-17 Thread Tim Streater
b of a programmer is not to be "clever" with a view to impress those who follow, but to achieve the desired outcome while at the same time making life easy for those who follow. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Switch - Case Statement Questions

2012-11-19 Thread Tim Streater
guy there who had removed the catalytic converter from his Scirocco and who though it clever to race up 280 from San Jose to SLAC at 100mph, sometimes slipstreaming behind another idiot doing the same. If I look in my rear-view mirror, I expect those I can see to be doing 70mph tops (that's

[PHP] Re: Strange string stuff -- maybe everything is ending...

2012-12-22 Thread Tim Streater
sired character after the string using square array brackets, as in $str[42]. Think of a string as an array of characters for this purpose. The functions substr() and substr_replace() can be used when you want to extract or replace more than 1 character. -- Cheers -- Tim -- PHP General Maili

[PHP] Re: Boolean type forced on string assignment inside if statement

2013-01-02 Thread Tim Streater
> I expect: >> foo >> bar >> >> Is this documented? >> > > && takes precedence over = > > http://php.net/manual/en/language.operators.precedence.php > > You may want to use brackets OP may want to avoid doing something unusual which may confuse a casual reader. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Strip emails from a document

2013-01-26 Thread Tim Streater
tand is also valid. You are welcome to it if you wish. Cheers, -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
submit forms. I use ajax to communicate with PHP scripts and do something with the data that is returned by the script. You can see a simple example at http://www.clothears.org.uk -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
On 04 Mar 2013 at 20:17, Paul M Foster wrote: > On Mon, Mar 04, 2013 at 05:39:00PM +0000, Tim Streater wrote: >> Personally I never submit forms. I use ajax to communicate with PHP >> scripts and do something with the data that is returned by the script. >> You can see a s

[PHP] Re: Populate input from another form

2013-03-08 Thread Tim Streater
your page to get replaced by the form's action, CRTP_Query.php in this case. Hmm, although it looks like you want a frame to receive the new page rather than replace the page. You'd probably need JavaScript to do that. > Do I need to use jquery? Avoid, IMO. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: rather a HTML Q; however 2-FRAME

2013-03-15 Thread Tim Streater
7;s unlikely in any case that any feature will ever be removed from a browser. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Undefined index....

2013-03-15 Thread Tim Streater
1); } } } BTW it seems to me that you'll have the same problem with $included unless there's other code in includeXML that you've omitted. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: generate onfly PDF

2013-05-05 Thread Tim Behrendsen
ce and free. I should say, I've used the Linux version. It looks like there's a Windows version, but I have no experience with that, if that's what you need. Tim Rafnews wrote: Hi, Is there a solution to generate onfly PDF from HTML page, and from data user typed in form (let&

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread Tim Schofield
Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a million lines of C when you could just tell them the answer? Thanks Tim Course View Towers, Plot 21 Yusuf Lule Road, Kampala T +256 (0) 312 314 418 M +256 (0

Re: [PHP] Question about session_id() and session_start()

2013-05-21 Thread Tim Schofield
On 20/05/2013, Maciek Sokolewicz wrote: > On 20-5-2013 22:14, Tim Schofield wrote: >> Matijn >> >> There are well over half a million lines of source code in PHP. It seems >> a >> little unhelpful to tell someone to go and read half a million lines of C >> w

[PHP] iterate javascript verification

2013-05-24 Thread Tim Dunphy
f (d==null || d=="") { alert("User $counter address must be filled out."); return false; } var d=document.forms["ldap_accounts"]["phone_"].value; if (d==null || d=="") { alert("User $counter phone name must be filled out."); return false; } } "; echo ""; echo ""; echo ""; ?> Thanks, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Re: [PHP] iterate javascript verification

2013-05-27 Thread Tim Dunphy
[] = " > value='$num_forms' />"; > > $tmp[] = " name='requestor_email' > > value='$requestor_email' />"; > > $tmp[] = ""; > > $tmp[] = ""; > > > > ?> > > > > > >

Re: [PHP] iterate javascript verification

2013-05-27 Thread Tim Dunphy
Sounds good! Thanks Ken. Very clear now. Tim Sent from my iPhone On May 27, 2013, at 1:57 PM, Ken Robinson wrote: > When you do validation of the form in the same script that shows the form, > the normal way to do this is > >if (isset($_POST['submit'])) { >

[PHP] limit access to php page

2013-05-29 Thread Tim Dunphy
RL of redirect.php into your browser you can hit the page regardless of the login process on index.php. How can I limit redirect.php so that it can only be reached once you login via the index page? Thank you! Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

[PHP] Re: One more newbie question. About foreach..

2013-06-23 Thread Tim Streater
r mysql_query *inside* the for loop. Then, what are you doing with the results of the mysql_query? Nothing? Also, why do you need the for loop anyway? What is it supposed to do? -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mongo usage

2013-07-06 Thread Tim Dunphy
_name' => 'Peter', 'last_name' => 'Parker', 'address' => '175 Fifth Avenue', 'city' => 'New York', 'state' => 'NY', 'zip' => '10010',); var_dump($address); echo ''; $addresses->insert($address); ?> I'd appreciate any advice you might have. Thanks, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
> > > > > > Mongo Test Page > > > > > > > > > $connection = new Mongo(); > > > > > > $db = $connection->jfdb; > > > > $collection = $db->addresses; > > > > //$adresses = $connection->jfdb->adresses; &

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
>adresses; Thanks again! On Sat, Jul 6, 2013 at 2:57 PM, Jonathan Sundquist wrote: > You commented out the setting of yhe addresses variable > On Jul 6, 2013 1:42 PM, "Tim Dunphy" wrote: > >> Hey all, >> >> I'm trying to pick up some basic use of

Re: [PHP] mongo usage

2013-07-06 Thread Tim Dunphy
| You seem to spell the variable differently (1 'd' vs. 2 'd's)? Thanks! Fixed the type-o. Still no change. $connection = new Mongo(); $db = $connection->jfdb; //$collection = $db->addresses; $adresses = $connection->jfdb->addresses; Any othe

[PHP] Re: mongo usage

2013-07-06 Thread Tim Streater
On 06 Jul 2013 at 23:27, Tim Dunphy wrote: > | You seem to spell the variable differently (1 'd' vs. 2 'd's)? > > Thanks! Fixed the type-o. Still no change. > > $connection = new Mongo(); > >$db = $connection->jfdb; > >//$collectio

Re: [PHP] Re: mongo usage

2013-07-06 Thread Tim Dunphy
Thanks. Sorry to bug you guys with this. That did it. sigh On Sat, Jul 6, 2013 at 6:49 PM, Tim Streater wrote: > On 06 Jul 2013 at 23:27, Tim Dunphy wrote: > > > | You seem to spell the variable differently (1 'd' vs. 2 'd's)? > > > &g

[PHP] Re: htaccess

2013-07-08 Thread Tim Streater
ent to PHP by apache, whether they contain any PHP code or not. Is that what you want? If I have an html file that contains some PHP code, I tend to use .phtml as suffix and so my AddType looks like: AddType application/x-httpd-php .php .phtml -- Cheers -- Tim -- PHP General Mailing

[PHP] Re: Foreach and mydql_query problem

2013-07-22 Thread Tim Streater
ems to me you should make sure your WHERE is correct. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2013-08-04 Thread Tim Streater
on't > work correctly on Safari and iOS Safari. onbeforeunload works fine in Safari; I use it all the time. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP vs JAVA

2013-08-21 Thread Tim Streater
lready know other languages. It's simple enough. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: exec and system do not work

2013-08-26 Thread Tim Streater
o system("touch /var/www/orders.txt", $ret); >>> echo system("chmod 766 /var/www/orders.txt", $ret); >>> echo 'file2'; >>> echo file_exists("/var/www/orders.txt"); >>> } > If you would point out my syntax errors, I will

[PHP] Re: Friday's Question

2013-09-20 Thread Tim Streater
rks slightly better on the pad (covered in butterfly > pix) than it would on the pine desktop. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Friday's Question

2013-09-20 Thread Tim Streater
of these items are except the toothpaste. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Apache

2013-09-23 Thread Tim Streater
On 23 Sep 2013 at 11:37, Domain nikha.org wrote: > The problem is the weak PHP upload mechanism! I'd have said the problem is weak metadata provision - overloading the filename for other purposes. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Tim Dunphy
7;); // @codeCoverageIgnoreEnd } Has anyone played around enough with the AWS SDK to know what I'm doing wrong here? Would anyone else be able to hazard a guess? Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Tim Dunphy
in} thrown in /var/www/awssdk/services/s3.class.php on line 548 I hope that clarifies my situation a bit. Sorry for not providing that sooner! Thanks Tim On Sun, Sep 29, 2013 at 1:09 PM, Aziz Saleh wrote: > Hi Tim, > > Is the call working? Does it actually get deleted? > > This

Re: [PHP] delete S3 bucket with AWS PHP SDK

2013-09-29 Thread Tim Dunphy
Hi Aziz, Thank you for getting back to me! I appreciate you spotting that error. So I corrected that deleteObject(array( 'Bucket' => $bucket_name ));* // The response comes back as a Simple XML Object // In this case we just want to know if everything was okay. // If not, report the me

[PHP] Spaces in filename or path

2011-04-30 Thread Tim Streater
Does it matter to PHP filesystem functions if a path/to/file/name contains spaces? IOW, is this handled OK by design or should I replaces such spaces by backslash-space or would doing that present problems? Thanks -- tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: Re: [PHP] Spaces in filename or path

2011-04-30 Thread Tim Streater
On 30 Apr 2011 at 22:33, Richard Quadling wrote: > On 30 April 2011 22:07, Tim Streater wrote: >> Does it matter to PHP filesystem functions if a path/to/file/name contains >> spaces? IOW, is this handled OK by design or should I replaces such spaces by >> backslash-spac

Re: [PHP] Re: postgresql database access failure

2011-05-02 Thread Tim Streater
On 02 May 2011 at 11:05, e-letter wrote: >> >> Here's the URL of the relevant manual page: >> http://www.php.net/manual/en/function.pg-fetch-result.php >> > > The manual page did not explain the purpose of the text 'die', so was > ignored (;)). What, you mean this? $db = pg_connect("dbnam

Re: Re: [PHP] passing control to a separate script

2011-05-02 Thread Tim Streater
personal > lives a bit much -- but I guess that's your point. I'd say he was expressing annoyance at these mails saying "sent from my raspberry", as if somehow anyone gives a monkey's. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bold links

2011-05-07 Thread Tim Streater
On 07 May 2011 at 18:42, Michael Simiyu wrote: > hey, straw. > some php 101 here guys :) > > i want to bold the first name and last name in the code below... It's not PHP 101, it's HTML 101. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: Re: [PHP] mysql problems

2011-05-12 Thread Tim Streater
On 11 May 2011 at 19:25, Curtis Maurand wrote: > $_cartTotal="$0.00"; Surely that should be: $_cartTotal = "0.00"; tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Error recovery - fatal errors

2011-05-14 Thread Tim Streater
n library packages seems somewhat arbitrary - e.g. opendir may give an E_WARNING, but closedir, readdir don't. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread Tim Streater
On 14 May 2011 at 15:05, Peter Lind wrote: > On 14 May 2011 12:33, Tim Streater wrote: >> I would like, in my app, to recover from as many run-time errors as possible, >> so that I can tidy up. And unsolicited output generated by the standard error >> system is really un

Re: [PHP] Error recovery - fatal errors

2011-05-16 Thread Tim Streater
er for it to display, and in one case it does it right, in another the browser converts it to something else. I'm trying to duplicate this in a testbed with no success so far. Still, it keeps me off the streets :-) Cheers -- tim -- PHP General Mailing List (http://www.php.net

Re: Re: [PHP] A Review Request

2011-05-18 Thread Tim Streater
me combination of PHP, ajax, javaScript, CSS, and/or HTML, so good for you is what I say. Tedd: you have written "who's" instead of "whose" on your √ website. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] A Review Request

2011-05-18 Thread Tim Streater
y. I hope you see the difference. Not obvious. If I have copy/pasted code and it hasn't worked, that's been no-one's fault but mine, and I've then gone back and looked at it more carefully. Any example given on the web, seems to me, is likely to be copy/pasted unless you

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

2011-05-19 Thread Tim Streater
t; not limited to, comments, whitespace, HTML code, etc. > 2 - Remove all white space. Personally, this is the route I would use. For the sake of completeness, that is whitespace *outside* the tags. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] A Review Request

2011-05-20 Thread Tim Streater
;error_log("Fetch Data: ".$memory); > } Not to me it doesn't. I find such usage incomprehensible. tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] A Review Request

2011-05-20 Thread Tim Streater
areas that deliberately haven't been addressed in the example provided, then that should suffice. The difficulty IME is finding more advanced examples, which would help the transition from learning mode to preparing for a production environment. tim -- PHP General Mailing List (http:/

Re: Re: [PHP] how to use echo checkboxes in php when i don't have access to $_POST

2011-05-28 Thread Tim Streater
orrect this?* For one thing you need to have the PHP code inside the . Second you don't need to echo the , just write that straight into the HTML. And you need to use the isset() function so you don't try to echo $_POST['negin'] unless it it is set. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] iPhone sadness

2011-05-30 Thread Tim Streater
ause there are some * who never learnt to snip. So I have to scroll down two pages just to see their one-liner. Sometimes that's a problem here, too. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] iPhone sadness

2011-05-30 Thread Tim Thorburn
Is there any way that we could simply ban these ridiculous top-posting vs bottom-posting threads that seem to come along every few weeks? I frankly don't care where a person writes a reply - I'm quite able to scan through an email message to find the relevant points regardless. Maybe we could

Re: [PHP] Announcing New PHP Extension: System Detonation Library (was: phpsadness)

2011-06-04 Thread Tim Streater
his morning to build and release a new PHP extension, > which provides a single function: detonate(). No Manfred Mann though. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] phpsadness - P.C. shmee seee.

2011-06-05 Thread Tim Streater
; features this site requires. > Please use Internet Explorer or Firefox." > ROFL. Good one. Anyone whose site says that sort of crap needs a good smack. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-05 Thread Tim Streater
ng really old [1], but Safari 5.0.5? I find that to be a damn cheek. I expect sites to be standards-based. [1] Don't ask me what that means. I've not kept up with what new stuff is around now that wasn't, ten years ago. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Re: phpsadness - P.C. shmee seee.

2011-06-05 Thread Tim Streater
n on another computer, another word processor, or another network. -- Tim Berners-Lee -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    3   4   5   6   7   8   9   10   11   12   >