Redirect not linking properly.

I've set up a simple log in form that leads to an off site
FTP area for
this site's clients -- I finally got the code working
properly. After it
was all tested, he decided to change the redirect
address...he removed
the password permissions on the FTP site. However, once I
changed the
redirect address within the php code, it no longer works. It
worked fine
with the *other* address. Any ideas why? I can browse to the
address
just fine, although when I do, it adds "?view=web" to the end
of the url
(without the quotes).
Here's the code (again)
<?php
$error = FALSE;
if (isset($_POST['client_password']) &&
isset($_POST['client_name'])) {
if (($_POST['client_password'] == 'blah') &&
($_POST['client_name']
== 'blahblah')) {
header("Location=
http://idisk.mac.com/companyname-Public");
exit();
else {
$error = "<h2>Incorrect
username/password.<br>Please try
again.</h2>";
?>
Thank you -

Thank you, Micha --
They *could* go there to the url, really ... it's not a
special-secret
kind of thing. It's just for clients to view files that are
too large to
email. They just didn't want a link to go straight to that
site -- so we
did a minor work around.
And yep...I see the difference.
How come it's so easy to see it here, and not when I've been
staring at
it for an hour? :)
Thanks!
Michael Fesser wrote:
> .oO(Virginia Carter)
>
>> I've set up a simple log in form that leads to an
off site FTP area for
>> this site's clients -- I finally got the code
working properly. After it
>> was all tested, he decided to change the redirect
address...he removed
>> the password permissions on the FTP site. However,
once I changed the
>> redirect address within the php code, it no longer
works. It worked fine
>> with the *other* address. Any ideas why? I can
browse to the address
>> just fine, although when I do, it adds "?view=web"
to the end of the url
>> (without the quotes).
>>
>> Here's the code (again)
>>
>> <?php
>>
>> $error = FALSE;
>>
>> if (isset($_POST['client_password']) &&
isset($_POST['client_name'])) {
>> if (($_POST['client_password'] == 'blah') &&
($_POST['client_name']
>> == 'blahblah')) {
>> header("Location=
http://idisk.mac.com/companyname-Public");
>
> header("Location:
http://idisk.mac.com/companyname-Public");
>
> See the difference?
>
> What if the user directly accesses the above URL without
entering any
> password? How does the target site check that the
request is authorized?
>
> Micha

Similar Messages

  • Multi-page pdf not linking properly

    I have a 6-page interactive indd template that I have been using for months without any issues (well, not these at least), but recently it has been not linking multi page pdfs properly. The pdf that I use is always saved from illustrator cs6 and correlates page to page with the indesign file; page 1 in the pdf links with page 1 in the indd and so on... The issue I am having is that almost every other time I link the file up it behaves differently. Sometimes it will link one page of the pdf to all of the pages of the indd while showing that they are linked to different pages, other times it will not show up at all on the pages, but will show that it is linked in the links panel. Sometimes it will only link one of the pages up and leave the other 5 blank or it will link the pages up with some sort of transparency...
    Now, I am not sure if this is a problem with Illustrator or Indesign because of another symptom: Sometimes when I save the file as a pdf it saves as if it is not a multi-page pdf with different content on every page, but rather a multi-page pdf with every page being a zoomed-out view of all of the artboards together but with only some of the content showing (only artboard 3 and 4, only artboard 6 and half of 1) when it is opened in acrobat. Also, sometimes the pdf when viewed in acrobat looks perfect, but when linked it only does a few of the pages in indesign.
    Long story short, this doesn't make any sense...  I know this is hard to follow and I don't understand why or how it is happening because it seems that every time has a different issue.
    I know that you'll probably have questions and I’ll do my best to answer them, but I'm afraid that uploading files for samples won't work because there appears to be nothing wrong with the files themselves... just the links and/or export.
    Win7, CS6 , 12 gigs RAM, i5

    I have been using this method successfully for quite some time with these exact files, only in the last few days has this problem shown up.
    When I originally made the template in indesign, I imported the pdf, showed import options, and linked the pages to the same page number in the pdf. 1 to 1, 2 to 2, etc. My original thought was that this setting had been lost, so deleted the linked pdf and imported it again to try to get the 1 to 1 link. However, that did not change anything and I noticed that the page that shows up by itself in the pdf is almost always page 2, not page 1. If the page-to-page connection had been lost, all of the pages in indesign would be linking to page 1 as is the default behavior for linked pdfs.
    Also, I thought that the save issue would be on the illustrator side too, so I tried resaving it but that didn't work either. The only way that I can get the file to work is if I remake it completely and save over the old file.
    Now, I know that you're most likely thinking that this is an illustrator issue, but I don't think that it is one or the other, but rather both of them. The screenshots that I attached above are not the only way this error manifests itself. Sometimes the pdf looks right in acrobat, but once it is linked it displays with a transparency, shows only a few of the pages, or shows none at all.
    I'm probably going in circles here, but I cannot figure out which program is the cause of the error or if there are two different issues that are happening at the same time.

  • Burning a Disk in iDVD and chapters not linking properly

    Project Duration=57:00 DVD Capacity=3.1 of 4.2
    Motion Menus=1:41 of 15:00 Tracks=2 Menus=3
    Theme-Reflection White from 6.0 Themes, The preview of this DVD works perfectly.
    There is a short :10 (autoplay intro) which leads to MainMenu. The MainMenu has two items 1=full playing video 2="scenes"
    GoTo "scenes". Problem 1=chapter menu no longer animates in. Problem 2=only the first of four chapters works correctly; the other three re-start the DVD from the auto-play intro.
    Using arrows to go to 2nd chapter page works. The page animates in correctly. The two chapters here work fine.
    What can happen from a working Preview to a non-working DVD?
    How can chapters link to something they shouldn't be able to see?

    Best bet is to use the Delete Encoded Assetts command in iDVD to throw out everything and force reencoding of your project from scratch. Sometimes junk can be left in the cache and temp files that effects later projects because they were not properly cleared out.
    My standard list of things to do first for these weird sort of problems, but I also tend to run these before I go to burn an iDVD project just to be safe. Keep in mind this list represents the programs I tend to use. I am running Panther (10.3.9) so Tiger users might want to check the below list for compatibility. There are several alternate programs that do the same things with some combining the functions of some of the ones below. So everyone has their favorites, but here are mine...
    Run MacJanitor (free download) to do all the Unix Cron Maintenance scripts.
    Run Disk Utility (Applications -> Utilities) and repair disk permissions on your start up drive (typically your internal drive). Also verify any other drives mounted on the system, especially any external drives that you use for iMovie and iDVD projects.
    Run Preferential Treatment (free download) to check for corrupt/damaged application and system preference files.
    Run Cache Out X (free download) to clear all system and application caches.
    Reboot your Mac (after running Cache Out X you are given the option to restart the machine).
    Patrick

  • 301 Redirects not working properly?

    I have 301 redirect that I update monthly to point to the correct page. It has worked flawlessly until the past week. I have noticed that it has taken longer for the update to happen. Meaning I want to redirect "page1" to "page3". I make the change in the admin and I see the update within a few minutes reflected on the site (before this past week it would happen almost instantly.)
    Then today it has been more than 30 min and the update still has not happened. Is this just an issue of slow propagation through the network and it can take some time or is this an issue?
    Note: The redirect in the admin reflects the correct link on the page itself and in the URL Redirect section of the admin.

    That's good, Lynda, because from the description we couldn't really tell what the problem could be. Perhaps you can provide the following to give us a better idea of what it may be:
    - The URL of the page you're adding the 301 to
    - The destination URL
    - The screenshot of the 301 setting in page properties.
    -m

  • ADDT Redirect not working properly

    I have a dynamic list with 3 dynamic forms which sort of act
    like a wizard where you select the record you want to edit from the
    dynamic list and then you go through 3 pages clicking next which
    should update the each part of the record and redirect to the next
    form passing a URL variable of the record ID. The problem I have is
    that the first redirect works fine to form number 2 but the
    redirect to form number 3 doesn't include the URL variable even
    though it is exactly the same in both Update transactions:
    upd_tblinspectors.registerTrigger Array("END",
    "Trigger_Default_Redirect", 99,
    "InspectorUpdate3.asp?fldInspID={GET.fldInspID}")
    So, the redirection goe's to the right page but doesn't pass
    the querystring variable.

    I just noticed this today on my mail program. When you select a message and then select Redirect from the Message window, the From is listed as being me. The emails have then have the original senders name, but YOUR email address with them.
    This is REALLY frustrating for me. I use the Redirect command to forward emails to our bug tracking system so the original person gets the reply from the system so they can then follow the progress.
    It also blows, because I can not redirect email to the appropriate person who can then hit "Reply" to respond to the person.
    Arggh! Anyone find a way around this? Anyone know of a different email program I can use if this is not fixed?

  • Redirect not working properly in mail.app

    When I redirect email messages since converting to MobileMe and IMAP Mail.app inserts my email address as the sender, with the originator's name. This never happened before and I can't figure out if I need to change a setting or something, or if this is related somehow to recent software updates.

    I just noticed this today on my mail program. When you select a message and then select Redirect from the Message window, the From is listed as being me. The emails have then have the original senders name, but YOUR email address with them.
    This is REALLY frustrating for me. I use the Redirect command to forward emails to our bug tracking system so the original person gets the reply from the system so they can then follow the progress.
    It also blows, because I can not redirect email to the appropriate person who can then hit "Reply" to respond to the person.
    Arggh! Anyone find a way around this? Anyone know of a different email program I can use if this is not fixed?

  • I broke my Dreamweaver - Links not Linking Properly

    Something happened today and now when I link to files ( such
    as images/something.jpg ). It links it with a / in front of the
    file path. I thought I just needed to redo the Manage Sites part
    but that doesn't seem to have fixed the issue. I don't know how
    this happened. Anyone with a similar experience and
    solution?

    http://www.macromedia.com/support/dreamweaver/ts/documents/site_root_rel.htm
    http://www.macromedia.com/support/dreamweaver/ts/documents/document_vs_site.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jon121712" <[email protected]> wrote in
    message
    news:e7fbcp$ai9$[email protected]..
    > Something happened today and now when I link to files (
    such as
    > images/something.jpg ). It links it with a / in front of
    the file path.
    > I
    > thought I just needed to redo the Manage Sites part but
    that doesn't seem
    > to
    > have fixed the issue. I don't know how this happened.
    Anyone with a
    > similar
    > experience and solution?
    >

  • Thumbnails do not link properly to original file

    The following has been happening to me for a long time now (through previous system software, previous versions of iPhoto). I finally have gotten fed up and would like some help.
    When I drag a photo (from a directory in a second internal drive) into the Photos Library or directly into an album, it imports fine - thumbnail is there, etc. But when I double click the file, it says:
    "Alert: The photo “P0000273.JPG” could not be opened, because the original item cannot be found."
    I think this has something to do with the way I load photos into my Mac. I take the card out of the camera and put it into a card reader. The card reader shows up as a drive on my desktop, then I move the photos from there onto my internal drive. When I drag the photos into iPhoto, I drag them from the location on my internal drive, but somehow I think it thinks that they are still on the card reader, and because the card is usually not in the reader, it cannot find the file.
    I have been dealing with this by manually finding the file that matches the thumbnail, since my iPhoto album organization mirrors the folder organization on my hard drive. I want to fix this.

    Thanks. Now I can see where these shortcuts are pointing to. They are not pointing to the camera card like I thought, they are pointing to a wrong name for the internal hard drive that the original pix are located on. I am not totally sure, but I dont think I ever titled the volume by that name (it is close to but not the same as the current name). I am a little puzzled about this. I am going to try reimporting these pix to a sample album and see if that fixes the problem (ie, the aliases in the iPhoto library point to the correct volume). If that works, I will have to delete all pictures from my iPhoto Library, and then reimport them into the appropriate albums, right?
    I just tried importing. Now this is really screwed up. Immediately upon importing a photo I got the message: "The volume for [name of photo] cannot be found. Insert the disk or connect to the server volume and wait for it to appear on the desktop, then try again." That is ridiculous, the drive is sitting right on my desktop; I just dragged a photo from it into iPhoto.
    By the way, the drive I am dragging from is a partition of an internal drive, but of course it functions as a normal drive and shows up on the destktop as such, etc.
    Message was edited by: PBerking

  • View objects, view links, does not search properly

    Hi,
    I am using Jdev 11.1.2.0
    I have created a search criteria based on view objects and view links. It has entities and entity associations as base. The structure is as follow:
    vo1 ->vl (1 to 1) - > vo2
    ->vl ( 1 to many) -> vo3
    Any search attribute which is not from vo1 return bad result. It happens in running app module and in the jspx page. In app module, it sometimes complains about populating the wrong attribute for the named criteria.
    The search criteria is using "exists" statement for vo2 and vo3 for adding the conditions. It has many attributes within the exist statement.
    So what is the problem. Why it does not join properly? Why does it return bad result when search attribute is from vo2 and vo3? Please help.
    Any more information requires to solve the problem?
    Thanks,
    Arthur

    Hi,
    Two more information: vo1 is composed of Entity1 (1..M) Entity2 and Entity1 (1..1) Entity 3. vo2 is composed of Entity 2 and vo3 is composed of Entity 4.
    I follow the information from http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/bcquerying.htm#BCGIFHHF
    to create the search criteria.
    Arthur

  • How do I fix problem with linked and cropped image frames not printing properly when spanning pages?

    We are using InDesign (ID) to develop and print church bulletins which contain a combination of text frames and graphics. One of the graphic types we use are TIF files which are high-resolution scans of hymns.
    A hymn usually has a combination of the musical score, plus the lyrics - with many verses., so the modular structure is 'staff' composed of a treble clef, followed by verses, followed by a base clef.
    If the example above had 6 verses instead of one, we would crop the image by adjusting the frame, so that the treble clef and the desired verses showed through the frame.
    We would then copy and link the frame - piggy back - adjusting the next content window etc....so we build a custom version of the music as a series of linked frames - each with the same base image, but a different frame position.
    So this works fine, when we do this on a single page, but when we then add a 'last staff' at the top of the following page, we encounter print problems with some output devices.
    Imagine a two-page spread, with a full page of music on the left, and the last staff (treble clef, verses, base clef) unit as a separately linked frame at the top of the right page of the spread.
    It displays correctly, and will print individually as pages correctly, but when we print it as a booklet, the last frame drops out and we have blank space.
    I can print the document to PDF and it works fine, but if I print it to a copier or laser printer I get drop out.
    It is inconsistent.
    Previews are always okay. Individual page prints are okay, but when you print the entire document, the last frame in this kind of linked series gets blanked.
    If we create and name the image differently, and call it in as a new image - (not linked to the previous), but it is still a large image that is cropped to a small piece, then it doesn't print.
    If we save the last frame as a different image type (take the TIFF file into photoshop, crop it and save it as a jpg - so it is only the 'snippet') and then import it, it works fine.
    So my question to you InDesigners....is there some setting or tip or trick I need to know to be able to link a series of frames with the same base image, but different crops and make it span across two pages properly.
    Or do we need to play this game of crop and trim the image so that it doesn't drop out?
    Any thoughts, advice, direction would be gratefully received!

    I did a lot of such hymn things in the past, but I was alway working on the scans in Photoshop, like adjusting, retouching spots and cropping. And I was always seperating those images to be more flexible so I never run into such a problem.
    I am always scanning in a higher quality level than I would need, I scan it in color, this allows me to eliminate paper color easily, even if I need 1-bit images at the end, I do it in color, so I can also turn the image.
    I did once run into a similar problem with a scan I have got from a copier-scanner machine (it was not a song). But saving as PSD resolved my problem.
    So I would suggest: Open your files in Photoshop, resave them as PSD files and use those instead. If you use 1-bit images (which is fine for this type of images) you should use a resolution equal to the printer's resolution.

  • Anchor links to accordion panels not working properly across browsers

    Hi everyone,
    I need some help to figure out why my anchor links  to specific accordion panels on another page are not working properly  across browsers.
    I have a Map page which has tooltips on  mouseover on the site markers. 15 of the tooltips have "Click here for  information" anchor links (although only 14 are currently linked) which,  in theory, would take you to the Nurseries page where the specified  accordion panel would be opened with the nursery entry appearing at the  top of the new browser window.
    Here are the links to the Map page and Nurseries page, respectively:
    www.alegriadesignstudio.com/RFRI/map_v6.html
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html
    I've  tested the anchor links on IE, Firefox, Google Chrome, and Safari, and  have received varying results. In most cases, the anchor links worked  perfectly on two of the browsers, while on the other browsers, the  correct accordion panel is opened but the nursery entry does not appear  at the top of the new browser window. Anchor links using Safari and  Google Chrome fared better (10 out of 14 links worked properly, and  8/14, respectively), whereas when using Firefox and IE, only 3 anchor  links worked properly. The target audience for this website will be  using IE and Firefox, so I  would appreciate any help to figure out how to tweak the code so that  the most, if not all, anchor links work properly on these two browsers  in particular.
    Here's an anchor link which worked perfectly in  IE, GC, and Safari, but in FF, the entry did not appear at the top of  the new browser window.
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem
    http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem [To access the anchor link on the Map page, mouseover the third green  dot from the top of the map (Tooltip--Location: Mangatarem) and then  click on "Click here for information."]
    Here's a sample anchor link in which the entry did not appear at the  top of the new browser window in any of the 4 browsers:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel [To access the anchor link on the Map page, go to "Mindanao" at the  bottom of the map and mouseover the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION:        Brgys. Amabel, Bongolanon, Imamaling, & Manobisa; Magpet;        North Cotabato) and then  click on "Click here for information."]
    Here's a sample anchor  link in which the anchor link worked properly in GC and Safari, but the  entry didn't appear at the top of the browser window in IE and FF:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar [To access the anchor link on the Map page, go to the small island  north and a bit west of "Mindanao" which is called "Bohol" and mouseover  the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION: Bilar; Bohol) and then   click on the first "Click here for information."]
    Many thanks in  advance for your assistance!
    Joy

    Hi everyone,
    I'm still trying to figure out how to resolve the problem of anchor links to accordion panels not working properly across browsers (see original post for details). I would greatly appreciate any suggestions on how to resolve the problem.
    Many thanks in advance.
    Joy

  • I have lost track of the number of websites that do not work properly on the iPad without Adobe Flash player which is unsupported. I cannot use retail sites, billing sites and most important of all job application sites. All are missing tabs, links, info

    I have lost track of the number of websites which do not work properly on my iPad. They include retail sites, billing sites and most important of all job application sites. They all seem to require Adobe Flash Player which cannot be downloaded onto an iPad. Skyfire does not solve the problem. They all load without vital parts of the site such as tabs, links and correct formatting. Any suggestions?

    Most such brower/service combinations have a difficult time working with Flash-based apps and often fail completely. Flash videos are usually the most successful content these browers can handle. You can try the others apps - Puffin, iSwifter, etc - but you may find that none of them work, in which case you will not be able to use your iPad with these sites other than by using one of the various remote control solutions to take over a computer running the full Flash Player.
    IMHO, any developer that built a Flash application for a billing or job application site was an idiot, but I know that's out of the control of anyone but the relevant company.
    Regards.

  • Tried to upgrade and after uninstalling and reinstalling several times, keep getting "procedure entry point could not be located in dynamic link library" followed by "iTunes was not installed properly"  Error 7.....Help, please??

    Tried to upgrade as instructed and after uninstalling and reinstalling (even back to the former iTunes which I was happy with)several times, keep getting message "Procedure entry point could not be located in dynamic link library"  followed by "iTunes was not installed properly"  "Error 7".    Help, please??

    Entry point errors can usually be fixed by deleting the offending dll, then repairing the component it is part of from the programs and features control panel. Unfortunately you neglected to include the detail of which dll is mentioned.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • Command links are not rendering properly in panel collection toolbar facet

    Hi
    I am using jdev 11.1.2.3.0
    I added toolbar component to the toolbar Facet of panel collection component .
    Under the tool bar I added two command link components with name create and delete,
    the problem is at run time the buttons are not rendering properly,they are hiding,instead of links
    this symbol(>>) is displaying.
    On clicking the symbol,I am able to see the links,I used <af:spacer> after the links but not worked.
    what I have to do to render the links properly in the panel collection toolbar facet

    Hi Timo
    This is the code and I am using 11.1.2.3.0
         <f:facet name="toolbar">
                    <af:toolbar id="t1">
                            <af:commandImageLink icon="#{resource['images:create.png']}" text="Create" id="cbInsert">
                            <af:showPopupBehavior popupId="p1"/>
                        </af:commandImageLink>
              </af:toolbar>

  • Command links are not rendering properly in the toolbar facet of panel collection

    Hi
    I am using jdev 11.1.2.3.0
    I added toolbar component to the toolbar Facet of panel collection component .
    Under the tool bar I added two command link components with name create and delete,
    the problem is at run time the buttons are not rendering properly,they are hiding,instead of links
    this symbol(>>) is displaying.
    On clicking the symbol,I am able to see the links,I used <af:spacer> after the links but not worked.
    what I have to do to render the links properly in the panel collection toolbar facet

    Hi Timo
    This is the code and I am using 11.1.2.3.0
         <f:facet name="toolbar">
                    <af:toolbar id="t1">
                            <af:commandImageLink icon="#{resource['images:create.png']}" text="Create" id="cbInsert">
                            <af:showPopupBehavior popupId="p1"/>
                        </af:commandImageLink>
              </af:toolbar>

Maybe you are looking for

  • ORA-03118 two-task error while doing a non blocking OCI call

    Hi, I have an application that runs on Linux and uses OCI API (version 8.1.6). If I do the following in non blocking mode after polling about 70 times I get the error: ORA-03118: two-task coroutine has invalid state do { call_cnt++; rtc = OCIStmtFetc

  • Blank field getting converted into wrong date

    Dear All, I have one date field in SAP table in which there are some entries and some blank entries. when Proxy is sending this data from ECC blank entries are converted into 00000000 and through XI in file this 00000000 entry for date getting conver

  • Rebuilding help- need tips for Capital One Accounts

    Hi- Thank you all for all the wonderful information, you make rebuilding seem so easy and attainable! I never realized all the different versions of scoring, how to do debt validation, get errors removed from my report and where to focus my attention

  • FIAR collections report in BW

    Hello all There is a report that user is using at R3 end that has input values as posting date,Period,Business area and sales office for collection report and in output they get customer number,customer name, advance,payment against invoice, cheque b

  • Problem printing documents four up in lanscape?

    I have a problem printing documetnts 4 up in landscape. The first page will print 4 cells to the first page in portrait mode, even though I have selected landscape, the rest of the document will print 4 up in landscape. When I have to produce more th