• Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    Replied To a Post in pending cash out

    Great Dani! :)
  • Member Avatar for cereal
    cereal

    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(); …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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. …
  • Member Avatar for cereal
    cereal

    Gave Reputation to blud in Server migration complete

    Spell checker should now be resolved.
  • Member Avatar for cereal
    cereal

    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: …
  • Member Avatar for cereal
    cereal

    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.
  • Member Avatar for cereal
    cereal

    Gave Reputation to blud in Server migration complete

    Spell checker should now be resolved.
  • Member Avatar for cereal
    cereal

    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:![spell.png](/attachments/large/0/ff1c57763395d10bf03c9488d89d1a7c.png "align-center") Strange part is that after inserting the attachment the issue disappeared …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    Gave Reputation to pritaeas in E-books

    https://www.packtpub.com/packt/offers/free-learning Packt is giving away a free e-book on a daily basis. Visit daily and add to your account is all you have to do.
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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); …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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. …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    Replied To a Post in pending cash out

    Ok, no problem. Thanks for your reply!
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    Began Watching Html

    HI What means <%%> in html or css lanaguage ?
  • Member Avatar for cereal
    cereal

    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> …
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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;
  • Member Avatar for cereal
    cereal

    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, …
  • Member Avatar for cereal
    cereal

    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', …
  • Member Avatar for cereal
    cereal

    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, …
  • Member Avatar for cereal
    cereal

    Replied To a Post in Email notification

    Same for me, I just received a notification sent 4 days ago.
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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 /
  • Member Avatar for cereal
    cereal

    Replied To a Post in mysql procedure call with out parameter not working in PHP

    Ok, thanks for the update!
  • Member Avatar for cereal
    cereal

    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 …
  • Member Avatar for cereal
    cereal

    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.