-
Replied To a Post in Facebook Graph API: How to get AccessToken in PHP SDK v5
The error message suggests to enable the web OAuth login, so go to your *Facebook App dashboard > Settings > Advanced*, scroll to **Client OAuth Settings** and set **Web OAuth … -
Replied To a Post in Multiple datepicker
Also move the `<script>` block inside the body, place it just before the closing tag `</body>`. And the `<script>` cannot use self closing tag, add `</script>` to those loaded in … -
Gave Reputation to JJenZz in jquery function to populate textarea when a specific dropdown item is selec
If you change the select values to simple identifiers and then use them as object keys, this would be much easier. For example: <select id="delivery-when"> <option value="today">At some point today</option> … -
Replied To a Post in SQL Like condition
It's not only the missing special characters, depending on the used collation the comparison can become case-sensitive: * https://dev.mysql.com/doc/refman/5.6/en/case-sensitivity.html The easy solution is to add an url slug column to … -
Replied To a Post in SQL Like condition
Ok, if you run the query in a MySQL client as [command line](http://dev.mysql.com/doc/refman/5.6/en/mysql.html) or PHPMyAdmin do you get results? If the answer is yes, then are you sure that `$_GET['pagination']` … -
Replied To a Post in Mail API not working in Yii
Ok, what's your current code? Consider that you should change the code block that returns the results by removing the `echo` and the `die` constructs and by replacing them with … -
Replied To a Post in Mail API not working in Yii
> Do I need to configure something in xampp when I'm still using PHPMailer No, the error seems related to the SMTP server. As long SMTP server, port number and … -
Replied To a Post in SQL Like condition
Hi, try to change the LIKE condition to: LIKE '".$item."%' By adding the `%` wildcard you can match similar text: * https://dev.mysql.com/doc/refman/5.6/en/string-comparison-functions.html#operator_like If it still does not work test your … -
Replied To a Post in Mail API not working in Yii
Sorry, I forgot to set the boolean check in: if($result = $this->sendMail($to, $subject, $body, $headers)) { Change it to: if(($result = $this->sendMail($to, $subject, $body, $headers)) === TRUE) { And it … -
Replied To a Post in Mail API not working in Yii
Hi! Add to the **sendMail()** method: $mail->SMTPDebug = 2; # switch to 3 or 4 to increase verbosity Then change the return of the **sendMail()** method to: if( ! $mail->Send()) … -
Replied To a Post in Multiple datepicker
The browser javascript console does not return any error? Can you show your code? -
Replied To a Post in jquery function to populate textarea when a specific dropdown item is selec
Hi, you could use an **each** loop: $('#updated_status').on('change', function () { var e = $(this).val(); $.each(feedit, function (key, val) { if (e == val.value) { $('#comments').val(val.areatext); } }); }); Live … -
Replied To a Post in pending cash out
Hi! Dani the reward system is showing the wrong information:  The available points should be around **~1100** not **3363**. Last cash out information instead is correct. -
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 Multiple datepicker
The jsfiddle example makes use of an external resource along with jQuery: * http://multidatespickr.sourceforge.net/ By adding this it should work. -
Replied To a Post in Links
Hmm, I'm not sure I've understood your request. Let's try: you have to define the image in the destination page, which can be done with a static or a dinamic … -
Replied To a Post in Split Session values
Depends on the structure of the array and the data type, you could use `implode()` to flat the array to a string: $a = ['a' => 123, 'b', TRUE, 'c', … -
Replied To a Post in php
Can you show the exact error message and code number? -
Replied To a Post in Please help me understand why my login is not working
> Haven't used CI in years so can't remember if array variables passed to a view are extracted or not. You're passing $data['error'] and picking it up as $error in … -
Replied To a Post in Links
Hi, use the **href** attribute to point the browser to the destination page: <a href="another_page.html">Link to another page</a> Some additional information: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a * https://developers.whatwg.org/links.html#links * http://www.w3.org/TR/html5/links.html Is this that … -
Replied To a Post in How to unlink multiple files in codeigniter?
Assuming that **$path** is relative to the CodeIgniter main **index.php** file, then change path to: $path = FCPATH . 'uploads/path/'; The constant `FCPATH` is defined in the index.php file. Then … -
Replied To a Post in Facebook Graph API, How to get an active access token?
Is this the code of the `http://localhost:8000/feedreader/fbindex.php` script? The redirect url MUST be the script that will receive the authorization code appended to the link, for example: http://localhost:8000/feedreader/fbindex.php?code=AUTHORIZATION_CODE The value … -
Replied To a Post in curl options - NTLM dropping xml payload
Hi, Try by setting two separated cURL requests that share the same connection. There is a [comment in PHP docs](http://php.net/manual/en/function.curl-setopt.php#114571) that can be helpful: > NTLM authorization is connect-based, not … -
Replied To a Post in Facebook Graph API, How to get an active access token?
By using `$session->getToken()` you get the access token. For example when you perform the login request you use a script like this: <?php session_start(); require_once "credentials.php"; require_once "autoload.php"; use Facebook\FacebookSession; … -
Replied To a Post in How to prevent others from seeing contents of sql file
In addition: maybe you could use cipher.exe, read here: * https://technet.microsoft.com/en-us/library/bb490878.aspx -
Began Watching How to prevent others from seeing contents of sql file
Hi all! I have developed my application in VB.NET that uses a mysql database. From my application, I can make mysql backups and restore them. When i take a backup, … -
Replied To a Post in Facebook Graph API, get user profile info
It happens if you browse to another page and do not save the access token you got from the login request. If you're not using the Javascript SDK along with … -
Stopped Watching Shell Script to Generate Automatic ticket/Email
I have a requirement to generate an auto ticket/email when it's time for a scheduled task to be done and it should repeat again when it's time for performing the … -
Replied To a Post in Facebook Graph API, get user profile info
Ok, go on *Facebook > My Apps > happ > Settings* click on **Add Platform**, choose **Website** and set Site URL to: http://localhost/ In case you're using a port different … -
Replied To a Post in Facebook Graph API, get user profile info
What about App settings? When testing in localhost you don't have to define a domain. If you do so, the login process will fail. A part that, when you click … -
Replied To a Post in Download (a lot) of images from url
It could be a timeout from remote. The default value for timeouts is defined in php.ini file, but you could create a stream context to test the download: $options["http"] = … -
Replied To a Post in Download (a lot) of images from url
So what happens, in your code, when you switch between the xml files? Can you show the code? -
Replied To a Post in Facebook Graph API, get user profile info
Your code works fine for me with my app settings, try to add `error_reporting(-1);` to the top of your script and see if it returns any error, warning or notice. -
Replied To a Post in Facebook Graph API, get user profile info
Add `echo $ex->getMessage();` to the catch statement: catch(Exception $ex) { echo $ex->getMessage(); } If something is wrong you should get some information that will help you to debug. -
Began Watching Shell Script to Generate Automatic ticket/Email
I have a requirement to generate an auto ticket/email when it's time for a scheduled task to be done and it should repeat again when it's time for performing the … -
Replied To a Post in finding all files execpt two of them
Hi, try: find /home/scott/xyz -name "*.log" ! \( -name "access.log" -o -name "server1.log" \) -
Replied To a Post in Trouble converting from internal to external CSS
Also, have you checked if the file is loading through the browser console? On Google Chrome press `CTRL + SHIFT + J` then go to the Network tab and reload … -
Replied To a Post in Trouble converting from internal to external CSS
Try to add the (root) slash to the link: <link rel="stylesheet" type="text/css" href="/resources/css/docTech25Banner.css" /> Otherwise the link will be relative to the current path, if you are in `/contact/`, for … -
Began Watching Multiplication Table with User Input
I need to create a MULTIPLICATION TABLE with a Start Number and End Number and How many times it should be multiplied. Any tips for the looping? Thank you! -
Gave Reputation to lps in Contact Form
Probably the php is having error in the line `$subject = @trim(stripslashes($_POST['subject'])); ` where your form is not having the post for 'subject' area. -
Gave Reputation to lps in Contact Form
Probably the php is having error in the line `$subject = @trim(stripslashes($_POST['subject'])); ` where your form is not having the post for 'subject' area. -
Replied To a Post in Contact Form
**@jaiuriyal** Which is the value of `$email_from`? A GMail account? The **From** header MUST be an email address that you can authenticate against an SMTP server. If using a free … -
Replied To a Post in Contact Form
Hi, read this thread: * https://www.daniweb.com/web-development/php/threads/497313/semding-mail-using-php-mail- It may help you. -
Replied To a Post in Display unique and more than on values using comma in a single row
Hi, try `group_concat()` with **group by**: SELECT group_concat(Description) FROM tablename GROUP BY Section; -
Replied To a Post in How to retain value file upload input in codeigniter
**@philjen** Hi, OP asks if he can use `set_value()` to return the uploaded file path when going back to the form due, for example, to the validation process. The function … -
Replied To a Post in Syntax error
This is caused by the comment between the short tag and the assignment operator `=`: <?/*hi*/='hello';?> which should look like this: <?='hello';?> This is the same of writing: <?php echo … -
Replied To a Post in Syntax error
Yup, change the value of the `LANGUAGE_CODE` constant, this is probably set in the config file included in the top of the script. To verify if English is supported just … -
Replied To a Post in Syntax error
Hi, change **TYPE** with **ENGINE** and it should work. **TYPE** has been removed from current syntax: https://bugs.mysql.com/bug.php?id=17501 -
Replied To a Post in semding mail using php mail().
Hi, at basic you should include the headers to define **From** and **Reply-To**, check example 2 of the documentation: * http://php.net/manual/en/function.mail.php#example-3788 Where **From** is one of your emails and **Reply-To** … -
Replied To a Post in Making queries with external link
Hi, the best solution would be for example1.com to serve a page where all price changes are published, so that example2.com needs to query only one time and not X …
The End.