« first day (1093 days earlier)      last day (3861 days later) » 

12:00 PM
Why this statement is couldn't printed "$this->name "
 
okay,lets forget this ip-ip comm stuff,i just need to create a list of users logged in on the server
the client send the post with user id (may be encrypted) to the php script
php script puts it in the db
so when i check the server i get the list of users logged in
will this be alright?
@PeeHaa
 
Does it matter whether I say it is alright?
 
I want to print $this->name but it couldn't print why?
 
I get the feeling you have some solution and you are simply looking for somebody to say yes
 
@PeeHaa yeah, if its not can you recommend a good way to create such a list
apart from external libraries
 
12:03 PM
 <?php
class MyDestructableClass {
   function __construct() {
       print "In constructor\n <br>";
   echo    "$this->name ", " = MyDestructableClass <br>";
   }

   function __destruct() {
       print "Destroying " . $this->name . "\n";
   }
}

$obj = new MyDestructableClass();
?>
Please anyone know?
 
@ElhadiMamoun Enable error reporting...
 
anyone ever tried to ab a test php script ?
 
nope
 
Why $this->name unprintable ?
 
59 secs ago, by PeeHaa
@ElhadiMamoun Enable error reporting...
The error message should be pretty clear
It's not like you are hitting a T_PAAMAYIM_NEKUDOTAYIM...
 
12:06 PM
@PeeHaa how? there no error but simple question
 
I just gave you a simple answer
twice
 
How I can enable error reporting?
 
@ElhadiMamoun Check the documentation of the software vendor
 
@Feeds Can someone remove this crap?
 
1 message moved to bin
The guy is drunk again :(
 
12:09 PM
Cheers!
 
if mysql dump restore is possible ?
 
Dejan@N76 ~
$ php -r "echo exec('nohup sleep 5 > NUL 2>&1 &');"
(5 seconds later)
Dejan@N76 ~
Dejan@N76 ~
$ nohup sleep 5 > NUL 2>&1 &
[1] 12176
Dejan@N76 ~
EXPLAIN
 
@webarto Our @hakre just told me you might live in Vienna?
 
@kaiser Lived for a month, a month ago, but I'm planning to either way :P
 
Kool. Where're you originally from?
 
12:13 PM
@samitha well if you ssh from windows into that machine and that machine has screen, then yes. If it does not have screen, contact the sysadmin of that machine and ask to install screen.
 
i wrote a sync script (php)
 
i'm generating a sql file and i'll dump it to my online server
 
o, bloody markdown
 
hehe
What are you normally working with? Drupal, Symfony2, Yii, Lavarel... ?
 
12:16 PM
if the connection is lost while script do the dump how do i do again without the duplicate entries @hakre i can use only php
 
PHP? :)
 
like in "I can do all the funk on my own!" ? :)
 
@samitha you don't have to, the script will continue to run thanks to the shell inside screen. You then reconnect and use $ screen -r so you can see if it still runs or is ready already.
 
@kaiser No, but I can always try and fail :)
I just like to know what I'm using.
 
@webarto I see. Your tuned car drinks to much petro.
 
u mean like $output = $ssh->exec("$ screen -r"): @hakre
 
@hakre Nooooo, it's just that they don't have Liquefied petroleum gas stations, which is twice cheaper, and I drive a green car :P
 
@reikyoushin doesn't example provided add additional information? It shows the part of XML what created a problem and also shows a class, that will have this data after deserialization.
 
I'm selling autog.as and autopl.in for Audi Q5 /cc @OMV
 
12:23 PM
Any mysql people in here who can either confirm or debunk the following user note:
> The text: "PDO does not allow you to use MySQL's support for Multiple Statements" is outdated.

Since v5.3, PHP intoduced multiple statement support into PDO (by PDO_MYSQLND driver replacing the previous PDO_MYSQL).
 
@samitha no, obviously not. I mean an interactive shell. for your remote commands, please contact the system administrator and ask him for something similar like screen, just working for non-interactive usage.
^ super-duplicate: Both DIV via HTML Parser and strip_tags has a tons of Qs and As. Please just eradicate.
 
33
A: PDO support for multiple queries (PDO_MYSQL, PDO_MYSQLND)

Sam DarkAs I know, PDO_MYSQLND replaced PDO_MYSQL in PHP 5.3. Confusing part is that name is still PDO_MYSQL. So now ND is default driver for MySQL+PDO. Overall, to execute multiple queries at once you need: PHP 5.3+ mysqlnd Emulated prepared statements. Make sure PDO::ATTR_EMULATE_PREPARES is set to ...

wat
 
@webarto ah emulated prepares. Lemme kill the comment because bad
 
kill'd
 
woot
 
kneel before @php.net
:P
 
@PeeHaa error_reporting(E_ERROR | E_WARNING | E_PARSE); didn't do thing
!
 
// Report all PHP errors
error_reporting(-1);
 
12:39 PM
XOR that shit.
 
12:56 PM
I bet Rasmus' password is airplane/aviation related.
 
echo $ssh->write("screen -r server1\n");
what of this server1 mean ?
 
@Gordon info.jetbrains.com/WebStorm-Webinar-Registration-24102013.html says Linux is not supported under their sys reqs section. Is this not a flash/java based webinar? Also, do you know if it will be down loadable later? I have a friend who I want to see it too, but she has work at the time.
 
1:12 PM
is that really possible to check weather a mysql table exists with a name...
-1
Q: Check if a Table already exists with that name

BlackCoderi am trying to write a script which helps me to find.. if there was a database existing with a given name. I AM SURE THAT I WILL NOW HAVE ANY EMPTY TABLES IN MY DATABASE... SO DID LIKE THIS.. BUT GOT AN ERROR PHP CODE <?php include_once("config.php"); isset( $_REQUEST['mainnamechk'] ) ? $main...

i am trying for past few hrs :(
nothing worked!
 
yes , it is possible
 
@BlackCoder Could you remove the shouting in your question?
 
@terseko, thanks :D great! :)
@PeeHaa you mean like for that question ?
 
I MEAN LIKE: WHY ARE YOU SHOUTING AT THE COMMUNITY!
 
1:15 PM
@PeeHaa i am really sorry.. what do you mean by SHOUTING (sorry english is not language )
 
@PeeHaa what's up? you pinged yesterday?
 
@ircmaxell Yo! I am creating a phpoauth provider lib and I need to create keys / secrets for clients. What do you suggest? RandomLib?
 
@BlackCoder What happens when you google "check table exists mysql" ?
 
@BlackCoder YOU DON'T THINK THIS LOOKS DIFFERENT THAN HOW OTHERS ARE TYPING?
 
emm ... @BlackCoder, I am pretty sure that English is a language
 
1:19 PM
yup
high strength
 
@PeeHaa @techno Ah.. really sorry.. :) now i don't have option to edit those lines :( i will not do this again!...
 
k
 
@tereško synchronize is working fine with local severs to remote severs now
 
Is this still the case:
> There are currently no mixers shipped with this package that are capable of creating a high space generator. This will not work out of the box!
 
prob, I need to look at it
 
1:24 PM
:P
 
let's chat tomorrow about it, and I'll make the necessary fixes
 
Sure np
Tomorrow first day in the office again?
 
well, was there 3 days last week
 
1:44 PM
Hey, I have a situation in my application where I am in a controller and a need a certain service, instead of doing "$service = $this->serviceFactory->build('ServiceName'); I have a method in my AbstractController protected function service($name) { return $this->serviceFactory->build($name) }
So now when I need a service I can just do $service = $this->service('SomeService');
My views also need services so in my base view class it also has a public function service($name) { ....
I know it is only a tiny bit of code duplication but I would prefer not to have it
Would using a Trait in this situation be considered ok?
Something like trait ServiceShortcut?
I don't like doing $service = $this->serviceFactory->build('SomeService') anytime I need a service. It is very long
 
@David "Would using a Trait in this situation be considered ok?" No, Traits don't solve this problem. you need a real dependency injection solution like github.com/rdlowrey/Auryn
 
@Danack are you saying to inject any required services into the controller on construction?
 
@David Yes.
 
and the same for the views
That seems like a lot of work
What if a controller needs 3 services
 
@David Yes, basically to do dependency injection 'properly' (or at least without having a service locator widget) you need to pass the dependencies in when the class is constructed.
 
1:51 PM
I think my AbstractController already has 4 dependencies on construction
 
@David It actually is a lot less work than you might think, as that library does the creating of the dependencies for you.
 
@Danack But what if my controller then ends up having 7 or 8 dependencies? In an extreme case where it needed 4 services? That probably would not happen but incase
 
e.g.
class SomeController ( function __construct(Logger $logger, DBConnection $dbConnection){ ...} }
$provider->make('SomeController');

Auryn will automatically create a Logger and DBConnection class and pass it into the constructor of 'SomeController'.
The only downside to using that library is that it makes you want to re-write all your existing code...
@David You're probably already dooing so, but I suggest reading the doc pages github.com/rdlowrey/Auryn/wiki/Basic-Usage github.com/rdlowrey/Auryn/wiki/Advanced-Usage
 
@Danack I already have a kind of simple DIC which sticks together my Config, Language, MapperFactory, ServiceFactory, Logger, etc
 
Good for you?
 
1:57 PM
@Danack I have a ControllerFactory but when I ask it to build a specific controller it will give me back a controller with the 4 dependencies all controllers have like Request etc
My controllers all have the same 4 dependencies
 
Rather than having to ob_start(); echo_stuff(); $var = ob_get_clean(), is there no way to simply change the output stream?
 
Are you saying to be more specific on controller creation and inject required services into controllers too?
@Danack
 
Creating an output context from which any output statements dump to another stream would be awesome; I mean, the ob_* method isn't particularly cumbersome, but it'd be alot easier to make it implicitly forward to an fwrite, rather than buffer and explicitly do it somewhere.
 
@David Yes. Any solution that involves a ServiceFactory is basically wrong. Or to put it more simply, any solution that doesn't pass in all of the actual dependencies from outside, into a class is going to be a bad solution that doesn't actually do 'dependency inversion' - even if it looks like it almost does.
@DanLugg pass in the output stream to the function stackoverflow.com/questions/17252825/…
 
@Danack Yea, see that's what I wanted to avoid.
 
2:04 PM
@Danack Makes sense. I am also learning unit testing for the last 6 months and not injecting the actual dependencies in makes it harder. I was even thinking passing this service factory around is sort of like the service locator anti pattern, would you agree?
 
@DanLugg Why?
 
@Danack Templating; jumping in and out of compilation. I'm just calling ob_* before and after, but I was curious if one could simply change the default handle.
Rather than have to aggregate it and dump it in one go.
 
@David Yes totally - and which is why I roll my eyes when I see it being done in large frameworks. I'm not a great programmer, but even I know that they're basically using a servicelocator to hide global state. It would actually be a cleaner solution to just use a global function rather than any of the ContainerAwarecrap in Symfony.
@DanLugg That code doesn't aggregate it and dump it in one go.
 
@Danack No, but it's verbose; requiring explicit calls to fwrite with the target handle. I was just wondering if a hidden gem like set_output_handle(fopen(...)) existed.
Err.. well, I would've found that, but something... more hidden.
 
@DanLugg There is a horrible horrible hack (in PHP, no way!) stackoverflow.com/questions/937627/…
 
2:11 PM
@Danack I will start injecting them so with the container. I am thinking now though what about in the actual services, they use mappers, repositories and entities but all of them can't be injected in so in that case injecting the actual MapperFactory, EntityFactory etc is ok?
 
@David "but all of them can't be injected " I reject that premise.
 
@Danack How spectacularly hacktacular.
 
@David You may need to split your app into layers to accomplish that, but it is possible to just completely avoid factories.
 
Thanks @Danack, I think I'll keep searching for a bit.
 
@DanLugg np.
 
2:14 PM
@Danack But what if you have a Shopping service for example and it has a wide API for the shopping use cases on the site. There are times it will need to create an Order entity, multiple Product entities, OrderItem entities
You can't surely inject all that stuff
 
@David Yes - for any API you should definitely be able to inject all the things. Allow me to pastebin you some code.
 
Ok
 
If you guys were retrieving snapshot information about a domain, how would you store it. The information would be stuff like.... http status code, online/offline status, WhoIs info, index HTML, whether it has a facebook icon, IP address and so on... It's quite variable, so curious as to what's a good way.
 
@crypticツ I don't know what they'll be using or whether it will be recorded
 
@Gordon Did Simon get his 3 weeker? :)
 
2:29 PM
@David Ok here is some code for my controller that fetches images from other websites, uploads them to S3, then stores some info about them in the DB. pastebin.com/n6D19mfQ
Yes, there's some setup work that has to be done (and I've included a small amount of the setup work, to make it not too confusing) but once you've done that, you can just create really quite complex hierarchies of objects in a single line.
 
@Fabien yes
 
@Gordon Crazy guy. Ah well, if it helps, it helps. :)
 
@Danack Yeah I see the positives from it
I am going to have a good look at the Auryn interface now
Ah yes, an interface with nearly all one word methods, can't beat it
I always try to make them small but descriptive but there is always a few big long method names I can't avoid that make the interface look ugly
 
@David tbh I still haven't been able to get rid of all of my service locators, as my views/templates aren't injectable, so I still need a service locator for some items on a page - but for an API, where you explicitly know what's going to be called then you shouldn't need any service locator inside your classes.
@David Truth == Beauty. Make sure the names are correct and no-one will/should care.
 
@Danack Thats true, I am off to code for the next 14 hours
And lots of experimenting
 
@Fabien he does it frequently. chat distracts him from real life
 
3:04 PM
@Fabien index html, whois ... that sort of thing, you might checksum, store the content and checksum relative to a primary id, and store the id in the lookup record row, that way you avoid duplicating what is going to remain the same for long periods of time I expect ...
 
Cool cheers @JoeWatkins
 
I'm trying to install Imagick from source. Everythings compiled but getting `PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20121212/imagick.so' - libMagickWand-6.Q16.so.1: cannot open shared object file`
that file exists and is in /usr/lib
and I'm compiling imagick pecl with: "/bin/bash ./configure --with-php-config=/usr/local/bin/php-config --with-imagick=/usr/lib"
So what am I doing wrong?
 
@Danack That's far away from my experiences ;D Sorry
 
3:15 PM
manually move the .so to /usr/local/lib? Or symlink it?
 
@PeeHaa Doesn't seem to make a difference.
 
@Danack from which directories are those libraries loaded on your system?
And which access-rights are required?
 
@hakre The PHP extension is in /usr/local/lib/php/extensions/no-debug-zts-20121212, the image magick libraries seem to have installed themselves after compiling in /usr/lib and /usr/lib64
Weirdly - changing the value of --with-imagick doesn't seem to make a difference to the config generated, almost like it's not using that value...
 
double check the exact file-names.
 
Link that give link to another link :D
 
3:27 PM
@hakre Yeah - they're exactly the same. Also I'm using the version 3.1.2 of pecl imagick, which was released 20 days ago, which should cater for those changes. Hmm time to fire up strace to see what's going on I guess.
 
@Danack Perhaps there is some SELinux in the middle? Just perhaps. Strace is cool :)
 
Well, I'm tearing down my machine and re-arranging my office.
Hopefully see you all in awhile
@Fabien XML? You could define a schema if you're doing it with multiple to force your own adherence. Any possibly malformed markup could be dumped into CDATA.
 
@Danack did you fix it ?
 
@JoeWatkins Found the problem - PHP is trying to load the 64bit versions of the libaries, but they have a completely different name apparently.
[pid 13357] open("/usr/lib64/libMagickWand-6.Q16.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
[root@vagrant lib64]# ls -l libMagick*
lrwxrwxrwx 1 root root 22 Oct 12 22:53 libMagickCore.so -> libMagickCore.so.2.0.0
lrwxrwxrwx 1 root root 22 Oct 12 22:53 libMagickCore.so.2 -> libMagickCore.so.2.0.0
-rwxr-xr-x 1 root root 2225904 May 7 2012 libMagickCore.so.2.0.0
lrwxrwxrwx 1 root root 22 Oct 12 22:53 libMagickWand.so -> libMagickWand.so.2.0.0
lrwxrwxrwx 1 root root 22 Oct 12 22:53 libMagickWand.so.2 -> libMagickWand.so.2.0.0
-rwxr-xr-x 1 root root 1094488 May 7 2012 libMagickWand.so.2.0.0
libMagickWand-6.Q16.so.1is the correct name for the 32bit versions.
 
3:39 PM
Hey @Joe, sorry for directing this to you, but do you possibly know what could be wrong here: chat.stackoverflow.com/transcript/11?m=12329579#12329579, except I'm trying to do it on Windows. If you don't know, just ignore.
 
I don't get the same behaviour
it depends on how pipes are handled
redirect stderr to /dev/null too ...
I mean explicitly, don't redirect pipes to pipes
2>/dev/null 1>/dev/null
 
3:57 PM
Hmm. So it looks like the php configure script for imagick is going wrong. From a command line I get:
/usr/bin/MagickWand-config --libs
-lMagickWand -lMagickCore
Inside the php configure script it does:
/usr/bin/MagickWand-config --libs
Wand binary --libs = -lMagickWand-6.Q16 -lMagickCore-6.Q16
i.e. the imagemagick tool thinks it's in a 32bit OS.
 
@JoeWatkins no luck for me, here is the Q stackoverflow.com/questions/19347120/…, I should play it the way it's meant to be played(tm) :)
 
the question is fucking with my head ... I just realised why ...
nohup on windows ?
does not compute ...
@Danack you found this just by trying to install what the pecl version or shared version in master or what ??
ah there isn't a shared one ...
I'll have a look ...
 
@JoeWatkins I've found the error.
It's....
DEBUG_LIBS=`/usr/bin/MagickWand-config --libs`
AC_MSG_RESULT(libs before $DEBUG_LIBS)

export PKG_CONFIG_PATH="$IMAGICK_MAGICK_PREFIX/lib/pkgconfig/"

DEBUG_LIBS=`/usr/bin/MagickWand-config --libs`
AC_MSG_RESULT(libs after $DEBUG_LIBS)
The export line seems to be fucking image magick
That outputs:
libs before -lMagickWand -lMagickCore
libs after -lMagickWand-6.Q16 -lMagickCore-6.Q16
 
4:09 PM
where's that in config.m4 for configure imagick ?
 
@JoeWatkins That's in the pecl imagick config.m4, around line 110
 
@JoeWatkins YES
 
Obviously the debugging is just me debgging stuff.
 
@webarto cygwin probably?
 
Just commenting out that line made everything compile and install okay - I'm just running some tests on whether imagick is actually working.
 
4:11 PM
@hakre cygwin, GetGnuWin32 or don't know anymore :)
funk it
 
ah you have got git bash there?
 
but I could swear it "worked"
 
@hakre have that one too, I think I have "regular" bash too.
 
@Danack it is not out of the ordinary to export a new pkg-config-path ...
but it's out of the ordinary not to restore the original one ...
the author is making changes to config.m4 in the last hour ... ping him with your findings ...
@webarto ... burn windows ... it's evil ...
 
4:15 PM
@JoeWatkins Do you know how to ping him/where is the source git/svn for imagic pecl?
 
oh found it
 
comment on his changes to config.m4
I can't imagine he's compiling on anything but 64 bit ...
@webarto is it burning yet, I can't see smoke ....
 
@JoeWatkins you tried to deal with threads there, right? ;)
 
hah!
 
4:18 PM
there's one legitimate reason for 15 year olds to stick with windows and that is computer games ... take yourself seriously and install the operating system you will rely on for the rest of your life as a programmer ...
 
So, I made a .sh and nohup "works" there (running cli webserver), but when bash exits so does the child process. THE END.
 
@hakre I thankfully didn't have to, I didn't intend to support it at all, thanks to redhat pthreads is supported in windows ...
 
@JoeWatkins I guess you compile against cygwin.dll there?
 
no
redhat have a pthread-w32 port
works well
 
ah, okay, didn't know that.
 
4:19 PM
yeah me neither till I wrote pthreads ...
 
redhat does some nifty stuff
 
wasn't even gonna bother with windows, what a total headache that would actually be ...
 
then found pthread-w32 while reading, didn't require a single change, just works ...
 
this is me, while I had hair :D
 
4:20 PM
@JoeWatkins I know from a collegue who has to and there is a lot of pucking. Stuff on Linux just works, on Windows it's the total mess.
 
Ok... so... so long Windows...
 
It's somewhat like writing websites for Internet Exploiter.
 
But I can't work without Windows tbh.
I mean, other than programming.
 
yes you can ... man up ...
 
1. Be a man
 
4:21 PM
2. Remain a man
 
sudo man up
 
what do you require from windows ??
 
photoshop
 
Games!
 
4:23 PM
Photoshop, Plex (but didn't know there is Linux version plexapp.com/getplex), Notepad++, and that's about it probably :)
 
well I'm no designer but gimp has quite a lot of the stuff that photoshop has, but I hear ya, there's a few applications that cannot be matched ...
but I can literally write them on the side of a single cigarette
is it really worth it ... do you deploy on windows, do you not waste a bunch of time trying to work out why there are inconsistencies after deploying (if you say no, even in your head, you are lying, yes you do, face it) ... the answer is no ...
 
F* HELL NO
 
niiiiiice
and yeah that's another thing ...
 
I know I won't be needing Trojan Remover hah
 
@JoeWatkins Ta - I raised it as an issue as the latest version from github still shows the problem.
 
4:26 PM
Rapidshare -_-
 
all the viruses on the face of the earth that matter and werent''written by symantec are targetted at windows ...
@Danack np np
 
So... what the distro? :)
Debian?
 
absolutely anything ... you choose that's the whole damn point !!
 
Debian
 
I go with fedora, because I deploy with fedora and that makes my life in the long run a bit easier ...
well I deploy with redhat derivatives ... rhel/centos
 
4:28 PM
You're 1337, I'm noobish.
 
debian is not exactly for beginners ...
isn't that why ubuntu exists ...
 
they're all good ... eventually you will end up on something redhat derived because that's what most servers actually are ... by some other name it's redhat ...
 
@hakre :D
@JoeWatkins *sob* well I'm not that of a noob. Yes, I work in hosting, if they can (devs) do everything with Mac, I can do it with Debian too :)
 
I can't take osx seriously either ... I don't like that they need a name and address for xcode, it bothers me ... so I avoid it ...
the computing world has always and will always rely on unix ... all of this other stuff is just noise in the way of real computing ... clogging up our networks and minds with candy we don't need and never asked for ...
5
 
4:32 PM
@JoeWatkins I live at 42 Ans. St., Whatsittoya, Land of Fire.
 
Oh, hello IDF :D
@JoeWatkins Word
 
Evening jQuery.
 
my mum has an ipad ... I tease her than some poor 8 year old boy who should be in school probably had his hands melted off so she could have an ipad ...
but it does have a nice interface ...
and fits in her bag ...
so w/e
 
I got an iPad. I like it.
 
I'd just like to make the observation that I have had a computer in my life for as long as I can remember, and not one single time did I think to myself it would be useful if I could cram my computer into just the screen and get that in my bag ...
we didn't need 'em ...
they are stupid stupid money, and they do have questionable ethics, there's no denying it ...
all apple products are ...
for what you can mostly download ...
 
4:37 PM
Meh. I use mine for browsing when I am pottering around the house. Cooking, or trying to sleep. Granted it's overpriced, but I certainly use it enough.
 
I have a tablet ... a cheapo chinese one ... I've had several ...
I can get on board with that ...
 
Why several?
 
mostly it's open source ...
I stand on them, drop them, leave them somewhere ...
 
I use tablet as a remote these days, so it's pretty much wasted money...
 
Oh. I bought my iPad 2 years ago, never changed. Well it broke a month ago and I replaced it with a new one for £90
iPad is overpriced but it is good overpriced hardware at least.
 
4:40 PM
looking at their prices now they are having to compete they are still too expensive for what they actually are ...
it is not that good
you can get quad core tablets for £60
 
When I was buying I couldn't :)
 
AFK :P
 
it's questionable whether you should buy such a tablet, but they exist ... somewhere in the middle, pay about a onner and you'll get something pretty decent ...
if you're a bit handy with android (or linux, to give it it's proper name) then you don't really need to worry about upgrades .....
 
Hello all
i am having issue witrh simplexml_load_file() function whenever i give relative path its working fine but when i give it absolute path of XML file then it is not working please help
 
I'm off out for a bit ... lata chaps ..
at nearly 30 ... I'm not allowed out ...
 
4:52 PM
@MuneemHabib E_NOT_WORKING isn't a valid PHP error
 
great having your mum to stay as an adult I haven't heard "where do you think you're going" in that voice for so long ...
 
i am getting Null
 
@MuneemHabib Do you have error_reporting enabled?
 
@MadaraUchiha
yes
 
@MuneemHabib Null? Are you sure? Not false?
 
4:57 PM
I have var_dump my variable and it is showing bool(false)
@MadaraUchiha
 
@MuneemHabib False means it's failed.
Which means that your file isn't where you think it is
Try using realpath() on your relative path, to reveal the real absolute path
 

« first day (1093 days earlier)      last day (3861 days later) »