- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 20
- Posts with Upvotes
- 19
- Upvoting Members
- 17
- Downvotes Received
- 60
- Posts with Downvotes
- 42
- Downvoting Members
- 18
758 Posted Topics
Hello, I get this error message: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '{' or '$' When running this code: ` Rp. <div id="total"></div> ``` <script> $("#total").html({<?php number_format($("#subtot").val(), 0, '', '.'); ?>}); </script> ``` ` Any idea why? | |
Hello, I am having two moodle folder with different name (indonusa_learning & moodle). I wonder why when I update one folder - indonusa_learning, some part of moodle is also being updated. I thought two of them should a two seperate moodle sites. I also already create a two seperate database … | |
Hello, I Have this website and I am trying to make the footprint smaller in text size. How to do so? http://gsa-constructionspecialist.com/home/vision-mission https://www.tinymce.com/docs/configure/content-formatting/#fontsize_formats This is the fontsize_formats in tiny mce. I already try to insert a new feature to change font size in tinymce and have not been successful yet. … | |
Hello all, I am looking for a free vpn to view a laravel video tutorial in the forum. Any recommendation? Which is not a trial version? Is there any? As long as it works. Thanks in advance. | |
Hello, Any ever build web using AMP? What is it really? Is it similar like bootstrap? How to do it? Is it difficult or taking a long time to implement? Thanks in advance. | |
Can anyone help me explain what is Machine Learning? I have been googling for the subject and still do not understand what it is. Please help. 1) How could a Machine learn about information? By finding an equation of a pattern? or by having the user inputing a new information … | |
Hello, I am trying to create bootstrap navigation with background color of my choice yet, I haven't been able to do so. The default boostrap nav color is grey. How to change it to color of my choise like brown. I try to insert css inside navigation2.php codes - and … | |
Hello, I would like to style my table. I have two different table that I would like to style differently. How to do so? This is what I try but it does not work: table, td { padding: 5px; } .order table, td{ width: 5px; } </style> <table class="order" border="1"> … | |
HomeController.php public function getFrontFacebook() { $domain = $_SERVER['SERVER_NAME']; $user = User::where('domain', $domain)->first(); return view('soulfy.facebook', ['user' => $user]); } How to hide .content-placeholder on the first load? Since the load js does not function any longer after the soulfy.facebook page open. How to fix this script and place it on soulfy.facebook. … | |
Hello, This is PHP. Help me understand this code: if($selectDB == true){ $query = "INSERT INTO recruitment (ID, nama, jenis_kelamin, tanggal_lahir, nohp, email, alamat, provinsi, kota, zip, status_nikah, jumlah_tanggungan, agama, file_attachment, cover_letter) VALUES (NULL, '$nama', '$jenis_kelamin', '$tanggal_lahir', '$nohp', '$email', '$alamat', '$provinsi', '$kota', '$zip', '$status_nikah','$jumlah_tanggungan','$agama','$file_attachment', '$cover_letter');"; // "INSERT INTO Customers (CustomerName, … | |
var valtgl = $("#val-tgl").val(); var dateori = new Date(valtgl); I would like something like this: Tuesday, 2 October 2018 instead of: Tue Oct 02 2018 07:00:00 GMT+0700 (Waktu Indonesia Barat) Any clue how to? | |
How to downgrade mysqldump tools: I am using mysql bench and when trying to export online databases from mysql bench to sql file I am getting this error: mysqldump.exe is version 8.0.13 but the MySQL Server to be dumped has version 5.7.21. Because the version of mysqldump is not the … | |
Hello, This is my first time using Python. I only know the basic syntax of python but I never actually run the code itself. Therefore, I am trying to figure out how to install Python web server on localhost ? I have this installer - GoogleCloudSDKInstaller When trying to install … | |
Hello all, I am trying to understand how to use animation.js: This is what I did: And the result is only HTML text. I expect to see : http://animejs.com/documentation/#functionBasedDuration The first animation appears. I wonder what's lacking. My link to the js is already correct: <html> <head> <script src="anime-master/anime.min.js"></script> <script> … | |
Hello, I am trying to install apache on my localhost but cannot find the file that I need to install apache. https://projects.apache.org/projects.html?name Why there are so many apache installer file? Which one should I download? | |
Hello, Check this out - http://loudev.com/ . I would like to add one more button called Select All to select all the email on leftside to move them to the right side. Any clue how to? Thanks in advance. | |
Hello all, I am quite impress knowing that Python has been the most popular programming language in July 2018. Check this statistic: https://pypl.github.io/PYPL.html It looks like there is a changing in trends - in 2015 PHP is rank no 2 and now rank 4. While Python rank 3 moves up … | |
Hello, One type of SQLIA is UNION Query and I still do not completely understand what is the point. SELECT Name, Address FROM Users WHERE Id=$id by injecting the following- Id value: $id=1 UNION ALL SELECT creditCardNumber,1 FROM CreditCarTable. We will have the following query: - SELECT Name, Address FROM … | |
Hello, I installed Turtoise Git and has been unable to pull: From https://gitlab.com/website.com/restapi = [up to date] master -> origin/master Updating dad62f8..d807062 error: Your local changes to the following files would be overwritten by merge: application/controllers/User.php application/models/ContributionModel.php application/models/OrderModel.php Please commit your changes or stash them before you merge. Aborting git … | |
How to prevent Illegel/ Logically Incorrect Queries? Illegal/Logically Incorrect Queries 1)Original URL:http://www.arch.polimi.it/eventi/?id_nav=886 2)SQLInjection: http:/`/www.arch.polimi.it/eventi/?id_nav=8864' 3) Error message showed: SELECT name FROM Employee WHERE id =8864' from the message error we can find out name of table and fields: name; Employee; id. By the gained information attacker can arrange more strict … | |
Hello, I am trying to understand prepared statement and what it does. https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet#Defense_Option_1:_Prepared_Statements_.28Parameterized_Queries.29 "Prepared statements ensure that an attacker is not able to change the intent of a query, even if SQL commands are inserted by an attacker. In the safe example below, if an attacker were to enter the … | |
Hello, I am trying to prevent SQL Injection on Codeigniter. I am reading this link: https://www.roytuts.com/prevent-sql-injection-in-codeigniter/ I do not understand what is the purpose of Escaping Queries, Query Binding and Active Record. Thanks in advance. | |
Hello, I am planning to do my Thesis on SQLIA and now I am trying to understand something about SQLrand. SQLrand - a system for preventing SQLIA against web servers. The main intuition is that by using a randomized SQL query language, specific to a particular CGI application, it is … | |
How to install Keras, Phython framework on Windows? https://ankivil.com/installing-keras-theano-and-dependencies-on-windows-10/ C:\xampp\htdocs\python>cd "%USERPROFILE%\Anaconda3\Lib\site-packages" The system cannot find the path specified. What's missing? Is installing CUDA and Theano a prerequisite before installing Keras? | |
Hello, I am new to python. I am trying to run this python program using xampp. first.py print('Interest Calculator:') amount = float(input('Principal amount ?')) roi = float(input('Rate of Interest ?')) years = int(input('Duration (no. of years) ?')) total = (amount * pow(1 + (roi/100), years)) interest = total - amount … | |
program2.php <html> <header> </header> <body> <?php function Multiply($x, $y) { echo $x * $y; } echo 'Multiply : '.Multiply(2,3).'<br><br>'; ?> </body> </html> Why the result of the above program is : 6Multiply : instead of Multiply : 6 Any clue? | |
Hello, I try to create a simple OOP PHP that shows an error: class_lib.php <?php class person { var $name; function __constructor($person_name){ echo "Initialize class"; } function set_name($new_name){ $this->name($new_name); } function get_name($new_name){ return $this->name($new_name); } function __destructor(){ echo "end class"; } } ?> program3.php <?php include("class_lib.php"); ?> <?php $stefan = … | |
Hello, I am trying to follow the following tutorials: https://www.w3schools.com/angular/angular_tables.asp <div ng-app="myApp" ng-controller="customersCtrl"> <table> <tr ng-repeat="x in names"> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr> </table> </div> <script> var app = angular.module('myApp', []); app.controller('customersCtrl', function($scope, $http) { $http.get("customers.php") .then(function (response) {$scope.names = response.data.records;}); }); </script> It produces a customer table. … | |
Hello, I have been experimenting with Fusion Chart. I have been following this tutorial: https://www.fusioncharts.com/dev/chart-guide/getting-started/using-xml-as-data-format and trying to take the chart data from xml yet it does not works. bar_chart_xml.html <html> <head> <!--<script src="angularjs-plugin/wrappers/angularjs/angular-fusioncharts.min.js"></script> <script src="angular.js"></script> --> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript"> FusionCharts.ready( function … | |
Hello, I am testing the instagram api. And trying to figure out way to get the token. It shows in this video: https://www.youtube.com/watch?v=fGMk8daxF08 By click the client ID twice it will shows me the get token form. Yet, this is not in my case. I cannot click the client ID … | |
Hello, I am trying to border-collapse on a specific table. #profitlosstbl table { width: 200px; border-collapse: collapse; } #profitlosstbl td { border-collapse: collapse; width: 100%; padding: 10px; font-size: 12px; border: 1px solid black; } the border-collapse: collapse; It only works if I use table { border-collapse: collapse; } but I … | |
bar_chart.html <html> <head> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> </head> <body> <script> FusionCharts.ready(function () { var revenueChart = new FusionCharts({ type: 'doughnut2d', renderAt: 'chart-container', width: '450', height: '450', dataFormat: 'json', dataSource: { "chart": { "caption": "", "subCaption": "", "numberPrefix": "$", "paletteColors": "#5b9bd5,#ed7d31,#f2c500,#f45b00,#8e0000", "bgColor": "#ffffff", "showBorder": "0", "use3DLighting": "0", … | |
This time, I am trying to customize color in bar chart. https://www.fusioncharts.com/dev/chart-guide/chart-configurations/data-plot bar_chart.html <html> <head> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> </head> <body> <script type="text/javascript"> FusionCharts.ready(function() { var revenueChart = new FusionCharts({ "type": "doughnut2d", "renderAt": "chartContainer", "width": "500", "height": "300", "dataFormat": "json", "dataSource": { "chart": { "caption": … | |
I wonder how to create a table in angular where the data is taken from Json or xml (must be seperated file)? | |
Hello, I am following this tutorial: https://valor-software.com/ng2-charts/ I try to set up the barchart. I copy exactly from the demo script: new.html <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script> <script src="node_modules/chart.js/src/chart.js"></script> <script src="bar.js"></script> </head> <body> <div> <div style="display: block"> <canvas baseChart [datasets]="barChartData" [labels]="barChartLabels" [options]="barChartOptions" [legend]="barChartLegend" [chartType]="barChartType" (chartHover)="chartHovered($event)" (chartClick)="chartClicked($event)"></canvas> </div> <button (click)="randomize()">Update</button> </div> </body> … | |
Hello, I am trying to create a bar chart with angular. I am following the following guidance: https://www.fusioncharts.com/angularjs-charts/ I wonder why it does not works. I only see a blank screen when running bar_chart.html bar_chart.html <html> <head> <script src="barchart_data.js"></script> <script src="angular-fusioncharts.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script> </head> <body> <div ng-app="myApp">...</div> <div ng-controller="MyController"> <div … | |
Any clue how to use an image for browse button? I try : <input type="file" name="userfile"> <input type="image" src="images/reg/upload_foto.jpg" value="Upload" name="Upload"> and still does not works. Can you turn an image into a browse file button? | |
I get this message: The foto ktp must be an image. The foto ktp must be a file of type: jpg, jpeg, png. The foto profile must be an image. The foto profile must be a file of type: jpg, jpeg, png. I wonder why it does not pass the … | |
Ever heard Saas or Less? (for frontend developer) What is it for? I read the article and still do not understand the purpose. | |
What is PHP Enginee? If Xampp is the web server, then is the php enginee apart of the web server? http://www.php.net/downloads.php Can you upgrade the php enginee - to support a higher version of php without uninstalling the xampp? Thanks for advice. | |
program1.php <html> <header> <script> function myFunction(p1, p2) { return p1 * p2; } document.getElementById("demo").innerHTML = myFunction(4, 3); </script> </header> <body> <div id="demo"></div> </body> </html> I don't understand why the above code does not show any value? and why this one does? program2.php <html> <body> <div id="demo"></div> <script> function myFunction(p1, p2) … | |
Hello, I am tryiing to create a polling. How to create the database for it? This is polling database: id q 1 2 3 4 5 6 7 8 q= question 1-8= option 1 - 8 After certain period of time, I should be able to create a pie chart … | |
Hello, I am in the middle of learning about IT Security. I wonder why sometimes people uses ASCII value for SQL injection attack? Do you know the reason why? Why not using normal ' mark. | |
How to create a button that redirect to certain location in a website which is still on the same page? | |
Hello, Anyone knows anything about phython? Someone mention to me if you need anything about AI Phython would be the perfect language to program it. Is that true? Thanks in advance. | |
Anyone knows about AWS (Amazon Web Service), what is the plus point compare to normal web ? Is it: - AI (Artificial Intelligence) - IoT (Internet of Things) I also have a question what is the difference between Hadoop Apache and the normal Apache in most web hosting? Thanks in … | |
Hello, I have a question about who uses https:// instead of http:// ? What is the point of encrypting the information if that is the point? Who normally uses it? Ecommerce? Bank? Who else? If am I right? | |
I have been trying to install IBM bluemix CLI and getting this error message while trying to push my php file to the server: C:\xampp\htdocs\bluemix>bluemix app push index Invoking 'cf push index'... FAILED fork/exec C:\Program Files\IBM\Bluemix\bin\cfcli\cf.exe: %1 is not a valid Win32 application. C:\xampp\htdocs\bluemix> I cannot understand understand. I am … | |
Hello, I am trying to resize image with bootstrap. Can anyone help me explain this phenomena: https://getbootstrap.com/docs/4.0/content/images/ ? I am trying to resize the image on cell phone into smaller one with the same proportion. I thought this code will be successful: chicken.php <!DOCTYPE html> <html> <head> <title>ABL Home</title> <link … | |
Hello, Can anyone help me check if this SQL Injection Vulnerability Scan is FREE : https://suip.biz/?act=sqlmap And is the report truly shows whether the website is vulnerable to SQL Injection or truly save. This is the report example: ___ __H__ ___ ___["]_____ ___ ___ {1.2.3#stable} |_ -| . ['] | … |
The End.