Is there a php transfer script?

Has anyone written or stumbled uppon a PHP transfer script they can share?
Thanks

Well, I have found this.  I am having trouble understanding how to impliment it.  Does anyone have any helpful suggestions?
http://omega1.uww.edu/itunesu/

Similar Messages

  • Transfer Script

    I am trying to restrict access to a course page by password protecting it. I have went into the edit course page and added in custom permission added download to USHistory@urn:mace:..... Ok now i tried to go into the transfer script and add the following credential;
    String[] credentialsArray = { USHistoryCredential };
    String displayName = "USHistory";
    String emailAddress = "[email protected]";
    String username = "USHistory";
    String userIdentifier = "password";
    What am I doing wrong cause this isn't working.
    Thanks

    Hmm ... lemme see if I can explain. I'm not sure I'm going to do your question justice ... but I'll try.
    The first thing to know is this: Apple does not hold any userid/password info for an iTunes U site ... with one, very very specific, exception. But that exception does not come into play for you in this instance. The basic rule of thumb is that Apple does not know any of your users ... Apple only deals with credentials.
    In iTunes U, what you do is authenticate your users your own way (whatever that is ... Banner, Active Directory, LDAP with an MD5 hashed password store, Kerberos). Your authentication process basically gives a yes/no answer ... "such-and-such user is valid at our school" or "such-and-such user is not part of our school". If you get a "yes" response from your authentication system, you generate a set of credentials for your user and pass them to Apple. Based on the credentials you assign to your user, Apple grants him/her access to specific courses and iTunes U tracks.
    As I am fond of saying, an iTunes U credential is like a high school hall pass. The hall pass itself is a piece of plastic or paper or cardboard ... it could be laminated ... but it only says one thing, "Let the bearer of this pass go to the lunchroom," or, "Let the bearer of this pass go to the bathroom," or, "Let the bearer of this pass go to the principal's office" ... like that. If a teacher stops a student in the hallway, he/she might ask, "Can I see your hall pass?" The teacher will not necessarily know who the student is ... all he/she needs to know is that the student has a valid hall pass. In fact, the beauty of the hall pass system is that no teacher need know the name of any particular student ... all that matters is that someone the teacher trusts gave the student a valid hall pass. iTunes U works the same way ... Apple "trusts" you to validate your users and assign them the right set of hall passes. That trust is established with your shared secret ... only you and Apple know what it is. But when Apple sees your users, it only sees credentials ... the hall passes ... it doesn't know your users' names, passwords, usernames, etc.
    So you might be asking, "Hey Rich, you say that Apple doesn't care about my users, so why does the example transfer script have 'username' in it, what's up with that?" Well, the answer is that you can, if you like, tell Apple to record identity information about your users and pass it back to you later in site usage logs ... but you do not have to pass identity information at all ... you can leave "username", "e-mail", "name" ... you can leave all that stuff blank and iTunes U would still work. However, when Apple sends you your site usage logs, all you'll see is that some "visitor" downloaded a certain track at a certain time. If you want to know who that was, you have to tell Apple to record that for you by sending a username along with a credential set. But Apple does not "see" your usernames/e-mail addresses/whatnot ... all Apple cares about is that credential set. Apple merely records user info to send back to you "as is". If you send bogus user info, for example, Apple would dutifully record it in logs and send it back to you the way you sent it. But get a credential wrong, and iTunes U will not work.
    So display name, username, user identifier, and e-mail address are not used by Apple at all in iTunes U. They are just recorded and sent back to you "as is" in usage logs -- they are just means for you to figure who's who when looking at logs. Apple does not encrypt them ... they are sent in the clear. For that reason, I would strongly urge you to not to send password info in that user identifier string.
    To restrict access to something in iTunes U, a credential is only half the story ... in iTunes U, there is something called a "permission". A permission is the combination of a credential and an access level. For example, a permission might look like this:
    Student@urn:mace:itunesu.com:sites:myu.edu DOWNLOAD
    or:
    Administrator@urn:mace:itunesu.com:sites:my.edu EDIT
    When you create a permission in iTunes U, you're saying that if someone comes to a "place" in your site, and he/she bears a certain credential ("Student" or "Administrator"), that he/she should have a certain access level ("can browse and download content" or "can edit this page") for that "place". Notice how usernames/passwords aren't a part of this scheme ... if you bear the "Student" credential, you can "DOWNLOAD" whereas if you bear the "Administrator" credential, you can "EDIT". Apple does not need to know who's who ... you've already authenticated your people and told Apple about the the creds/access that should be granted. Apple trusts you because you signed the user's request with the shared secret that only you and Apple know.
    Make sense?

  • I-Tunes Transfer Script - Duncan Bernhardt

    I'm not sure if this is the correct location for this, but i noticed that some other site admins are getting help directly from Duncan Bernhardt, so i'll give it a go.
    I'm trying to do the initial setup for our I-tunes account (the address is https://deimos.apple.com/WebObjects/Core.woa/Browse/und.edu), and I keep getting messages saying the page has been opened in i-tunes, but then there's a error page, and it looks like I-tunes is looking for the transfer script at
    https://www.und.edu/cgi-bin/itunesu?destination=und.edu
    Is this correct? This is the location where the transfer script should be located?
    Kevin Crawford
    University of North Dakota

    The transfer script just needs to be hosted some where that you can access it, but preferably it would be hosted in a secure, password protected location as it gives you site administrator level access to your site.
    The script generates an HTTP POST request that is sent to the iTunes U server. The server checks the digital signature of the token to ensure it is valid. If it is valid then iTunes U returns a redirect URL that gives you access to your iTunes U site.
    https://www.und.edu/cgi-bin/itunesu?destination=und.edu is the default login URL for your site. You are redirected to this URL when your authorization fails. You can change this login URL once you have access to your site.

  • Transfer script for public sites

    Hi,
    Is there a way for using a transfer script in public sites ?
    I only want to get the content information using a script.
    Thanks

    We're not including the destination variable in the form post that calls our cgi script. I can't get to the Edit Site Settings window in the original iTunes U store - we use this transfer script to handle the admin access, and it isn't working for that either.  I've been testing a very simple version of this Perl script from a fresh copy of the sample files collection, and with debugging enabled it looks like it is getting everything except for a current time - it tells me that the time is valid, but is "too far in the past" and so it doesn't include the otherwise valid identity and credential values.  I'm checking with our system administrators to verify that our server's time is accurate.  Thanks for the follow-up response.

  • Php / html / script basics

    Hello all
    1) Please tell me how to redirect to a new window from php and html.
    There is php...
    header("location: next_page.php");'
    ... which which redirects in the SAME window and html...
    ...but how do open a NEW browsre window?
    2) My scripting sux!
    Actually it's non existant but I have to incorporate it :S
    Please tell me the simplest way to create 2 tables overlaying each other where each is activated by a mousover or mouse click on a tab?
    Thanks in advance
    Graeme

    My original reply was regarding question number 1.
    As for question 2, it sounds like you want to do something similar to a tab control in a real programming language. I hate to break it to you, but having the two tables loaded at the same time and swapping between them without making a request to the server isn't very easy, either.
    I'm sure there's a way to emulate what it sounds like you want to do, but it would be faster and easier to make two separate pages of content and have the user click a link to travel between them.

  • Is there anyway to transfer my money on my old Apple ID to my new one? please help (:

    so I made a new Apple ID because i forgot my security question on my old Apple ID. but I had just redeemed an iTunes gift card on my old account and it doesn't let me buy music. so is there anyway to transfer my money on my old Apple ID to my new one?? I tried to gift it but it won't let me. please help! (:

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    Contacting Apple is also necessary to get the money moved if it's possible at all, and it's probably better to have them reset the questions.
    (95310)

  • My hard drive crashed and everything on my laptop was lost... is there anyway to transfer the music that I had put onto my phone into the itunes on my computer ?

    My hard drive crashed and everything on my laptop was lost... is there anyway to transfer the music that I had put onto my phone into the itunes on my computer ?

    I have a similar issue. My hard drive crashed, so I had a new one installed and I'm basically starting from scratch on my computer.  My iPhone has a lot of my stuff on it (photos and music in particular).  When I plugged into iTunes I did a "back up" of my phone to the computer....this transferred the photos in my camera roll, and music purchased through iTunes.
    So....I still have a ton of photos (saved in folders, not my camera roll), and music (older stuff not purchased through iTunes) that I want to get to my computer.  I am scared to "sync" my phone in iTunes for the first time.....if I do this, will it make my phone match my computer (effectively erasing the stuff on the phone?).  What I want is for my computer to match my phone (thus transferring the additional photos and music).  Is the third party software the only way??  Does it really work well/is it worth the money?  Thanks very much for the help.

  • HT1848 There is no "transfer purchases" button when I try to do this! My only option is to erase and sync... How do I transfer the music from my iphone without erasing it??

    There is no "transfer purchases" button when I try to do this! My only option is to erase and sync... How do I transfer the music from my iphone without erasing it??

    - You can only sync an iPod to one iTunes library/computer. You can however, manually manage music and videos among different libraries.
    Go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device>Set up Syncing>Sync your device manually and follow the instructions.
    - If y wnat to switch syncing libraries/computer see:
    go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device>Set up Syncing>Sync your device manually and follow the instructions.
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
    If all the synced media like music is in the iTunes library of the second computer it is very easy.

  • Are there different php functions for Oracle 8 and 9?

    Hi!
    Are there different php functions for Oracle 8 and 9?
    Thanks for your answer!

    You can use the oci8* functions for Oracle 8, 9 and 10.
    It is the most recent PHP interface to Oracle, and uses Oracle's most recent
    API.
    The name oci8 comes from the version number of Oracle - version 8 - when
    Oracle introduced a new C API. It succeeded the original OCI and got the
    common name OCI8. The original OCI now has the common name of OCI7.
    -- CJ

  • Is this transfer script business necessary?

    I have been asked by my school ot investigate setting up the iTunes site, but I have no clue and it's way over my head in dealing with scripting languages. Can we set up a site without having to create this transfer script business?

    If you don't have a transfer script how are you going to make your site public? How are you going to add content to your site?
    The transfer script is absolutely necessary. Its the only way to ensure that only the authorized users can edit the content of your site.

  • Java transfer script to iTunesU

    I am working on the transfer script to iTunesU.
    In this example
    http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/CustomizingYouriTune sUSite/chapter_8_section_9.html
    credentials=Instructor@urn:mace:example.edu:courses:fall06:eecs302:02&identity=" Jane Doe"<[email protected]>(jdoe)[528392]&time=1139331600
    Jane Doe has access to
    fall06:eecs302:02 course.
    What credentials will give him also access to
    fall06:eecs250:01
    course?
    He needs to have access to both  fall06:eecs302:02 and fall06:eecs250:01 courses (pages).
    Should it be done in the separate tokens to iTunesU?
    Any help will be greatly appreciated!
    Thanks!

    it is being fixed
    thanks!

  • ASP transfer script

    I'm setting up iTunes U for my institute. I've run the initial login email and currently researching solutions for the transfer script.
    Has anyone come across any ASP solutions for this? Thanks.

    Duncan,
    I've got C# (.NET 2.5) code that I use in Windows Woolamaloo. If people would like, I'd be happy to post the code that creates the iTunes U URL request. ASP would, except for superficial languages differences, be the same. The thing about the Windows CLR is that works with any language, so long as that language can be changed to behave the exact same way as C#.

  • Is there any PHP print_r($_REQUEST) equivalent in Servlet??

    Hi friends,
    Is there any PHP print_r($_REQUEST) equivalent in Servlet??

    The system.out calls will print to the server logs, just read them. It's somewhere in a straightforward named folder in the appserver root folder, like /logs. I thought it were for debugging purposes.
    At least, Servlets are not meant to output HTML. Use JSP for that. It's a view technology providing a template for HTML.
    Replace your servlet's code by:public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOException {
        // Do some preprocessing logic here?
        // Forward request to page.jsp.
        request.getRequestDispatcher("page.jsp").forward(request, response);
    }and create a `page.jsp` which look like this:<!doctype html>
    <html lang="en">
        <head>
            <title>Show post key-value</title>
            <style>
                body { background: #fdf5e6; }
                h1 { text-align: center; }
            </style>
        </head>
        <body>
            <h1>Show post key-value</h1>
            <ul>
                <li><strong>param1</strong>: ${param.param1}</li>
                <li><strong>param2</strong>: ${param.param2}</li>
                <li><strong>param3</strong>: ${param.param3}</li>
            </ul>
        </body>
    </html>Or if you don't know the parameter names beforehand, then make use of [JSTL's c:forEach|http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/c/forEach.html] (to install JSTL, just drop [jstl-1.2.jar|http://download.java.net/maven/1/jstl/jars/jstl-1.2.jar] in /WEB-INF/lib):<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <!doctype html>
    <html lang="en">
        <head>
            <title>Show post key-value</title>
            <style>
                body { background: #fdf5e6; }
                h1 { text-align: center; }
            </style>
        </head>
        <body>
            <h1>Show post key-value</h1>
            <ul>
                <c:forEach items="${param}" var="p">
                    <li><strong>${p.key}</strong>: ${p.value}</li>
                </c:forEach>
            </ul>
        </body>
    </html>That said, please throw away the ancient HTML/CSS/JSP/Servlet tutorials/books you're reading and go get a more recent one. The coding practices you're showing off are discouraged over a decade.

  • Is there any upgrade checking script for PL upgrade

    Dear Experts,
    I know there are Pre-upgrade checking script to validate database integrity before an upgrade from 2005 to 2007.
    However, is there any such similar scripts for an upgrade from 2007 PL12 to PL13? (Inter PL upgrade) or can I use the same script for the same purpose?
    Much Thanks!
    Warmest Regards,
    Chinho

    Hi Gordon,
    Thank you for your reply. Is it true that within inter-patch upgrades, there are no database structure change?
    I asked this question because sometimes I get "DB is inconsistent" error after upgrade, and I don't know why?
    Much Thanks for your Advice thus far!
    Warmest Regards,
    Chinho

  • Is there anyway to transfer individual files from my IMAC to my macbookpro?

    Is there anyway to transfer individual files from my IMAC to my Macbookpro? I used migration assistant, but it doesn't let me select individual files, only the entire HD.

    Get this, it's free & works great:
    http://itunes.apple.com/us/app/dropcopy/id403411542?mt=12

Maybe you are looking for

  • Transferring iCal dates, info, etc from old drive into a new iCal ?

    My G5 died finally and I had to replace it w/a new drive. Apple Genius was able to recover all my old files thank god but I am now having the unfortunate task of trying to get everything back in order. In particular iCal. I see all the dates and stuf

  • MATLAB Support in Photoshop CC

    Hello, Using this page: Downloadable content (plug-ins) I was able to download Photoshop MATLAB Toolbox. I used to work with it in Photoshop CS6 Extended. Yet now, After upgrading to Photoshop CC it doesn't work anymore. Is there a way to enable it i

  • How do I get the score for my own composition on Garage Band?

    I have composed a classical piece using a mic with my acoustic piano. I made a wonderful track as the music poured out of my fingers. But I can't get garage band  to write the track in notation. Click scissors and I get the audio region. No score to

  • Count taking long time for few rows

    Hello, We have table which is 3 mins to count 116K rows. Is there anyway to tune this other than drop and recreate the table? This table is daily used to insert/update and delete data. But on average we keep around 75K rows. Thanks Manohar

  • Load Balancing Of Agent

    Hi All, We have configurd load balancing of Agents in Topology. Parent Agent is X Child Agent is X1,X2,X3 When we are submitting the scenarion to agent X, it is passing the execution to child agents. Now what is happing when any error is comming, sam