« first day (2790 days earlier)      last day (2384 days later) » 

00:07
morning! wondering about session variables, how do you keep the session variable when you submit another form
I set the start_session(); $_SESSION['var']; when I submit a form, when I submit another that doesn't overwrite it nor start a new session, it's no longer present in the echo.
@Bonstark $_SESSION['var'] = what?
You have to start_session(); at the top of every page right after <?php
it's an array of strings from a mysqli, eg = array("a", "b", "c");
Thank you statik, that worked
I was using start_session in the wrong place. much appreciated!
@Bonstark Good
You're welcome
Wes
Wes
ahahahaha
For all the people who left #github and migrated to #gitlab on a rush because you don't like Microsoft, welcome to Microsoft #Azure 😁😁😁
4
 
1 hour later…
01:29
@Wes =D
Wes
Wes
wrong star :P
Ah- you're right.
There we go.
Wes
Wes
github, gitlab
2 days ago, by cryptic ツ
Plot Twist: all these companies are owned by some shadow company... O_o
Did the star on my phone a moment ago- it started acting weird so I came in here and got on my PC just to type "=D"
Wes
Wes
lol
01:37
@Wes I'm beginning to wonder if you're a vampire. I really don't think you sleep... ever it seems.
Wes
Wes
i am going to sleep soon
That's what a vampire would say if his cover was getting blown.
Wes
Wes
lol
01:49
Slander.
Is it any good?
02:15
thank you note - should I say, "I'm very interested in the job." or remove the "very"? "very interested" just seems like... lazy wording
I was told recently that very is one of those filler words we use that should be avoided. Our CEO said it in a meeting so now I have been watching when I use very, very much.
@StatikStasis The framework?
@Allenph yes
No. There is no good framework. Only good packages.
02:21
Don't do what Mark Twain says though. =P
@StatikStasis he's right though, at least from an English major perspective ... there are better words that can be used for emphasis
There was another word he told us to avoid but I don't remember what it was...
It might have been "so."
I think I've picked up using that from coworkers...
one coworker is always either starting her sentences with so, or ending them with so
Dont get all formal though. In my opinion anywhere that wants that is not worth working at and the other places will find it off putting.
yeah
02:26
I catch myself starting sentences with "so." I always have to go back through my email before I send it just to remove them.
@StatikStasis "just" is another nono
^yes- that was another one he told us.
and I have to proofread my emails for that word cause I use it a lot
there are times that I'll leave it, but 75% of the time, if I see it, I remove it
It's just so easy to do. It's very easy.
02:28
So I try not to do it.
Ha! From that link I posted I can just see the brain/mind meme for the word wise...
wise
very wise
sagacious
very sagacious
two words in the table are eager and keen
but that's not.... enough
a word that combines enthusiasm and interest
eager and keen seem too mild
passionate? but that might be too much
lol- I have probably said "super passionate" before.
They are super passionate about what they do.
deeply interested
that's probably as close as I'll be able to get
02:37
eager -> passionate -> obsessed
"and I am grateful for the opportunity of career growth" but that implies that I'd already have the job
"and I'm excited for the opportunity of career growth"
At work, when I do performance reviews I always find two words to replace with the biggest words I can find. Those in HR say they always have to get their dictionaries out. I've done it for years. There have been times where I went to give the review and I got to the word and I forgot about it and I have to make something up real quick in order to look at my phone and find out what it was that I meant.
for career growth sounds better
wait...
and I am grateful to have the opportunity for career growth...?
I try to stick to words that are already in my vocabulary which do include some big words. I feel that it's unnatural if I use a word that I would normally not use. Like something you'd see in /r/iamverysmart
and I am excited about the possibility for career growth with Acme Industries
lol- yeah I do it just to mess with our HR folks.
02:44
I don't know what words dat is a saying
They don't think it be like it is but it do
morning
Can I keep the order of a php if I encode in to JSON with map()? for example
var lengths = map(<?php echo json_encode($lengths);?>);
I'm having trouble making errors
of a php array*
@Bonstark I'm not sure that it's possible to include PHP in a JS script. PHP can echo out JS, but not sure why you'd want to do that.
probably better off having the JS send a request back to the server, and having the PHP handle it
02:57
it's to make a graph with google charts, that's why the order is imprortant. I use it to make Jquery autocompletes. Probably not the best way to do things I'm sure but it seems to work ha ha. I can add indexes as a key but think it would be quite inefficient.
AJAX + PHP
though I know there's something better than using XMLHttpRequest, I want to say fetch but not sure
I have very little understanding of AJAX at the moment, perhaps I should plow through some documentation rather than bodging something together...
I'll take a look thanks Tiffany!
had to dig around for it, I remembered reading an AJAX tutorial on MDN that did a little with PHP
03:00
Awesome, thanks for your help.
my pleasure :)
@StatikStasis thoughts on the thank you note in the gist?
I'm going to run to the store for some sugary, chocolatey pastry and milk to celebrate/congratulate myself for the interview...
I'd use his last name instead of sir @Tiffany still reading...
too late, I sent it
haha
oh well :P
Sorry...
03:10
My son started snapping me with a towel and I had to chase him down. =P
I'm being impatient because I want to run to the store, devour sweets, then go to bed
lol
LOL- it looks good. I was nit picking
morning room
now fingers crossed
goodnight
nn
Hi Linus!
03:16
o/
About to be bedtime on this side of the globe.
@StatikStasis good nite.
 
2 hours later…
04:58
Eyes burning... must sleep. Tried to wait for Europe to wake up. Night.
mornin
05:13
\o
O/
@JoeWatkins I couldn't understand your conversation with kelunik. Any suggestions to catch up?
what conversation ?
Sorry. It was bwoebi.
ah ... well link me to the part of the conversation you didn't get, and I'll use other words to explain it ...
It was about opcache. Found this...php.net/manual/en/intro.opcache.php
Dont know what bytecode is...didnt understand how a script could be cached.
The compiled version generated by the interpreter can be run again instead of running it through the interpreter, maybe?
Also dont know how what you guys are talking about when you say "nightly" or how to connect my tests to GitHub.
05:24
simple first, nightly is the master branch of php-src, built nightly by travis-ci ...
curently php 7.3
I feel like you guys are talking about something much lower level than I understand or even have a concept of.
normal php, without opcache loaded: a script is parsed into an AST by zend, the AST is then compiled to bytecode (which are a higher level representation of instructions), the bytecode is executed by the interpreter
with opcache loaded: a script is parsed into an AST by zend, then opcache installs a hook to retrieve the compiled bytecode, it copies it into shared memory, performs some optimizations, and the interpreter then executes the optimized, cached bytecode ...
normal php has to parse and compile the script on every request, opcache does not ...
it's not so complicated, right ?
So byte code is some kind of abstraction on CPU instructions?
basically, when you hear me or bob or whatever refer to Zend, what we are actually referring to is the virtual machine that executes bytecodes ...
bob
bob
@JoeWatkins hey :)
05:31
the virtual machine works like a cpu ... cpus execute byte streams that contain machine code instructions (they are literally byte streams, you can read machine code character by character), zend executes bytecode in the same way ...
I'm trying to quick Google this as I go. Sorry.
@bob there exists another bob ... you will need a new name ...
bob
bob
@JoeWatkins awww, but I like my name. :'( bobolious?
AST is a tree of sentactical representations which is then converted into bytecode. So the interpreter reads the syntax, converts it into simple operations and builds an AST. Then the AST is further converted into more basic operations that are not human readable...and these bytecode zre basically abstractions for simple instructions.
I'm guessing that these instructions are then put through some lower level interpreter which converts them to the specific instruction sets of the CPU the actual physical processor is based on?
It seems that what I said must be wrong...as different variable values would eventually end up represented differently in the bytecode. Since its cached, this must not be the case?
6 mins ago, by Joe Watkins
the virtual machine works like a cpu ... cpus execute byte streams that contain machine code instructions (they are literally byte streams, you can read machine code character by character), zend executes bytecode in the same way ...
so bytecode is the lowest level form, not an intermediate ... the virtual machine executes them directly like a cpu executes instructions
05:38
I don't know what is up tonight- I cannot seem to fall asleep. Mind is racing- sigh...
@Allenph this confused me, but I think I know what you're thinking ...
<php
$a = $b + $c;
?>
@JoeWatkins So the bytecode is the lowest form of the compiled code and its run on a VM that understands it. It is the the VMs job to interpret this bytecode and decide what instructions are sent to the CPU based on CPU architecture?
it doesn't send instructions to the cpu, it executes bytecode directly ... start at 1, ZEND_ADD
the compiled representation of that $b + $c, only needs to know how many variables, temporary variables, and compiler variables are used, for reserving the correct amount of space, but the values themselves are not known and don't have space reserved for their final value in the opcodes
I dont understand this code. The function names (all though I'm sure descriptive) dont mean much to me. It appears that its checking integer length and then performing an execution based on the int length?
you can dig into what opcodes look like with vld, or phpdbg ...
krakjoe@fiji:/opt/src/inspector$ cat add.php
<?php
function add(int $a, int $b) {
	return $a + $b;
}
?>
krakjoe@fiji:/opt/src/inspector$ phpdbg -n add.php
[Welcome to phpdbg, the interactive PHP debugger, v0.5.0]
To get help using phpdbg type "help" and press enter
[Please report bugs to <http://bugs.php.net/report.php>]
[Successful compilation of /opt/src/inspector/add.php]
prompt> print add
[User Function add (5 ops)]
L2-4 add() /opt/src/inspector/add.php - 0x7f7d4b8790c0 + 5 ops
 L2    #0     RECV                    1                                         $a
so
34  	op1 = GET_OP1_ZVAL_PTR_UNDEF(BP_VAR_R);
35  	op2 = GET_OP2_ZVAL_PTR_UNDEF(BP_VAR_R);
36  	if (EXPECTED(Z_TYPE_INFO_P(op1) == IS_LONG)) {
37  		if (EXPECTED(Z_TYPE_INFO_P(op2) == IS_LONG)) {
38  			result = EX_VAR(opline->result.var);
39  			fast_long_add_function(result, op1, op2);

34      $op1 = get_runtime_value_of_variable_at_op1_address();
35	$op2 = get_runtime_value_of_variable_at_op2_address();
36	if (gettype($op1) == "long") {
37		if (gettype($op2) == "long") {
38			$result = get_runtime_value_of_variable_at_return_address();
you can mostly ignore what the code does, the point is that bytecodes, or opcodes (which is what we call bytecodes), is the lowest level form, there's no further translation ...
05:53
This seems like a very strange mix of C and PHP which I cannot begin to understand.
urm ...
Sorry man. This is all new to me.
the first 34-39 are verbatim code from that ZEND_ADD handler, the second 34-39 are so you can understand it (pseudo code, that looks like php) ...
I think I understand basically what the code does...but how can you be checking the type of result? C doesnt allow you to store variables which are not of a predecalred type?
we don't use simple C variables to represent PHP variables ...
each variable is a structure ...
!!lxr _zval_struct
05:57
[ /Zend/zend_types.h#184 ] struct _zval_struct {
Ahhh. So you're creating a struct which represents exactly the rules which PHP uses to define what a variable is.
And the you're reading from that struct which C variable type to interpret it as.
exactly, Z_TYPE_INFO == IS_LONG means that you should access zval_value.lval which has the c type zend_long (long long)
the macros that start with Z_ abstract the access to variables, and their types ... we don't actually use value.lval usually ...
Okay. I understand that bit (which is very clever) but what exactly does bytecode mean here?
Is bytecode those structs?
a different struct
!!lxr _zend_op
[ /Zend/zend_compile.h#142 ] struct _zend_op {
06:04
that is a single bytecode, look at the output of phpdbg above, you'll see represented, op1, op2, and result, and the *_type members are how we know whether it's a variable, temporary, and so on ...
Okay, so the bytecode is a simple operation between two variables.
Or rather represents that operation.
The code you showed me before actually executed the operations defined in the bytecode struct.
not necessarily between two variables, specifically a bytecode that uses two operands (like ZEND_ADD) is called a binary instruction (bi == two), an opcode may require a single operand (think increment/decrement/catch etc), that's called a unary instruction (unary == single) ... what you can say about a bytecode is that it has at most two operands (op1, op2) and a result ...
@Allenph you got it ...
How do you determine which function to use on the bytecode?
ZEND_VM_COLD_CONSTCONST_HANDLER(1, ZEND_ADD, CONST|TMPVAR|CV, CONST|TMPVAR|CV)
Are there multiple types of bytecode, or just a single representation which is pushed through some kind of router?
06:13
params are opcode number, opcode name, op1_type, op2_type (more params exist but unimportant) ...
So there are multiple types of bytecode.
This is what the AST acts as a translation layer for then?
there are one of those handlers for every opcode ...
you can forget the ast exists for a minute, we're talking about code that is compiled already ...
that's where opcodes are ... so the virtual machine is basically
opcode = op_array.opcodes;
end       = opcode + op_array.last;

while (opcode < end) {
    opcode->handler(...);
    opcode++;
}
doing this ...
when the code is compiled (we know what instruction/opcode it is) the handler is set by the compiler for that opcode, in the case of ZEND_ADD, it would use the handler we've been looking at ...
(the actual loop, or implementation of vm is much more complicated, and may look different depending on a couple of things, but that's what it does) ...
So the compiler creates a series of these opcodes. The opcodes define what their variable addresses are, what C type these variables are, and what function to operate on them.
Then these opcodes are continually operated on in a loop until you achieve the finely result.
well the types in the zend_op aren't variable types, they are compiler types ... compiler types are const/var/cv/tmp ...
So what happens when one opcode needs to use the result of another opcode operation? What happens when an opcode shares a variable with another opcode?
06:23
@Allenph yes, a function - that's named function, method, or even file, is a zend_op_array with a known number of opcodes, we start at 0 and don't go past zend_op_array.last ... all of the other stuff in zend_op_array tells us how to do things like try{}catch{}
well remember op1, op2 and result are not zvals, they are
!!lxr _znode_op
[ /Zend/zend_compile.h#69 ] typedef union _znode_op {
which you can see is a union of unsigned integers, they are addresses (offsets from a base address in particular) ... so "sharing a variable" is just the operands having the same address (offset) ...
the memory on which you actually operate, is not contained within the op array itself (except in the case of literal constants, compiler type IS_CONST, zend_op_array.literals which is zval*)
Okay. So you actually store addresses in the opcode struct...not the type or value.
Sorry, I guess you store the address of zval, not the type or value.
well, think about why that can't be the case ?
we only know the data type (which is what a zval is, data) of literal constants (IS_CONST)
I'm lost. How can you know the type when it's a statically typed language?
You can know the address, but not the change in type?,
06:31
we know the type of 42
$a = $b + 42;
It might be worthwhile to make this convo into a bookmark. it feels like php-internals 101
afflicted. Wow. So then I can assume that very few people here like PHP? (Discounting FB's Hack, since I don't know enough about it).
42 is a literal constant (IS_CONST) ... the other variables, that's 1 temporary variable for the result of ZEND_ADD (we don't know it's name, it's an address/offset that we'll store a temporary value at), and two compiled variables (IS_CV: we know their names, they are in zend_op_array.vars which is zend_string*) for $b and $a are of an unknown type at compilation time ...
we don't know the data type of those, so we only have (and need) addresses/offsets ...
But it seems we must define an address for $a and since we know neither the type or length of $b we can't perform the operation, let alone allocate memory for the result.
mornin
06:40
o/
Wes
Wes
o/
👋💩
Wes
Wes
hi mr mcpoopyface
@Allenph we know the length of every variable, it's sizeof (zval) ... regardless, $a and $b are both an offset remember (not an absolute size), so the difference between $a and $b is 1, their offsets were computed at compile time ... look at zend_op_array again, you'll see last_var ...
so during compile, "defining an address", which is to say reserving space, is just a case of incrementing last_var ...
$a = zend_op_array.last_var++
$b = zend_op_array.last_var++
bob
bob
06:51
I have some json data here is the structure: pastebin.com/FNvS40cH I'm trying to make a foreach loop that echos out the items and it's respective amounts. but i'm struggling to do so. thanks for any help.
at runtime, when the memory on which you operate has been allocated, the offset you computed at compile time for all those variables is used to access heap space for the values ...
moin o/
So when we execute this opcode we dont know what the result of $a is because we dont know what $b is. We know only that we have reserved a spot for the address of $b and that when we know this address we can complete the operation? @JoeWatkins
krakjoe@fiji:/opt/src/inspector$ cat add.php
<?php
$a = $b + 42;
?>
krakjoe@fiji:/opt/src/inspector$ phpdbg -np* add.php
function name: (null)
L1-4 {main}() /opt/src/inspector/add.php - 0x7fc88bc80000 + 3 ops
 L2    #0     ADD                     $b                   42                   ~0
 L2    #1     ASSIGN                  $a                   ~0
 L4    #2     RETURN<-1>              1
[Script ended normally]
we execute the opcode in logical order, not in the order that you see it written (linear) .. so we must do ZEND_ADD first ...
~ means temporary variable, so you can see the result of ZEND_ADD being stored at ~0 (that's zero offset into temporary variable space), then we assign $a to the value of the temporary variable stored at ~0, the result of ZEND_ADD ...
more precisely we compile in logical order ...
07:07
@JoeWatkins Sorry. I'm very interested. I just have to go to bed at this point so I can work tomorrow. I'll try and process what I've got I. The morning and see of I can understand what you're telling me.
Night all.
gn
bob
bob
07:24
how can you reference a stdClass Object that has a dynamic key?
why would you use stdClass to begin with?
bob
bob
@tereško I didn't, but can't change it now.
07:48
I am trying to have multiple application in codeigniter having folder structure like application/frontend and backend and in root i have backend.php and frontend.php and one htaccess so far when I hit website/frontend my front end works good but when I hit website/backend it doesnt work any solution for this ?
RewriteEngine on

# If the user types "frontend.php" or "backend.php".
RewriteCond $1 !^(frontend\.php|backend\.php|images|robots\.txt)

# If the user types just "backend".
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^backend$ backend\.php [L,QSA]

# If the user enter in any admin section, like "backend/section".
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^backend\/(.*)$ backend\.php/$1 [L,QSA]

# If the user types any site section, like "site/section".
mornin
This is what I have reffered
0
Q: CodeIgniter multi-application .htaccess problem

PhilipeI have a problem with CodeIgniter .htaccess file and hope that somebody can help me! I don't know regular expressions or how to use the .htaccess, I'm very new with this things! My Problem is: I have this structure of files (multi application): - application - admin - site - system - i...

Wes
Wes
which was that company that sold domains and that used to buy all the domains people queried on their whois so that they could sell the domains to the people at higher price?
@Wes "In January 2008, it was reported that Network Solutions uses data collected from their web-based WHOIS search to register every domain that users check for availability"
Wes
Wes
thanks :P
07:59
@StatikStasis you really should have tried (the audiobook is short: 2-4 hours) ... otherwise you can try reading this thing: wuxiaworld.com/novel/against-the-gods
superluminal Astronomy. appearing to travel faster than the speed of light.
morns
08:28
mrnng
Wes
Wes
\o
btw that's the reason now i only use icann's whois
unless i go registering the domain straightaway
@Wes That is not a bad business plan, unethical sure but not bad.
Wes
Wes
it's evil
yes, that too.
08:45
moin
@JoeWatkins really very actually you need to renew krakjoe.ninja
just turn on auto-renew, it will take you like a minute and it won't even charge you until next tues when it expires...
it's sitting in my control panel with a yellow exclamation mark, laughing at me
or is this a battle of wills to see if it will annoy me enough that I will pay for it? :-P
@DaveRandom or maybe he doesn't care for the domain anymore.
09:06
Onsite interview with a laravel dev. Fun times
what's registrar ? @DaveRandom
@JoeWatkins google domains, that's the only reason I can see it, you added me to the admins when we were farting about with the server at your house in IoW
oh lolfail
09:14
!!urban lolfail
[ lolfail ] to laugh at someone's failure, a combination of the acronym LOL (Laugh Out Loud) and fail, which is often used in forums (epic fail). In essence, its showing that you think that someones failure is humorous. They may decide to punch you.
I done it, thanks for the persistent reminders, appreciated ...
I guess you should say "I done did it ('done' will be used when you're using have/has in the sentence)"
@Shafizadeh Its ok in this case(for setting the tone), at least the way he is trying to say it.
ah ok, sorry
3 messages moved to Trash
Morgens
gist.github.com/DaveRandom/f5f30606500fb014d734c103c6948fbe updated, in case anyone actually uses it (*monkey script to add tweet icon to starred messages)
finally supports 280, and I pointed the image href to a more sensible place
@DaveRandom I wasn't using it before, but I am now.
09:56
(removed)
@DaveRandom Hello Jesus!
yeh that was my profile pic for a while
PHP running under .NET Core is nearly twice as fast as PHP proper. https://twitter.com/pchpcompiler/status/1003969883779076096
"PHP proper" is the same as "pure PHP" ?
is that thing generating IL directly from PHP or is it transpiling it to something first?
10:01
@Shafizadeh no, I believe it means the PHP Interpreter
ah I see, sounds right
morning r11
I think this is the first time I woke up on the first ring of my alarm
instead of hitting snooze and going back to sleep
10:03
or even taking meds and napping for an hour
what time is it there right now?
5:03AM
your alarm goes off at 5am??
yes
I wake up at 5 so I can take my ADHD med which takes an hour to do anything for me, so I usually just go back to bed and sleep until 6. I have to be at work by 7 cause we're on summer hours.
I'm half awake right now
10:05
@Tiffany Isn't soon? That time is for "Prayer" here
@Shafizadeh 5AM is early for most people here
!!urban ADHD
[ adhd ] ADHD stands for attention deficit somethingk. Hey! I spelled something wrong. Haha. Hey look a squirrel. Wait, what am I doing here again? Omigawd my elbow itches. Wonder what's on tv? I like Jennifer Lopez. I hate kumquats. I really love urbandictionar.....where was I again?
6
@DaveRandom women tend to do more than just eat and brush teeth in the morning from my experience with them. Also, they are not fine with wearing the same clothes for a week.
@Tiffany ah
10:06
hahahahahaha
@Tiffany are you female?
ADHD - "attention deficient HEY DONUTS!"
@Shafizadeh this is the third time you've wondered this...
:-) ..! Sorry I don't remember such things
yes, I am :P
good :-)
10:07
@Gordon ... when I'm on vacation and lazing about at home ...
@Gordon yeh, right? weirdos
totally weirdo
I'm as unfeminine as they come
don't wear makeup, don't wear dresses
@Jeeves You know, I might have that. Gotta get me self checked out. :P
10:10
Thanks
it's not a true psychiatric test, but it nails ADHD pretty well
Completely random OT question: does anyone have a decent quality mp3 (or whatever) version of the Incubus album "Light Grenades" readily accessible? I have it on CD but my mp3 version is shit quality and I want to listen to it now
@DaveRandom mmm probably
Incubus was my favorite band as a teenager
I just got tickets to see them in Sept so I'm on a nostalgia trip
I preordered an album... actually might have been Light Grenades, and was able to buy tickets like two days before they went on sale to the public. I was able to nab seats for 40 bucks
I guess I don't have MP3s of it 😒 sorry
I have a ton of post-metal albums...
10:18
no worries, I will just listen to Morning View again :-P
actually I might do something I haven't done for a long time and torrent some music
I don't feel bad about this one since I have an hard copy of it already
spotify <3
yeah
I bought most of their albums back in the day
even found a copy of When Incubus Attacks vol. 1, which is rare
it had a limited release in the US, happened upon it in a store and convinced my mom to buy it for me
guys, "withdrawal" means spending form your credit card, what's the word for opposite? (increasing credit amount)
@Shafizadeh deposit
oh thx
10:24
oh god
@DaveRandom got a place to upload easily?
oh - m4a not mp3.
Bash: I have three arrays: arr1, arr2, arr3, and the string "arr2" in variable ${ARRAY_NAME}. I would like to add to arr2 via that string. So something like ${ARRAY_NAME}+="NEW VALUE", but that 'does not work'. Anyone know how I can do this?
directories=()

directories+=("${SCRIPT_PATH}/site_admin");
directories+=("${SCRIPT_PATH}/site_frontend");
@Jimbo think it's the () around the string that are the trick.
@Danack ssh lxr.room11.org, user danack, key from github.com/danack.keys
scp it on there?
@Danack fine tnx
I don't have a sensible web upload readily available but the lxr server is local for me rn
10:30
@Danack But I'm trying to reference the name of the array variable using a string
@DaveRandom twatted.
Yours is "directories", mine is whatever is in ARRAY_NAME
@Danack ta
高精度乘法运算一会有小数点 一会没有 – #76418
@Jimbo then I don't understand what you're asking. Can you post the code you want to work?
10:33
@Tiffany I got to about 160 points
Hello. I have 2 php file A & B. I call B with A with ajax, so I send data to B. In my B file I have a variable. I want to have the value of this variable, how can I get it ?
@DaveRandom wildcard cname. Does everybody support it?
clients you mean?
if so then yes, everything you care about
yep. I am going to set up a wildcard cname in my dns panel
kk
ta
@kelunik does yoru acme client support wildcards?
@PeeHaa oh right sorry I read "name" rather than "cname" and though you meant certs. Wildcard DNS records are processed server-side anyway, the client doesn't see the difference, it just issues an A lookup, the server computes the answer based on (in this order) A, CNAME, DNAME, Wildcard A, Wildcard CNAME and responds with an A record generated from the match
10:55
@DaveRandom Yeah more wondering whether dsn servers people use will support it
so the client doesn't even know that it's not a regular static A record unless it specifically queries for a CNAME, or sends an A/CNAME query that specifically asks for *.whatever
@PeeHaa "Server" in the context of that statement == NS for the domain
I am working on a deployment script which deploys to {commithash}.something.pieterhordijk.com
I need that to be available right away
arr1_array=()
arr2_array=()
arr3_array=()

arr2_array+=("jimbo had the wrong syntax for arrays, that joker.")

STRING="I will add this to arr2"

NAME_OF_ARRAY="arr2"
bar="${NAME_OF_ARRAY}_array"
eval "${bar}+=('${STRING}')"

for value in "${arr2_array[@]}"
do
echo "${value}"
done
there are ways of doing it without eval, which would be 'safer', but they are custom to different shells.
intermediate servers will check their cache and relay the original client request upstream if they don't have a match for the exact request (in almost all circumstances, i.e. unless they are aware of the alias/wildcard because they have specifically queried the NS for that info)
Is that a yes or a no in terms of support? :P
10:58
tl;dr "yes it will be fine"
:P
<3

« first day (2790 days earlier)      last day (2384 days later) »