-
Replied To a Post in <script> tags in editor causing formatting issues
Hi, I think the same happens here: * https://www.daniweb.com/web-development/rss-web-services-and-soap/threads/495356/soap-query-parameter-head-ache-#post2167904 I noted the issue two weeks ago, when posted the code was correctly indented, a part this I saw also few … -
Marked Solved Status for pending cash out
Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was … -
Replied To a Post in pending cash out
Great Dani! :) -
Began Watching How to add radial gradient to color background?
I would like the time of day to control color with the seconds to control gradience like in the pic var clock, hour, min, sec, color; function displayTime(){ clock=new Date(); … -
Revoked Solved Status for pending cash out
Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was … -
Replied To a Post in pending cash out
Ok, Dani I received the cash out, thanks! Now there is a problem, in the reward page, I get: Currently Available for Cash Out 3219 but, since when I pressed … -
Marked Solved Status for pending cash out
Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was … -
Revoked Solved Status for pending cash out
Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was … -
Began Watching No more statics against app scope caching
There is a problem with static variables and functions in how it is used by apps and frameworks in PHP , they are used as global functions or parameters while … -
Gave Reputation to Dani in Server migration complete
> Here's a niggle: previously banned members now not banned and free to do what they will. Don't worry. It's strictly just what the badge says on their member profile. … -
Gave Reputation to blud in Server migration complete
Spell checker should now be resolved. -
Replied To a Post in Server migration complete
Thank you! The spell check seems to work fine now. But there is still a problem, it seems it does not check some wrong words after the attached image. Before: … -
Gave Reputation to Dani in Server migration complete
Yes, I'm aware, but I'm currently waiting on James to get home from dinner in order to fix it. -
Gave Reputation to blud in Server migration complete
Spell checker should now be resolved. -
Replied To a Post in Server migration complete
Hi! Dani there is a problem with the spell checker, it bars all the words. Here's a screenshot: Strange part is that after inserting the attachment the issue disappeared … -
Replied To a Post in Error non-SMTP ACL
Oh, you can create a separated script and included it, just place it on top of the file and check if the request method is POST, and if the submission … -
Replied To a Post in Error non-SMTP ACL
Sorry, I'm not sure I've understood: you mean how to connect the form to the sending script? Through the **action** attribute of the form tag: <form action="contact_page.php" method="POST"> Besides, the … -
Replied To a Post in Error non-SMTP ACL
You're welcome. > where do i find the smtp password ? It's the password that you use to access the defined email account. As I wrote: in a script like … -
Gave Reputation to diafol in PhP form submission to Sql
Have you got a form? Do you have a database schema we can see? Are you using a DB abstraction layer or mysqli/PDO? Do you have any code of your … -
Replied To a Post in Error non-SMTP ACL
Let me try to explain: when you send an email message from your email client (for example Outlook or Mozilla Thunderbird) you connect to an SMTP server, submit password and … -
Replied To a Post in Print Multiple Files using PHP
**@chandrama** At the moment you are not [escaping](http://php.net/manual/en/language.types.string.php) the third backslash in the sequence: `\\server\printer`. So, if the dll is correctly loaded as the pecl package, try: $handle = printer_open("\\\\server\\Brother … -
Began Watching shopping cart
i need help on this ...any suggestion am creating a shopping cart it works okey but when i added another page with different products i dont know how to go … -
Began Watching KVM Subnets Ip
Hi guys! recently i decided add more Ip on my dedicate server, like i don't want to host multiple websites in some IP. But the big deal is my main … -
-
Replied To a Post in Error message in status script
Hi, when the query fails MySQLi will return FALSE, so add [mysqli_error()](http://php.net/manual/en/mysqli.error.php) to get some information about it. I think there is an ambiguous column error, which means the two … -
Replied To a Post in Error non-SMTP ACL
Hi, it seems the same issue you had last month: * https://www.daniweb.com/web-development/php/threads/495015/mail-php-problem The sender email must be authenticated before sending the email. The email to authenticate is the one set … -
Replied To a Post in Replacing exact words
Which PHP version are you using? If below 5.3 then you cannot use anonymous functions, just replace **$patterns** with this: function patterns($value) { return "/\b$value\b/i"; } $patterns = array_map('patterns', $blacklist); … -
Replied To a Post in How can I write a linux bash script that tells me which computer are ON
Hi, did you considered the `fping` command? With the `-g` option you can define a range: fping -c 1 -g 192.168.129.1 192.168.129.20 fping -c 1 -g 192.168.129.0/24 And to get … -
Replied To a Post in Replacing exact words
Hi, have you considered `preg_replace()`? Basic example: <?php $s = 'google googler'; echo preg_replace('/\bgoogle\b/i', 'go*gle', $s); # outputs: go*gle googler With arrays it gets tricky because you have to write … -
Began Watching How can I write a linux bash script that tells me which computer are ON
I have a question is there any possibility for maken a script that you can see if computers are on in your network when you run the script for ex. … -
Replied To a Post in Html
> btw can they use in php ? Yes, if you set the `asp_tags` directive to TRUE, but this will be removed from PHP version 7.*, so it's better to … -
Replied To a Post in pending cash out
@Mike Yes, I'm sure of that too. However, I made my question because from user point of view is not much clear how the reward system works, last month came … -
Marked Solved Status for pending cash out
Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was … -
Replied To a Post in pending cash out
Ok, no problem. Thanks for your reply! -
Stopped Watching I'm developing a new music site, help requested! (You have to check this ou
Hey what's up guys my name is Karim, I'm new to the web developer forums and I love to code websites! Now one of the main reasons I created an … -
Replied To a Post in pagination on xml data
You could use `xpath()` to match only the selected questions: $xpath = $xml->xpath('//main[@select="selected"]'); So you can remove the IF statement: if($main['select'] == "selected") Then count to get the total and … -
Began Watching I'm developing a new music site, help requested! (You have to check this ou
Hey what's up guys my name is Karim, I'm new to the web developer forums and I love to code websites! Now one of the main reasons I created an … -
Began Watching Html
HI What means <%%> in html or css lanaguage ? -
Replied To a Post in Get Random Node in Xml
Hi, you could [count](http://php.net/manual/en/simplexmlelement.count.php) the nodes, create a [range](http://php.net/range) array and then [shuffle](http://php.net/manual/en/function.shuffle.php) the range, finally you return the node, for example: <?php $xml = <<<EOD <?xml version="1.0" encoding="UTF-8"?> <main> … -
Began Watching Insert Multiple Records with PDO Prepared Statement
I've been playing with PDO and got quite a shock, so I thought I'd run this past you all. I love PDO, and I thought that the "prepare once, execute … -
Replied To a Post in hostip display country name
Hi, you could use the **get_json.php** end point to get the data array. For example: $u = 'http://api.hostip.info/get_json.php'; $r = json_decode(file_get_contents($u)); echo $r->country_name; -
Began Watching Get user geolocation automatically and put in hyperlink
Hi all, I have a problem, I need to automatically get the user latitude and longitude, on page load (no user interaction), is there a way? In my PHP script, … -
Replied To a Post in Redirection in PHP is not working Server
No, open the main **index.php** file, in the first lines, depending on the CodeIgniter version in use, you should see (for version 2.*): define('ENVIRONMENT', 'development'); while, for version 3.*: define('ENVIRONMENT', … -
Replied To a Post in Redirection in PHP is not working Server
Ok then what happens to the page? Is it blank? Try to change the `ENVIRONMENT` to **development** that should show the errors, this can be set in the **index.php** page, … -
Replied To a Post in Email notification
Same for me, I just received a notification sent 4 days ago. -
Created pending cash out
Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was … -
Replied To a Post in Redirection in PHP is not working Server
Hi, there are two possible reasons: 1. the url helper is not loaded 2. missing trailing slash in *application/config/config.php* `$config['base_url']`: $config['base_url'] = 'http://domain.tld'; # <- missing final / -
Replied To a Post in mysql procedure call with out parameter not working in PHP
Ok, thanks for the update! -
Began Watching Laravel 5 + CKFinder (Check authentication)
Hi, I just want to share this after I scratching my head for few hours. To integrate Laravel 5 with ckfinder authorization method (So far I only can get the … -
Gave Reputation to pritaeas in Concat is not working in inclause
Yes, it's possible, but I recommend using the first one. This should work I think: SELECT c_id, c_name FROM category WHERE FIND_IN_SET(c_id, (SELECT CONCAT(870,',',854) AS c_id))
The End.