« first day (990 days earlier)      last day (3958 days later) » 

6:00 AM
with the new flagging rules, what does "Too localized" questions come under?
 
oh!, thanks.. I am not available till next month..
After month of Ramzaan.
 
@asprin off-topic-> second last option
 
@Rafee where do you stay
@YogeshSuthar Am sending you some mock up by tonyt
also your laptop reply
 
@Mr.Alien Hyderabad, India.
 
hmm..that doesn't seem right...suppose the solution to a question was because of a typo, it wouldn't come under "Questions asking us to recommend a tool, library or favorite off-site resource" right?
Hey me too
 
6:03 AM
Ohhhh
Yes I am an Indian too, so I know where is hyderabad :p
 
@Mr.Alien ok. I also think about it, will create some diagrams and send you.
lolzzzz
 
@YogeshSuthar Sure, and will have to make it big and awesome
bloody I want to thrash linked in, hope things go well and get some sponsors..
 
thumbs up
 
@Rafee Infact I've being to hyderabad and I wasted my money at ramoji
cuz it was boring
 
@Mr.Alien foreign sponsors. :P
 
6:05 AM
Yeah, I know..
who was your guide any way.
Is someone in hyderabad.
 
Hello to all,
 
Hi.
 
Please have a look on this question
4
Q: facebook og image share for highlight feature

Ravi KumarI am sharing my website video page on Facebook. I have used a high resolution image in og meta tag. My Issue When I use the highlight feature for my post, facebook doesn't shows the big image like it is doing in the YouTube video sharing case. I am using following code: <meta property="og:sit...

@Rafee will you help me find the solution to this question: stackoverflow.com/questions/17358462/…
 
@RaviKumar
Discussion for all things PHP - Don't ask whether someone is here to help you. If someone is around and wants to help they will.
If we can, then we are ready to help to you.
@RaviKumar Seems everthing working good. whats wrong.
Just add more content to it..
 
@RaviKumar no one have 39 second to see you video ... where you got stuck
 
6:13 AM
@NullPoiиteя Image in highlight feature doesn't spread to whole screen
@Rafee Image in highlight feature doesn't spread to whole screen
 
Too desperate to get a solution.
 
@crypticツ too bad answer .. deserve dv
 
@crypticツ I know you from HF
 
6:22 AM
hi all ! :) anyone using CI-Bonfire+Sparks here?
 
yep, @YogeshSuthar had it right, I've got the code working now, if you make an answer Yogesh I will accept it as the answer — Michael St Clair 46 mins ago
 
@Rafee i tried to changed the width and height. But in that case facebook using different width and height
 
Anyone tried to use $autoload['sparks'] to load sparks? It doesn't work with me. apparently.
 
in ci?
 
6:29 AM
$this->load->spark('...');
 
@KrishanaSingh we can't use $autoload?
 
@KrishanaSingh can you please explain why? My friend can autoload sparks via $autoload['sparks']. I cannot. We have the same configuration as we got the same reference : forums.cibonfire.com/discussion/212#Item_3
 
You can also autoload sparks in your application's config/autoload.php:
 
@YogeshSuthar @NullPoiиteя Check this out
luckily I got one from torrent, the latest one
but that's awesome software
 
6:32 AM
You can add your auto loader above to app/config/config.php. I've used a similar autoload function before in this location and it's worked quite neatly.

function __autoload($class)
{
if (strpos($class, 'CI_') !== 0)
{
@include_once(APPPATH . 'core/' . $class . EXT);
}
}
 
if you are looking for web dev business
 
@KrishanaSingh I apparently cannot load via $autoload['sparks']. I can set the key, but to no avail will it load the sparks.
 
@Mr.Alien there are others also present like this.
 
one sec
 
6:34 AM
@YogeshSuthar Let me know if there's a better one than this, cuz I loved it
 
@Mr.Alien , I am using that tool.
It good..
 
PLB
@KrishanaSingh Autoloader in config? This is the last place I'd expect it to be.
 
@Rafee Yes, it looks professional when you are dealing with clients, I got that when I was watching a lynda tutorial
 
PLB
Bootstrap/init files are for that, btw.
 
@Mr.Alien I don't know which one is better. I have seen a tool to create mock-up like this. Don't remember its name.
 
6:36 AM
good mornings
 
@PLB I am using CI-Bonfire
 
for autoload need create autoload config
 
Good morning.
And Pencil is another tooll.
 
PLB
morning.
 
check it and confirmation
 
6:38 AM
@KrishanaSingh instead of __autoload use spl_autoload_register()
 
Once you have downloaded the correct spark you can choose to autoload it:


$autoload['sparks'] = array('redbean/1.0.2');
 
@YogeshSuthar yahi rahega
 
Or to manually load it anywhere in your code:

$this->load->spark('redbean/1.0.2');
 
may be @Mr.Alien
 
if (function_exists('__autoload')) {
spl_autoload_register('__autoload');
}
class BasketAutoloader
{
static public function register()
{
spl_autoload_register(array(new self, 'autoload'));
}

public function autoload($class)
{
require dirname(__FILE__).'/'.$class.'.php';
}
}
 
6:41 AM
@KrishanaSingh : I can use $this->load->spark(); I am using it right now, in fact, But I really want to use $autoload['sparks'] = array(sparks); instead of having to redeclare the statement over and over again.
 
k
you include manually
 
I have called it on MY_Controller
 
if (function_exists('__autoload')) {
spl_autoload_register('__autoload');
}
 
@Mr.Alien check it jsfiddle.net/8h6nr :active is not working
 
you use and declare sparks as globla
 
6:44 AM
@KrishanaSingh : Where should I place that line of code?
 
@YogeshSuthar it does work, gradient code is wrong jsfiddle.net/8h6nr/1
 
on top
 
@KrishanaSingh That's not very flexible.
 
@Mr.Alien I want to give gradient border to textbox.
 
@KrishanaSingh : I mean on what file?
 
6:46 AM
Haha!, I just got the solution to my problem with my own writting error
 
hi
 
hello
 
$.ajax({
url:"<?php echo base_url(); ?>book/get_book_mark/"+id,
success:function(res){
document.getElementById('exist_bookmarks').innerHTML = res;
}
});
 
@YogeshSuthar as of now there's no support for gradient borders, you can use border image
instead
 
not workin gin IE9 can anybody tell me the problem pls
 
6:48 AM
controller
 
PLB
@Fairoz IE
 
@Mr.Alien are vo mouse hover pe halka sa border rehta he na textbox pe, wesa karna he
 
user895378
@MadaraUchiha Having spent a couple of what are for me, very late nights, in here, I understand where you're coming from. And I'll just leave it at that.
 
@YogeshSuthar wait
 
@PLB its working in all browsers accept of IE 9
 
@Fairoz Inte.. r..net E .x p o r r..
 
@Rafee yah
 
@Fairoz , whats in echo base_url();
 
@rdlowrey Heh :) I've actually haven't had a real late night in quite a while (best I got last week was 2000-2030), but stay strong :D
 
@YogeshSuthar like this? jsfiddle.net/8h6nr/2
 
PLB
6:50 AM
@Fairoz F12 and see what's written in console, debug js and so on. We can't debug your code remotely.
 
Hi. The code is my close button for popup window. How can i close it by jquery?

echo '<a><img src="images/close_pop.png" class="btn_close" title="Close Window" alt="Close" /></a>';
 
@Rafee that is codeigniter base url function
 
@user1939393 By asking in the JavaScript room and not the PHP room.
 
It was in php as well. lol. okay then :/
 
@PLB its not getting that path
 
6:52 AM
@user1939393 :P
 
@Fairoz url:"<?php echo base_url(); ?>book/get_book_mark/"+id, see whats the url and whats the error..
 
PHP = server side. JavaScript = client side (browser)
 
@kyle
fixed?
 
Fine. :P Ty!
 
@Rafee i am using to get all bookmarks but its list not updating
 
6:53 AM
@KrishanaSingh: I've decided to use $this->load->spark(); for now. hahaha, project manager's getting cranky already. XD
 
@user1939393
$(".btn_close").bind("click", function(){
$("your_element_id_or_class").hide();
});
 
@Mr.Alien like this I can create. I want like twitter textbox. Border of textbox is blue and it also has some grayish color around blue color.
 
@YogeshSuthar aisa bol na, wait I'll make one for you
 
user895378
So I've got the live stream from the twitter api displaying new tweets that have either "php" or "javascript" in their text and it's displaying them in my console as they happen. Let me just say this: it's a pretty depressing thing to watch this garbage. And the ones that aren't terrible are advertisments.
 
@Fairoz Just see what is the error or output with alert boxes
 
6:54 AM
great
 
yoyo
 
stackoverflow.com/questions/17417811/… ... kill it , before it lays eggs
 
@rdlowrey garbage because of .php extension?
 
@dragon112 dodo
 
@Kyle
 
6:55 AM
@rdlowrey You're saying this as if you were surprised.
 
great
 
user895378
@zerkms no, I'm parsing those out now.
 
@Rafee i am getting empty result, its not selecting the records
 
@YogeshSuthar Js fiddle main kya karre raho.
 
6:56 AM
@Rafee timepass
 
user895378
I was doing it because I thought it would be cool to retrieve the live stream and pump programming-related tweets out via websockets on a page. But the content is just awful.
 
@Fairoz, You jumped out of the question.
@YogeshSuthar cool.
 
user895378
Senior PHP Developer, Sydney Location, Excellent Role t.co/7yOjHmQqDw #it #jobs #australia
 
user895378
#PHP Auto #Gallery With Expanding Preview t.co/tc1d2aDBZz
 
user895378
6:56 AM
^ That kind of crap.
 
@YogeshSuthar jsfiddle.net/2QpBd
 
@YogeshSuthar That ain't nice :<
 
@rdlowrey salary? :P
 
@rdlowrey whats that.
 
@Rafee is there any other way to use jquery ajax in Internet Explorer 9
 
6:57 AM
@rdlowrey A better idea is to find high quality blogs and stream RSS from there.
Twitter is the garbage collector of social media.
 
@Fairoz is this your personal site or client.
 
Well, back to work. I'm off
Cya later this evening.
 
user895378
@MadaraUchiha Well I was only doing it to demonstrate my http client/server combo's ability to retrieve the live stream and pump it out to websocket clients from the same process.
 
@Mr.Alien ohh perfect, so its that box-shadow.
 
@Rafee client
 
6:59 AM
@YogeshSuthar yes
 
@dragon112 you made yoyo, so I made dodo. :P
 
@Fairoz , try to use simple ajax..
 
Good morning.
 
Morning!
I'm really early today :O
yay for me
 
@dragon112 mornin
omg, I got an order for developing a networking portal, muhahahaha
 
7:02 AM
Morning.
@Mr.Alien Cool. Congratullations.
 
@Rafee thank you ..
 
@Mr.Alien personal or office work?
 
@mralien lol
 
@YogeshSuthar office
@NullPoiиteя this is going to be tough :p
 
@Mr.Alien you are completing projects too fast. :P
 
7:06 AM
@YogeshSuthar and btw I want our website to be filled with new functionalities, we don't want to make exact linkedin again else ours will be just another crap
@YogeshSuthar if its static websites, I complete them in 1 n a half day, starting from complete scratch, if its dynamic, than normal CMS will take around 4-5 days..
 
FDL
...and you have enough clients to do 1 every 1 and a half days?
 
@Mr.Alien I think they are small websites. And yes we have to add new functionalities, but some of them will be same like photo upload, comments,etc
 
@YogeshSuthar that will be fine, if you see linkedin, it is quiet complicated
 
0
Q: Display multiple forms with captures data

user2541451When i am selecting an option from drop down box then display no. of forms with captures data. That is looking like this. I own a form with some fields like No. of Applicants, Applicant Name, Telephone, E-mail, etc... When i want to select No. of Applicants are 2 then display 2 forms with relev...

 
yay yay got a badge
 
7:18 AM
Hii
What's the way to delete cookie in browser and remove that file from the system too
?
 
@Mr.Alien I don't know why it is looked complicated to you. So I think may be we can make simpler than that.
 
@djtechie time()-whatever
 
Yes..time()-past time will delete cookie from system?
 
@djtechie see "clear cookies" in the documentation of your browser.
 
@YogeshSuthar I have a fake profile there, used to use when I was developing business network alone
@djtechie it expires, but why you want to remove it?
 
7:20 AM
@hakre yes we can do it manually but I want to delete those cookies when user click on button
 
@djtechie but you got no control on users browser and file-system. And for deleting cookie per PHP I think we must have good Q&A on site.
 
@hakre I got good answer from Mr.Alien to unset the cookie
 
@Mr.Alien So how is this related?
 
8
Q: Delete cookie from browser?

mr-euroIs there any way of instructing a web browser to completely delete one's cookie set with PHP? I do not want to expiry it or wait for the browser to be closed. With delete I mean to actually not have it listed inside the cookie's list anymore.

 
7:21 AM
I just wanted to know how we can remove it from system as well
 
@YogeshSuthar means?
 
@Mr.Alien So how linkedin is complicated?
 
Thanks Guys
 
@YogeshSuthar see the navigational system, also if you enter any value in any of the text box it will approve, people are posting junk things... and doesn't look clean as it should, cuz its a pro network
 
@Mr.Alien never done that much of research. We will surely make better than this.
 
7:25 AM
@YogeshSuthar yes, you can create a fake profile and jus c
 
PLB
@hakre Closing reason of the first question should be off-topic with SSCCE.org link, IMO.
 
@PLB feel free to do different
 
7:35 AM
@Mr.Alien +1 nice solution.
 
Morning guys.
I have a question Im searching for a code editor that predicts code like visual studio it helps select functions and display errors correctly.
 
PLB
@Tredged PhpStorm
I am happy with it.
 
Thanks, didi madloba ;)
 
PLB
You're welcome. ;)
 
How you doing?
 
7:45 AM
Who are you asking that question towards to :P?
 
.
 
PLB
While pointlessly surfing on php.net I came to this. I am curious for what lua can be used in php?
Speeding up data processing (not sure about it, btw)?
 
Looks interessting
 
morning
 
morning
 
8:23 AM
morinign.
 
roaming
 
foaming
 
@YogeshSuthar oh thanks, actually that was an error, I've seen many users put a semi colon after property block which is invalid
morning
oh what a long morning train
 
8:28 AM
@Mr.Alien hellow
 
yellow.
 
marshmallows :Q_
/me is truly bored today
 
@Ocramius I'm on that train as well
I may just work on open source software all day instead of doing any actual work
 
Same here, actually have a lot to do but, meh =(
 
8:32 AM
Fry a Fish on Tuesday and then tomorrow is Wednesday.
 
True, but tomorrow would still be Wednesday even if I did not fry the aforementioned fish
 
@PLB I noticed when moving an image all the links in every single file in PHPSTORM changed is that normal?
 
Which to be brutally honest, could get a bit messy if I tried to do it at my desk
 
Fry a fish in kitchen not on to your desk.
 
LOL.
 
8:34 AM
This office sucks and doesn't have a hob. I'm not sure if it's possible to fry things in a microwave. Metal pans and all that.
 
campfire?
 
Office fire!!!
 
I'm pretty certain we have a few old computers I'd be happy to build into a roaring blaze
 
PLB
@Tredged When you move file from one directory to another phpstorm will look for references in files and will refactor it for you unless you disable it.
 
Thanks once more.
 
You are always welcome.
to SO Chat.
LOL
 
Your level of sarcasme is soo low :)
 
-1
Q: Website - Progression Style Programming

user2138520I used to know of a website that was sort of like a programming game. You log in and are presented with a word problem. Your goal is to code a program (it's universal for most languages I believe) that gives the answer to the problem. Once you have the answer, you type it into a box and it che...

^ New questions on SO
 
Hi. Can anyone teach me how to select data from db and list them down in dropdown list?
 
8:50 AM
Go have a look at w3schools
 
Why, for a laugh?
 
lol
 
@Tredged
 
@Tredged You troll, you
 
PLB
8:51 AM
@Tredged Go home. ;)
 
Hahaha calm down not everything has to be taken serious ;)
 
^ it is answered now and can be deleted as it was a very personal question.
 
Guys, what do you use as an oauth2 client library?
 
@zerkms Does any site out there actually uses the superset of oauth2? Isn't it always a subset? So better ask for specific sites I guess ;)
 
@hakre linkedin
 
8:57 AM
@user1939393
<select name="cc">
<?php display_countries(""); ?>
</select>

// Call `display_countries` with empty string to all countries
// Call `display_countries($country_id)` then option will displayed as selected.


<?php

function display_countries($country_id) {

// write your query
$query = "SELECT country_id, country_name FROM Countries";

// now run your query with connection or link
$run_query = $link->query($query);

// here option will be display and we will stored and get it from the array
while ($r = $link->fetch_array(MYSQL_BOTH)) {
Guys Let me know.. about this code.
 

« first day (990 days earlier)      last day (3958 days later) »