-
Gave Reputation to JamesCherrill in Generating Bills
Maybe that is overkill, maybe not, but in any case, starting with OP's tables, they need at least some kind of foreign key to relate Bills to Consumers. Without that … -
Replied To a Post in Generating Bills
Sorry Diafol my post was ambiguous , let me rephrase it: Spluskhan , in previus replies Diafol mentioned cron jobs (twice) but you didn't reply to that . Spluskhan do … -
Replied To a Post in Generating Bills
Diafol mentioned cron jobs , but you replied to something different. Do you understand what a cron job is ? -
Gave Reputation to diafol in preg_match looking for value starting with a ?
Not sure you need a preg for this. Check the first letter of the string, with: if(substr($clean_user_aff_code, 0 , 1) !== '?'){ $user_aff_code_error = "Your Affiliate code MUST begin with … -
Replied To a Post in Adjusting the bg color behind my text (javascript fundraiser bar)
Hello Jon_7 , I didn't quite understood what you want to do different than what you already do. The one thing that I got was “but I'd like for the … -
Replied To a Post in Why my login code doesn't work ?
Just to correct my previous post term , of course it is not encryption (blowfish and all crypt results) it is hashing. -
Replied To a Post in Why my login code doesn't work ?
Hello Stefan First of all NO , this code is NOT safe. As rproffitt mentioned it is wide open to SQL injection , take a moment to look at PDO … -
Replied To a Post in changing the list of allowed files in a file upload window
Hello Violet, Take a moment to read the links provided before answering , the input file accept doesn't take value as “.jpeg,.png” that you described , it takes value like … -
Replied To a Post in changing the list of allowed files in a file upload window
Short answer : input file accept http://www.w3schools.com/tags/att_input_accept.asp It has a meaning also to check extensions before uploading in case there is a browser that doesn't support file accept http://caniuse.com/#feat=input-file-accept Of … -
Replied To a Post in how to pass the value in href tag using jquery with json
Hello rpv_sen , there are many things in your code that could be better but I will not stand on those (only mentioning that when you have a variable inside … -
Replied To a Post in Grouped Categories Multi Level Drill Down Bar Chart
You need to provide more information in order for anyone to understand what you are doing. First of all your data structure. Secondly your server side code. And third your … -
Replied To a Post in Sort Cyclical Upcoming Event Divs Based on Today's Date
I will give it a shoot because probably I got what you meant. First in HTML from: <div class="date" data-date="10 September 2016"> ... </div> We change to: <div class="date" data-date="10 … -
Replied To a Post in Sort Cyclical Upcoming Event Divs Based on Today's Date
Hello Jon_1 Thank you for your remarks , don't mention paying (we are not here for that), you look like you really read the answers and hopefully this might help … -
Replied To a Post in Sort Cyclical Upcoming Event Divs Based on Today's Date
First of all you will find it real helpful if your separate your css , js and html in different files. Css and JavaScript (the files that you are using) … -
Replied To a Post in Is it possible to store multiple combox values in single session storage
Hello sujeeth_1 What exactly do you mean by “ single session storage” ? What language you use server side? Do you want to do it only client side ? What have … -
Replied To a Post in Sort Cyclical Upcoming Event Divs Based on Today's Date
Hello Jon_7 From where do you get the data for these events ? In what format do you get them ? What language do you use server side? Why did … -
Replied To a Post in How many hours could it take to prepare for PHP 7 certification exam?
We have no real idea how well you know PHP so any attempt to calculate how many hours (days or weeks) you would need for a PHP 7 test would … -
Replied To a Post in Remove div with specific class excluding children content.
In your example you open 5 – five divs (you have five <div>) and you close 4- four divs (you have </div>), what exactly is it ? . If it … -
Replied To a Post in How to put data into to a database using JSON-JAVASCRIPT
There are a lot of issues in your code and I wouldn't know were to start from (some of them may really be some others may have to do with … -
Replied To a Post in brexit
The world is changing too rapidly and too fast. This strengths the myth that “once upon a time there was economic heaven for uneducated workers in the industrialized world”. There … -
Replied To a Post in Return array from prepared statement
“such function doesn't exist in this namespace” in what namespace ? “others involve 10+ lines of code-functions that should actually be shorter” can you make them shorter? What you simply … -
Replied To a Post in Problem dispaying loaded swf
Flash is a historical aspect of the web , something that some of us used before web 2.0 . Flash is not supported anymore in any major browser (some give … -
Replied To a Post in online shopping
How did you determined that it is SEO friendly ? e.g. Have you submited sitemap in Google webmasters tools and everything is ok (no notifications at all)? Have you 100% … -
Replied To a Post in https://
I am pro ssl and tls in any case , but because I use them (in every case) I understand that there are still many many reasons not to if … -
Replied To a Post in Where to store website configuration file?
One option is what cereal suggested that it may also be the most popular in PHP world. If you separate your source code from your public files and you have … -
Replied To a Post in What do you think are the loop holes still left in PHP 7?
This is a very theoretical question , PHP 7 is promising big surprises in later sub version , so lets see those first. PHP 7 isn't as powerful as it … -
Replied To a Post in Is it possible to upload a file in php without form tag browse button
You can't upload any file in the file system from the PC of the user without letting her / him choose what to upload. There are many ways to upload … -
Replied To a Post in struggling with object oriented programming
Wrapping functional (or procedural) code in a class , isn't OOP. Let's talk a bit about separation of concerns. Logical you would have an object that handles the db operation … -
Replied To a Post in php stop browser waiting and continue the script
You can initiate a PHP program in many many ways. Probably what you are asking is to initiate a program that will run in the background on a user request. … -
Replied To a Post in [PHP] Retry query 3 times before continuing.
Something is actually wrong . The API that you are using . (if you use it in correct way and these are the responses) -
Replied To a Post in Does $_GET and AJAX perform well?
It seems that you are talking about actions and you use get. Don't. Of course post can be panipulated also , but it is the first barrier (out of many … -
Replied To a Post in Adult Website On Portfolio?
My company has rejected such a project not of moral issues but because our Sales and Demand (S&D) Manager didn't guaranteed that this was a serious business. If it were … -
Replied To a Post in How do i implement an entire php file into wordpress
why don't you ask wordpress about it ? -
Replied To a Post in Why are my keyboard keys doing the wrong things in Daniweb?
MidiMagic you are correct your keyboard goes spooky when it enters daniweb.com . The answer is in your faith , take a priest or what ever your faith has and … -
Replied To a Post in Destroy Session after close the Main Window or Tab using PHP and Javascript or JQuery
my crystal ball says that you don't understand what a session is … https://en.wikipedia.org/wiki/Session_(computer_science) -
Replied To a Post in PHP classes and keepalives
PHP is basically a C program (some implementations in C++) from version 4 and above it is a compiled language. It takes your code and translates it to opcodes and … -
Replied To a Post in call js function from form action
Why should we know what i2b2.BLAST.jsFunction is ? are you in a i2b2.BLAST forum ? Except if this your own way of naming variables , that is really problematic -
Replied To a Post in how i can track images clicks + hide link destination ?
If I understood what you are asking there is a really simply solution , each banner link has an id at least (you could do it with with linkIds that … -
Replied To a Post in Detect interception/modification of HTTPS request by 2st party (user)
The issue is that you don't know what you are asking because you haven't tried anything. If you had you would have a minimum understanding of what programming languages are … -
Replied To a Post in Languages needed to create a wix wysiwyg
There is knowledge and knowledge that has been applied. These two things are very different , yes you need a good background in HTML CSS JavaScript , but you should … -
Replied To a Post in How to be a good programmer
https://en.wikipedia.org/wiki/Version_control -
Replied To a Post in Is V8 snapshot virtualization any good in security?
Are you referring to a Node.js application ? (If so what is the point of 4 ?) https://en.wikipedia.org/wiki/Node.js https://github.com/nwjs/nw.js https://github.com/nwjs/nw.js/wiki/Protect-JavaScript-source-code-with-v8-snapshot -
Replied To a Post in [jQuery] Clicking a div, doesn't resize it's child
> If your method (which is absolutely correct and fine, don't mind me) would be better than animate({}) what would be reason to have animate({}) at all? What would be … -
Replied To a Post in [jQuery] Clicking a div, doesn't resize it's child
Hello Aeonix. I strongly believe that programming is a great way to build character. To become patient , to read and study but always making your own tests , an … -
Replied To a Post in Detect interception/modification of HTTPS request by 2st party (user)
Before getting to security you lost me in a part and I am asking just to get it. Forget other security techniques , forget even HTTPS , you wrote that … -
Replied To a Post in Formatting XML response from php curl with conditional statement.
Neither what you are sending nor what you are getting are valid XMLs. Althowgh there is a probability that the request is meant to be XML like and not XML … -
Replied To a Post in Adding Default value of Input Form and New Input from Form.
Hello vivosmith , your code would be a happy place for anyone (no skills needed) that would like to harm your server. Take a look at https://www.daniweb.com/programming/web-development/tutorials/499320/common-issues-with-mysql-and-php . Secondly your … -
Gave Reputation to milil in How to make autoresponder with PHP?
Can you provide us some example of code you already made? You should create a "job" that will run let say every 5 mintues. Go over all emails from your … -
Replied To a Post in How to make autoresponder with PHP?
Why wouldn't it be possible? The first way that comes in my mind is to create a cron job that it will run lets say each minute that logs into … -
Replied To a Post in how to call js method from button click
First , - use any browser built in tool (like Chrome developer tools) or a plug in. If you had done it you would have get “Uncaught TypeError: circuit.run is …
The End.