Jump to content
Server Maintenance This Week. ×

PHP redirect to FMP:// links with a script parameter


This topic is 3935 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to send clickable links which trigger a script in FileMaker databases via email to PC Outlook users via plain text emails (generated by a FileMaker database).

 

The users are on locked-down workstations in a hospital environment and can not add file protocol associations to Outlook's settings.

Since this configuration of Outlook *does* convert URLs that start with "http" into clickable links,
I was thinking that I could get around the Outlook limitation by sending an http: link that looks something the URL in the attachment   (i had trouble inserting the URL via <code> into this post (it kept coming up blank), so, I've attached an image of it.


With the code of "t.php" being:

<?php

$url=$_GET['var'];

?>
<html>
    <head>
        <title>One second please... :)</title>
        <meta http-equiv="refresh" content="10;URL='<?php echo $url; ?>'" />
    </head>
    <body>
        <p><a href="<?php echo $url; ?>">Redirecting to <?php echo $url; ?></a></p>
    </body>
</html>




 however, the FileMaker script parameter  (&param=abc123) is getting dropped.

Do you know how I might be able to redirect to the entire URL with the parameter in tact???

I'm not married to PHP to pull this off..   any thoughts?

 

Many thanks in advance.
 

post-62625-0-26191100-1374012228_thumb.p

Link to comment
Share on other sites

Not sure about your situation but it often works to use a var in a pathname rather than a param. Not sure why one works and then other doesn't. I think there's examples in the Help and FTS 12 has examples of using var in a pathname.

Link to comment
Share on other sites

This topic is 3935 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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