On 25 Oct 2013, at 15:40, Robert Cummings wrote:
> On 13-10-25 10:17 AM, Stuart Dallas wrote:
>> On 25 Oct 2013, at 15:01, Robert Cummings wrote:
>>
>>> On 13-10-24 09:41 PM, Larry Garfield wrote:
>>>> On 10/23/2013 08:51 AM, Jay Blanchard wrote:
>
een apache child processes ?
No, connections are not shared between PHP processes. Nothing is shared between
PHP processes.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
> On Fri, Oct 25, 2013 at 3:54 PM, Stuart Dallas wrote:
> On 25 Oct 2013, at 11:10, Nibin V M wrote:
>
writing my own
framework to be hugely beneficial to my future productivity, but I might have
struggled to justify spending the extra time it took to my employer at the time.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will do nothing without complaining.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Or is it just the line in question that is being echoed?
I'm not sure exactly what it gets compiled to, but I also don't see why it
matters. All that matters is that content outside of PHP tags will simply get
echo'd.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3
On 7 Oct 2013, at 14:34, Michael Alaimo wrote:
> On Mon, Oct 7, 2013 at 9:29 AM, Stuart Dallas wrote:
>> On 7 Oct 2013, at 14:24, Michael Alaimo wrote:
>>
>> > We have a server that gets a large number of requests each month.
>> >
>> > After a perio
not reference a function, so I found it odd. It did give a line to
> a function with array_merge on it.
>
> Has anyone seen this in the apache error logs? We are using PHP 5.3.3.
Show us the line, and a few lines around it.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
-
dediesel.com/algorithms/building-a-graph-data-structure-in-php/
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP developpers themself should work on this severe security
> problem.
PHP developers should absolutely validate all content coming in from users in
every possible way, but I would be highly dubious about trusting a host who
gives the reason above for what I consider a lax and insecure Apach
e involved in serving a static file, for no
reason other than to avoid fixing the web server configuration.
A misconfigured web server should be fixed, not worked around.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
P's info page then
you need to change web host as quickly as possible. I don't care if they fix it
- the fact their server was configured to do this by default is enough for me
to never trust them again.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
server setup, but targeted optimisation is far better than
trying generic stuff.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
0;less)
>
> However: PHP should not set the terminal to cooked mode in the first place
>
> Is there any way in which I can get PHP to not do this ?
>
> TIA
>
> I am running PHP 5.3.3 on CentOS 6.
Make sure output buffering is off by putting this at the top of your scr
On 4 Sep 2013, at 00:03, "Daevid Vincent" wrote:
>> -Original Message-
>> From: Stuart Dallas [mailto:stu...@3ft9.com]
>> Sent: Tuesday, September 03, 2013 2:37 PM
>> To: Daevid Vincent
>> Cc: php-general@lists.php.net; 'Jim Giner'
>&g
E: 79,167,488 BYTES
>
> PAGE RENDERED IN 7.55816092 SECONDS
> MEMORY USED @START: 262,144 - @END: 50,855,936 = 50,593,792 BYTES
> MEMORY PEAK USAGE: 96,206,848 BYTES
Knowing nothing about your application I'm obviously not in a strong position
to comment, but seven seconds to generate a page would be unacceptable to me
and any of my clients. I'll put money on it being possible to cut that time by
changing your caching strategy. The memory usage is also ridiculous - does a
single page really display that amount of data? Granted, there are some
applications that cannot be optimised beyond a certain point, but those numbers
make me sad!
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t when you read it from the source. For
example, if reading it from MySQL, $this->tmp_results[$row['id']] = $row when
looping around the result set.
Also, is there any reason why you need to process this full set of data in one
go? Can you not break it up in to smaller pieces that won't put as much strain
on resources?
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is a pretty antiquated way to handle authentication these days. Whatever you're
using, I wish you all the best with it.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
On 27 Aug 2013, at 17:28, Jim Giner wrote:
> On 8/27/2013 11:56 AM, Stuart Dallas wrote:
>> Oops, sent this message from the wrong email address, so the list rejected
>> it.
>>
>> Begin forwarded message:
>>
>>> From: Stuart Dallas
>>> Sub
Oops, sent this message from the wrong email address, so the list rejected it.
Begin forwarded message:
> From: Stuart Dallas
> Subject: Re: [PHP] Basic Auth
> Date: 27 August 2013 16:36:27 BST
> To: jim.gi...@albanyhandball.com
> Cc: php-general@lists.php.net
>
> On 27 Au
On 27 Aug 2013, at 15:51, Jim Giner wrote:
> On 8/27/2013 10:39 AM, Stuart Dallas wrote:
>> On 27 Aug 2013, at 15:18, Jim Giner wrote:
>>
>>> On 8/27/2013 10:14 AM, Stuart Dallas wrote:
>>>> It's not really confusing so long as you understand how P
On 27 Aug 2013, at 15:18, Jim Giner wrote:
> On 8/27/2013 10:14 AM, Stuart Dallas wrote:
>> It's not really confusing so long as you understand how PHP works. Each
>> request is brand new - nothing is retained from previous requests. The two
>> variable you're c
On 27 Aug 2013, at 15:06, Jim Giner wrote:
>
> On 8/27/2013 9:46 AM, Stuart Dallas wrote:
>> On 27 Aug 2013, at 14:37, Jim Giner wrote:
>>
>>> I"m using basic auth for a few of my pages that I want to limit access to -
>>> nothing of a sensitive n
ve your log out link call a Javascript function which sends an XMLHttpRequest
with an invalid username and password. The server will return a 401 which you
ignore and then take the user to whatever URL you want them to see after they
log off. Not pretty, but it works.
-Stuart
--
Stuart Dalla
blic site, and that's without getting into all
of the improvements that PHP5 has introduced over the past five years!
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 20 Aug 2013, at 22:00, Ashley Sheridan wrote:
> On Tue, 2013-08-20 at 21:44 +0100, Stuart Dallas wrote:
>> On 20 Aug 2013, at 21:30, Dan Munro > > wrote:
>>
>> >> in my opinion, that would be like asking "how big is the internet?".
>> &g
addresses and doesn't come close to answering "how big is
the internet," assuming that means how many sites are there rather than how
many publicly responsive edge servers exist.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
eit incredibly slowly.
If he means Java is the most popular as in "developers would prefer to use it"
then I'd definitely disagree, but I wouldn't necessarily say that PHP is at the
top of that list either.
Ultimately I'd want to know what he's trying to prove b
On 19 Aug 2013, at 16:24, Matijn Woudt wrote:
> On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas wrote:
> On 19 Aug 2013, at 15:56, Matijn Woudt wrote:
>
>>
>> On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote:
>> On 19 Aug 2013, at 10:49, aesbovis wrote:
>
On 19 Aug 2013, at 15:56, Matijn Woudt wrote:
>
> On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote:
> On 19 Aug 2013, at 10:49, aesbovis wrote:
>
> > I know Javascript can solve it, but I don't want to use Js.
> > Thank you all the same.
>
> I know
On 19 Aug 2013, at 10:49, aesbovis wrote:
> I know Javascript can solve it, but I don't want to use Js.
> Thank you all the same.
I know you've had the right answer, but I think it's worth pointing out that
use of JSON in no way requires Javascript, despite its name.
lling
session_start will populate it with an existing session, and when the request
ends the contents will be stored. Once you've closed or destroyed the session
it does not stop working because it's nothing more than a superglobal variable,
it just won't be stored at the end of the request.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ans with "ambiguous" here?
The field exists in both tables, so you need to specify which one you mean.
Please learn how to use Google, it knows the answer to almost everything!
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ur code there is something that is assigning to
$hello. Find everything that's doing that and look at each instance in detail.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a chat system I'm curious as to how it works, since presence is
usually tied closely to how the client is detecting new messages.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 22 Jul 2013, at 13:25, Karl-Arne Gjersøyen wrote:
> 2013/7/22 Stuart Dallas
> On 22 Jul 2013, at 12:56, Karl-Arne Gjersøyen wrote:
>
> > 2013/7/22 Stuart Dallas
> >
> >>
> >> On 22 Jul 2013, at 08:04, Tamara Temple wrote:
> >>
> &
On 22 Jul 2013, at 12:56, Karl-Arne Gjersøyen wrote:
> 2013/7/22 Stuart Dallas
>
>>
>> On 22 Jul 2013, at 08:04, Tamara Temple wrote:
>>
>>> On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen
>> wrote:
>>>
>>>> Hello agai
time to help me.
>>
>> Karl'
>
> Either the code you posted isn't the actual code, or if it is, the errors
> should be rather obvious. Post *actual* code.
The error is rather obvious: it loops around an array running an update
statement that will modify a single row in the table, so it's not surprising
that it appears like only the last entry in the array has been stored.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5 Jul 2013, at 15:24, Karl-Arne Gjersøyen wrote:
> 2013/7/5 Stuart Dallas
>
>> On 5 Jul 2013, at 15:05, Karl-Arne Gjersøyen wrote:
>>
>>> 2013/7/5 Stuart Dallas
>>>
>>>> On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen
>> wrote:
>&
On 5 Jul 2013, at 15:05, Karl-Arne Gjersøyen wrote:
> 2013/7/5 Stuart Dallas
>
>> On 5 Jul 2013, at 14:56, Karl-Arne Gjersøyen wrote:
>>
>>> Hello. I have a form in HTML/PHP with for loops that generate a selected
>>> list like this:
>>> for($
8">2829 value="30">3031 value="32">3233 value="34">3435 value="36">3637 value="38">3839 value="40">4041 value="42">4243 value="44">4445 value="46">4647 value="48"
On Wednesday, 26 June 2013 at 19:01, Tedd Sperling wrote:
> On Jun 26, 2013, at 1:56 PM, Stuart Dallas (mailto:stu...@3ft9.com)> wrote:
> > On Wednesday, 26 June 2013 at 18:39, Tedd Sperling wrote:
> > > Let me add, currently I am inserting an email address into a database.
How are you doing the insert? If you're inserting with mysql_query() then
that's just as deprecated as mysql_insert_id().
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g the index is NOT
> possible -- this is a relational table thing.
>
> So, is there a way (programmatically) to set the next number in an
> auto-increment?
>
> Something like:
>
> alter table abc auto_increment = 2301;
>
ALTER TABLE tbl AUTO_INCREMENT = 2301;
-Stuar
e is going on to give you 227, but variable names are case
sensitive which is why you're not getting what you expect.
Output:
int(223)
int(7)
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
> -- Forwarded message --
> From: Karl-Arne Gjersøyen
> Date: 2013/6/2
tem_amount_in_store and $update_item_amount_in_store as
if PHP should know you mean the same thing.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
file(__DIR__.'/docs/admin-email.txt');
Prior to 5.3:
$fcontents = file(dirname(__FILE__).'/docs/admin-email.txt');
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tically, be more explicit.
It's fine to be interested in the reasons why it does what it does, but if it's
causing you problems then the issue is with your code not being explicit
enough, not PHP.
-Stuart
[1] http://php.net/language.types.string#language.types.string.conversion
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In a .htaccess file.
>
> However, it works on one site, but not on another -- any ideas as to why?
At a rough guess there's an AllowOverride line in the main Apache config that's
restricting what you can do in the .htaccess file.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com
On 31 May 2013, at 12:22, Richard Quadling wrote:
> On 31 May 2013 12:17, shiplu wrote:
>
>> On Fri, May 31, 2013 at 5:12 PM, Stuart Dallas wrote:
>>> That is not entirely correct. It must be a literal value. The expression
>>> 'a'.'b' is
On 31 May 2013, at 12:17, shiplu wrote:
> On Fri, May 31, 2013 at 5:12 PM, Stuart Dallas wrote:
>> That is not entirely correct. It must be a literal value. The expression
>> 'a'.'b' is a constant value.
>> I may be being overly picky here, but I think
here, but I think it's an important distinction.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
string to a static property ...
>
>static protected $s_NormaliserScript = __DIR__ . '/normalizedError.php';
>
> And I was just surprised.
>
> That's all.
Yes, it has. Initial values class constants and member variables must be
literal values. If you need to do that use a constructor.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 29 May 2013, at 18:16, Jim Giner wrote:
> On 5/29/2013 12:51 PM, Stuart Dallas wrote:
>> Please find your caps-lock key and turn it off!
>>
>> Also, please include the list when replying, or expect an invoice for my
>> consulting services.
>>
>> On 29
are legion, try:
http://support.simplemachines.org/
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a rough guess you mean worthy, not wordy. Worthy of what? You have nothing
to prove to me other than the ability to make sense and ask a question that can
be answered without four tonnes of interpretation.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
> On Wed, May 29, 2013 at 5:30 PM,
P you'll probably need to pony up some cash.
If you want someone to help you while you're learning, show us that you're
working on it and we'll be happy to help.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 23 May 2013, at 21:51, Last Hacker Always onpoint
wrote:
> Hey I need code for random number 1-30 for my site.
Seriously? Did you try to find out how to do this yourself before asking here?
http://php.net/rand
And, more generally:
http://php.net/docs
-Stuart
--
Stuart Dallas
3
On 23 May 2013, at 15:54, Richard Quadling wrote:
> I'm building an XML file.
>
> It is within an OOP structure and is pretty simple.
>
> The method is ...
>
>/**
> * Turn an error from the W2GlobalData service into normal document as
> this will make it easier to integrate downstream.
able to
replace the whole toaster from their code, imagine if they wanted to replace a
module within the toaster that determines the pattern to be burnt on to the
bread. The Toaster class could optionally take an object that implements
iToasterPattern which the students could supply to change the pattern
classes so there's no need to publish an interface for them to use.
Does that help at all?
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Globals being used in a function.
-Stuart
On Tue, May 7, 2013 at 11:06 PM, Jay Blanchard
wrote:
> I know that I must be missing something really ridiculous, but when I
> print_r these arrays they are empty. I have confirmed that $arrayElement
> is properly formed, it just seems that array_pu
y and didn't realise you were trying to
use DateTime objects.
$datetime = new DateTime('2013-04-23');
If all you're doing is formatting the date you'll find using
date($unix_timestamp) far more efficient than date_format($datetime_object).
-Stuart
--
Stuart Dalla
r: PHP Warning: date_format() expects parameter 1 to be
> DateTime, integer given in
>
> I've had a look at the date/time function list, but I cannot seem to find
> any way to convert $_SESSION['ExpiryDate'] to an DateTime??
http://php.net/strtotime
-Stuart
--
ment tool than connecting to a MySQL server and running queries.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mebody
else has built is not.
Or, if it makes more sense substitute a car and inventing wheels.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ationship between PHP and C
is the same as that between assembly and C? Hell, take it all the way to punch
cards if you want
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ace the first parameter to your mysql_connect call with
'instance43490.db.xeround.com:8904' and it will probably work.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t an @ in it.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
orthwhile.
Also, how well tested is your script? I don't know but I can say with absolute
confidence that phpMyAdmin has been tested far more.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
> On Apr 21, 2013, at 12:46 PM, David OBrien wrote:
>
>> Not meaning to beat t
better a magnum of decent champagne that it
works.
It's very rare (and pretty stupid) for a web host to allow remote servers to
connect to their MySQL instances, unless they have a shared MySQL instance for
all of their customers. Given that you have command line access to the MySQL
server,
On 21 Apr 2013, at 15:46, tamouse mailing lists wrote:
> On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling
> wrote:
>> On Apr 21, 2013, at 9:32 AM, Stuart Dallas wrote:
>>> However, a more important question for me is why you are doing this. You
>>> say
you'll "deal with that
later," but I question how you're going to deal with it. What exactly are you
developing that requires DB credentials to come from a form on a web page?
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
form. There are very
few legitimate reasons to be doing this, so the question is well worth asking.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Apr 15, 2013 at 10:06 PM, Larry Martell
mailto:la...@software-horizons.com";>> wrote:
On Mon, Apr 15, 2013 at 2:57 PM, Maciek Sokolewicz
wrote:
> On 15-4-2013 22:12, Larry Martell wrote:
>>
>> On Mon, Apr 15, 2013 at 1:59 PM, Lester Caine wrote:
>>>
>>> Larry Martell wrote:
>
>
>
r JPGraph.
https://groups.google.com/forum/?hl=en-GB#!forum/jpgraph
Would you email the Oxford English Dictionary for help with using the English
language?
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Seriously, PIDs are the way to go! Based on what you've put above you already
have some sort of storage that's tracking threads (they have a hash), so why
not add the PID to that? Or, even better, use the PID as that hash?
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
> On Tue,
just wanting to monitor it from the process that forked it then you
don't need to store the PID anywhere other than a variable, and you don't need
to wait for it.
If you absolutely must do this then the only way is via an extension such as
proctitle: http://php.net/setproctitle
-St
FORM).
>
> In the current HTML5 draft, target is explicitly a permitted
> attribute of the form tag -- although I believe it was originally
> marked as deprecated.
Indeed. In fact w3schools.com is known to be a very unreliable source of
information these days. My advice would be to avoid
gt; this file like Web.config file for ASP.Net and Application.cfm for
> ColdFusion?
No. Without the use of extensions, PHP follows a shared-nothing architecture.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y.
http://php.net/intro.mysql
This issue is problematic for exactly the reason Norah demonstrates above:
"it's working." Great that in this case it hasn't been left at that, but most
will see it work and think they've "got it right." I believe the community has
tual image, whether that's
due to width and height attributes on an img tag, or CSS styles, or whatever.
The specific algorithm used (which I'm guessing is what you mean by "how" is up
to the browser and cannot be controlled.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.
wo frames? For that you'll need
to use Javascript, or reload the parent frame, neither of which involve PHP.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ossible. As a
professional photographer I made the latter choice a long time ago and haven't
looked back since.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
us are just Spring chickens.
Speak for yourself, I'm an autumn turkey!
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 20 Feb 2013, at 19:23, John Taylor-Johnston
wrote:
>
>
> Design in Motion Webdesign wrote:
>>
>>>
>>>
>>> John Taylor-Johnston wrote:
>>>
I cannot find button2 in phpinfo() when I click it. I was hoping to
find
a $_POST["button2"] value.
What am I doing wrong?
On 14 Feb 2013, at 20:57, Al wrote:
> On 2/14/2013 1:54 PM, Stuart Dallas wrote:
>> Sorry for the top post!
>>
>> I don't know numbers, but my gut instinct is that the cycles wasted raising
>> the notice (it gets raised even if it goes nowhere so turning displa
Sorry for the top post!
I don't know numbers, but my gut instinct is that the cycles wasted raising the
notice (it gets raised even if it goes nowhere so turning display and log
doesn't remove the hit completely) are better spent executing defensive code.
There is no reason, ever, that producti
ver, in most cases that is not a huge advantage.
If each request and response is unique you need to be careful about what you
choose to cache such that you don't incur caching costs without reaping
benefits that make it worthwhile.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
your error_reporting and display_errors settings to make sure
errors are being displayed and you should be able to save a lot of time.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
> On 2/9/2013 2:34 PM, Stuart Dallas wrote:
>> On 9 Feb 2013, at 19:00, Jonathan Eagle
lp or guidance that can be offered will be greatly appreciated.
Check the output buffering settings. You say no errors are displayed, but are
you sure that errors are set to be displayed?
You mention the headers_sent() result immediately after the header() function
call is true. If the header() function call had worked it would not be true, it
would be false. You have output being sent to the client before that header()
function call.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e data when it's requested, shifting as much of the work as
possible to when it is written (assuming a mostly-read service).
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lvio said "All websites are created manually.
(nano + html/css Tags)" he meant "All of the websites are created manually.
(nano + html/css Tags)" meaning the sites he's working on rather than every
site in existence.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9
Please excuse the top post, but this may be helpful:
http://stut.net/2008/10/28/snippet-simple-templates-with-php/
-Stuart
--
Sent from my leaf blower
On 31 Dec 2012, at 19:59, Ashley Sheridan wrote:
> On Mon, 2012-12-31 at 13:39 -0600, Nelson Green wrote:
>
>> Hello,
>>
>> I have created
The class is only available in PHP 5.4+.
http://php.net/snmp.construct
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are separate
daemons so you can access them from multiple servers.
Also, as Sebastian says, a database is another option unless you have a good
reason to want the data in shared memory rather than a DB.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a lot of
> people did 30 years ago on 280), not 100, and to make judgements accordingly.
> Equally, I have certain expectations when I see a switch statement; it trying
> hard to look like if-elseif-etc is not one of them.
Why is it their fault for doing 100mph and not yours for assuming they're only
doing 70mph? I'm not saying they're right to be doing 100mph, but I'm
definitely saying you're wrong for assuming they're only doing 70mph.
Assumptions are the mother of all f*** ups.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lance providing a fast, efficient,
correct solution and minimising maintenance issues. I see neither side being
compromised by using a switch statement in this manner, in fact I see both
sides potentially getting a boost. Just because the usage is unfamiliar or even
surprising to you doesn't mean it's wrong.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11 Nov 2012, at 19:24, "Terry Ally (Gmail)" wrote:
> I reversed it as you suggested and every future show is displaying as having
> ended.
In that case the code you're showing us is not the code you're running, because
that's the obvious error in test.php.
rrent time is later than the end date of the show, tell
them the date of the show hasn't arrived yet.
What you mean is: if the current time is later than the end of the show, tell
them the show has ended.
if ($todaydate < $showenddate):
echo "The date of the show has not yet arr
ill outputting the wrong thing.
>
> I just can't figure out what's wrong.
Your comparison is backwards:
if ($todaydate > $showenddate):
should be
if ($todaydate < $showenddate):
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
> On 11 November 2012 18:48, shiplu wro
1 - 100 of 548 matches
Mail list logo