« first day (27 days earlier)      last day (302 days later) » 
00:00 - 22:0022:00 - 00:00

00:53
@lyndact read the rules please
@DonYungerKman yes
I understand and will obey all rules
@JackSmith
thank you @lyndact
what can i do to become a owner
ask new people to read the rules if they have not done so and answer questions for a few days
hello
anyone with magento troubleshooting skills up ?
0
Q: Magento admin checkout problem

RasvanI have a weird problem regarding a order checkout form the back end section. I have a product that is not is stock. It has 0 qty, no back-orders, and the out of stock status. When i try to make an order with this product, surprisingly the order goes throw with no issues causing the stock qty to ...

01:04
Hi all
good night
@Diogo Alves if you have not read the rules please do so at: yourphotomake.info/rules
@Rasvan if you have not read the rules please do so at: yourphotomake.info/rules
I understand and will obey all rules.
:)
@Rasvan thank you
@lespommes please read the rules if you have not done so
hi
I understand and will obey all rules.
01:12
thank you @lespommes
I have a friend confusing me about something with web app development.
just ask @lespommes
Okay here goes
i don't see the question
@lespommes
I'm making a web app that connects random people together. These users have some data that goes along with them (a couple of booleans) and I need to store them with their user IDs. Basically, I need someway for the user to submit that info about themselves, store it, fetch a list of the users and filter the ones based on that user info.
I would imagine I would create a RESTful web interface to submit the users data to a database on the server that lists the current online users with their info. Then when they leave the web app remove them from the table with a DELETE call, or POST whatever.
He says I don't need a database and I can just use a variable...like a global variable everyone shares. Does he mean local memory? Store the list of online users in memory? He setup a node, express, vagrant, grunt, etc stack server.
I'm new to web app dev :/
01:42
Ya that's what I figured
hello anyone here?
@lespommes you here? i was gone for a few mins
let me read your question
Yup yup
It's probably silly. I've just been in mobile land for so long I don't really remember the right way to do this.
I'm guessing he meant creating another server that takes REST calls that will update an array of online users along with their info, then the web server will call that to get the list of users?
i am kind of doing to things at once @lespommes
Its alright
so you want to filter users to see which one matches this new user right?
that is what i am getting
01:53
Basically. Users connect to a room, a callback returns their ID. I want to attach a couple of booleans to that ID and store it in an array with all the other users in the room.
forgive me if i ask stupid questions
you want to do this in php?
No, just in general how to do it. We're using a node js stack.
i do not know what a 'RESTful web interface' is
so you want to do it in javascript
i am not that great with javascript i have a friend that is great with javascript
01:56
How would you do it in PHP? I can just translate to JS.
Like can you have variables in the PHP file that ALL users on the website can see? Because that's what he was telling me.
I understand session variables, but that's just for 1 user to see.
I need an array everyone can fetch that has all the user IDs connected.
@lespommes what do you mean by can i have variables that users can see no they can't see the code but you can echo the variable in php
Like an array everyone on the site can see or can fetch. A list of all connected users.
How do you store a list of online users for your webpage? That's all I really need to know haha.
And update it as users enter and leave the web app.
@ShiylohFisher is the one who can help with js BTW
i would store the list of online users in a mysql database
Exactly. In a database right? He told me we don't need a database.
yes you will need a mysql database
do you know mysql @lespommes
02:01
Yes
yes that is what you will need
I know how to do that. I just don't understand why he told me "We don't need a database. We can just store it in memory".
What the fuck does that mean? In local memory?
Okay so that's what I thought.
and you will need to use php
@lespommes who told you "We don't need a database. We can just store it in memory"
My friend
He acted like I could just make a "global variable" and everyone could access it
well he is wrong you need database
no
the variable will disappear, does he have stackoverflow account?
and javascript with mysql for a whole site is hackable and is in scure
but you can use ajax to write to a file but it would not be as secure as mysql database
Okay that's what I thought thanks man
@lespommes NP
@NiKoLaPrO you here?
@Shi-ii hey
02:22
room topic changed to PHP, MYSQL, HTML, CSS, JS, JQ, Java, Android: Please read the rules at: yourphotomake.info/rules NBOT-COMMANDS: +listcommands [css] [html] [javascript] [jquery] [mysql] [php] [sql]
room topic changed to PHP, MYSQL, HTML, CSS, JS, JQ, Java: Please read the rules at: yourphotomake.info/rules NBOT-COMMANDS: +listcommands [css] [html] [javascript] [jquery] [mysql] [php] [sql]
03:16
hello anyone here?
03:55
hello
+test
hello
04:31
good morning...
 
1 hour later…
05:36
Good Moening @SagarNaliyapara
Sagar can you help me making Contact form?
I'm designer
So didnt know about php
but i try to make it
here is my html code
<form action="contact.php" method="post" enctype="text/plain">
<input class="input-field" type="text" name="name" id="name" required />
<input class="input-field" type="email" name="email" id="email" required />
<input class="input-field" type="text" name="company" id="company" />
<textarea class="input-field textarea" name="message" id="message" required></textarea>
<button id="btn-submit" type="submit" class="btn btn-animated btn-contact ripple-alone" data-text="send it">
<span class="btn-icon">
<?php $name = $_POST['name'];
$email = $_POST['email'];
$company = $_POST['company'];
$message = $_POST['message'];
$formcontent="From: $name \n Message: $message";
$recipient = "[email protected]";
$subject = "Contact Form";
$mailheader = "From: $email \r\n";
mail($recipient, $subject, $company, $formcontent, $mailheader) or die("Error!");
echo "Thank You!";
?>

contact.php
but mail is not come into my mail id
?
have you get data in $_POST...@HimanshuVaghela
??
nope
when I click on submit button then it go to contact.php
try this print_r($_POST['name'])
in php page
05:51
ok
let me try
and see what it prints
ok
wait. Let me check
Nothing to show
it nothing to show error or print data
Hello
good morning :)
very good morning @NiKoLaPrO
I only change print_r($_POST['name'])
Good Morning :) @NiKoLaPrO
05:55
:)
have you entered any name @HimanshuVaghela
Yes
My name
we lost our hats
Wait I give you online link of that site
winterbash is over ?
05:58
i make for this site. But I'm working in local server
may be because of local mail sending problem is occuring
you may try in live
@HimanshuVaghela
in live there is error in console
so please check it
ok
It shows error
when I submit it
in line mail($recipient, $subject, $company, $formcontent, $mailheader) or die("Error!");
@SagarNaliyapara i created "cowsay", how to run js script with url, like www.example.com?text=Hello, I'm cow! ?
06:15
mail() has been disabled for security reasons in /home/deve6949/public_html/contact.php on line 10

@SagarNaliyapara
I got this type of error
Alternative to PHP mail() function is to enable SMTP authentication in your PHP mailer scripts or you can either use PEAR mail or SwiftMailer library, if you want to send emails from your PHP scripts.
@HimanshuVaghela
@NiKoLaPrO
you can pass by query parameter ?
6
Q: Passing a URL as a GET parameter in Javascript

MikeDI am trying to make a bookmarklet that uses the user's current URL, kind of like the tinyURL bookmarklet that uses this javascript code javascript:void(location.href='http://tinyurl.com/create.php?url='+location.href) So I copied that same thing and made javascript:void(location.href='http://...

@NiKoLaPrO
ok
ill try
ty
ok Bro
Thanks @SagarNaliyapara
 
1 hour later…
07:26
0
Q: laravel: how to multiply current value of column with another when updating rows?

Sagar NaliyaparaProblem: I want to update two column of mysql table, column1 decrement with some value and column2 multiplication with some value, I have done about decrement like this from here Tried: $stock_obj->decrement('quantity_on_hand', $product_data["quantity"], array( 'total_quantity_on_hand' =>...

if anyone can help the please...
07:42
@SagarNaliyapara idk how to fix a problem but i gived you upvote
np :D
@SagarNaliyapara I will look at your account to see where i can give you a upvote :D
no don't do that
there is behind programming in stack
for serial voting
they detect from ip
if continuously it occurs
then reputation will cut down
I wont upvote everything, just what deserve to be upvoted
@NiKoLaPrO
well please remove it
07:45
oh, ok :)
you can do it after 3-4 days
currently
that's good
@NiKoLaPrO
1
Q: laravel: how to multiply current value of column with some value when updating rows?

Sagar NaliyaparaProblem: I want to update two column of mysql table, column1 decrement with some value and column2 multiplication with some value, I have done about decrement like this from here Tried: $stock_obj->decrement('quantity_on_hand', $product_data["quantity"], array( 'total_quantity_on_hand' =>...

plz someone help me with this,
this may help you
12
Q: laravel 4: how to subtract one from current value of column when updating rows?

MeddieI was wondering how to perform something like this: Table::update(array('position'=>'position+1')); As far as I know, laravel 4 handles 'position+1' as a string, thus is becomes 0. I want to perform something like UPDATE table SET position = position + 1 Can I do that using eloquent? EDIT...

yes that was helpful with decrement
but not with multiplication
07:54
ok
see you soon
lunch break
08:19
http://localhost/dashboard/phpinfo.php gives..
System	Windows NT DELL-PC 6.1 build 7600 (Windows 7 Professional Edition) i586
Build Date	Oct 29 2015 12:34:05
Compiler	MSVC11 (Visual C++ 2012)
Architecture	x86
Is php developed using C++?
@overexchange
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994, the PHP reference implementation is now produced by The PHP Group. While PHP originally stood for Personal Home Page, it now stands for the recursive backronym PHP: Hypertext Preprocessor. PHP code may be embedded into HTML code, or it can be used in combination with various Web template systems and web frameworks. PHP code is usually processed by a PHP interpreter implemented as a module in the web server or as a Common Gateway...
thank you
np :)
08:35
I need time to understand, how php module works with webserver. I think, I know the place to learn.youtube.com/playlist?list=PL978B2CE2D788F745
because there are terms like CGI, module etc... I never worked with webserver
 
2 hours later…
10:41
Hello @MayankVadiya
hey @SagarNaliyapara
 
1 hour later…
11:41
I installed xampp = (httpd.exe + php module php5apache2_4.dll + similar perl module). who is suppose to take care of these responsibilities?
Are these responsibilites suppose to be handled by php module?
@overexchange are you jumping from java to php...??
:D
I used Core java.
Never worked on server side programming
my question is language agnostic
what is know is, Tomcat = ( Web Server + Servlet container + JSP environment ), in java world
XAMPP (/ˈzæmp/ or /ˈɛks.æmp/) is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), a...
@overexchange
@overexchange
In java world, does servlet container takes care of those responsibilities?
 
1 hour later…
13:09
-1
Q: What are the responsibilities of php module on receiving http request?

overexchangeXAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). In XAMPP installation, I see that httpd.exe is installed with php module php5apache2_4.dll. My understanding is, If a user agent does the form submission using an http request , then, httpd.exe receives that req...

 
3 hours later…
15:45
@overexchange hi i will look at question
Hey @JackSmith
hey @DonYungerKman what is up?
I need to get the query working
unfortunately it isn't :/
@JackSmith
phpMyAdmin's explanation
ok
let me look
16:00
-- phpMyAdmin SQL Dump
-- version 4.0.10.7
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generation Time: Jan 04, 2016 at 03:28 PM
-- Server version: 5.5.46-cll
-- PHP Version: 5.4.31

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `luckyfut_site`
thats whole mysql dump
@JackSmith
ok let me eat breakfast then i will be back
it should only take 5mins
@DonYungerKman
16:15
back
 
1 hour later…
17:23
did you figure it out?
@JackSmith
no not yet
i am wondering what version of mysql do you have
@DonYungerKman ?
How do I find this out
5.5.46-cll
@JackSmith
are you using wamp
@DonYungerKman ?
no
VPS
cPanel Apache
my website is here: www.luckyfut.com/
so you are on the internet
i thought you were local
17:32
Nope
user5704717
Hi
user5704717
Anyone here?
user5704717
I understand and will obey all rules.
17:52
@JackSmith you therE?
user5704717
18:32
anyone here
@DonYungerKman yes
Anybody who works in NZ?
19:09
Im fat
I kidding
Im bro of nikola
Oh, my brother writed that
sec, just to kill him
Soooon...
I started NBOT @JackSmith
i added new commands
+meme list
+listcommands
@NiKoLaPrO The commands are: cat, gandalf, listcommands, echo, kill, imagetext, slap, time, sniper, cowSay, help, meme, bigLogo, bigWord, catLang, pirateLang
+meme not_bad
@Shi-ii i enabled NBOT, you can do +listcommands to see all commands
+help meme
@NiKoLaPrO use +meme <meme> to display meme or +meme list to list memes.
+meme list
+meme me_gusta_facedance
+bigLogo
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒███▒▒████████████▒▒▒▒▒██████████████▒▒███████████████████▒▒▒
▒▒▒██████▒▒▒▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒███▒▒▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒▒███▒▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒▒▒▒███▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
user5704717
19:56
+listcommands
@Shi-ii The commands are: cat, gandalf, listcommands, echo, kill, imagetext, slap, time, sniper, cowSay, help, meme, bigLogo, bigWord, catLang, pirateLang
user5704717
+sniper
@Shi-ii Nothing to kill with a sniper!
user5704717
+sniper @Shi-ii
@Shi-ii ( -_・) ︻デ═一 ▸   @Shi-ii [ @Shi-ii was killed by a sniper! ]
user5704717
19:59
@sj.sadeghi Please read the rules if you have not.
20:18
Hello :)
21:03
+meme not
+meme list
+meme list to list memes
Sorry, I do not know the command test. To list the command, do +listcommands
21:04
+listcommands
@JackSmith The commands are: cat, gandalf, listcommands, echo, kill, imagetext, slap, time, sniper, cowSay, help, meme, bigLogo, bigWord, catLang, pirateLang
@NiKoLaPrO are you acting like a robot or is this a mistake that it is not from NBOT
+meme
@JackSmith I dunno what u want, use +meme <meme>
user5704717
+sniper @JackSmith
@Shi-ii ( -_・) ︻デ═一 ▸   @JackSmith [ @JackSmith was killed by a sniper! ]
21:05
+test
Sorry, I do not know the command test. To list the command, do +listcommands
+echo hello
@JackSmith hello
user5704717
+echo hello
@Shi-ii hello
user5704717
21:06
+echo bye
@Shi-ii bye
@NiKoLaPrO where is NBOT
21:16
+listcommands
@NiKoLaPrO The commands are: cat, gandalf, listcommands, echo, kill, imagetext, slap, time, sniper, cowSay, help, meme, bigLogo, bigWord, catLang, pirateLang
I started NBOT on my profile
cuz i had problems with mozilla
+meme jdfgdfkjgfd
@NiKoLaPrO you are NBOT?
yup @JackSmith
+meme not_bad
Hello @DonYungerKman
+meme list
@JackSmith any solution?
user5704717
21:28
+meme jdfgdfkjgfd
user5704717
+meme not_bad
user5704717
+bigLogo
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒█████▒▒▒▒▒▒▒▒▒▒▒▒▒▒███▒▒████████████▒▒▒▒▒██████████████▒▒███████████████████▒▒▒
▒▒▒██████▒▒▒▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒███▒▒▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒▒███▒▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
▒▒▒███▒▒▒▒███▒▒▒▒▒▒▒▒▒███▒▒███▒▒▒▒▒▒███▒▒▒▒▒███▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒▒▒▒▒
there is problem with +meme list, here is list of all memes:
user5704717
21:29
+kill @JackSmith
@Shi-ii killed @JackSmith
trollface, yes, no, okay, me_gusta, me_gusta_creepy, me_gangsta, ich_mag, me_gusta_facedance, mother_of_gusta, troll_gusta, indeed, facepalm, spiderman, badass, you_dont_say, troll_dance, so_hardcore, genius, not_bad, me_trollista , ba_dum_no, ba_dum_tsss, crying, derp, kitten, sir, jesus, jackie_chan, challenge_accepted, lol, gtfo, slap, omega_troll, gasp, cat_gasp, troll_rapper, wut, cereal_guy,
cereal_guy_spitting, gusta_okay, u_jelly, u_mad, kill, bitch_please, fap, like_a_boss, knife_self, haters_gonna_hate, fuck_yeah, boring_cat, forever_alone, forever_alone_dance, high, nyan_cat, pretty_badass.
+meme troll_dance
@JackSmith automatic msg is disabled :/
@DonYungerKman this is hard i have been researching and researching still no solution
+catLang this is awesome
@NiKoLaPrO DIS AR TEH AWSUM
+pirateLang this is awesome
@NiKoLaPrO this be awesome
@JackSmith I created cowsay api
just change text on end of the ling ?text=hello
user5704717
21:45
+sniper @NiKoLaPrO
@Shi-ii ( -_・) ︻デ═一 ▸   @NiKoLaPrO [ @NiKoLaPrO was killed by a sniper! ]
user5704717
+sniper @NBOT
@Shi-ii ( -_・) ︻デ═一 ▸   @NBOT [ @NBOT was killed by a sniper! ]
user5704717
+sniper @NullPoiиteя
@Shi-ii ( -_・) ︻デ═一 ▸   @NullPoiиteя [ @NullPoiиteя was killed by a sniper! ]
user5704717
21:46
@NBOT you here
I am NBOT :D
sec
user5722584
Sorry, I do not know the command test. To list the command, do +listcommands
user5704717
+echo hi
user5722584
@Shi-ii hi
21:52
+listcommands
user5722584
@JackSmith The commands are: cat, gandalf, listcommands, echo, kill, imagetext, slap, time, sniper, cowSay, help, meme, bigLogo, bigWord, catLang, pirateLang
user5704717
+imagetext
user5722584
@Shi-ii Please add text!
+slap @Shi-ii
user5722584
@lyndact Slaps @Shi-ii!
21:53
+meme list
still broken
+meme boring_cat
user5722584
user5704717
+sniper @NBOT
user5722584
@Shi-ii ( -_・) ︻デ═一 ▸   @NBOT [ @NBOT was killed by a sniper! ]
+help meme
user5722584
@NiKoLaPrO use +meme <meme> to display meme or +meme list to list memes.
21:55
+help help
user5722584
@NiKoLaPrO use +help <command>, not +help help.
+meme
user5722584
@NiKoLaPrO I dunno what u want, use +meme <meme>
+meme ddfg
user5722584
21:56
+meme me_gangsta
user5722584
+meme me_gangsta
user5722584
try again, i restarted now
+meme me_trollista
user5722584
21:58
@lyndact try again, i restarted NBOT
+echo cat
user5722584
@NiKoLaPrO cat
00:00 - 22:0022:00 - 00:00

« first day (27 days earlier)      last day (302 days later) »