PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Jul 29, 2013 17:57
ehh, nothing works
Jul 29, 2013 17:33
@Jasper ok , thanks. Im on it
Jul 29, 2013 17:31
@Jasper yeah , and I read bunch of tutorials how to access, for example askubuntu.com/questions/52147/… but nothing seems to work
Jul 29, 2013 17:27
I can connect to it on Ubuntu typing "127.0.0.1" as server's IP, but it doesn't work on my main computer
Jul 29, 2013 17:26
but I can't connect to my VM network
Jul 29, 2013 17:26
@Jasper I run Asterisk on my Ubuntu VM and I want to access it with the Softphones on my Windows 7 (main computer).
Jul 29, 2013 17:21
How to access localhost on my Virtualbox? I have Ubuntu and ifconfig -a says that the IP adress is "192.168.1.11". So I set up "Bridged Adapter" and restarted the VM. I run the apache on port 80. I still get Timeout error. What should I do?
Jul 27, 2013 17:24
@MadaraUchiha just handle Hashirama, I'll do the rest :P
Jul 27, 2013 17:13
he's*
Jul 27, 2013 17:13
@PeeHaa ok, thx. i'll try to catch him when his online
Jul 27, 2013 17:13
or PBX
Jul 27, 2013 17:12
hello. anybody here familiar with asterisk?
Jul 26, 2013 21:47
@PaulBailey thx
Jul 26, 2013 21:45
pls help me
Jul 26, 2013 21:45
i suck at math
Jul 26, 2013 21:45
how do i know how much is 100% ?
Jul 26, 2013 21:43
if 1158 == 70% then 1158 * 1.3 == 100% ?
Jun 9, 2013 20:08
@Jimbo i'll just return $this->output as array with method name
Jun 9, 2013 20:07
@Jimbo nvm im stupid
Jun 9, 2013 20:04
@Jimbo for example i enter /homepage/index/ - i want to load class "homepage" and load the "$this->output" ONLY from method called "index", not from all the methods
Jun 9, 2013 20:04
@MadaraUchiha ofc its enough, it's over 9000.
Jun 9, 2013 20:01
Hello. I have a class with methods. How can I load only 1 method? I use $this->output[] to pass variables to view, can I load only $this->output variables from "loaded" method?
Apr 22, 2013 09:29
i don't know reg expr
Apr 22, 2013 09:29
?
Apr 22, 2013 09:29
http://localhost/c/21/21.html - how to make if statement with the conditions:
$link = /c/num1/num2.html;
if(num1 == num2 && num2 is integer)
Apr 19, 2013 09:52
@Uchiha Obito - nvm. i just got it working with pure html
Apr 19, 2013 09:50
Hello. I want to add this Flash presentation into my page: http://www.smartmedia.com.pl/assets/Prezentacje/UnitechHT680-2_basic.html

The problem is - it's too big and I can't edit the contents size using Iframe.

Is there any other solution, like downloading swf file with cURL or something?
but http://www.smartmedia.com.pl/assets/Prezentacje/orbitvu12_basic/orbitvuer12.swf is a blank page :/
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Mar 31, 2013 21:17
just changed () to []. Thanks
Mar 31, 2013 21:17
ok, that explains a lot
Mar 31, 2013 21:16
var win = ('1,2,3', '4,5,6', '7,8,9', '1,5,9', '3,5,7', '2,5,8', '3,6,9', '1,4,7');

how to display first element of the array? win[0] doesnt work
Mar 31, 2013 20:54
hmm, ok. thanks
Mar 31, 2013 20:52
is there "exit" in Javascript like there is in PHP?
Mar 31, 2013 20:19
@BadgerGirl I'm new with JS :P I don't think I'll be able to use it for now
Mar 31, 2013 20:18
@BadgerGirl constants, I have no idea how to make AI automatic
Mar 31, 2013 20:16
but I'm on it
Mar 31, 2013 20:15
this way is impossible to loose, computer selects random (and not selected) fields
Mar 31, 2013 20:15
@JanDvorak the AI is in progress :/
Mar 31, 2013 20:14
@Benjamin cool
Mar 31, 2013 20:13
I made my first game in JS ! tic-tac-toe is ready ! yeeah :D
Mar 31, 2013 18:50
alright, I'll fix the styles
Mar 31, 2013 18:49
wow, thx
Mar 31, 2013 18:49
thanks
Mar 31, 2013 18:49
ahh, okay
Mar 31, 2013 18:48
^ I have this, and my class is not being displayed :(
Mar 31, 2013 18:47
Mar 31, 2013 18:44
@BenjaminGruenbaum for now, I'm trying to learn events
Mar 31, 2013 18:44
@Benjamin I'm trying to make a game tic-tac-toe
Mar 31, 2013 18:42
thanks
Mar 31, 2013 18:42
ok
Mar 31, 2013 18:41
@JanDvorak all elements in mootools