« first day (1055 days earlier)      last day (3909 days later) » 

1:00 PM
@DaveRandom Looks more like memory pointers ;-)
 
@Jack Oh yeh it will be won't it. Idiots. Java developers.
 
hehe
 
Anonymous
I'm thinking about writing an extension just to see how the whole thing works
 
@Simon_eQ It's fun :)
 
Anonymous
1:08 PM
@Jack that is what I'm hoping for..
 
Anonymous
I'll probably call it extension for extinction
 
It's also, no offence, waaaay beyond your ability at the moment.
I know it's way beyond mine.
 
I would write a sextension :)
 
Anonymous
It makes sense, because if you use it, your entire thing will go extinct.
 
Anonymous
@DaveRandom none taken. I did say, "Just for fun" though
 
1:09 PM
Write an extension with a single function, kaboom(), which just segfaults 1 in every 1000 times you call it, and bury it deep inside the code for an application
 
@Simon_eQ You could check out a small extension I wrote earlier: github.com/datibbaw/php-boyermoore
 
Anonymous
I am sure you can write one, if you wanted. @DaveRandom
 
@Simon_eQ I do want and am trying, have been on and off for a couple of months, haven't got very far, but keep getting distracted
 
Anonymous
@DaveRandom Are you going for something big? Because, hello world should probably be a days task for me at-least.
 
Anonymous
I'm guessing you are trying to go for big
 
1:12 PM
@DaveRandom Tick, tick, tick, tick ... boom!
 
Anonymous
@Jack saw it. What does it do? in laymans terms
 
@Simon_eQ Doesn't it say in the .... README.md?
 
> This works exactly like strpos(), except that it's optimized for a larger haystack by skipping more than one characters while searching for the needle.
That's what it does, it's hard to put it any more simply than that
In computer science, the Boyer–Moore string search algorithm is an efficient string searching algorithm that is the standard benchmark for practical string search literature. It was developed by Robert S. Boyer and J Strother Moore in 1977. The algorithm preprocesses the string being searched for (the pattern), but not the string being searched in (the text). It is thus well-suited for applications in which the pattern either is much shorter than the text or does persist across multiple searches. The Boyer-Moore algorithm uses information gathered during the preprocess step to skip secti...
 
Anonymous
@Jack I slept only 2 hours today. I don't even have the energy to keep my eyes open as I type this :/
 
Do what Beethoven did, dunk your head in a bucket of cold water.
 
1:14 PM
@Jack I thought he just rolled over
 
I've slept only two hours as well ... in the afternoon that is ... mwahaha
 
damn big project coming up
pulling and pushing data between multiple databases
 
Anonymous
It is entirely impossible to do something like $val = $object->parentMethod()->childMethod() in php?
 
Not entirely impossible.
 
Can anyone see wich CMS this website is using? chapier.lu
 
1:16 PM
@Jack I was looking at your boostrap project.... now that is some quality code there.
 
@Duikboot What makes you think it's using a CMS?
 
Sem
Does anyone here have experience in setting up a git server?
 
Anonymous
class foo{
   function parentMethod(){
      function childMethod(){
         return 'I am child';
      }
   }
}

$o = new foo();
echo $o->parentMethod()->childMethod();
 
Anonymous
@Jack that is what I was going for
 
You think it's just hard coded and pulled from the database without and admin login module to add/change products?
 
1:17 PM
@Orangepill Not mine, it's a fork from someone else's quality work :)
 
Anonymous
@Orangepill hello
 
@Jack what exactly is the point of your custom DynamoDbSessionHandler?
 
@igorw Are you saying there already is one?
 
yes, just use the Aws\DynamoDb\Session\SessionHandler
 
@igorw That's what I'm using.
 
1:18 PM
your decorator is doing nothing at all
 
@Duikboot I didn't say that. But there's nothing that says they're using an out of the box CMS (or have to be) - it could be a totally custom application, it could some web design company's internal private CMS.
Why does it matter?
 
But when I use that, to my knowledge, I can't access $request->getSession()->get('xyz').
 
@Simon_eQ Hello
@Jack I was going to suggest a merge with github.com/rdlowrey/php-date-prefix
 
ehh
sessions should not be part of request
session is a form of storage , not form of user input
 
1:21 PM
@tereško Its data gets pulled based on a cookie, which is part of the request.
 
it also can be pulled based on ETag
 
I would like to digg a little deeper in that website.
 
Isn't ETag a server response header?
 
I probably have to use their db soon
 
@Jack there is a trick to it
anyway, what would you say about $config->getDbConnection()->fetchSomething(); ?
 
1:23 PM
@tereško I know it's feature envy :)
 
rait
that must be it
 
@Jack I preferred smaller name as I have used it everywhere...
 
rait?
 
"right" .. forgot that you are not native speaker
 
@Mr.Alien Then why not call it gbu() and pbu()? :)
@tereško not sure whether you're agreeing with me or asserting it's something else.
 
1:25 PM
@Jack I think pub() would be better. I'd use that function a lot.
$myNight = (new Pub)->getBooze();
 
@Jack just create the AWS one directly instead of proxying
 
@DaveRandom That should be an extension ;-)
@igorw And still be able to use $app['session']?
I don't like using session_start() unless necessary, which is why I use the session provider.
 
@Jack it should be an iterator.
 
dammit i would love to know what db engine a site is using
 
@igorw I could be misunderstanding you, but it seems that you're suggesting to let the dynamodb class register the session handler and then call session_start() manually.
Unless I've missed something obvious ... hmm
 
1:30 PM
@Jack here's how I would implement the service provider: gist.github.com/igorw/6450089
 
@igorw I remember trying something along those lines .... but let me double check it anyway.
 
Can I sign up for free? aws.amazon.com/dynamodb
I have to fill in my VISA dammit
 
@Duikboot Yeah, go for it :)
They have a free tier btw.
 
Yeah I would like to use that one but I don't like filling in my VISA already when I'm not wanted to use a payed service yet.
 
That's entirely up to you :)
@igorw Getting InvalidArgumentException at NativeSessionStorage->setSaveHandler(object(SessionHandler))
 
1:39 PM
Registered
 
@Duikboot Just make sure to read their costing structure; it's a bit daunting for beginners.
 
@Jack gah... because they don't implement SessionHandlerInterface...
 
@igorw Exactly :)
 
allright, is it cheap using amazon for hosting?
 
It really depends.
Definitely not the cheapest hosting around.
 
1:42 PM
@Duikboot Short answer: No
Long answer: Fucking no.
 
For example if I would like to start an image storage syste
m
 
@SweetieBelle You pay for what you get :)
 
@Jack I will try and get them to fix it, thanks
 
@Duikboot S3 is pretty decent in terms of pricing.
 
@Duikboot Buy an old server, throw four 2TB HDDs in it, apply Cloudflare and crank the caching up. :P
 
1:43 PM
@SweetieBelle rofl
 
Does cloudflare deploy your content over their network?
 
@igorw Hehe, np~ ... I was thinking I could simplify it by setting $app['session.storage.handler'] ... not sure if it will work though :)
 
They duplicate static resources (like images) across their servers, and they only cost $20/m to do so.
 
$20 per minute? :)
 
1:46 PM
@Jack We're talking Cloudflare now, not AWS. :P
 
@SweetieBelle Granted, but $20/m is ambiguous.
 
@Jack If not taking deduction into account yes
For the record, I don't usually advise services which cost $1200/hour
 
Really someone should teach me how to do all that autoloading stuf.. im going crazy ( trying to do that for the first time )
 
someone => you
 
@Duikboot PHP's autoload implementation is horrible. :(
 
1:49 PM
@SweetieBelle No, it's ambiguous because m could be m(onth), m(inute), m(egabyte).
 
why?
 
Anonymous
@Jack you still didn't answer my question. Was that intentional ? :)
 
@Jack But only one of those makes sense. A CDN won't charge $20/Megabyte...
It could be microsecond, but we assume it's not.
 
@SweetieBelle at least you agreed ;-)
@Simon_eQ Eh sorry, what what?
 
@Jack If I say a car does 130mph, no one assumes it's meters per hour. :P
or millimeters per hour
Only one possible solution makes sense
 
Anonymous
1:51 PM
@Jack How can something like this be achieved
 
Anonymous
 class foo{
   function parentMethod(){
      function childMethod(){
         return 'I am child';
      }
   }
}

$o = new foo();
echo $o->parentMethod()->childMethod();
 
Anonymous
I just need to call child method like this echo $o->parentMethod()->childMethod();
 
That's it. I quit. Tomorrow I'm going to retract all of my RFCs, and wish PHP a good life. I can't deal with this any more... #cya
 
Anonymous
I see doctrine does it, but not sure how
 
good morning to you, @ircmaxell
 
1:52 PM
@ircmaxell ... o.O
 
@Simon_eQ well I did told you and I believe @fabien explained as well
 
@Simon_eQ That's not parent & child methods, it's chained methods
 
@SweetieBelle Huh, you're still on this? Sure, you win.
 
Anonymous
@DaGhostmanDimitrov Yes. but there is another way to it
 
http://simonholywell.com/post/2013/09/idiorm-and-paris-1-4-0-released.html
Planet PHP
Idiorm and Paris 1.4.0 Released
Simon Holywell
1378383840
 
1:52 PM
well could you tell me what is cuz .. I have no idea :D
btw how do you know there is another way if you dont know how to do it :D
 
Anonymous
echo "Author: " . $article->getAuthor()->getName() . "\n";
 
class foo {
    function one() {
        echo "I am parent";
        return $this;
    }
    function two() {
        echo "I am child";
    }
}
 
Anonymous
that is doctrine code for ex
 
@Simon_eQ Why are you doing that? Return an object from the parent method.
 
@igorw how are you today?
 
1:53 PM
have you looked at the Doctrine's sources to see if it is not like that or it is ?
 
BTW, I find Pierre clueless...
> I very much respect Stas, both for his constructive attitude and the insane amount of work he puts in PHP and the related projects.
 
Anonymous
@Jack It seems very convenient thing to do, for a git I am making
 
yes, he puts an insane amount of work in. yes, he is incredibly smart. But constructive attitude???
 
Anonymous
@Jack how is it done?
 
@Simon_eQ That's not running a method on a method, it's running getName() on whatever's returned by getAuthor() -- probably an Author object.
@Simon_eQ It's exactly the same as
 
Anonymous
1:55 PM
<chuckles>
 
$author = $article->getAuthor();
echo "Author: " . $author->getName() . "\n";
 
@Simon_eQ gist.github.com/Danack/6450389 Also, please could you change your name back to php_noob?
 
m59
Wow, so I get 700 rep almost instantly, and then lost 50 pretty much immediately because people want to act a fool on SO.
 
@Simon_eQ ->getAuthor() returns an object that has a getName() method.
 
m59
Who here believes it is objectively bad to echo html?
 
1:55 PM
Me
 
m59
why?
 
Because it's ugly to read.
 
m59
@SweetieBelle oh really
 
Code should be designed to be readable and maintainable.
 
Anonymous
@Danack thanks
 
1:56 PM
@ircmaxell mostly hungover and unproductive. and just like @SweetieBelle, alive. how about yourself?
 
@igorw pretty much the same
 
@ircmaxell Don't leave us. :(
 
m59
@SweetieBelle you think my answer is less readable??
 
Anonymous
I would change my name to PHPNOob as before, but I heard that annoys people @Danack
 
m59
0
Q: Display 24 hours in a dropdown list using php

TNKI am trying to create a dropdown list for display time. My Option tag should be something like this <option value="1">01.00AM</option> <option value="2">02.00AM</option> <option value="3">03.00AM</option> and so on So Can I know is there a quick way to create the array instead of typing each...

 
1:57 PM
@m59 Less readable than the OP? No
Less readable than it should be? Yes.
 
m59
There's no way that is objective.
 
@m59 I'd use Fresh Prince's answer.
 
Anonymous
if you think I am a Noob , for 5+ stars, I will change back my name to PHPNoob
 
Anonymous
@Danack it will depend now, on the amount of stars that gets
 
m59
<option value="<?= $i; ?>"><?php echo date("h.iA", strtotime($i . ":00")); ?></option>
 
1:59 PM
@m59 that is a very tricky question you found.. :D
 
m59
echo '<option value="'.$t.'">'.$t.'</option>';
.....
I give up on SO.
 
@m59 But I wouldn't use his fugly mix of long & short echo tags.
<?php for($i = 0; $i < 24; $i++): ?>
    <option value="<?= $i; ?>">
        <?= date("h.iA", strtotime($i . ":00")); ?>
    </option>
<?php endfor ?>
 
Well the day will not have more()or less than 24hrs so this could be a static HTML ... it is useles to be parsed IMO :D
 
@DaGhostmanDimitrov I'd agree but that's 5 lines of code and the static would be at least 24.
So for readability's sake I'd still probably do it in PHP.
 
@Simon_eQ can you maybe explain what you're actually trying to do? because that code as it stands makes no sense at all.
 
2:03 PM
@SweetieBelle well you are correct, but doing many looping over meaningless code combined with bad design (assuming cuz the OP is asking how to loop 24times) will choke...
 
@DaGhostmanDimitrov 24 iterations is not going to affect anything, assuming the page IS going through the parser anyway.
 
It makes sense to loop in php if the format is configurable though.
 
^ This, or if you want the page to remember which one the user has selected (read from db and set selected attribute).
 
I am bad front end designer, so I will probably go with a small [input /] and make them type and then select AM or PM :D...
 
Hi everybody! any questions?
 
2:06 PM
What is the meaning of life?
 
@SureshMichael Sure, can you write me a regex parser in regex please.
 
Anonymous
@Fabien 42
 
@SureshMichael what is the weather going to be :P
 
Is Pierre intentionally this thick?
 
@Simon_eQ That's the wrong answer.
 
m59
2:06 PM
So, we're talking about best practice and then you use shorthand tags?
2
 
@Simon_eQ common misconception.
 
How can I be a billionaire in 1 day without doing anything for it?
 
Ask about PHP
 
@ircmaxell Dunno, perhaps he's just trying to appease both sides?
 
@SureshMichael can you please explain recursion to me?
 
2:06 PM
@m59 Shorthand echo tags are fine. Only the shorthand PHP tags are a problem because they clash with XML meta declarations.
 
Anonymous
@igorw that code was just a example. For a small lib I am building, I wanted the it to have something like $o = getPageProperties()->fromUrl()->byId(); something like that, to make it easy to understand read the purpose.
 
m59
And aren't always supported?
 
@m59 As of 5.4 they're always supported.
Also, the OP is using them.
 
About what?
 
@Simon_eQ as opposed to $o = getPageProperties($url, $id); ?.
 
2:07 PM
@Simon_eQ so essentially what you want is a builder object with a fluent interface
 
m59
I didn't say it was good or bad. I'm saying I didn't deserve the downvote.
 
@PierreJoye No, I blame people who think it's ok to put words into my mouth and talk about why I did something without talking to me first.
 
Anonymous
@igorw yeah, exactly.
 
@m59 It's not my downvote, but I would agree that echoing HTML is rarely right.
 
m59
sigh.
Rarely preferred by you.
 
2:08 PM
Or by most people.
 
m59
There is no objective way to say "right/wrong"
 
I would have used a DOMDocument ;-)
 
Anonymous
@Fabien that's old school :P Its better to experiment with other ways of doing things.
 
It's ugly, you should keep logic and templating separate.
 
m59
LOLZZZZZ
 
2:09 PM
Yes, proof is in how ugly heredoc looks.
 
DOMDocument gives a nice distinction between logic and template :)
 
user895378
@JoeWatkins I'm probably a good test subject because I have precious little previous experience with threads. I actually read it yesterday and found it very helpful (will go over it again as it looks like there are some new additions and illustrations!). It seemed to end kind abruptly (something that happens to me often -- I just get tired of writing and stop) but the new Pitfalls section may change that.
 
@m59 The fact that your code compiles/interprets without error, and produces the right output, does not make it optimal. Readability matters, SRP matters. Your code breaches both.
 
user895378
@JoeWatkins The other initial impression I had was that the Only ever wait for something mantra didn't totally click for me. Perhaps I simply need to read it again but the explanation on my first read-through felt like it needed more.
 
m59
@SweetieBelle That's the brilliant thing, there was no avoiding that in the post. If you want to get real about it, php shouldn't be for templating at all.
Because the whole thing is a "breach" in that case.
This is going to go in circles. So I'm done. I know you're a better dev than I am, but you are certainly biased.
 
2:12 PM
@Simon_eQ the fact that you are a PHP noob doesn't mean you should label yourself as one.
You're attempting to make progress, that's more than I can say for 98% of other PHP devs
 
@m59 There's no reason PHP can't be used for templating, but you shouldn't be handling business logic and templating logic in the same place. That's poor practice.
 
You are making progress, that's more than I can say for 99.8% of other PHP devs.
 
Anonymous
17 mins ago, by Danack
@Simon_eQ https://gist.github.com/Danack/6450389 Also, please could you change your name back to php_noob?
 
m59
@SweetieBelle what does that have to do with the question?
 
Anonymous
@MadaraUchiha sadly someone doesn't think so :/
 
Anonymous
2:13 PM
thanks btw :)
 
m59
And there is a great reason php shouldnt' be used for templating! but who cares, right? It's better to be biased :)
 
Anonymous
first ever encouragement I ever had in my carrier
 
@m59 Should I remind you that PHP was originally used for templating?
@Simon_eQ career*?
 
m59
@MadaraUchiha I'm aware.
 
@m59 Could you explain why it should'n be used for templating ?
 
2:14 PM
@m59 what would be that magical "great reason" ?
 
@m59 What makes it so bad at templating then?
 
Anonymous
@MadaraUchiha yeah.. btw I'm doing my intern as we speak. I got the chance \o/
 
@Simon_eQ That's great!
 
Round one, fight!
 
How is it there?
 
2:14 PM
@m59 If you're not open to reasonable discussion I don't know why I'm bothering. PHP is, first and foremost, a very good templating language. That's why we have inline syntax for it with <?php and ?>, inline loop syntaxes like <?php if(condition): ?> etc.
 
@Jack Damare! Urahara-no-yaro!
 
m59
Eh hem. I'm only doing what is being done to me, to take a nice suggestion (preference) and go as far as it possibly can in that direction.
 
Anonymous
@MadaraUchiha Its hard, but I am forced to learn things as fast as impossibly-possible
 
@m59 It's not about preference, it's about best practices.
 
m59
And that being, php ought to be used as a model (informative), html the view, and javascript the controller.
 
Anonymous
2:15 PM
So, I am improving a lot. I even learned a thing or two, just in a week.
 
@Simon_eQ Welcome to the real world :)
 
@Simon_eQ It's a little like "sink or swim" :)
 
m59
That would be the most optimum separation of concerns.
 
@m59 lolwut
 
2:16 PM
@m59 Umm... wat
 
@m59 If I called my variables $var1, $var2 etc. you'd say it's wrong. An argument that it's my preference and using $var1 to represent a username doesn't hurt performance would be invalid.
 
m59
You're all much smarter than I, you can figure it out.
 
that is a combination you don't see often
 
Anonymous
Yea, I awe everything to some good people including @tereško :p for helping learn a lot :)
 
I remember my first PHP task at my first PHP job. I had to create a CRON to send a report about spectrum approval stats. That was the first time I ever used a foreach() loop. Task took me about 5 days. Now it'd take about 15 minutes.
 
2:17 PM
I like this saying: Better than horrible is still not good
7
 
@ircmaxell At risk of sounding like a jerk: that is a bit childish. No point in retracting the current RFCs; just ride them out. My $0.02.
 
@Fabien First time I really got stuck was on cookies and sessions.
 
@m59 your descriptions makes no sense. What you are talking about is "taking Rails to extreme" .. and in a bad way
 
@MadaraUchiha What does no yaro mean?
 
@Jack Bastard
 
2:18 PM
Tsk tsk :)
 
m59
@tereško What I'm talking about is AngularJS. But, the google dev team don't know what they're doing, I guess.
 
@m59 SRP isn't about separating responsibility between programming languages.
 
@LeviMorrison perhaps. But it's also something that I'm not willing to put up with anymore unless things change significantly in that project. I've tried to change things. I failed. Could I keep trying? Sure. For me, personally, I don't think it's worth it...
 
m59
That's short sighted.
 
Ah... newb problems. I still get them :(
I always relate PHP a little like learning to become good at chess. I play more to make winning easier, but all I keep doing is choosing tougher opponents each time I improve.
 
2:20 PM
I started out doing web app dev in perl... got tripped up a lot there... but the time I moved over to php by comparison it was a lot easier.
 
@ircmaxell From where I stand it's mostly Stas that is a major problem.
 
@Orangepill Actually that issue was in perl, by the time I got to PHP life was much easier.
 
heh
 
@LeviMorrison Stas is only the most obvious sign of the problems
They run far deeper
 
2:21 PM
@Fabien You know you're getting somewhere in development when the number of StackOverflow results for your issues reduces.
 
@ircmaxell @LeviMorrison now that I'm reading his emails, I'm starting to exponentially like him less and less.
 
Perhaps. I still think Stas is a major problem and the most immediately fixable IF people would simply call him out on being toxic.
 
@SweetieBelle lol. yeah. Fortunately SO is my saving grace for linux stuff atm.
 
@LeviMorrison that's a step, but not the destination
 
Anonymous
@tereško lol. I am doing the most trivial things you can't even imagine so..
 
2:23 PM
@ircmaxell In an organization so loosely structured as PHP internals I doubt you can do much more than take it one or two steps at a time.
Unless you got a bigger group involved to share vision and direction.
 
user895378
@JoeWatkins The new pitfalls section makes a big difference. It distills most of the problems I've learned through painful segfaults down to a few paragraphs. People still will have to segfault a few times before fully understanding, but at least now you've got something to point to and say, "did you read this before trying something that's not possible?"
 
Interesting how small the php world is. We've had frequent contact with Pierre concerning windows support for php (starting from the early days of php4). Don't believe anyone here ever had issues with the guy.
 
@LeviMorrison Ok. Your point?
 
user895378
My only issue with Pierre is that the windows.php.net website is never updated and the most useful part (up-to-date extension DLL downloads) has no public links. You just have to know it exists.
 
user image
2
That's @tereško 's view.
 
2:28 PM
do you REALLY disagree ?
 
@m59 Nothing wrong with your "shorthand tags" :P
 
@Jimbo , don't pay attention
 
@MadaraUchiha Me likes..
 
@rdlowrey Hope thats not our fault, considering we host that site :)
 
@ircmaxell I suggest trying to take it one step at a time. If you really are done, that's your choice and is fine with me.
 
2:32 PM
lol that's over short, I wanted short and meaningful :) need to check 30 pages, well, I didn't got any requireonce error for the func file but need to see whether it is called everywhere correctly with param
 
user895378
@DamienOvereem Unlikely :)
 
internals is just a pissing contest of intelligence
 
@LeviMorrison As long as the people on the project with the ability and the stature to make those types of changes refuse to admit there's a problem, I can't see how the first step is going to be taken.
 
Pierre has done alot for us "off the books" though.. but it could very well be many of the patches+documentation gets posted on the site
 
Stas has been called out literally dozens of times. And nothing changes.
 
2:32 PM
i am not smart enough to play, but if i was i wouldnt :P
 
user895378
@CarrieKendall s/internals/the_internet/
 
@ircmaxell Have you tried speaking to said people on the project with said ability?
(directly) that is?
 
@MadaraUchiha Yes, and I get a response like Pierre did...
 
@ircmaxell Perhaps we can open a discussion simply about Stas. State the facts (and there are facts, not just opinions) and have everyone who agrees ready to respond in agreement with it to show it's not just one person who feels this way.
 
@LeviMorrison Wait wait!
 
2:34 PM
Yes, I'd be very curious if anyone actually replies... But go for it!
 
Show them that there are... real people out there that think it's correct.
Where are my glasses? Anyone?
 
i will support that, although i am a fake person and hold no weight in the subject :]
 
I'm outclassed when it comes to internals.. so i'm going to stay out of this matter ;p
 
@MadaraUchiha Not sure, but it'll be easier to find them if you put your glasses on so you can see properly.
 
@ircmaxell I would not attempt it unless I knew others would comment. People such as you and @NikiC responding would help as you actually have stuff that has made it into core.
 
2:36 PM
@MadaraUchiha Looks like he's wearing the sunglasses from Fez
 
@Jimbo I'm pretty sure the sunglasses were added later
 
2 messages moved to recycle bin because they took up too much screen real-estate
 
@LeviMorrison Aren't your monitors like 300 miles tall? All your screenshots are enormous
 
@DaveRandom This is figuratively true, but at the moment I'm just on a normal laptop screen.
@ircmaxell It seems Sebastian Krebs also feels the same way about the dominated discussions.
 
There are a lot of people who feel the same way
the question is how to get people to put their words where their mouths are
 
2:41 PM
Perhaps it would be as simple as reaching out to them off-list and asking them to healthily support the up-coming discussion on it.
 
Go for it. I really wish you the best of luck. I just really don't want to fight anymore.
 
conflicting info on google... (loads of old stuff) .. is there a method in php itself for signing XML documents the w3c way ?
 
what does "the w3c way" mean?
 
Can anyone tell me is it normal to forget how to handle file uploads?
 
2:50 PM
I don't know, is it normal for avatars to shrink like that?
 
Anonymous
@DaGhostmanDimitrov No, its not normal.
 
Anonymous
You should see a doctor about that.
 
Anonymous
seriously.
 
like what?
lol
 
Anonymous
The only abnormal thing, is the fact I am not still a room owner here.
 
2:53 PM
The funny thing is that I am building a framewrok (for private uses in specific projects) and it is almost ready with very good benchmarking IMHO and it is almost finished... and I cannot handle a basic file upload....
epic facepalm with a brick
 
Anonymous
Never made a site, that needed to upload file, so I too haven't made it yet. But, I know how it might/should work.
 
0
A: Display 24 hours in a dropdown list using php

Sweetie BelleA slight variant on Fresh Prince's deleted answer I give Fresh Prince of SO most of the credit for this one, but since he deleted his original answer I'm posting a variant of it without the mixed echo tags and weird concatenations. <?php for($i = 1; $i <= 24; $i++): ?> <option value="<?= $i; ?

I know it's a Hello World question, I don't normally answer them, but the answers there are horrible.
How do I force PHP syntax highlighting?
 
@SweetieBelle <!-- language: php --> or somethin like that
 
> Not everything can be found in the 5 most popular frameworks.
Sure, but best practices usually are found there.
^^^ lol.
 

« first day (1055 days earlier)      last day (3909 days later) »