« first day (2315 days earlier)      last day (2639 days later) » 

9:00 AM
Mirn7ngs
 
@PeeHaa still drunk?
 
Nope. Trying to wake up :)
 
So if we host domain A and domain B, and want both over HTTPS but have SNI disabled, the solution is to not tell us to not use https.. god I hate support sometimes.
Morning 11
 
@Sean We need to implement PoIP (Punching over Internet Protocol)
 
Anonymous
mornin
 
Anonymous
9:08 AM
@Leigh You could use compressed air... So water valve, moisture detector and air valve. Fire some compressed air through it after the big dip to remove gunk
 
@JayIsTooCommon o/
 
0
Q: Control Multiple Audio Access with Single Page using JQuery

Kavya ShreeHiii Everyone, This is the sample code for my audio play.It will buffer and start play in 10 secs after that it willnot play again the same audio this the scenario I tried. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>audio.js</title> <

If someone knows solution for this issue?
 
@KavyaShree wrong room
 
Anonymous
he/she has already cross posted in the right room
 
9:20 AM
Okie @PaulCrovella
 
I have an audit log table that holds references to other tables, depending on the aggregate that an event belongs to. Now I would like to display a value instead of the id (like username instead of the uuid) for the audit log ui.
Is there a better way to do this than to query again for every row? There will be a lot of aggregate types in the future, so I don't see how it would work in a single query.
 
Is it true that array_map doesn't support iterators?
 
@brzuchal none of the array functions do
but I think someone was working on it
 
@Gordon array_walk() does
 
as of PHP 5.6 apparently 3v4l.org/4TOQj
 
9:29 AM
yeah!
 
hmm .. @Shafizadeh, you had no questions about the 36 comments on your first commit?
 
Thanks guys, apparently array_walk has no usage in my case, I wanted to traverse iterator and translate some objects into others
 
@brzuchal iterator_apply or iterator_to_array + array_map
 
I'll try THX
 
@tereško Undoubtedly I do ..! I'm just trying to finish my current task, then I'll consider to your great comments :-)
 
9:35 AM
most likely they are quite far from "great"
 
@Gordon there are so many inconsistencies, array_map take callback and second array, iterator_apply takes iterator and second argument callback :)
 
@tereško if you'd put 36 comments on my first commit I'd probably have no questions either :D
 
:D
 
commentoverflow
 
@tereško they are pure-experiences which made of years of working in programming field..! That's what makes them great ..!
 
9:37 AM
mornin
 
@Gordon :D
 
@brzuchal it's php, it'd be inconsistent if it wasn't inconsistent... so at least it's consistently inconsistent
7
 
Wait iterator_apply returns the iteration count, not like array_map mapped result
:(
 
Anonymous
So someone just used this name for one of our systems "Haywood Jablomi". I'm impressed
 
@brzuchal yes, it's more like array_walk than map
 
9:38 AM
@PaulCrovella Yeah, this sentence should be cited as a note in the docs on every function
@Gordon walk vs map :/ again consistent inconsistency
AFAIR there were some RFC's which tends to provide more consistent api in a history of PHP
 
Anonymous
Next of kin "Wilma Dickfit"
 
Anonymous
this gets better
 
@brzuchal protip: embrace the inconsistencies instead of fighting them. makes you more productive in the long run
 
embrace the suck
 
9:43 AM
The french word for lawyer is literraly "avocado"
"The defense avocado may speak"
 
@brzuchal I'm working on one that does the opposite - it'll actually vary the order of arguments depending on their values. for example strpos will swap $needle and $haystack if there are an odd number of bytes in total between them.
 
Jan 29 at 11:31, by Sean
Consistency in PHP is a bug.
 
@Trucy s/stupid/*awesome*
 
PHP should totally have bindings for github.com/anki/drive-sdk
 
@PaulCrovella it's stupid when I have to think about "what was the french word for "lawyer" btw?" :D
 
9:48 AM
I want "guacamole" to have some related meaning in french as well
 
@Gordon Could possibly write an extension from that, right?
 
Anonymous
moin boobjime
 
@Sean possibly
 
@Gordon nothing good could come of that
 
9:49 AM
@PaulCrovella hey that's the name for a lawyer office, how did you know that? :D
 
Actually if it's just an SDK it's probably just better to port it
 
@brzuchal "Status: Under Discussion" ಠ_ಠ
 
@Trucy well, you're discussing it aren't you
 
@PaulCrovella so if nobody mentions it for a while, will it get merged?
 
no, then it just waits for someone to mention its status, thereby making the status again correct
it's like that cat in the box, only it's always dead
 
Anonymous
9:55 AM
!!wotd
 
procrustean: tending to produce conformity by violent or arbitrary means.
11 messages moved to Trash
 
moin
 
Anonymous
hoi chris
 
@Jeeves it's very common among crabs and lobsters
 
@DaveRandom o/
Dnslib?
:p
 
10:00 AM
@Trucy There is a plenty of RFC's in Under Discussion state :(
 
@brzuchal yeah but this one is a major PITA
 
@Trucy not really
The important line there is not "Status: Under Discussion", but "Author: Yasuo Ohgaki"
aka: absolutely no chance this is gonna happen
 
Maybe there should be some special status: "Not gonna happen" in RFC's
 
@PaulCrovella damn procrustaceans!
 
10:06 AM
@NikiC :-D
 
Hi
I have downloaded composer an set up it, but I couldn't find the extracted files!
 
@JavaFan composer usually puts downloaded code into /vendor in your project root
 
@NikiC what is wrong with Yasuo? I heard he try to force RFCs or so…
 
@JavaFan what exactly did you do ?
what composer commands did you run?
 
Well
I work on windows and downloaded composer from it site and setup it without commands
 
10:16 AM
if you have not launched any commands, then there will be no files
you probably should go back to reading the manual
 
mmm
 
composer is a CLI package management tool for php projects
if you have not executed any CLI command, why would you expect to see any results?
 
I supposed it could be downloaded and setup as any software in windows
 
@tereško There is also an windows installer for Composer
 
@brzuchal Should it work?
 
10:20 AM
I don'w have any idea, I'm on Ubuntu
@JavaFan how exactly did you install Composer ?
 
I didn't install it
 
What command or if it was by Windows installer then should it be... somewhere
Oh, so what did you do?
 
@JavaFan Composer is to PHP as Maven and Gradle are to Java… if that helps anything
 
You've downlaoded composer.phar ?
 
I just downloaded it and setup the downloaded file
no
 
10:21 AM
What kind of file it was?
.exe one?
Something like Composer-Setup.4.5.0.exe
 
it called composer-setup.exe
 
According to the docs it installs Composer globally - just type composer from any location to use it
So you should be able to run composer in your terminal
 
@brzuchal This commmand composer Composer-Setup.exe?
 
brb
 
10:26 AM
@JavaFan No, if you've installed it properly you should be able to use composer command in your terminal
Just type composer and hit Enter
In terminal
 
You will need to open a new cmd after installing from Composer-Setup.exe on Windows, to get the updated value of %path%
that installer puts it somewhere stupid in C:\ProgramData for some reason
also you will need a working php command in your %path%
 
I know this question may be asked too many times on these forums but I genuinely cannot find a solid answer. They all give different methods.

Anyway, I have this code to update one row:

$sql = "UPDATE $userName SET P1 = '$p1MON' WHERE day = 'MON1'";
Is it possible to update multiple rows in the same query? Something like this:

$sql = "UPDATE $userName SET P1 = '$p1MON' WHERE day = 'MON1',
UPDATE $userName SET P1 = '$p1TUE' WHERE day = 'TUE1',
UPDATE $userName SET P1 = '$p1WED' WHERE day = 'WED1'";
 
@LeviMorrison @JoeWatkins so this will make a significant difference to our indexing times. I was looking through the logs and the vast majority of the the time was spent generating cached histories for tests, even though we are ignoring them. That PR should fix that and should be in the next release, afaict. It should reduce disk usage a little bit as well.
@Caspar Firstly: don't create a table per-user, and try to avoid dynamic symbol names entirely.
Secondly, learn about SQL injection and parameterised queries
 
Anonymous
@Caspar Also, setup a local environment. Using goDaddy text editor on a prod env is going to make your life difficult.
 
Does that mean host it from your computer?
 
Anonymous
10:36 AM
yes
 
Thirdly, UPDATE $userName SET P1 = Concat('$p1', Substr(day, 1, 3)) WHERE Substr(day, 4, 1) = '1'
that will be sloooooooooow though
Your real problem is database design, not query design
 
@brzuchal what the fuck are you talking about
he already said that he has installed composer and that he uses windows
why did you felt that you needed to point out this to me?
 
I didn't know how he installed this on his Windows
 
@Caspar why are you so obsessed on this hosting question? it confuses me. development code is usually "hosted" on your computer or rather hosted on and served through some VM mimicking your production environment. you deploy that code to the production site when you got a stable release. Then it is hosted on the internet.
 
he also said he "didn't install it" but he "setup" it... I'm like 60% banking on troll
 
10:44 AM
I was thinking about installing from CLI on Windows, but actually even don't know if it is possible way
 
@Leigh I'm at Royal Montcalm London House
 
@Jimbo I'm at Imperial Gordon's Catwig Mansion
 
Meanwhile, I'm at @Jimbo's stealing things and generally wrecking the place up a bit.
 
@brzuchal In getcomposer site it is written
Download and run Composer-Setup.exe - it will install the latest composer version whenever it is executed.
 
@tereško Sorry, I thought you didn't know that
 
10:45 AM
@DaveRandom There is nothing to steal. He doesn't even have proper wifi
 
@JavaFan open console
 
@Gordon What do you think I stole last time I was there?
 
@DaveRandom oooooooh
 
command promot?
 
any console
 
10:46 AM
This time I'm taking the joy from his soul
 
ok
 
type in: php -v
what do you see?
 
@DaveRandom He's coding in PHP, there's no joy left in his soul
 
@DaveRandom evil. that will make him a true justin bieber clone
 
PHP 5.6.3 (cli) (built: Nov 12 2014 17:18:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
 
10:47 AM
type in: composer --help
 
D:\>composer --help
'composer' is not recognized as an internal or external command,
operable program or batch file.
 
@Gordon My ridiculously circuitous plan is nearly one quarter complete!
 
on a completely unrelated side note: ericchiang.github.io/post/containers-from-scratch is a good read for understanding containers
 
@JavaFan so, that's your first problem
go to C:\Users\<user>\AppData\Roaming\Composer\vendor\bin and tell me what you see there
 
25 mins ago, by DaveRandom
You will need to open a new cmd after installing from Composer-Setup.exe on Windows, to get the updated value of %path%
have you done that, or are you using a cmd you already had open before you ran the installer?
 
10:53 AM
he hasnt
 
composer folder is found but vendor is not
@DaveRandom okay I will try
 
!!giphy do or do not
 
2 messages moved to Trash
 
useless giphy is useless
 
@JavaFan what is in that composer folder?
 
10:57 AM
02/16/2017 12:04 PM <DIR> .
02/16/2017 12:04 PM <DIR> ..
02/16/2017 12:04 PM 13 .htaccess
02/16/2017 12:54 PM 256,189 cacert.pem
02/16/2017 12:54 PM 799 keys.dev.pub
02/16/2017 12:54 PM 799 keys.tags.pub
4 File(s) 257,800 bytes
2 Dir(s) 40,713,359,360 bytes free
 
that's the wrong folder
 
So
 
what do you see in C:\Users\<user>\AppData\Roaming\Composer\
 
the mentioned files
 
do you remember where you installed composer?
 
10:59 AM
try C:\ProgramData\ComposerSetup\bin
 
actually I don't install it by command
 
are you mentally retarded?
when did I mention that you have to "install it by command" ?
or do you not understand what the word "install" means?
 
well
 
anyone here know HTML?
 
but you have asked me what commands you used to install compooser
 
11:05 AM
50 mins ago, by tereško
what composer commands did you run?
this was what I asked you
 
yeah
 
7 mins ago, by tereško
do you remember where you installed composer?
 
no
 
then close all consoles, that you have opened, and run the composer-setup.exe again
 
okay
 
Anonymous
11:08 AM
@Jeeves @Gordon technology these days
 
Hello guys!

Anyone using Laravel Framework for Web Development?
 
@RenatoLazaro not in this chat room
 
Is someone specific to Laravel?
 
Oct 12 '15 at 14:34, by Jimbo
All in favour of getting rid of Laravel, star
you should probably check how many stars this has got
 
@RenatoLazaro Tay Oakkkkkkkk
time to change the batterie
 
11:13 AM
@littlepootis I did not understand, explain better?
 
Anonymous
1 min ago, by tereško
@RenatoLazaro not in this chat room
 
@RenatoLazaro Send Taylor Otwell an email with your problem. He wrote the piece of crap so he'll be glad to help you.
 
I know, but there is a specific chat for questions about using Laravel?
@Patrick }ok
 
I confuse Taylor Otwell with Taylor Oakley
 
Hello guys, I would like to cURL from my web server to my router at home. I've added a port release to my router and if I access via public IP-Address to that specific port, I get the result I want to have. But if I use cURL from my web server, I get "couldn't connect to host [2] => 7" always. Any idea?
 
Anonymous
11:15 AM
@RenatoLazaro to put it nicely, you won't get much Laravel help here. If you can generalise your question to PHP, someone may be able to help you - Your best bet is to just ask your question
 
@RenatoLazaro laravel.io/chat
@Mr.T were you talking about port forwarding?
 
correct
 
@tereško Very good!
 
I have a question to the docs, JsonSerializable method named jsonSerialize() is marked as an abstract is it purpose or a mistake, I haven't seen abstarct in interface yet
 
I need some video example of developing a website using Laravel, but I'll ask there. In Laracasts only has basic tutorials.
 
11:20 AM
@RenatoLazaro Why Laravel?
 
About PHP any questions I will ask here yes.
 
@Patrick ... because that's what some 14 year old shithead told him to use on reddit
 
/me is disappoint
 
@Patrick I think it's best for the structure that is ready. In other words, the productivity is greater and the gain of development etc as well.
 
11:22 AM
I just went to test ride a bike ... was a pile-o-crap, got there and didn't even bother riding it ... morning wasted .... grrr
 
Ohh guys... how is that web page called, where I can just put in my code and link it to you that you can edit it... just forgot that page
 
@RenatoLazaro the "structure" is shit, it is hard to maintain and what is "gain of development?!?
 
Anonymous
@Mr.T if it includes curl, pastebin probs
 
thanks
 
@Mr.T 3v4l.org ... as in eval
 
11:23 AM
@RenatoLazaro Then why do you need a tutorial? Seems like it hurts your productivity more than it helps
 
thanks again
 
Anonymous
@tereško doesn't accept curl does it?
 
no idea
 
Anonymous
think it's blocked
 
@tereško I have setup composer again
but when type command php composer.phar
I get Could not open input file: composer.phar
 
11:26 AM
why would you type that in?
 
@Patrick What would you tell me whether or not to use Laravel or use another Framework? Or do in the hand all the structure?
 
just try: composer --help
if it works, composer installed correctly
 
@RenatoLazaro use packages (composer) instead of a framework. i even made a tutorial for exactly that since we get this question over and over in here
 
Okay here is my code, which I use on my web server: pastebin.com/3VsjFuZF
 
it worked
 
11:27 AM
!!? how to install composer on windows video
 
Search for "how to install composer on windows video" (https://www.google.com/search?q=how+to+install+composer+on+windows+video&lr=lang_en)
• Install Composer on Windows - YouTube - Learn how to install php Dependency Manager composer on Windows for Xampp or Wampp. … Comments are… (https://www.youtube.com/watch?v=ZocYVPP3nQY)
• How to Install Composer on Windows with XAMPP - Y… - In this tutorial, we are going to install Composer on Windows 7 computer with Xampp. Read Also: … (https://www.youtube.com/watch?v=RfnbBy0RLTk)
 
Hey guys. I really need some help.
 
@RenatoLazaro frameworks are not a substitute for knowledge about architecture
 
@JavaFan see the videos linked above
 
My buddy is in an HTML class and he's passed out drunk because he is depressed and I am doing his assignment. It is due in 30 minutes and I need some help with the HTML code. Is there anyone here who has any time handy?
13
I'll gladly pay you after
 
11:28 AM
@JavaFan now, navigate in the console to your project folder, and type in: composer require twig/twig:~1.0
 
@nicarpe yeaaaahright
 
Anonymous
@nicarpe this sounds like a bs story just to get help :P
 
Did you see the "I'll pay you part"
 
@JayIsTooCommon yes it is blocked...
 
Why would I make up a bs story and pay you? ;)
 
11:29 AM
@kelunik are your ears burning?
 
@nicarpe how much?
 
Just been to a talk and a guy linked to 3 of your blog posts
 
Man idk, stressing so much rn
 
Anonymous
@nicarpe i'd like a puppy?
 
Let's do $10 if you can help me with it
It's just 3 simple pages
I need help with the CSS
and HTML
 
11:30 AM
$10? what do we look like? offshorees?
 
It's very simple
 
Anonymous
is it
 
@nicarpe that wouldn't cover the price of reading the requirements
 
then do it yourself?
 
@Jeeves Good, I'll take a look. It's good to exchange information and learn more.
 
11:31 AM
well you just need to replicate a design from a PSD
I am already ~35% done
It doesn't take much more than 20 minutes for an experienced developer
 
Anonymous
@nicarpe instead of coming up with possibly fake stories with possibly fake offers of minimal cash, just ask your question :) HTML room is probably better suited though.
 
dude
I'm not coming up with bs stories
and I'm not giving you fake offers
do not just automatically throw me these blatant assumptions because I'm coming here stressed for help
 
@nicarpe psdtoweb.de
 
Anonymous
@Leigh did you see my genius idea?
 
Anonymous
@nicarpe :)
 
11:33 AM
better
alright thanks
 
you can still pay me the tenner for linking it to you.
after all, I did your research
 
Does anyone can help me out with that cURL case here: pastebin.com/3VsjFuZF. After every call I get Array ( [0] => [1] => couldn't connect to host [2] => 7 [3] => Array ( [url] => xxx.xxx.xxx.xxx/BeoZone/Zone/Sound/Volume/Speaker/Level (...)
 
Anonymous
have you tried it with a host that you know is working?
 
Okay let me check that
 
@Gordon that just makes up a bunch of images
it is an assignment
 
11:35 AM
Well, I don't know a host, where I can test a PUT... do you?
 
@nicarpe I can do more research for you, but that will be another tenner. and given you spent 10 of your 30 minutes already, I'd consider it if I were you
 
here's my issue
> this is what it's supposed to look like
> this is how it looks
 
@nicarpe with 30min time left, it will be better spent coming up with good excuses, why the work was not completed on time
 
!!? psd to html conversion
 
11:37 AM
Search for "psd to html conversion" (https://www.google.com/search?q=psd+to+html+conversion&lr=lang_en)
• PSD TO WEB - Convert .psd files to html online. - PSD TO WEB - Convert .psd files to html online. … standard .psd file; multiple layers with transpar… (http://www.psdtoweb.de/)
• How to Convert Psd to HTML - Step By Step Guide C… - Today I am going to tell you how to convert PSD to HTML. There almost no efforts you should make if… (https://www.youtube.com/watch?v=_BM59afMRDU)
• The Most Detailed PSD to HTML Tutorial - 1stWebDe… - Spring naar Convert the Agency PSD into HTML - We all kno
 
Anonymous
@Mr.T just try a get on google, doesn't matter about the method. It'll rule out your current env
 
@Gordon that just assembles the images and links it to them in the HTML file
 
please donate then 20 bucks you owe me to the ACLU
 
@tereško yeah probably not going to get it in time but I'm trying
any ideas how to align it properly? or should I just quit and idk
 
Okay did it with google and port 80: Array ( [0] => [1] => [2] => 0 [3] => Array ( [url] => google.de [content_type] => text/html; charset=UTF-8 [http_code] => 405 [header_size] => 227 [request_size] => 114 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 0.062253 [namelookup_time] => 0.016192 [connect_time] => 0.022056 [pretransfer_time] => 0.022086 [size_upload] => 14 [size_download] => 1588 [speed_download] => 25508 [speed_upload] => 224 (...)
 
Anonymous
11:39 AM

HTML / CSS / WebDesign

This room is now defunct. RIP.
 
Anonymous
@nicarpe ^ you'll need code if you want help
 
room is empty is why I asked here
 
@nicarpe you should wake up your friend and get him into therapy
 
Anonymous
@nicarpe we can't even dress ourselves
 
@JayIsTooCommon :P
 
Anonymous
11:40 AM
@Mr.T cool so it sounds like it's your router. I know nothing about networking so i'll step out at this point, someone else here may be able to help you though
 
@tereško composer require twig/twig:~1.0
 
ill let you know how it goes
 
./composer.json has been created
Loading composer repositories with p
 
@Mr.T no offense, but putting on a black shirt and claiming to be Mr.T? Not good enough… try harder. At least paint your face. And do some weights.
 
Okay @JayIsTooCommon, anyway thanks for help :) And well if I use the public IP-Address and just GET it via Web-Browser... it works... even from my smartphone with mobile internet. So I don't know whats the problem there.
@Gordon haha
 
11:43 AM
@JavaFan now in the project folder you should see the /vendor folder and if you include '/vendor/autoload.php' file in tour code, the autoloader will be able to find class Twig
 
Anonymous
@Mr.T well, does your router accept PUT?
 
@tereško yes
 
@JayIsTooCommon it has to :D ... tested it via Postman (Google Chrome Extention). Added in the direkt IP-Address and used PUT with application/json and it works great.
direct*
btw: Router is a FRITZ!Box 6490 Cable
 
oooh, beo has api now?
 
no not really :D I just found it out :D
and it works
 
11:48 AM
@tereško I tried to work some projects with Laravel but I don't need to those files
 
I dont understand what you are trying to say
 
call with PUT: http://{IP of beo}/BeoZone/Zone/Sound/Volume/Speaker/Level and use application/json like "{"level":41}" to set sound to 41
or call GET: http://{IP of beo}/api/getData?path=settings:/mediaPlayer/volumeMax&roles=value to get max sound :)
 
Why the last step? now in the project folder you should see the /vendor folder and if you include '/vendor/autoload.php' file in tour code, the autoloader will be able to find class Twig
 
@Mr.T can you do a traceroute/tracert to see where it stops?
 
okay I will check
 
11:50 AM
@JavaFan you should continue reading about how to use composer
 
but why? I just use composer to get laravel framework @tereško
 
@JavaFan RTFM
 
what RTFM?
 
Anonymous
read the fluffy manual
 
11:54 AM
@tereško I am not sure how the Kama Sutra is supposed to help with learning Composer
 
:D
 
:P
 
Tracerouting to destination: http://xxx.xxx.xxx.xxx:xxx
1 * 31.432 ms *
2 * 31.015 ms
3 * 31.205 ms
4 * 31.492 ms
5 * 32.349 ms
6 * 31.125 ms
7 * 31.213 ms
8 * 30.804 ms
9 * 32.084 ms
10 * 31.300 ms
11 * 30.514 ms
12 * 30.577 ms
13 * 30.418 ms
14 * 30.149 ms
15 * 31.269 ms
 
@Gordon you are too funny :D
 
done with that code snipet: adayinthelifeof.nl/2010/07/30/…
 
12:05 PM
hmm, doesnt look too useful. sorry. no idea then
 
Could it be something with my web server?
 
Anonymous
if the only difference is the method when it fails, then I don't think so. Probably on the router side
 
Anonymous
oh wait, it succeeded in postman..
 
Anonymous
hmm
 
Anonymous
¯\_(ツ)_/¯
 
12:09 PM
hmm :/
haha
I am going to call my hoster...
so quiet here ...
 
hmm, you mentioned when you use postman, you are putting in the direct ip. what are you using in your php script then? the same ip or different one? and is the direct ip in your local subnet?
 
yes
 
you connecting to something other than port 80? running selinux?
 
in postman I use 1xx.1xx.1xx.xxx:xxx
and in php I use the same
TCP from 25000 BeoPlay to 8080
cannot use port 80, because it is used by another device already
 
12:26 PM
can you reach that from your host?
 
I tried it, as you can see here: chat.stackoverflow.com/transcript/message/35692792#35692792 but I get "couldn't connect to host [2] => 7". Crazy is, that I can use the same url (IP-Address) in the Browser of my smartphone, which is connected to LTE and not wifi and it works
What I can test is, to connect my notebook to the LTE of my phone and try it with postman....
does it make sense?
 
@Mr.T just to be clear, was that test to the device you have listening on port 80 or the one on port 8080?
 
8080
well to 25000 and this is then to 8080
 
@Mr.T I pity the fool who use non-standard ports for public facing web servers
actually I have no issue whatsoever with it, I just wanted to make that joke
 
@Mr.T the port I'm interested in is the one you're giving curl
 
12:39 PM
well, I would like to, but that on 80 I cannot change
curl_setopt($ch, CURLOPT_PORT, 25000);
 
@Mr.T okay, so if you drop that and try to make a request to the same address but to port 80, you have something listening there that could reply yes? if so see if you can connect
point of this is to figure out if a firewall rule/selinux might be restricting the outbound connections to limited subset of ports
 
Haven't managed to spot that filthy slag @Jimbo yet
 
@Leigh why should that make my ears burn?
@Leigh probably all the getting started posts?
 
@PaulCrovella that was my mistake! I used the wrong port on the host. Now I use: curl_setopt($ch, CURLOPT_PORT, $_SERVER['SERVER_PORT']);
ohh no... that way I get a connection to it, but its the device at port 80
well we know it works with port 80
and it works in the web browser with http://{IP-Address}:25000
so may be the problem is at my hoster
 

« first day (2315 days earlier)      last day (2639 days later) »