-
Began Watching Can't echo and update
Am trying to create edit-form but there are some problem which I cant determine by my self. I cant echo inserted record and updating. <?php include("db_con.php"); $edit_reg_no = filter_input(INPUT_GET, 'edit_customer_detail', … -
Replied To a Post in How to find hosting service provider of website?
Not from godaddy. She cannot even log in into a backend panel to manage contents? Anyway the source code seems generated by ligthcms: * https://www.lightcms.com/ * template: https://html5up.net/helios In case … -
Replied To a Post in How to find hosting service provider of website?
Yes, it's the same on tcpiputils: https://www.tcpiputils.com/browse/domain/stacychristine.com And if you see the result of the WHOIS you can see who is the real registrant: Registrant Name: CCA, Lt webPHOTOMaster, Betcha … -
Replied To a Post in How to find hosting service provider of website?
It seems godaddy was used to register and manage the DNS. Enter into the domain management page and see where it points. From those IPs you should be able to … -
Began Watching How to find hosting service provider of website?
A new client, as you know client have sometime zero knowledge related to web development. Client said to insert a link in her website. But when I asked her for … -
Gave Reputation to UI in Regex To Extract 2nd Level Domains From All TLDs ?
Diafol cries: "We do all the hard work, you sit back and tell us after a couple of days not to bother since you got an answer you like the … -
Replied To a Post in PDO read BLOB files
I see why, to be honest I was [reading the documentation for PDO](http://php.net/manual/en/pdo.lobs.php) and saw why you were using fpassthru(): > PDO::PARAM_LOB tells PDO to map the data as a … -
Replied To a Post in PDO read BLOB files
Great, now change `fpassthru($lob);` to `echo $lob;` as fpassthru() is used with file pointers. -
Replied To a Post in PDO read BLOB files
Hi, in your view.php code, you have this query: SELECT * FROM jobselection_data_old WHERE id=:id Then you bind the first column returned by the wildcard `*` to the variable `$lob`, … -
Began Watching PDO read BLOB files
I'm trying to find a way to output whatever BLOB files are inserted into a silly database. In my code when I query the CV column I get all sorts … -
Replied To a Post in Input missed in $_post
With the `disabled` attribute those inputs are not submitted by the browser, you can use `readonly` instead. -
Began Watching Input missed in $_post
Sir I have these codes <body onload="code.focus()"> <!-------------------------------------> <form name="form" action="<?php $_PHP_SELF;?>" method="post"> <!-------------------------------------> <div id="partybox"> <!--f_date1--> <label for="datepicker-13"> Date </label> <span style="border:1px solid #FFF;border-radius:3px;width:95px;height:20px;"> <input style="background-color:#FFC;border:1px solid #9C6;text-align:center;" type="text" … -
Replied To a Post in Problem with simple PDO insert
You're welcome ;) This part is not correct: $name=array(); $email=array(); $role=array(); $rows = []; $rows[] = [ 'user_id' => $user_id, 'name' => $_POST['name'], 'email' => $_POST['email'], 'role' => $_POST['role'] ]; … -
Replied To a Post in cURL Experiments
Just a note! > I was just curious to learn why anyone would bother using the long version if the short version can do the same job. file_get_contents() using a … -
Began Watching cURL Experiments
Ladies & Gentlemen! Oops! Let me try again: Gentle Ladies & Hard Men (after-all, it's the ladies who are gentle compared to men and men hard, rough 7 tough compared … -
Replied To a Post in Problem with simple PDO insert
$name is defined? If not the loop will not run: while($i < count($name)) { $stmt->execute([':user_id' => $user_id, ':name' => $name[$i], ':email' => $email[$i], ':role' => $role[$i]]); $i++; } Also, you … -
Replied To a Post in Problem with simple PDO insert
There is a missing `$` in `$email[$i]` and `$role[$i]`. Then you are passing three arguments to the execute() method: one array and then email and role with a syntax that … -
Began Watching Unable to pass data in variables between functions
Hi, I am fairly new to Python. I am familiar with the concept to pass data accross functions. In theory, def c(): r = raw_input("Ask Something? ") .. return r … -
Replied To a Post in Problem with simple PDO insert
Hi, what is the size of the array? There are few errors: 1. a syntax error: you are missing a comma between user_id and dateTime; 2. dateTime, it does not … -
Began Watching Problem with simple PDO insert
Hello and thank you in advance for any help that can be provided. I am fairly new to PDO and am starting my first development project using PDO. I am … -
Replied To a Post in [ASK] Cannot Upload to FTP
How is this script working? Through command line or through web interface? Do you have access and error logs of the web server (in case of web interface) and of … -
Began Watching [ASK] Cannot Upload to FTP
In my php code, I make for user for upload their files, to ftp. For several months, its work. No problem at all. But recently they said cannot upload their … -
Replied To a Post in replace part of a string in database which is unknown..
MySQL suggests LONGBLOB or LONGTEXT, however with 5.7.8 there is also the JSON data type: * https://dev.mysql.com/doc/refman/5.7/en/json.html I have used the blob type to save small JSON objects, it works … -
Replied To a Post in replace part of a string in database which is unknown..
If you can use the latest version of MySQL, then you can use JSON_REPLACE: JSON_REPLACE(data, '$.Employee_Number', '544') See: https://dev.mysql.com/doc/refman/5.7/en/json-modification-functions.html -
Began Watching replace part of a string in database which is unknown..
Hi not sure if this is possible so wanted some guidance.. I have a database with 3 columns.. id, data,timestamp id is auto increment and data is json array and … -
Began Watching Parallel Data Entry
Hello all, I am stuck at some logic and can't able to find stuffs for my research.I have a web based data Entry app in php.Now there will be atleast … -
Replied To a Post in Where To Precede The Tracking Url ?
> All my other scripts (mysqli and procedural) worked like this: > if($sql) > So, why didn't it tonight ? > Why it only worked with oop style ? > … -
Replied To a Post in Where To Precede The Tracking Url ?
> I, even tried taking out the single quotes from the VALUES in the INSERT command. Like so: > $sql = "INSERT INTO users(browsings) VALUES($url)"; Single quotes are necessary as … -
Replied To a Post in Where To Precede The Tracking Url ?
> Those sites you are viewing do not host your http://localhost:80/proxy/test.php? links nor precede it but your proxy itself does it. > Now, as you can see the proxy is … -
Replied To a Post in Error: Use of undefined constant RETURNTRANSFER
**@UI** in addition to Andris, the first 16 lines are useless, because it makes a request to google and it does not use it. Line 21 (`$url`) is not used … -
Replied To a Post in Where To Precede The Tracking Url ?
Hi, in practice you want to log the `$url` variable. Between line 202 and 246 the scripts initialize the variable, verifies if the url format is valid and finally it … -
Began Watching Where To Precede The Tracking Url ?
Howdy Pros! If I was going to just track which urls from my own domain get clicked then I know how to do it. On everyone of my links, I'll … -
Replied To a Post in Error: Use of undefined constant RETURNTRANSFER
Hi, read the notice and the warning: Notice: Use of undefined constant RETURNTRANSFER - assumed 'RETURNTRANSFER' in C:\xampp\htdocs\test\curl.php on line 27 Warning: curl_setopt() expects parameter 2 to be integer, string … -
Began Watching Error: Use of undefined constant RETURNTRANSFER
Hi, Does anyone have a clue why I get the following error in my further following code ? Notice: Use of undefined constant RETURNTRANSFER - assumed 'RETURNTRANSFER' in C:\xampp\htdocs\test\curl.php on … -
Began Watching Probability and Coin Tossing
Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly … -
Gave Reputation to AssertNull in “Memo” btn proposal
> jkon, essentially what you're asking for seems to me like a combination of reputation and post comments. For example, https://www.daniweb.com/members/479282/jkon/comments ... > How is that different than what we … -
Replied To a Post in Php function error
**@sophia_4** You're welcome, I just realized you are usign CodeIgniter here, then you can use the **Encryption** library rather than the *Encrypt* library which is deprecated in the framework, see: … -
Replied To a Post in Sinatra - Web Applications using Ruby
Hi, you have to define an HTML form, for some examples see: * https://learnrubythehardway.org/book/ex51.html * https://github.com/sinatra/sinatra/blob/master/examples/chat.rb -
Began Watching Sinatra - Web Applications using Ruby
I understand how to generate objects from the database, using Sinatra with formatting, and I understand from tutorials how to use POST to send information back, but I don't understand … -
Gave Reputation to pty in Shortcuts to SSH
Here's how I'd do it (and have done it for years). It's the canonical, accepted answer for Linux too. The SSH program has support for 'shortcuts' built in, you simply … -
Gave Reputation to rproffitt in Can Php Force Viral LIKES/SHARES Or LOCK/UNLOCK Pages, Contents, Images, et
I have a bad feeling about this. Robots, code forcing likes? Bad robot, sit, stay. PS. Adding with edit. This is a bad idea in my opinion since it sounds … -
Replied To a Post in Mailer Error: Could not instantiate mail function.
Almost done. You need to set the TO header, in this case it can be the SMTP username or another email address of yours: $mail->AddAddress($row['email']); Line 17 will probably need … -
Began Watching mounting android micro sd
I'm having trouble mounting my android's micro sd card. When I run lsusb I see the entry for the card `lsusb` - > `Bus 001 Device 006: ID 0bda:0158 Realtek … -
Replied To a Post in inner join multiple tables to get information
Hi, look at the WHERE clause, you have: WHERE (qbcd_user_email.address = '.patrick.kershner@gmail.com.') So is going to search an email address with a leading and trailing dot, due to: WHERE (qbcd_user_email.address … -
Began Watching inner join multiple tables to get information
I am using OS Ticket and I have another site for Members Area,I am trying to join the 3 tables that have the information that corresponds to the customer by … -
Replied To a Post in Submit 2 forms with single submit button
Hi, you cannot do this with plain HTML. You need javascript: you could use AJAX to submit the two forms, but you are going to generate two separated requests, with … -
Began Watching Submit 2 forms with single submit button
Sir I have these codes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> .box{ margin:0 auto; width:30%; border:2px solid #CCC; height:auto; padding:10px; margin-top:50px; } </style> … -
Replied To a Post in Shortcuts to SSH
No, the password is not anymore involved. You could change the password for the daniweb@1.2.3.4 account and still be able to access without altering the key, because SSH is going … -
Replied To a Post in Shortcuts to SSH
The **ssh-keygen** command generates keys for ssh, these are stored into your profile, under the `~/.ssh/` directory. Through **scp** you are copying your local `~/.ssh/*.pub` files (the public keys) into … -
Began Watching Shortcuts to SSH
I just got a Macbook and I've always had a PC when it comes to doing worky stuff. (For many years I had an iMac at home, Dell at work, …
The End.