« first day (1119 days earlier)      last day (3842 days later) » 

12:02 AM
On the bright side one of my 4 books despatched. Fingers crossed for delivery tomorrow.
 
which ?
 
PHP Object-Orientated Solutions - David Powers
Because you recommended it BTW.
 
I would have opted for a torrent. It only makes sense to buy a physical book, if you hope to re-read it .. or if you need room decoration
 
I have that too -_-
 
@tereško Or to support the author
 
12:06 AM
well .. yeah, that too is a good reason
 
I tend to torrent and if the books is good I buy. I always said if I could afford it I would buy it growing up.
 
I still cannot afford it =/
 
You could always do what Gordon does and put a wish/gift list for your positive contributions to questions. If the asker so wishes to.
 
lol .. not sure if that would work out, since most of my answers begin with "You are doing it wrong .."
 
ehhehehe
 
12:09 AM
heh. Yes, perhaps giving out your address isn't such a good idea.
 
"Your code is bad and you should feel bad"
 
^ lolwut
 
Answer suits the question perfectly...
 
That is soo true :)
But wait!
IT GETS BETTER!!!!!
@jeroen I started to implement but I could not find any way. I was trying to do it with soap server but i do not want file to be saved on web server but i want it to be sent directly to another remote server. — user2967076 1 min ago
 
12:19 AM
:D
 
:P
 
I think the hardest part about answering a question is often understanding it.
 
12:36 AM
Anyone here?
 
Depends @ErginKeleş. Did you bring beer?
 
Yeah :)
 
In that case I might be around
 
I need really quick help or idea about this: stackoverflow.com/questions/19849424/…
 
@ErginKeleş Does bitly send the referer header?
 
12:39 AM
Not that i know.
 
Have you checked?
 
No referer info with $_SERVER["HTTP_REFERER"]
Yeah
I have checked
 
ok. What you can do is append some extra info to the url when you convert the thing into a bitly url and check that
I.e. http://yoursite.com/page?bitly=1
 
But you can enter the site by entering bit.ly/asdasd
 
So?
ow wait you want to capture qr codes
well not possible I would say
There is nothing special about a qr code
Whether it is written somewhere in plain text on some site or is added to a qr code. The end result is a simple plaintext url
 
12:43 AM
Probably don't see referrer because it's HTTPS to HTTP?
 
It's getting sad...
Not funny anymore...
Everything I learned was from "reinventing the wheel"...
 
-1
A: What's the name of this wordpress plugin?

Crazyman135790-CrazyHackerThis is not a question for this site try the Meta Site here: http://meta.stackoverflow.com/ This is where you ask questions about this site.

goddamnwtfbbq
Great now some window crashes. Leaving 30+ open dialogs saying it crashed
how nice
 
Brilliant
 
 
2 hours later…
2:42 AM
Awesome. > 90.9k Close Votes. Should be 100k by December.
 
3:29 AM
hi moring
$refer_id = "memeber_varibale";
$eachItem->$refer_id = 10;
can i use this in this way?
 
yes
 
yo
@Orangepill why do i get a bind error in this code?
$stmt = $mysqli->prepare("INSERT INTO ".$SportName." VALUES (?, ?, ?, ?, ?, ?)");
$stmt->bind_param("ssssss", $date, $opponent, $location, $time, $games, $notes);
$stmt->execute();
$stmt->close();
 
@Orangepill bt am getting parse error
 
where?
@N0nh4x0rツ What is your question?
 
@EliteGamer there are 7 values u given
$refer_id = "memeber_varibale";
$eachItem->$refer_id = 10;
can i use this in this way?
 
3:43 AM
what is Member_var?
 
@EliteGamer there are 7 values u given, but expectiong 6 only
 
i see six though
 
@EliteGamer "ssssss" ??
 
there are 6 ? and 6 variables
 
@N0nh4x0rツ the first one isn't one of the bound parameters... it lists the formats
 
3:45 AM
@N0nh4x0rツ "ssssss" stand for strings
 
@EliteGamer Where are you getting the variables from
 
each param is a string
@Orangepill I am getting it from an array
an array of my DB tables
well, the first one...the other ones are POST Data
 
@EliteGamer and if you vardump the values they are listed as strings? Not like SimpleXmlElements
 
$date = $_POST['date'];
$opponent = $_POST['opponent'];
$location = $_POST['location'];
$time = $_POST['time'];
$games = $_POST['games'];
$notes = $_POST['notes'];

$stmt = $mysqli->prepare("INSERT INTO ".$SportName." VALUES (?, ?, ?, ?, ?, ?)");
$stmt->bind_param("ssssss", $date, $opponent, $location, $time, $games, $notes);
$stmt->execute();
$stmt->close();
why would they return something other than a string?
 
@EliteGamer What exactly is the error message you are getting
 
3:48 AM
Fatal error: Call to a member function bind_param() on a non-object in /home/....addEvent.php on line 40
and line 40 is the bind param line
 
@EliteGamer Check the value of $SportName... I don't think it is a table name.
 
it is
I know for sure
i echoed it, and it was the name of one of my tables
 
$stmt isn't being created... the prepare is what is failling ... not the bind
 
hm
how is that?
@Orangepill let me echo the query and the var SportName
 
or you may have to do INSERT INTO TABLENAME (field1, field2, field3,field4,field5,field6) values (?,?,?,?,?,?);
 
3:52 AM
This is what i get:
Baseball
INSERT INTO Baseball VALUES (?, ?, ?, ?, ?, ?)
 
How many fields are in the Baseball table?
 
can i use * for all fields?
7 lol
including ID
but i do not add one
 
list off the fields like in the example above .
 
ok, let me see
@Orangepill well, that might have worked, i was for sure i could just plugin in the values
let me check if it added
 
I think you can omit the field list only if the field count matches the number of values supplied.
 
3:58 AM
yep
yea, i knew that might be the case
 
4:08 AM
has anyone ever used flexpaper?
 
nope, sorry
 
ah dammit
 
It's strange but bcadd('1498', 0, 0) sometime returns 1498.0000000
 
Sorry this may be a noob question but if a text file is located in the root folder of the server, (i.e. not the www), can scripts inside the www/ folders still read that text file?
 
@user2738336 They shouldn't be able to but it is possible.
 
@user2738336 , it's possible.
 
hello.txt
www/hello.php

can hello.php open up hello.txt?
Ah, so you can configure it to open it up? I got flexpaper and was thinking about putting my pdf documents in the root, so that users can't access them but the scripts can
 
4:41 AM
Good morning guys
 
No... i have bcadd('1498', 0) and it returns sometime 1498.0000000000
 
I am having an issue displaying only certain record, see I got 2 tables, one where the uploaded file's details are stored and one where my archived records are kept. I am running this query:

SELECT * FROM `datafiles` v, `ref_archives` d WHERE v.idnumber = d.idnumber AND v.empnumber = v.empnumber

but it keeps giving me the results of all uploaded files, am I missing something
any help and guidance will be appreciated
anyone?
 
5:04 AM
@MauriceBotha Maybe you mean d.empnumber = v.empnumber
 
@Orangepill It still displays all results
 
@MauriceBotha What exactly are you trying to get?
 
@Orangepill The files that were uploaded for that specific record, since the 2 tables have similar fields the only entry that will allow for this is the empnumber
field
 
@MauriceBotha then you want to do v.empnumber = 1 or whatever the employee number in question is
 
@Orangepill , Yes that is the way I will have to go, just one last question. How will I assign the v.empnumber = "?value?" , I will need to declare that as a variable?
Something like:

v.empnuber = '$empnumber'
$empnumber = $row['empnumber'];
 
5:18 AM
@MauriceBotha You should use prepared queries anytime you use a variable in a query. See here for examples.
 
5:36 AM
morning
 
user652649
5:47 AM
 
6:35 AM
	dataType:'pdf',
        success: function (response) {

        $("#printPdf").modal(response);


        }
also
header('Content-type: application/pdf');
but modal doesn't even open
any idea?
 
check your console (ctrl+shift+j in chrome), check the network tab (or any other browsers equivalent) and check if your ajax query is actually triggering
also: add a console.log($('#printPdf')) right infront of the .modal line and check your console to see if its actually the right element.
 
morning
 
6:51 AM
mornin joe
and off i go.. time to get to work.
 
morning
 
7:21 AM
where are all people? :\ it's Friday!
 
Good morning
 
morning, @ircmaxell
how's the classic music?
 
you were going to visit a concert.. no?
 
no
 
7:27 AM
morning @ircmaxell
 
huh.. I've misunderstood then
 
Good morning.
 
how's everything?
 
hello, @Duikboot
@ircmaxell whole day with nothing to do :)
 
Gues what @JoeWatkins !
 
7:31 AM
@Duikboot FRIDAY !!!!
 
lies
 
And monday it's a holiday here in Belgium ! BooYah!
 
it's tuesday
and you know it
 
?
 
Actually it's monday.
If it's friday and you know it clap your hands.
Cool @ircmaxell you'll visit my hometown in 01/2014
 
7:33 AM
I was there last January as well ;-)
 
hehe
 
Also Antwerp?
 
huh.. I've checked that it's Friday
 
yup
 
Cool.
 
7:34 AM
the hotel isn't really in town, so i didn't really get to see anything except snow ;-)
 
@ircmaxell do you ever work? :D or just traveling from city to city? :DD
 
nope, I never do anything except have fun ;-)
 
hehe
 
7:41 AM
Mag ik een "Lorum Ipsum" alstublieft?
 
lol
 
I don't consider programming work ... I consider it feeding my addiction :)
there's an interesting subject to blog about ...
the chemical addiction to understanding .... eurekalert.org/pub_releases/2006-06/uosc-fk062006.php
quite a few papers on that subject ... appears to be a fact ...
 
:D
 
This chapter discusses the relevant types of learning implicated in addiction and their neural substrates. First, we describe the associative structures of various learning processes—abstract descriptions of the content of learning based on behavioral studies. We then attempt to link various types of adaptive behavior and their modification by distinct learning processes to specific neural substrates.
In particular, we argue that parallel but interacting cortico-basal ganglia networks in the cerebrum provide the neural implementations of associative structures from learning theory, and that abnormal interactions between these networks could result in addictive behavior.
I read such things all the time, and it rings very very true ... I don't so much want to be up at 3am and back up at 6am everyday, I don't have much choice in the matter ...
 
8:02 AM
Cool, never knew this website exists: codetriage.com.
 
@Duikboot *signs up for CodeIgniter* =oP
morning everyone
 
night, @crypticツ Oo
 
I would love creating UI's like that.
 
nice, yes. btw all sites are not working for me unless I allow js for them :(
 
Define not working? :)
 
8:09 AM
define('not working', 'view is full of sh*t and nothing is clickable/dynamic');
I have noScript installed, yes. So every new site have nasty look when I'm visiting it first time
 
I have a question about apache vhosts……
I'm trying to access the vhost on a LAN from a different computer
without adding it the the /etc/hosts file…
anyone got suggestions?
 
php.net/getlastmod what a strange function
 
in short: no. Your machine should be able to resolve your vhost. If not in /etc/hosts - then in local DNS server, for example
@JoeWatkins why strange? As I recall it relies on Last-Modified HTTP-response header
 
@AlmaDo Is setting up a local DNS server difficult?
 
@daviesgeek no
 
8:16 AM
okay
 
@AlmaDo depends on the SAPI, either a SAPI handler is invoked or global stat cache referenced ... it's ambiguous ...
 
Is it hard to write a smal script the check if the webserver is online and if there are problems to display the information that is possible?
 
Awesome
 
8:20 AM
fsockopen port 80 using a public address, don't use loopback or localhost, and if possible do it from another machine with shell access so you can fetch logs and whatever upon detecting failure ...
 
Because our server was 5 minuts down and the company was like oohnoooo ohnoooo we have registrations open on a website what now...
 
Okay thanks @AlmaDo I have to go to sleep…I'll figure it out later……
 
@Duikboot got curl ?
 
@JoeWatkins interesting..
 
I have an other website with that option on yes
webserver*
 
8:29 AM
is it possible to carry variables from one page to another via <a> link?
 
Oo ..
 
@MauriceBotha it's a GET request so yes
 
@Duikboot 3v4l.org/mMmXU
eval sucks
do something like that ...
generators are cool, that's the first time I used em ...
 
@JoeWatkins may be curl_multi_exec() will be better then?
 
seems a waste to initialize curl ... it does have an option to just test the connection, I forget the constant ...
 
8:36 AM
hmm
nice
 
also, your generator has a very strange name :p
it's called isAlive() so suppose to yield only alive services, but you have to check it after yielding :p
 
LOL A fellow south afircan
Except he is ask dumb questions :P So I am embarrassed. Hold my head in shame and shuffle my feet.
:P
asking*
LOL
Sigh
 
@MauriceBotha is there any particular reason why you cannot use a session ?
 
Why is everything so slow today :)
 
8:45 AM
@tereško I don't think he knows what a session is in regards to PHP. According to profile, he used site builders to make sites and just now has started to actually learn how to code along with learning PHP.
 
ouch
 
LOL
Its a start! :P
 
Mornings
 
Morning
 
I'm not trying to sound mean, just pointing out that we need to speak in beginner terms to help.
morning
 
8:47 AM
Yeah. I know ;)
 
Happy, happy Friday, ladies and gentlemen.
 
@cryptic Thanks
 
@crypticツ First you breathe in, then (if everything went OK) you breathe out again. I understand that most people then find it prudent to repeat this process regularly.
 
@DaveRandom hello
 
@MauriceBotha is what she's saying correct ? You have no idea what sessions are ?
 
8:49 AM
8hrs 10mins left of my current employment
 
@DaveRandom then onto the hot dog stand? =oP
 
@tere
 
@crypticツ I wish. No, it's sewer monkey for me.
 
@teresko I dont think it is needed for what I need done but thanks anyway
 
that did not answer the question
 
8:54 AM
@tereško You scared him away
:P
 
@Cool2beblue he'll be back...they always come back for seconds =o(
 
I'm not a huge fan of using sessions for such trivial things anyway. I don't 100% subscribe to REST (sometimes you're just making things unnecessarily difficult) but I do try to avoid storing session state when the only thing I need to pass around are insecure scalar values
 
@DaveRandom usually these sort of questions actually translate as "I have two part form ..."
 
morning all
 
8:59 AM
morning @JoeWatkins
 
oooh last day today @DaveRandom
 

« first day (1119 days earlier)      last day (3842 days later) »