Having problem with header(location)
I want to have a visitor to a site agree to some terms before being allowed to access a page. There is no logon so the approval is only for the current session.
If we call the page with the terms (and the agree button) "portal.php" and the page with the data "gallery.php", the logic is the user goes to gallery.php where there is a check to see if the visitor agreed to the terms. If not, their redirected to portal.php to do so.
The code on gallery.php is:
<?php
session_start();
if (!isset($_SESSION["agree"]))
header( 'location: http://localhost/myweb/portal.php' ); Using a local test server
?>
If the Session variable "agree" has not been set, the user is redirected.
The code on portal.php is:
<?php
if ($_POST)
$_SESSION["agree"] = "Yes";
header( 'location: http://localhost/myweb/gallery.php'' );
?>
If the code is coming from the "I Agree" button, the Session "agree" variable is set to "Yes" and the visitor directed back to the gallery.php page.
When I go to the gallery.php page, I get the message that the page isn't redirecting properly.
The php code on both pages occurs before the DOCTYPE or any other html.
Any ideas?
Gallery sends to portal and the I Agree in portal appears to send back to gallery (shows in url display) but nothing is displayed.
Is this the code on your gallery page?
<body>
<h1>XXXXX</h1>
</body>
</html>
If you have in fact gone back to the gallery page, you should certainly see that.
I should have mentioned that the test php files (...gallery_murray and ...portal_murray) appear to work fine. What I did next was to copy the php from those two files to copies of the production versions (with appropriate changes to the header file names). Those new test php files are ...gallery_header and ...portal_header.
http://www.myspatialhome.org/ATL_counter_gallery_header.php
Gallery gets to portal and I Agree gets to gallery but nothing is displayed. Looking at the source there's nothing generated. I'm assuming this is not a problem with the header php you helped with but something happening later in the gallery php file.
This is the gallery code down to the doctype. Minus the php at the beginning that does the header (like in the gallery_murray file), the code works.
<?php
if (!isset($_SESSION)) session_start();
?>
<?php
if (!isset($_SESSION["agree"]))
{ header( "Location: http://www.myspatialhome.org/ATL_counter_portal_header.php" );
exit();
?>
<?php
require_once('Connections/atlas.php'); // NOTE: Also may require change in href for detail
if (!function_exists("GetSQLValueString"))
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6)
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType)
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
$currentPage = $_SERVER["PHP_SELF"]; // Get the current URL for hrefs
// New group code
mysql_select_db($database_atlas, $atlas);
$groups = mysql_query("SELECT * FROM tblMapGroups ORDER BY DispSeq ASC"); // Get the group records
$row_groups = mysql_fetch_assoc($groups);
if (!$_GET)
$selectGroup = $row_groups['MapGroupID']; // First time through; set initial default group
else $selectGroup = $_GET['groupselect']; // Otherwise use GET to retrieve the submit button chosen
mysql_data_seek($groups, 0); // Reset to first record for Form loop
// End new group code
// Select map records
$query_maps1 = "SELECT * FROM tblMaps";
$query_maps2 = "ORDER BY tblMaps.MapGroup, tblMaps.Area, tblMaps.Community, tblMaps.DispSeq ";
$query_maps = sprintf("%s WHERE MapGroup ='%s' %s", $query_maps1, $selectGroup, $query_maps2);
$maps = mysql_query($query_maps, $atlas) or die(mysql_error());
$row_maps = mysql_fetch_assoc($maps);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Similar Messages
-
I'm having problems with excessive email usage on my iphone 4/ios 7. Just noticed that it (settings/usage) was using 900+ mb. I deleted all my mail, deleted the mail account, turned the phone off and back on, downloaded any remaining mail on the server to Outlook on my computer, and it still says it's using 661 mb. My ipad uses a fraction of that.
Background: I recently (December) bought an ipad and set up icloud for contacts and calendar, but NOT mail. My email provider is Verizon. I use computer, iphone, and ipad to check my email; eventually I download it from the server using Outlook on the computer and then delete any remaining emails from the phone and ipad. I can't find info on this problem anywhere.Howdy there COUGAR444,
It sounds like your iPad all of a sudden seems to be restarting out of no where. If you haven't called AppleCare yet, I would start with quitting either the app that seems to be causing the issue, or all the apps if a single doesn't seem to be the culprit.
iOS: Force an app to close
Double-click the Home button.
Swipe left or right until you have located the app you wish to close.
Swipe the app up to close it.
When you have done that restart the device and test the issue again:
iOS: Turning off and on (restarting) and resetting
If the issue persists, backup your device to iTunes, then restore it as new and verify that it works.
How to erase your iOS device and then set it up as a new device or restore it from backups
If it does, then restore your backup to either verify it still works and the software just needed reinstalled, or isolate the issue to the backup file itself.
Thank you for using Apple Support Communities.
Regards,
Sterling -
Is anyone else having problems with the Canon Online Store?
In the last month or so, I've had one problem after another with the Canon Online Store; from being unable to delete items from the shopping cart; to not being able to add "in stock" items; disappearing Wish Lists; and just now, I tried to add one lens cap to the 6 or 7 items I already had in the Shopping Cart, and they disappeared.
I've called, more than once, and I've written, also more than once, to Canon Support about this, but they ignore what I tell them, and tell me there are no problems with the Online Store. They don't even seem to report to anyone that anyone has complained, because each time is "the first time", even though I've called (more than once) and written (more than once) to them about continuing Online Stores problems.
Is anyone else having problems with the Canon Online Store?
Why does Canon not care to track reported problems with the storefront part of their web-site?
I'm not trying to insult Canon, it's just that I've been a Canon customer for less than 3 months, and the're only batting .333, so far. Canon Support was very quick to respond about a concern I had that a 50mm f/1.4 I had just purchased was authentic or not. In trying to register that lens, I looked up on the Canon web site where to find the serial number. Since my new lens did not have any numbers there, I was concerned I had been sold a fake. But, then Canon Support sent me link to a different online document that showed a few different places where it might be, and there it was.
Is Canon like that with other problems, as well? Or is their "batting" average better than my very limited experience?
I just love my Rebel T5i, and my Canon lenses (from "the Kit brothers of the Cropped Frame coral": EF-S 18-55mm f/3.5-5.6 IS STM, and EF-S 70-300mm f/4-5.6 IS USM; to the "Truly Nifty Fifty", the 50mm f/1.4 USM, [the f/1.8 is just a "thrifty fifty"], and finally, the "Super-Macro" MP-E 65mm f/2.8 1x-5x Macro)!
Regards and Thanks,
Calen
As an old friend used to always say,
"Keep Looking Up!"
CalenHi Danny. Thanks for replying.
I only use my desktop PC to access Canon's web site, and I've been using Mozilla Firefox for years. And, yes, it is the latest version. Since Canon REFUSES to support the use of Firefox on it's web site, WHAT BROWSER DOES CANON SUPPORT? WHEN did Canon STOP SUPPORTING Firefox?
I've been told that there are 2 pending orders in my account. Yet, I NEVER placed those orders! WHY CAN'T CANON SEE THAT THIS IS A PROBLEM???
Instead of off-target suggestions, and pasted boilerplate REFUSALS TO EVEN LOOK at this issue, I would prefer it if Canon went "old school", and FIXED THE PROBLEM, in the first place! But, maybe that's a bit too grown up of an answer for you!
"Award-winning" support??? And, just exactly WHAT AWARD did Canon "support" WIN for CONSISTANTLY IGNORING REPORTED PROBLEMS??? The OSTRICH?
Please pull your head out, and FIX this problem, OR YOU ARE THE PROBLEM!!!
Thank you for your "prompt" attention to this matter!
Calen
As an old friend used to always say,
"Keep Looking Up!"
Calen -
Still having problems with VPN access
Hello!
I am having problems with my VPN clients getting access to the networks over a MPLS infrastruture. I can reach these resources form my Core network (172.17.1.0/24) and my Wifi (172.17.100.0/24) but not from my VPN network (172.17.200.0/24). From the VPN I can reach the Wifi network (which is behind a router) and the rule that allows that also allows access to the other networks but for some reason it is not working.
When I ping inside the core network from VPN I can connect and get responses. When I ping to the Wifi network, I can get responses and connect to resources there. A tracert to the wifi network shows it hitting the core switch (a 3750 stack) @ 172.17.1.1, then the Wifi router (172.17.1.3) and then the host. A tracert to a resource on the MPLS network from the VPN shows a single entry (the destination host) and then 29 time outs but will not ping that resource nor connect.
I've posted all the info I can think of below. Any help appreciated.
*** Here is a tracert from a core network machine to the resource we need on the MPLS:
C:\Windows\system32>tracert 10.2.0.125
Tracing route to **************** [10.2.0.125]
over a maximum of 30 hops:
1 1 ms <1 ms <1 ms 172.17.1.1
2 1 ms <1 ms <1 ms 172.17.1.10
3 5 ms 5 ms 5 ms 192.168.0.13
4 31 ms 30 ms 31 ms 192.168.0.5
5 29 ms 30 ms 29 ms 192.168.0.6
6 29 ms 29 ms 29 ms 192.168.20.4
7 29 ms 29 ms 29 ms RV-TPA-CRMPROD [10.2.0.125]
Trace complete.
172.17.1.10 is the mpls router.
**** Here is the routing table (sh ip route) from the 3750 @ 172.17.1.1
Gateway of last resort is 172.17.1.2 to network 0.0.0.0
S 192.168.30.0/24 [1/0] via 172.17.1.10
172.17.0.0/24 is subnetted, 3 subnets
S 172.17.200.0 [1/0] via 172.17.1.2
C 172.17.1.0 is directly connected, Vlan20
S 172.17.100.0 [1/0] via 172.17.1.3
172.18.0.0/24 is subnetted, 1 subnets
S 172.18.1.0 [1/0] via 172.17.1.10
S 192.168.11.0/24 [1/0] via 172.17.1.10
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
S 10.2.0.0/24 [1/0] via 172.17.1.10
S 10.10.10.0/24 [1/0] via 172.17.1.10
S 10.20.0.0/24 [1/0] via 172.17.1.10
S 10.3.0.128/25 [1/0] via 172.17.1.10
S 192.168.1.0/24 [1/0] via 172.17.1.10
S* 0.0.0.0/0 [1/0] via 172.17.1.2
*** Here is the firewall config (5510):
ASA Version 8.4(1)
hostname RVGW
domain-name ************
enable password b5aqRk/6.KRmypWW encrypted
passwd 1ems91jznlfZHhfU encrypted
names
interface Ethernet0/0
nameif Outside
security-level 10
ip address 5.29.79.10 255.255.255.248
interface Ethernet0/1
nameif Inside
security-level 100
ip address 172.17.1.2 255.255.255.0
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
interface Management0/0
nameif management
security-level 100
ip address 172.19.1.1 255.255.255.0
management-only
banner login RedV GW
ftp mode passive
dns server-group DefaultDNS
domain-name RedVector.com
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network WiFi
subnet 172.17.100.0 255.255.255.0
description WiFi
object network inside-net
subnet 172.17.1.0 255.255.255.0
object network NOSPAM
host 172.17.1.60
object network BH2
host 172.17.1.60
object network EX2
host 172.17.1.61
description Internal Exchange / Outbound SMTP
object network Mail2
host 5.29.79.11
description Ext EX2
object network NETWORK_OBJ_172.17.1.240_28
subnet 172.17.1.240 255.255.255.240
object network NETWORK_OBJ_172.17.200.0_24
subnet 172.17.200.0 255.255.255.0
object network VPN-CLIENT
subnet 172.17.200.0 255.255.255.0
object-group service DM_INLINE_TCP_1 tcp
port-object eq www
port-object eq https
object-group network DM_INLINE_NETWORK_1
network-object object BH2
network-object object NOSPAM
object-group network VPN-CLIENT-PAT-SOURCE
description VPN-CLIENT-PAT-SOURCE
network-object object VPN-CLIENT
object-group network LAN-NETWORKS
network-object 10.10.10.0 255.255.255.0
network-object 10.2.0.0 255.255.255.0
network-object 10.3.0.0 255.255.255.0
network-object 172.17.100.0 255.255.255.0
network-object 172.18.1.0 255.255.255.0
network-object 192.168.1.0 255.255.255.0
network-object 192.168.11.0 255.255.255.0
network-object 192.168.30.0 255.255.255.0
object-group network VPN-POOL
network-object 172.17.200.0 255.255.255.0
object-group protocol DM_INLINE_PROTOCOL_1
protocol-object ip
protocol-object icmp
access-list Outside_access_in extended permit tcp any object-group DM_INLINE_NETWORK_1 eq smtp
access-list Outside_access_in extended permit tcp any object BH2 object-group DM_INLINE_TCP_1
access-list global_mpc extended permit ip any any
access-list Inside_access_in extended permit object-group DM_INLINE_PROTOCOL_1 any any
pager lines 24
logging enable
logging asdm informational
no logging message 106015
no logging message 313001
no logging message 313008
no logging message 106023
no logging message 710003
no logging message 106100
no logging message 302015
no logging message 302014
no logging message 302013
no logging message 302018
no logging message 302017
no logging message 302016
no logging message 302021
no logging message 302020
flow-export destination Inside 172.17.1.52 9996
mtu Outside 1500
mtu Inside 1500
mtu management 1500
ip local pool VPN 172.17.1.240-172.17.1.250 mask 255.255.255.0
ip local pool VPN2 172.17.200.100-172.17.200.200 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
nat (Inside,Outside) source static EX2 Mail2
nat (Inside,Outside) source static any any destination static NETWORK_OBJ_172.17.1.240_28 NETWORK_OBJ_172.17.1.240_28
nat (Inside,Outside) source static any any destination static NETWORK_OBJ_172.17.200.0_24 NETWORK_OBJ_172.17.200.0_24
nat (Inside,Outside) source static inside-net inside-net destination static NETWORK_OBJ_172.17.1.240_28 NETWORK_OBJ_172.17.1.240_28
nat (Inside,Outside) source static LAN-NETWORKS LAN-NETWORKS destination static VPN-POOL VPN-POOL
object network inside-net
nat (Inside,Outside) dynamic interface
object network NOSPAM
nat (Inside,Outside) static 5.29.79.12
nat (Outside,Outside) after-auto source dynamic VPN-CLIENT-PAT-SOURCE interface
access-group Outside_access_in in interface Outside
access-group Inside_access_in in interface Inside
route Outside 0.0.0.0 0.0.0.0 5.29.79.9 1
route Inside 10.2.0.0 255.255.255.0 172.17.1.1 1
route Inside 10.3.0.0 255.255.255.128 172.17.1.1 1
route Inside 10.10.10.0 255.255.255.0 172.17.1.1 1
route Inside 172.17.100.0 255.255.255.0 172.17.1.3 1
route Inside 172.18.1.0 255.255.255.0 172.17.1.1 1
route Inside 192.168.1.0 255.255.255.0 172.17.1.1 1
route Inside 192.168.11.0 255.255.255.0 172.17.1.1 1
route Inside 192.168.30.0 255.255.255.0 172.17.1.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
aaa-server RedVec protocol ldap
aaa-server RedVec (Inside) host 172.17.1.41
ldap-base-dn DC=adrs1,DC=net
ldap-group-base-dn DC=adrs,DC=net
ldap-scope subtree
ldap-naming-attribute sAMAccountName
ldap-login-password *****
ldap-login-dn CN=Hanna\, Roger,OU=Humans,OU=WPLAdministrator,DC=adrs1,DC=net
server-type microsoft
aaa authentication ssh console LOCAL
http server enable
http 192.168.1.0 255.255.255.0 management
http 172.17.1.0 255.255.255.0 Inside
http 24.32.208.223 255.255.255.255 Outside
snmp-server host Inside 172.17.1.52 community *****
snmp-server location Server Room 3010
snmp-server contact Roger Hanna
snmp-server community *****
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map Outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map Outside_map interface Outside
crypto ikev1 enable Outside
crypto ikev1 policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 30
authentication crack
encryption 3des
hash sha
group 2
lifetime 86400
telnet 172.17.1.0 255.255.255.0 Inside
telnet timeout 5
ssh 172.17.1.0 255.255.255.0 Inside
ssh timeout 5
console timeout 0
dhcpd address 172.17.1.100-172.17.1.200 Inside
dhcpd dns 172.17.1.41 172.17.1.42 interface Inside
dhcpd lease 100000 interface Inside
dhcpd domain adrs1.net interface Inside
threat-detection basic-threat
threat-detection statistics
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
webvpn
group-policy RedV internal
group-policy RedV attributes
wins-server value 172.17.1.41
dns-server value 172.17.1.41 172.17.1.42
vpn-tunnel-protocol ikev1
default-domain value ADRS1.NET
group-policy RedV_1 internal
group-policy RedV_1 attributes
wins-server value 172.17.1.41
dns-server value 172.17.1.41 172.17.1.42
vpn-tunnel-protocol ikev1
split-tunnel-policy tunnelspecified
default-domain value adrs1.net
username rparker password FnbvAdOZxk4r40E5 encrypted privilege 15
username rparker attributes
vpn-group-policy RedV
username mhale password 2reWKpsLC5em3o1P encrypted privilege 0
username mhale attributes
vpn-group-policy RedV
username dcoletto password g53yRiEqpcYkSyYS encrypted privilege 0
username dcoletto attributes
vpn-group-policy RedV
username rhanna password Pd3E3vqnGmV84Ds2 encrypted privilege 15
username rhanna attributes
vpn-group-policy RedV
tunnel-group RedV type remote-access
tunnel-group RedV general-attributes
address-pool VPN2
authentication-server-group RedVec
default-group-policy RedV
tunnel-group RedV ipsec-attributes
ikev1 pre-shared-key *****
class-map global-class
match access-list global_mpc
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
class global-class
flow-export event-type all destination 172.17.1.52
service-policy global_policy global
prompt hostname context
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email [email protected]
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
hpm topN enable
Cryptochecksum:202ad58ba009fb24cbd119ed6d7237a9Hi Roger,
I bet you already checked it, but does the MPLS end router has route to VPN client subnet 172.17.200.x (or default) pointing to core rtr)?
Also, if the MPLS link has any /30 subnet assigned, you may need to include that as well in Object group LAN-NETWORKS.
Thx
MS -
I'm still having problems with XUL Runner - please help am getting desperate!
I recently sought help over a problem I am having with FF. When I try and load it, I get a message telling me that XUL runner 1.9.2.11 is not compatible with 1.9.2.12. The advice I received was to do a clean install. I have done this a number of times - using the Uninstall option in Control Panel as well as running the uninstall utility in the Firefox program folder. Each time I reinstall, and get the same problem. The only difference is that a few days ago I was installing FF 3.6.10, and that gave the error message that XUL runner 1.9.2.11 was not compatible with 1.9.2.10.
I have FF set as my default browser, so when I click on links in e-mails, etc. I get the same failure to load symptoms. However, I found by chance that FF works OK in conjunction with System Mechanic 10 - a maintenance utility I have on my machine. If I select the on-line help option from that Menu, FF loads and runs OK. I can open new tabs and have no problem loading other pages. However, even with FF open, if I click a link in an e-mail, I get the XUL Runner error message.
Although not all symptoms are the same, I am also having problems with IE8. When I run the program it loads, shows a 'connecting' message in the tab header, then closes. If I uninstall FF, then System Mechanic selects IE8 as the default browser, and as with FF, loads OK.
Chrome and Safari both run OK (thankfully). there must be someone out there who knows what this all points to - is that person you?!
Note: Trouble shooting information retrieved using FF when opened with System Mechanic.If you have such problems then you need remove the Firefox program folder before installing a new copy of the full Firefox installer.
It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling. -
Having Problem With Inspire 5.1 5300 rear speaker...
After using my inspire 5.1 5300 for few year... right now im having problem with my rear speaker... just one channel was unable to start... Anyone know about repairing for speaker ? I Have try to switch to other channel it seem that just that rear speaker was unable to start... all should be ok... week before i still hearing sound from that rear speaker... but now it was unable to start. Anyone Have Any Idea Please Tell Me. Thank You
Just to clarify, by "FCP 5 friendly source material," he means video files that are a format (codec) that FCP 5 supports. What FCP 5 supports can be found in the EASY SETUP list. If the format you are working with isn't there, say if your footage is H.264 or MP4 or some other web compressed format, FCP won't work properly. It needs to be in an editing codec if you want FCP 5 to work with it.
Also, you need to make sure that your sequence settings match the settings of the footage you are trying to edit. If you add a clip to the sequence, and immediately have to render, that's a big clue to say that something isn't right. You should edit without rendering at all.
The most important thing you need to do is properly set up your project from the start, and the best way to do this is to choose a setting from the Easy Setups, located under the Final Cut Pro menu. Once you do this, you’ll need to create a new sequence. This is because the sequence that is already in your new project is setup for the typical default setting of DV/NTSC, or for the settings of your last project, which might not match what you are currently working with. So delete SEQUENCE 1 and create a new sequence:
This new sequence will contain the settings you chose in the Easy Setup menu, and should match the format you captured -
Having Problem with JSP In Netscape!HELP!!!
HI to all! I�m having problem with the jsp that i have :( If i use the Internet explorer it works but at Netscape... it doesn�t work :( The value of "PTE" is null... I need help !!!Please! I think the HTML IS NOT HELPING ...
the code is :
<html>
<head>
<!--tp001_transferencias_oic_POR.jsp-->
<title>BBVA - Transferências - Transferências OIC</title>
<LINK rel=STYLESHEET type='text/css' href="estilos/tablas.css">
<!--script language="javascript" src "js/dynlayer.js"></script-->
<script language="Javascript" src="js/banner.js"></script>
<script language="Javascript" src="js/tp_oic.js"></script>
<script language="Javascript" src="js/utilidades.js"></script>
<script language="javascript" src="js/limpar.js"></script>
<script language="javascript" src="js/tiempo.js"></script>
</HEAD>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" class="pag-contenido" onLoad="controlSesion();">
<%@ include file ="includecbtf.jsp" %>
<% String s = (String)datos.get("dt");
java.util.StringTokenizer str = new java.util.StringTokenizer(s, "-");
String anoServer = str.nextToken() ;
String mesServer = str.nextToken() ;
String diaServer = str.nextToken() ;
%>
<!--1�form-->
<form method="post" name="captura" action="<%=urls.get("action")%>">
<center> <!--1�center-->
<br>
<!--1�table-->
<table border="0" cellpadding="0" cellspacing="0" width="500"> <!--table das transf e nome-->
<tr>
<td colspan="3"><img src="images/linea.gif" border="0"></td>
</tr>
<tr>
<td width="250"><img src="images/traspasos.gif" border="0"></td>
<td width="82"><img src="images/titular.gif" border="0"></td>
<td width="169" class="fondotitular"><font class="texttitular"><%=datos.get("usuario")%></font></td>
</tr>
<tr>
<td colspan="3"><img src="images/linea.gif" border="0"></td>
</tr>
</table> <!--Fim do 1� table-->
<br><br>
</center> <!--Fim do 1� Center-->
<center> <!--2� Center-->
<!--Conteudo do table 2-->
<table cellpadding="3" cellspacing="1" border="0" align="center" width="500"> <!--table referente a mensagem-->
<tr>
<td class="cabeceratitulo" colspan="2"><p class="titulotabla">Nota : As Transferências para outras Instituições de Crédito decorrem de acordo com os horários da Compensação Interbancária, não se responsabilizando o BBVA pela sua realização fora das regras em uso.</p></td>
</tr>
<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
</table> <!--fim do table2-->
</center> <!--Fim do 2� Center-->
<center> <!-- Inicio 3� Center-->
<!--Conteudo da table Combo-->
<!--Table3-->
<table cellpadding="3" cellspacing="1" border="0" align="center" width="500">
<tr>
<td class="cabeceratitulo" colspan="2"><p class="titulotabla">Transferência Conta a Conta para outras Instituiçôes de Crédito</p></td>
</tr>
<tr>
<td class="formgrisosc" width="100">
<p class="dato">Conta Ordenante: </p></td>
<td class="formgrisosc" width="300">
<%
java.util.Vector v = (java.util.Vector)(datos.get("ListaCuentas"));
java.util.Hashtable elem;
java.util.Enumeration e = v.elements();
%>
<!--1� Select-->
<select name="conta" size="1" class="formgrisosc">
<%
while (e.hasMoreElements()){
elem = (com.ibm.dse.base.Hashtable)(e.nextElement());
String cuenta = ((String)elem.get("s_banco")).trim() + "-"+((String)elem.get("s_oficina")).trim()+((String)elem.get("s_dcontrol")).trim()+((String)elem.get("s_num_cuenta")).trim();
out.println("<option value=\"" + ((String)elem.get("s_tipo")) + "$" + ((String)elem.get("s_clave_asunto")) + "\">" + cuenta + "</option>");
%>
</select> <!--Fim do 1� Select-->
</td>
</tr>
<tr>
<td class="formgriscla" width="100"><p class="dato">Data de Processamento:</p></td>
<td class="formgriscla">
<input type="text" name="dia" size="2"class="formgriscla" value="<%=diaServer %>" maxlength="2" class="formgriscla"> /
<input type="text" name="mes" size="2"class="formgriscla" value="<%=mesServer %>" maxlength="2" class="formgriscla"> /
<input type="text" name="ano" size="4"class="formgriscla" value="<%=anoServer %>" maxlength="4" class="formgriscla"></td>
<input type="hidden" name="dact" size="2"class="formgriscla" value="<%=diaServer %>" maxlength="2" class="formgriscla">
<input type="hidden" name="mact" size="2"class="formgriscla" value="<%=mesServer %>" maxlength="2" class="formgriscla">
<input type="hidden" name="aact" size="4"class="formgriscla" value="<%=anoServer %>" maxlength="4" class="formgriscla"></td>
</tr>
<tr>
<td class="formgrisosc" width="100"><p class="dato">Moeda: </p></td>
<td class="formgrisosc"><p class="dato">
<!--Select 2�Ver este bem-->
<select name="Moeda" size="1" class="formgrisosc">
<option value="PTE" selected>Escudos</option>
<option value="EUR">Euros</option>
</select> </p>
</td>
</tr>
<tr>
<td class="formgriscla" width="100"><p class="dato">Importância:</p></td>
<td class="formgriscla"><input type="text" name="importancia" size="20" maxlength="15" class="formgriscla"></td>
</tr>
<tr>
<td class="formgrisosc" width="100"><p class="dato">Refêrencia:</p></td>
<td class="formgrisosc"><input type="text" name="ref" size="15" maxlength="10" class="formgrisosc"></td>
</tr>
<tr>
<td class="formgriscla" width="100"><p class="dato">NIB Beneficiário:</p></td>
<td class="formgriscla"><input type="text" name="nibBeneficiario" size="30" maxlength="21" class="formgriscla"></td>
</tr>
<tr>
<td class="formgrisosc" width="100"><p class="dato">Descrição p/ Conta Débito:</p></td>
<td class="formgrisosc"><input type="text" name="debito" size="45" maxlength="45" class="formgrisosc"></td>
</tr>
<tr>
<td class="formgriscla" width="100"><p class="dato">Descrição p/ Conta Crédito:</p></td>
<td class="formgriscla"><input type="text" name="credito" size="45" maxlength="45" class="formgriscla"></td>
</tr>
<tr>
<td class="cabecera" colspan="2"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table> <!--Fim do table 3-->
</center> <!--Fim do 3�center-->
<center> <!--Inicio do 4� Center-->
<!--Inicio da table 4�-->
<table border="0" cellspacing="2" cellpadding="0">
<tr>
<td valign="top"><img src="images/limpar.gif" border="0" alt="Apagar"></td>
<td valign="top"><img src="images/continuar.gif" border="0" alt="Continuar"></td>
</tr>
</table> <!--Fim do 4� Table-->
</form> <!--Fim do FORM-->
</center> <!--Fim do 4� Center-->
</body> <!--Fim do BODY-->
</html> <!--Fim do Html-->
Thanks pepole!thanks people! when i try to validate the action "PTE" he gaves me (if i put a ALERT...) null.
the js code is : (Moeda is coin )
//testa amount
// var ent = (f.amount.value);
var tamanho = f.amount.value.length;
var valor = f.amount.value;
decimals = 2; // Apenas pode ter duas casas decimais?
if (((tamanho == 0) || (valor == 0)) && ok)
alert ("A import�ncia tem de ser maior que zero.");
f.amount.focus();
f.amount.select();
ok = false;
else
alert(f.Moeda.value);
if((f.Moeda.value=="PTE") && ok)
for (j = 0; j < tamanho; j++)
xx = valor.charAt(j);
if ((!(xx.match(numeroER)) && ok))
alert ("O Campo Import�ncia deve ser num�rico inteiro.");
f.amount.focus();
f.amount.select();
ok = false;
//if para limitar valor dos Escudos
if (ok)
if (eval(valor) > 1000000)
alert ("The field amount must be maxium 1 000 000 Pte.");
f.amount.focus();
f.amount.select();
ok = false;
else
if (ok)
//function checkDecimals(f.amount, f.importancia.value) {
if (isNaN(valor)) {
alert("O Campo Import�ncia deve ser num�rico e como separador decimal, o ponto.");
f.amount.select();
f.amount.focus();
ok = false;
else {
timeshundred = parseFloat(valor * Math.pow(10, decimals));
integervalue = parseInt(parseFloat(valor) * Math.pow(10, decimals));
if (timeshundred != integervalue)
alert ("Apenas pode ter " + decimals + " casas decimais. Por favor tente outra vez.");
f.amount.select();
f.amount.focus();
ok = false;
if (ok)
{ //if to limit the value of the Euros
if(eval(valor) > 4988)
alert ("The field amount must be maxium 4988 Eur.");
f.amount.focus();
f.amount.select();
ok = false;
}//end of amount -
Having problem with change of name in the datagrid Coding
I am having problem with changing the name of the datagrid header text name for one of the data either in the flash file or the php file.
The thing is i want to change the Course_Name to Course Name that has no underscore so that it will look nicer in the datagrid but if I change it in the php file like SELECT Course_Name as 'Course Name' ....., it will not turn out in the datagrid when I CTRL ENTER the flash file but the others like Price,description and display is shown.
There is no problem with my php code but I do not know how to change the Course_Name into Course Name so please help me resolve this error that I am having.
This is my flash code
function goCourse(e : MouseEvent):void
gotoAndStop(5);
refreshResponder = new Responder (refreshSuccess, onFault);
connection = new NetConnection ();
connection.connect (gateway);
dataDG.addEventListener (Event.CHANGE, gridItemSelected);
refreshData (true);
function gridItemSelected (e: Event): void {
ID = e.target.selectedItem.ID;
courseTxt.text = e.target.selectedItem.Course_Name;
priceTxt.text = e.target.selectedItem.Price;
descTxt.text = e.target.selectedItem.Description;
private function getParams () {
var param: Object = new Object ();
param.ID = ID;
param.Course_Name = courseTxt.text;
param.Price = priceTxt.text;
param.Description = descTxt.text;
return param;
private function refreshData (refresh: Boolean): void {
if (refresh)
connection.call ("Course.viewCourse", refreshResponder);
private function refreshSuccess (result: Object): void {
dataDG.dataProvider = RecordSetDP.toDataProvider (result);
dataDG.columns = ["Course_Name","Price","Description","Display"];
private function onFault (fault: Object): void {
trace (String (fault.description));
This is my php file code.
function viewCourse()
$this->connect();
$sql = "SELECT Course_Name,Price,Description,Display
FROM coursetb";
return mysql_query($sql,$this->_connection);i don't see where you're calling your php file in your code, but change 'Course Name' to 'Course_Name' (or vice-versa) there.
-
I'm having problems with CS2 (mainly illustrator and photoshop
I'm having problems with CS2 (mainly illustrator and photoshop ) randomly shutting down while trying to save a file. Reformatted my laptop for fear of a virus and reloaded... I have gotten nowhere.
Please Help!CS3 still had issues with the preferences becoming corrupt, so a possible workaround would be to reset the preferences.
The file is called AIPrefs and is located under 'Documents and Settings/User/Application Data/Adobe/Adobe Illustrator CS3 Settings'. It is a hidden file. Delete it with Illustrator closed and when you launch the program again the file will be rebuilt.
May be it is also sounds like you need more memory for your computer. If you can navigate to your computer's memory controls, and allow your operating system to use a portion of your hard disk drive (HDD) as RAM (maybe 2Gb or so) it may solve your issue.
How is about: http://www.filerepairforum.com/forum/adobe/adobe-aa/illustrator/383-%E2%80%8Bcorrupted-fon ts-in-illustrator-file-urgent-help-need – resource has non-commercial specialty
Third party software Illustrator Repair Kit also must be good solution
It has free demo version at:- http://www.illustrator.repair/
Hope this will be helpful. -
Hi! I´m having problems with showing video files in Qlab on my Macbook Air. It started suddenly. Consulted a sound/video technician who told me to "blow out" my Mac. Was told to use cmd+r when restarting. Is this the right way to clean up my Mac? And is it likely that some kind of bug is causing problems for Qlab to show video files? I´ve already tried with a bunch of different video files and sometimes Qlab plays them and sometimes not. I need the Qlab playlist for a theatre show and only have a week until showtime so starting to really worry. Is there anyone out there who can help?
Your Mac runs maintenance in the background for you.
Command + R gives you access to restore, repair, or reformat the drive using OS X Recovery
No idea why that was suggested.
You may have a third party video player installed that's causing an incompatibility issue.
Check these folders:
/Library/Internet Plug-Ins/
/Library/Input Methods/
/Library/InputManagers/
/Library/ScriptingAdditions
~/Library/Internet Plug-Ins/
~/Library/Input Methods/
~/Library/InputManagers/
~/Library/ScriptingAdditions
The first four locations listed are in the root-level Library on your hard disk, not the user-level Library in your Home folder.The tilde (~) represents your Home folder.
To access the Home folder in OS X Lion or Mountain Lion, open the Finder, hold the Option key, and chooseGo > Library. -
I am still having problems with my music videos freezing (all purchased on iTunes) since the update. The first day of the update, no problems...played 6 hours of music videos and no freezing. Today...every single video froze!!! So frustrating! I rebooted, restarted, powered down and no help. I would appreciate any suggestions. Thanks.
I don't know how to do this without using a mouse point.
This may help, http://www.computerhope.com/issues/ch000542.htm
As for question #2, you call tell how iTunes is sorting songs by the up or down arrow next to a header name.
Even the original order that the songs were entered or date added or last played can be sorted.
Much easier with a mouse or touch pad. -
I have an Imac operating system 10.4.1 and Apple Works 6 and am having problems with Aplle Works 6. It shuts down before I am finished. Is there a place I can download Apple Works 6 onto my computer free?
AppleWorks has never been available for legal download.
Have you done the usual trouble shooting steps:
Quit AppleWorks
Delete most or all of the Recent Items list.
Remove the Preferences files to the Desktop or to the Trash.
Launch AppleWorks to see if the problems remain.
You'll find Recent Items in:
username > Documents > AppleWorks User Documents > Starting Points > Recent Items
There are several preferences files.
Go to:
username > Library > Preferences
Locate, select and delete the file com.apple.appleworks.plist
Still in the Preferences floder, locate and open the folder AppleWorks.
Select and delete the two Cache files and the Preferences file.
Button Bars is also a preferences file, but may be left where it is IF you have no problems that appear related to the Button Bar, and wish to preserve any changes you've made to the Button Bar.
Regards,
Barry -
having problem with the apple tv, because it still setting date and time and dont finish w the activation
That means it is having trouble connecting to the network. Make sure location is set correctly. Go to settings - general - network and ensure DNS is set to automatic. Check that your router is up to date. If on wifi try Ethernet.
-
Having problem with charger mac-book pro retina display
I've bought in UK 15'' macbook pro retina display on Augest 2012, But having problem with charger, but i am in NEPAL now! so is there any apple Store in NEPAL? or What can i do?
You might try this:
https://locate.apple.com/asia/en/ -
Having problem with hp computer freezing up and rebooting? have already updated video drivers
I having problem with HP Slimline Desktop with AMD Vision, freezing up and rebooting, and will sometimes show horiztonal lines across the screen, making screen unreadable. Have had problem for a few weeks, I have already checked with HP tools hard drive and video display both check out, and have I restored the system back to its orginal version by using partion drive and, none seems to help get rid of the freezing and rebooting of PC. Any thought what need to look at?
Can you locate a product number on the system that is freezing??
I am an HP employee, but my views are my own and are not endorsed by HP.
Maybe you are looking for
-
Error after creating Element level join between two different dataset in11G
Hi Experts, My report is having data from two different datsets, I created two datasets and joined them with Element Level join. I am getting below error. "The following tags were not closed: DATA_DS. Error processing resource 'http://localhost:9704/
-
Translating SQL from MYSQL to ORACLE with more than one outer join.
I will translate the following sqlquery from MYSQL to ORACLE: SELECT ticket.ticket_no,ticket.ticket_dato,ticket.ticket_subject,ticket.customer_id,customer_name,ticket.ticket_own_read, ticket.department_id, department.department_name, priority_name, t
-
Share the Verizon Code of Conduct
Verizon Wireless has developed a Code of Conduct that is probably lost in your interactions with Verizon Wireless Representatives. Here is the link to Verizon Wireless Code of Conduct that maybe helpful in all levels of company understanding the code
-
4S ios updated to 7 is giving me problems for using wifi Thus it is difficult for me to use internet. The wifi comes ON for a while and goes off in a few minutes The phone is unable to scan networks available for use Am having ipad2, ipad mini and ip
-
Problem in IDOC ORDERS04 Extension
Hi all, Can any one guide me how to extend ORDERS04 outbound IDOC whenever triggered with ME22N