Top Experts [learn more]Top 4-10

9743 K

2458 K

1525 K
4. tcmeyers
5. kbata
6. Martie
7. Hammerton
8. rrenfrow
9. bneeman
10. plegler
Welcome, Guest. Please login or register.
April 20, 2014, 02:55:08 PM

Login with username, password and session length
Search:     Advanced search
FMWebschool releases more educational FMStudio webinars - check them out here:
27742 Posts in 6134 Topics by 1525 Members
Latest Member: alkyred
* Home Help Search Calendar Login Register
|-+  Recent Posts
Pages: [1] 2 3 ... 10

 on: April 10, 2014, 07:29:40 AM 
Started by jruzinok - Last post by jruzinok

There was a pear.php file in the site... Not the true PEAR.php... but the following:
require_once 'System.php';

This would be why PEAR was not really enabled on this site.... Crazy...


 on: April 10, 2014, 06:41:55 AM 
Started by jruzinok - Last post by jruzinok

Thank you for the tip with the xdebug. I turned it off but I am still getting:
Count: 1</body>

 on: April 09, 2014, 07:04:53 PM 
Started by jruzinok - Last post by webko
Someone installed xdebug on the server?

I probably wouldn't use that on a production server, although it is quite useful on dev machines...

Check your PHP.ini:


And comment it out

 on: April 09, 2014, 05:18:47 PM 
Started by jruzinok - Last post by jruzinok

What is random with this is that the error showed up 2 months after development. Nothing has been changed. But I am seeing bool (true) on all my pages. 

So I just tried the following code:

$fm = new FileMaker(); 

$fm->setProperty('database''Database Name'); 




$findCommand $fm->newFindCommand('layout_name'); 


$result $findCommand->execute(); 

$records $result->getRecords();
$count = count($records);

"Count: "$count;

And here is the HTML result:
<pre class="xdebug-var-dump" dir="ltr"><small>boolean</small> <font color="#75507b">true</font>
</pre>Count: 1

Any ideas?


 on: April 05, 2014, 06:27:28 PM 
Started by carmean - Last post by carmean
I am guessing the code that did not work was created with the Filemaker 10 server PHP Site Assistant.

 on: March 31, 2014, 08:29:37 PM 
Started by MBUST - Last post by webko
It should be noted that the connection file is essentially unreadable from outside - there are no echo commands to put anything to screen.

And if someone has enough access to directly read the connection file on the server, I'd suggest you have much larger security issues in play....

 on: March 31, 2014, 08:26:28 PM 
Started by xtrim - Last post by webko
Would probably help if I didn't add an extra quote mark in the middle of everything - see where it turned red and stayed that way?

Let's try:

0//Set a counter
$n 3//Number of columns - this can be changed to any value from 2 upwards
foreach(fmsValueListItems($employee,'Details','ProgramAccessList',"") as $list_item_key=>$list_item) {
//We are now inside the loop - check if it's left, right or middle
if (fmod ($i,$n) == 0) {
//Left column - we need to start a row 
$trstart "<tr>"
$trend "";
} elseif (fmod ($i,$n) = $n 1) {
//Right column - we need to end the row
$trstart "";
} else {
//must be a middle column, no start or end row tags required
$trstart "";
if( fmsCompareSet($list_item$print_row->getField('ProgramAccess')) ) {
echo $trstart//Will ony have a value for left col
echo "<td><input name="ProgramAccess[{$list_item_key}]" type=\"checkbox\" value=\"{$list_item}\" checked=\"checked\">{$list_item}</td>";
echo $trend;
} else {
echo $trstart;
echo "<td><input name=\"ProgramAccess[{$list_item_key}]\" type=\"checkbox\" value=\"{$list_item}\">{$list_item}</td>";
echo $trend//Will only have a value for right col
$i++; //Increment the counter


 on: March 27, 2014, 04:20:48 PM 
Started by cooldude - Last post by thebugnut
I just checked with my new host. I can't downgrade my php. I don't have access to my php.iin file.

Any other ideas?

 on: March 27, 2014, 03:54:24 PM 
Started by cooldude - Last post by thebugnut
I have this same error. What exactly do we need to tweak in the PHP.iin file?

What if we don't have access to that file?

 on: March 19, 2014, 05:09:13 AM 
Started by MBUST - Last post by MBUST
I hope that what I'm planning to do is safe; it seems to be what Webko does. I realize that if someone gets a hold of the page, they will get the password (which points to the need to have a secure webserver with a good password), but if they do, the password is not an admin password, or better, yet, the db has that removed.

Thanks. Max

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!