All Questions

1
answer

Get audio from Youtube Live Streaming

Is there any way to get ONLY the url of the audio track of a live YouTube broadcast? I'm trying with the Pafy and Youtube-dl libraries but I only get mp4 files, there are no m4a files like in the rest of the videos. streams = video.audiostr...
asked on 04.07.2017 / 20:35
1
answer

PHP does not return all the results of a query to Oracle when there are many records

I'm making queries from PHP to an Oracle database. The problem is that when the database has few records (5 for example), when I go through the oci_fetch_array function, it returns them without problem, but when it is 100 records it returns...
asked on 21.07.2017 / 10:24
3
answers

Take a parameter in a url and send it to the model when a form is sent

I have a CreateView view to which I am passing a PK by the URL, what I want to do basically is to take that station and send it to a field of the model with which this view works (the form does not contain the model field to which I want...
asked on 18.07.2017 / 04:45
5
answers

Notice: Undefined index: PHP

I'm running a code in PHP and it works totally! It complies with what I ask, but it throws me the following error:    Notice: Undefined index: name in C: \ xampp \ htdocs \ project \ profile.php   online 12 What I did was a profile of a l...
asked on 03.02.2018 / 02:06
1
answer

how to get the id of a row in CgridView

Good evening I am trying to capture the id of a row from a CgridView with a pop-up window, and place it in a text box from where it is being called but it brings me value undefined in yiiframework I hope you can help me, I leave you the u...
asked on 11.07.2017 / 02:37
1
answer

Consume WCF service with Ajax

Hello community I have a service WCF that is published on a server X, I need to consume a method of that service through AJAX , the service method receives as parameter an object with two properties, the way in which I'm consuming t...
asked on 06.07.2017 / 16:27
2
answers

Execute .exe from html

Good morning How could I make a windows program run when I clicked on an image? <img src="smiley.png" alt="Smiley face" height="42" width="42"> The images I put in this way to the html, and I want to click on that image to run, for...
asked on 15.11.2017 / 11:55
2
answers

How to block copying and pasting in an input?

I have an input ... <input type="text"> How do I block the commands (control + c and control + v) and right click, copy or paste?     
asked on 05.12.2017 / 19:50
3
answers

Send double and single quotes within a variable

I need to put in a variable content that has double quotes, single quotes, /, ... several characters, is there a way to put all the code within a single variable? there is not something like this $ variable < < < "" '' / \ > >...
asked on 15.11.2016 / 21:55
4
answers

How to do it in MySql?

You see, this time I do not have a code, nor do I want to be given a code, but simply the idea. I have a system of posts to which I want to add a button to give points (to the selected post). Good. But how do I make those same points that...
asked on 24.10.2016 / 22:30