Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WebDirect Params to search webdirect from url

Featured Replies

I wonder if anyone has had success with WebDirect_Params: Extending WebDirect: URL Parameters

 

I have got the solution to work with Safari, but for some reason it is not working with Chrome or Firefox. I keep getting this error in those browsers: 

 

Warningfopen(/tmp/E52E6D36-56A2-BF48-9893-F2E27E7CCE4D.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/website/public_html/php/fm_read.php on line 10

Unable to open file!
 
Here is the php file it is referring to:
<?php
 
// check for required parameter, should match the UUID passed in fm write file.
if(isset($_GET['file_uuid']) && strlen($_GET['file_uuid'])>0 ){
    
    $filename_string = filter_var($_GET['file_uuid'], FILTER_SANITIZE_STRING);
    
    $fn = '/tmp/'.$filename_string.'.txt';
 
    $fr = fopen($fn, "r") or die("Unable to open file!");
    echo fread($fr, filesize($fn));
    fclose($fr);
 
    unlink($fn);  // remove the file once read
 
} else {
    
    exit('Error: No file.');
    
}
 
The person who posted the article is not responding to my questions.
 
Any one have any ideas of why it works on one browser, but not the others.
 
Thanks in advance - Sam
 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.