Linking to a different document after a certain date

I hope there is a way to do this.
I have a PDF that I have added to a web page. It is a registration form to be filled out and sent in. The prices on the form reflects both early bird (until April 29) and regular prices.
I have created a second registration form (not yet loaded) which only reflects the regular prices for use after the early bird date has passed. After the early bird time has lapsed, I was going to load the new PDF and change the link so that the second registration form is linked.
I don't want to have them both available at the same time - less chance of someone coming back later and saying I didn't see the form with the early bird pricing.
Is there a way I could set them both up on my site so that the first form is linked to until the end of April 29, and on April 30 the link will automatically bring people to the second form?
THANKS
deb

The effort to do this by creating a dynamic page is just not worth it.
Anyone saying it's too much effort is either lazy or they simply don't know how to build dynamic pages in a simple manner. Furthermore, it's not just about you and your issue; it's about anyone that maybe looking for a solution to the question you have asked: how to display a link based on if a date has passed or not. Not an alternative suggestion, a solution.
It's very easy to create a dynamic link based off date. Of course bregent mentioned that it's not difficult, but there wasn't any mention of how easy it was (nor examples for that matter). Just lots of talk about whether it was worth it or not and an alternate, cumbersome suggestion. Bummer. Here's an example of the dynamic method with included explanation. You can decide whether it's worth the effort or not. I estimate it's less than 5 mins. of work, even for a beginner. Plus you might learn a thing or two about dynamic scripting in the process, which is exciting.
Change the filename of register.html to register.php then use the following code to display link depending on date.
<?php if (date("Y-m-d") < "2011-03-15") { ?>
today is before March 15, 2011 put link to early bird pdf here.
<?php } else { ?>
today is on or after March 15, 2011 put link to regular rate pdf here.
<?php } ?>
You can use 301 redirect with .htaccess on apache server to redirect register.html to register.php if there's many links already established for register.html
You'd need two different pdf files to accomplish your task: ealry_bird.pdf to use before your set date and regular_rate.pdf to use for after your set date.
Then setup a function to remove the early_bird.pdf file from the server after a certain date. It's as easy as defining the variable and applying the function to the area that is congruent with the argument presented. In this case the argument is whether the date has passed or not. If it has then define the variable as the filename then apply the function that deletes the variable (filename) from the server as shown in the example below:
<?php if (date("Y-m-d") < "2011-03-15") { ?>
today is before March 15, 2011 <a href="/images/early_bird.pdf">link to early bird pdf here</a>.
<?php } else {
// declare variable for the early bird pdf file
$pdffile = "/images/early_bird.pdf";
// remove the early bird pdf file from the server
// by using unlink function on the set variable
unlink($pdffile); ?>
today is on or after March 15, 2011 <a href="/images/regular_rate.pdf">link to regular rate pdf here</a>.
<?php } ?>

Similar Messages

  • Report to get total number of users logged in after a certain date

    Hi,
    Is there any report available in SIM which can give us the record of the users who logged into it after a certain date.
    I tried to use Historical User Changes Report but in this report there is an mandotory aatribute 'object Type' which filters the search based on its value. For example if we will give 'a' in the object type then the search result will contain only those users whouse accountID contain the character 'a'.
    But my requirement is to fetch all the logged in users after a certain date. Is there any other report available for the same.
    Thanks.

    Try Today's Activity Report...
    In the Actions select login
    In the Report Timeline there's calendar to select the date

  • I want to block a ertain pricing condition after a certain date, is it poss

    Hi
    i want to block a Certain pricing condition after a certain date, is it possible?..
    Regards
    Tanmoy

    HI
    It is possible to control it in Info record in the conditions details for the condition tyep PB00, similarly if you have any condition reord for PB00 or any other condition in place  of it  in MEK1 then also it can be blocked with the validity period. You can control the conditions with access sequence only in any of these two places.
    Regards

  • All of a sudden (video) files added to my iTunes library after a certain date aren't playable on other devices.

    hello!
    All of a sudden I have a weird issue with playing video-files added to my iTunes library after a specific date.
    This is the situation so far:
    I encode the video for iTunes with the same settings for the last 3 years. I know these vids play on all my devices. AppleTV & iPad. All of a sudden videos added to my library after the 8th of september aren't playable on my AppleTV and iPad. I can play them directly in iTunes and by accessing them directly via the finder and quicktime.
    The following errors occur:
    When I pull the video from iTunes on my AppleTV.. the video simply doesn't play.
    When I pull the video from iTunes on my iPad I get a message that the file can't be found.
    When I push the video from iTunes to the AppleTV using airplay I get a message that there has occured an error while connecting to the AirPlay-device "Apple TV". The necesary file could not be found. In addition when the AppleTV is switched off it doesn't turn on doing this, suggesting that there is something missing on my mac itself.
    All the above errors aren't popping up when I choose a video that has been put in my library before the 9th of september. Then everything works as expected.
    This is what I tried:
    Turning off and on home sharing on all devices including the mac.
    Logging in wiht a different apple ID though using the same ID as before.
    I created a new iTunes library and populated with a video that was added after the 8th of september and one that was added before the 9th of september. Surprisingly the older one played and not the newer one.. while they both used the same encoding settings. The new library was locally on my mac as my original library is on a NAS.
    I encode my videos with Quicktime 7 Pro using the following settings:
    H.264 (current frame rate, key-frames:automatic, re-order frames, automatic bitsize)
    Medium Quality
    Multi-pass
    current resolution (which is always 1280 X 720)
    AAC sound
    44.100 kHz
    128kbps
    I'm using the Mountain lion 10.8.2 and iTunes 10.7 Mountain lion got updated a few days after 19th of september and iTunes i think as well. Both versions were released after this issue seemed to pop up.
    I also have two video-files encoded on the same day with the same settings that dragged into the iTunes library on the 9th of september. One works.. the other doesn't.
    So I wonder if there is somebody out there that can tell me what might have happened here and how I could fix this issue.
    Thank you in advance.

    Hi Seraphiel07.
    I have a very similar issue. Hardware involved:
    Apple MacMini (Mid 2011) - OSX 10.8.2. iTunes 10.7. Home Sharing enabled.
    Apple TV (3rd Generation). Home Sharing (access) enabled.
    Apple MacBook Pro (15" Mid-2009). OSX 10.8.2. iTunes 10.7. Home Sharing enabled.
    Apple iPad 2 (Wifi only). iOS 6
    Apple iPhone 4S. iOS 6
    All connected through:
    Apple Time Capsule 8.0211n (4th Gen)
    I have an iTunes library on the MacBook Pro, shared over "Home Sharing" and another (duplicate content, different library name) iTunes library on my MacMini, which is also accessed through the Apple TV.
    All software is current (as of Sep 26th).
    All movies are iTunes purchases. 80 in total.
    All files are purchased (and home shared) under one account.
    My last two iTunes purchases both HD movies on 09/17/2012 and 09/05/2012 refuse to appear on any device accessing either of the two Libraries over Home Sharing. It should be noted that every other movie (the other 78) all show up and play correctly. I therefore know it is not an issue with connectivity, otherwise I would see zero movies available.
    I have:
    1. Removed all content from each Library and re-added
    2. Upgraded the OS on the MacMini 10.8.2
    3. Tested viewing the two missing movies on other Apple devices and no luck.
    4. Turn home sharing on and off within iTunes and also on each device.
    It would appear to me that the issue is with the files themselves, rather than the devices as different devices and different versions have been tested.
    All comments welcome.

  • Outlook not downloading icloud emails after a certain date,

    I've installed Outlook 2013 and sync'd icloud but not all my emails have downloaded, they seem to stop up to a certain date 3 months ago.  I've uninstalled both several times but again nothing is downloaded after that date.
    Other email accounts in Outlook are unaffected.
    This happens when I ran Win7 and the same now with 8.

    It will not automatically merge, but import as new On My Mac mailboxes.
    If you have backup for both the com.apple.mail.plist file (Home/Library/Preferences) and the Mail folder (Home/Library) then copy the old ones to replace the existing new ones, and launch Mail, and it will return to where it was at the time of the backup. Then it would redownload the more recent messages.
    Drag the existing Mail folder to the Desktop until you confirm all has been recovered.
    Ernie

  • Mail messages after a certain date are not syncing in IMAP

    I use IMAP with Intermedia hosted Exchange (set to allow IMAP with Apple Mail). Everything has worked fine with Mail.app for years. All of a sudden, in the last week, mail in archive folders is not syncing. I receive Inbox mail and see Sent mail, but folders where I store archived messages (Friends, Travel, etc.) do not show any messages after July 10. When I go to the webmail server, I see the messages in the folders where I moved them.
    I have divided large folders into smaller ones, and done a completely clean download of all mail, and the problem persists. My iPod Touch was also having trouble seeing new messages.
    This is a longshot, but the one change on July 10 was that I started using Mail from a different location. Could it have something to do with the Airport base station here or even the cable Internet provider?

    Update: it does not have to do with the Internet provider or local equipment. I tried downloading messages from a different network and the problem persisted.

  • Batch job creating PO's from PR after a certain  date in PR

    Hello,
    We need to create PO from PR based on  certain number of days (4 days )  from the delivery date in PR. That is if delivery date in PR=30.4.14, then the PO should be created on 26.4.14 by the batch job (30.4.14 less 4 days ).
    How to achieve the above !
    regards
    Pamela

    Hello ,
    Please  find  the  links
    PR converted to PO batch job
    Background Batch job for PR & PO

  • Reversing accrual/deferral document after stated reversal date

    Hi All,
    I had an accrual/deferral document posted in Feb, 2006 which was stated for reversal on 15th march, 2006. This reversal was to be done automatically by the system but due to some problem at that time, it didnt get reversed. We couldnt reverse it once the reversal date went by so we posted a GL document (FB50) with opposite line items to negate the effect.
    Now its March, 2007 and we want to knock these two line items from open-item mgmt accounts as it still shows these items as open. If we can reverse the originally posted accrual/deferral document it can be done. But since the posting period for march, 2006 is now close we cant find a way to reverse it.
    Any suggestions on how we can clear these open items?

    Use t code FB02. Enter required parameters and press enter. From the menu slect Extras - Document header. This will take you to next screen. In this screen from the menu select GoTo Document Header. Change the reversal date and save.
    Hope this helps. If useful, please reward points.
    Regards
    Rakesh Pawaskar

  • Iphoto won't display photos after a certain date

    Hi,
    I am having trouble with iPhoto 9.5.1
    I just restored my Mac from a Time Machine back up using Migration Assistant after the internal hard drive stopped working and had to be replaced.  I am now running OSX 10.9.3 on a late 2009 iMac.  When I first reopened iPhoto after the restore, it asked me if I wanted to upgrade my iPhoto library, which I did.  Then it told me it needed to repair permissions, which I did.  Then it asked me to update iPhoto to the latest version, which I did.  Only after that did I notice that when I double click on the thumbnails the photo won't enlarge - I get a grey triangle with an exclamation mark in it instead.  The thumbnails appear okay until I click on them, and the info (date, camera, file size etc) all looks normal.  I have tried repairing permissions again, as well as repairing and rebuilding the database.
    Any other suggestions?
    Thanks,
    Tom

    The connection between the thumbnails and original image files has been lost when restoring from Time Machine. Try to rebuild the restored library using iPhoto Library Manager:
    You can download it here: iPhoto Library Manager ;
    use the "Rebuild" function from the library menu.
    Rebuilding will create a new library and copy most of the items from the old library to the new library. Only books, cards, calendars will be missing.
    See Terence Devlin's post for more details:  Re: iPhoto 9.5.1 - Unable to repair permissions

  • Any way to get a list of projects created before or after a certain date?

    Ladies and Gents,
    Now that libraries can be so easily switched between with Aperture, i'm trying to get a list of my projects that can be moved to an Aperture archive library. I can setup smart albums but that only matches actual photos, not entire libraries.
    My end goal is to simply select the oldest libraries in my current library, export and remove them from my current library, then import them into my archive library.
    Can anyone assist?
    Thanks,
    Ricardo Meleschi

    - Look into File->Relocate Masters and the subfolder dropdown for organizing your file structure.
    If you use referenced masters, you can more easily do what you're mentioning by export libraries out for each year, and have the masters in a folder setup to match.
    < Edited by Host >

  • How can I create a smart bookmark folder that retains every bookmark I've saved after a certain date?

    Essentially I would like to create a smart bookmark folder similar to the default "recent bookmarks". But the entering information into the search bar won't create a date filtering smart bookmark. I couldn't find a way to edit smart bookmarks either. Obviously, I am familiar with smart folders in iTunes and iPhoto and am hoping that smart bookmarks in Firefox would have similar capabilities. Is there something that I have missed? Many thanks in advance.

    Make the criteria: Event Contains XXXXXXX and Faces is unnamed.  That will search only that Event.
    OT

  • Disconnection document status at a certain date

    Hello,
    I need to know the status of a disconnection document at a certain date (actually, to check if the disconnection document had status '21' - disconnection carried out - during a certain period).
    Is there a function or an easy way to find this out? If not, could you suggest me how to do this (check if the disconnection document had status '21' during a certain period)?
    Thank you.

    Hello,
    The following may be of some help for you:
    Transaction SE37:
    Function Module ISU_O_DISCDOC_OPEN in function group ES34.
    Transaction SWO1:
    Object type  DISACTION  Diconnection document activity
    Method --> DisconnactionAction.ExistenceCheck
    Object type  DISCONNECT Disconnection
    Method --> Disconnection.ExistenceCheck
    Regards
    Olivia

  • Infostructure S502 not updated after certain date

    There is an infostructure S502. It is not updated after a certain date.
    It should be updated after saving in C011N.
    This problem seems to have propped up after upgrade to ECC 6.0. Before that it was working fine.

    I have tried a lot but still S502 is not properly updated. Basically the field for date i.e SPTAG is empty. Due to this when we try to select from MCRQ based on dates, no data is selected.
    Is it because of some setting in MC23?

  • Can you export only certain dates or events?

    I use iCal on my laptop to organize my life, but my job wants me to be on Oracle too. So I export my iCal "work" calendar and import it in Oracle. Fine. But then I add something to my calendar, and I want to put it on Oracle too. if I export my "work" calendar again, and import it on Oracle, now I've got one new event and duplicates of every other event I imported the first time.
    Is there a way to export my iCal calendar for only a range of dates? Or only this or that event? The ideal would be to be able to export everything added since the last export, but I don't see anything like that in the options.
    help -- this seems like an obvious and necessary feature, and I'm sure I'm just missing how to do it...

    HI,
    Did you ever determine an answer to this question? I really need to export data after a certain date... (I would also like to publish a calendar, after a certain date-- as no one needs to see the "old" events).
    Stu

  • How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided.

    How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided via the Help menu other than it showing the pull-down menu selection to make.

    No.  I am able to use the other features such as underlining, highlighting, adding rectangles and oval and save those changes.

Maybe you are looking for

  • Problem viewing portrait dps folio article

    I am using InDesign CC to create a dps app. After I downloaded the folio article to my Adobe Content Viewer on my iPad Air, the photo in the portrait is obscured so that only a corner is visible. In landscape, I can see the entire photo. What am I do

  • Reason - multiple stereo rewire to logic song templates anyone?

    Hi, I'm a recent convert to (intel) iMac/Logic Pro/Reason from PC/Cubase/Reason. After a whole weekend of head scratching, manual reading & forum browsing I've finally managed to set up a working environment with reason 3.05 rewired to logic - I have

  • SAPScript dynamic window position by command

    Hello Abapers, I am trying to move up/down a window that contains a graphic by commands because the position needs to be dynamically adjusted. I tried these commands - /:POSITION XORIGIN '5' CM YORIGIN '5'CM But it doesnt work..  Can anyone help? App

  • About ST_GEOMETRY vs SDO_GEOMETRY

    Hi all, I´m workin modeling a database with spatial features to my application, will use Geoserver as GIS Server to expose features over OGC/WMS-WFS functionalities. See in Oracle Spatial documentation interoperability entire ST_GEOMETRY types and SD

  • Removed myself from users group

    Yesterday, I was trying to setup a mail server following this: http://www.howtoforge.com/arch-linux-ma - nd-dovecot and I accidentally removed myself from users group [yasar@yasar-laptop ~]$ id uid=1000(yasar) gid=12(mail) gruplar=12(mail) Now, I am