Timestamp issues between mysql 5.0 and 5.1

Slightly off the dreamweaver trail here - but that's what I'm using (CS3)....here's hoping someone knows what the issue is here?
I've created some 'closing soon' and an 'expired' label for some ads I'm running, the php code is below.
<?php
          // get the current timestamp
  $now = time();
  // get the number of seconds in seven days
  $sevendays = 60*60*24*7;
  // get the expiry date
  $expires = $row_listJobs['job_service_expiry_date'];
  if ($expires < $now) {
    // display the expired image
echo '<img src="../../images/buttons_labels/expired.gif" alt="expired job" />';
  } elseif ($now + $sevendays > $expires) {
    // display final week image
echo '<img src="../../images/buttons_labels/closingsoon.gif" alt="job closing soon" />';
    ?>
This works absolutely fine when using a Recordset with a UNIX_TIMESTAMP in it, and going into the background the 'job_service_expiry_date' field in mysql5.1.30 using php5.2.8 provides a 'Default' parameter whereby I can set the Default 'as defined' followed by 0000-00-00 00:00:00.  There is another date field for job posted - but this is just an ordinary date stamp. None of the fields are set up with current timestamps as I want to be able to update records with dates in the future.
The problem arises specifically with uploading this to my server (hey it's 1&1 shared host, so things are a little restricted).  I'm running mysql5.0.67 with php5.2.9 here and the timezone is set to Europe/Berlin. (I'm in the UK).  Looking at the background everything is the same EXCEPT for the ability to set the 'Default, as defined etc'.  So, all the options I'm left with is to set it as a TIMESTAMP with Default 0000-00-00 00:00:00.
Here's the issue. On browsing the relevant page I'm now presented with an error "Function xnameofdatabasex UNIX_TIMESTAMP does not exist" and the page won't load.  This didn't happen during local testing; the page displayed fine, and the php code worked perfectly.
Has anyone else come across this problem and found a way around it?
Could it be the difference in the mysql server versions that is causing the issue?? In which case any pointers on how to amend the fields, SQL query or the php code so that it does work would be really appreciated.  Could it work, for example, by setting the posting date as current timestamp and then the expiry date as just a date, with the php code set to display images depending on days ahead of the posted date eg closing soon +25 days, and expired >30 days for example......need help with this as I'm no php expert!
I can add lines to the .htaccess files, but I've tried adding php_value date.timezone 'Europe/London' to it, but get a 500 error.  My thinking here was that perhaps it was the timezone difference confusing the php?....but I'm not sure.
Incidently, any ideas on how to set the timezone through .htaccess without getting a 500 error (and within a dreamweaver CS3 environment) would also be welcomed.
Thanks in advance
Matt

Thanks David
I tried adding that line to .htaccess, but received the 500 internal server error when trying to access the site.  I've added the other line for the time being -hopefully that works!
The SQL looks like this:
SELECT jobs.job_id, jobs.client_id, jobs.category_id, LEFT(jobs.job_longdesc, 200) AS first200,
jobs.job_imagemini, jobs.job_salary, jobs.job_location, jobs.job_country, jobs.job_title,
jobs.job_posted_date, categories.category_id, categories.category_name,
clients.client_id, UNIX_TIMESTAMP (jobs.job_service_expiry_date) AS job_service_expiry_date,
jobs.job_featured
FROM jobs, categories, clients
WHERE jobs.client_id = clients.client_id AND jobs.category_id = categories.category_id AND jobs.job_longdesc LIKE %var1% AND jobs.job_country LIKE %var2% AND jobs.job_title LIKE %var3%
ORDER BY jobs.job_featured ASC, jobs.job_posted_date DESC, jobs.job_title
Cheers
Matt

Similar Messages

  • Any known 'porting' issues between 8.2.2 and 9.0 ??

    Hi all,
    we are in the process of evaluating LS ES2 (9.0) and would like to know if there are any 'porting' issues between the two versions.   Asked another way, are there any issues in deploying a 8.2.2. LCA onto 9.0 ?
    Dan

    8.2 LCA's will run fine in 9.0 if they are just deployed into it.  But in 9.0 a new application model has been introduced, so in order to make changes to anything after you've migrated it you'll need to create an application and migrate your processes and resources into it.  You may want to take a look at the Leveraging Legacy Solution document available online.  Here's the link:  http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=leveragingLegacy. html .
    Chris

  • Work around technique for imcompatibility issues between Firefox 6.0 and Avast Free Antivirus 6.0, esp "Unresponsive Scripts."

    I am using Firefox 6.0, Avast Free Anti-Virus 6.0 and Windows XP.
    I am experiencing slow/freezing web browsing after a recent upgrade to Firefox 6.0. Not all but on most occasions, I also get a warning from Avast of an "unresponsive script." I suspect there is a compatibility issue between these versions of Firefox and Avast--are they any short and/or long term solutions to this. I suppose I can disable the Script Blocker on Avast but that would defeat the purpose of having an anti-virus program.
    Many thanks in advance.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Weird issues between iPhone Camera Roll and iPhoto?!?!?

    I just noticed when opening Photos and then my Camera Roll of pics taken with my 3G that there is a large black irregular shape area covering the top 2 rows of pics and part of the third row as well. I have exited and returned to the app, shut down and restarted my iPhone and no change. If I tap in the black area (don't know what I'm tapping) it will bring up whatever photo is actually there, but there is no way to see it in the thumbnail preview screen because of the black overlay. If I connect the iPhone to my Macbook and open iPhoto, it seems to see that there are photos in my Camera Roll, but they are all blank and iPhoto thinks there are 32 photos there but there is not that many because I have deleted some of them :-O Clicking on a blank photo does not bring up the actual photo, just nothing happens.
    So, to try and remedy this I manually deleted all the photos from my Camera Roll on the iPhone, so there were NO PHOTOS in the Camera Roll and then did a sync with my MacBook. iPhoto still thinks there are 32 photos and they are all blank placeholders like before! I tried to "import all" just to see what would happen and 4 were readable and the rest were "unreadable files". I said to delete all the photos after importing but it still lists 32 photos there. Even when the iPhone is disconnected, the iPhone icon stays in iPhoto and I have to manually unmount it. So, there is total disconnect between what is actually on my Camera Roll on the iPhone and what is being seen by iPhoto. It's as though iPhoto is stuck in a particular point in time and can't get rid of some cache or memory of a previous iPhone Camera Roll state. Before updating to OS 3.0, whenever I unplugged the iPhone after a sync, the icon would disappear as a mounted drive in iPhoto so that has changed as well.
    I have no idea where to even begin trying to fix this problem. I'm using iPhoto 7.1.5 and not sure whether this is an iPhoto problem or iPhone problem or both?!?! Any feedback would be extremely appreciated!
    Message was edited by: Joshua Morganstein

    I'm having a similar issues. Every program on my Mac that is capable of acquiring images from a digital camera (iPhoto, Graphics Converter, Image Capture, etc.) thinks that my iPhone is mounted and that there are 77 pictures to download. It doesn't matter whether the phone is actually connected to the computer or not. I've even restored the iPhone to the factory state and it makes no difference. Thus, I believe the problem to be on the Mac itself. I don't know the details on how it works (could anyone enlighten me?) but I'm very surprised that multiple programs are having the same issue. Obviously, there is some layer that is between the actual device and the programs that use the device. That layer must be corrupted. But what is it, where is it, and how can I fix it?

  • Compatibiity issues between Microsoft Office 2013 and Epsom Workforce 1100 Wide Format Printer

    I just purchased a new Pavilion 23 HP computer with Windows 8 Operating System and Office 2013. I bought an Epson Workforce 1100 Wide Format printer several years ago. Upon installing it on my new computer, I noticed it was for operating systems from 2000
    to 7 and did not include Windows 8. I downloaded the recommended driver for Windows 8. My computer recognizes the printer and will print pictures, web-articles, etc. but will not print any text from any of the Office 2013 documents. Can you help me?

    Hi,
    I have a couple of questions about the issue:
    1. Did the print task show in the status bar when you use Office2013 to print?
    2. Did you try to print by using the Notepad?
    3. Did you get some error messages?
    If we cloud not print from the Notepad, it seems a
    compatibility issues between Windows8 and print driver. I recommend you post the issue to Windows 8 forum or connect Epson support. 
    Then,we also cloud upgrade all the latest Windows 8 and Office 2013 patches to test.
    Regards,
    George Zhao
    TechNet Community Support

  • Compatibility issues between solaris 10 patches and Weblogic server 9.2

    Is there any documentation about possible incompatibility between certain solaris patches and Weblogic server?

    Hi,
    Can you post the output of below commands from your OS?
    uname -a
    getconf LONG_BIT
    Do you want to download and install 64-bit WLS 9.2 on your OS?
    - - Tarun

  • How can I resolve bluetooth connectivity issues between my iPhone 4S and my car?

    My iPhone contantly unpairs from my car's bluetooth while I'm on a call.  The phone is still working and I can continue the conversation if I hold it, but that is illegal in New Jersey.  I have tried re-setting the iPhone, and re-pairing it with the car's bluetooth, but nothing has worked.  My car (Lexus 350RX, 2012) is up to date with firmware.  My daughter has the same issue with her iPhone 4S and her Honda Pilot.  I may have to get a Samsum Galaxy if this issue is not resolved.

    either export it as a pdf if you dont need to work in it or if you do use an app called numbers from apple it supports excel as far as i know

  • Routing issue between two satellites sites and one central hub

    Hi,
    I have 3 Ad sites with one exchange 2010 hub,cas,mailbox server on each sites.
    One of this site (site A) is central Hub and the two other sites  ( B and C) are two satellites of site A.
    The is no connectivity between site B and C, only connectivity between A and B, and A and C.
    When I send a mail from Site B to Site C, Exchange try to deliver the mail directly to site C and don't pass to site A to deliver to site C, some mail stay in queue in site B, and the the queue is in retry.
    I flag the site A as HUB.
    Site toplogy is correct and the cost too.
    Can someone help me??
    Thanks

    what are your AD costs between A, B and C?
    In Exchange 2010, each message recipient is always associated with only one Active Directory site, and there is only one least cost routing
    from the source Active Directory site to the destination Active Directory site
     If the least-cost routing path to the primary site contains any hub sites, the message must be
    routed through the hub sites

  • Many communication issues between Photoshop CC 2014 and Bridge since update

    Since I upgraded Photoshop to the CC 2014 version, I've had many issues on using Ps and Bridge together.  Here they are:
    1. Mini Bridge is absent
    2. When clicking to "Browse in Bridge" from Photoshop, the window for my Creative Cloud app opens instead with a message asking whether I am sure if I want to update to "this version of Bridge" (image below). I already updated Bridge and re-installed it, but the same problem keeps occurring.
    3. This one is the most frustrating one: the tools menu in Bridge does not show the options for opening images in Photoshop anymore.  This was invaluable when working with Bridge and Photoshop at the same time.
    The thing is that these issues have been going on for a long, long time, and I don't see any messages from Adobe to at least explain the reason for such blunders.  There are many people complaining of the same issues here in this forum, so how come no fixes, no responses from Adobe yet?
    Please let me know if you've found a fix for this.
    Many thanks!

    I do not use the bridge often mostly just use it to edit metadata.  I never remember tools being available in the right click on thumbnails menu list. Tools a bridge menu in its manu bar when all start-up scripts are enabled Photoshop should be in it.. If the start-up scripts are not enable you must enable them and then restart the Bridge for them to be available. My Bridge CC tools menu after being updated for CC 2014 has the same tools menu option Photoshop with 8 items. Are you writing you no longer have a Bridge CC tools menu with Photoshop and the 8 options?  I use windows and though I use Adobe Bridge CC 64 bit version the startup script folder that seems to be used for Adobe Bridge CC 64 bit is "C:\Program Files (x86)\Common Files\Adobe\Startup Scripts CC\Adobe Bridge" Program File (x86) don't know why and in there there should be a file "bridge-6.jsx"  I also see a "C:\Program Files\Common Files\Adobe\Startup Scripts CC\Adobe Bridge" with the same file in it however Adobe Bridge CC 64Bit seems to use the Programs Files (x86) path for when I put my startup script for X's Image Processor Pro into the Programs Files path Bridge CC 64bit did not list it as an available startup script. Adobe software is far from being bug free.  I have no idea where startup bridge scripts reside your Mac use finder to make sure there is a  "bridge-6.jsx"  startup script...

  • Photo sharing issues between iPad mini 2 and Macbook Pro

    Hi
    I'm trying to share two albums from iPhoto on my macbook to my iPad mini 2. However, nothing seems to be working, iCloud and Photostream aren't communicating between the two devices, bluetooth keeps telling me that my iPad is not equipped to receive these jpegs. Both devices are on the same apple ID account and i've done everything i can think of to change my sharing and privacy settings to allow the transfer, can anyone offer any advice as to how I can fix this problem??

    You can't use Bluetooth to share the photos unless you use AirDrop and your Mac has to meet certain requirements in order to do that. You can read about that here.
    Mac Basics: AirDrop lets you send files from your Mac to nearby Macs and iOS devices - Apple Support
    I'm not sure why you just wouldn't sync the photos using iTunes. That's how I move my iPhoto albums and events from my MBP to my iOS devices. The newest iTunes interface is not the same as this one, but the process still works the same way.
    iTunes: Syncing photos - Apple Support
    This one shows the latest iTunes interface.
    Sync your iPhone, iPad, and iPod with iTunes using USB - Apple Support

  • Connection issues between 64 bit SSIS and Oracle in 64bit

    I've got a Win2K3 Std Ed server (x64) running 64-bit SQL Server 2005 Enterprise Edition. I've installed the Oracle 10g 64 bit and and installed ODAC 64 bit then oracle patch to take care of () issue, i managed to create a link server on management studio and connect to oracle a 64 bit server
    Now... when I try to create a new connection manager in SQL Server 2005 Integration Services i got the following error, the OLEDB provider for Oracle can't be found, and when I try to manually add an underlying OLEDB connection to the database, SQL Server reports: i got the following error....
    Test connection failed because of an error in initializing provider. The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.
    Note: my sql server agent is not running on this server, let me know if this is an issue.

    I think I resolved this issue by installing Oracle 11g 32bit & 64bit clients in the 64bit SQL Server machine.
    Please refer to the detail:
    http://knol.google.com/k/jeyong-park/accessing-oracle-data-source-from-64bit/3vywlm4f31xae/12#

  • Font issue between jdk1.4.2_04 and jdk 1.4.2_13 while generating style repo

    Hi ,
    i am generating pdf report using style pro. i am using "Arial" font. UNIX system. I was using jdk1.4.2_04 till date. when i changed to jdk 1.4.2_13 and now the pdf is not getting generated in "Arial" font. It gets populated in some other font.
    Can u people guess what is the issue? Pls give me a solution as soon as possible........

    Plz reply .. its urgent

  • Wireless connectivity issue between MacBook Pro/ iTouch and Airport Express

    I'm creating a wireless network at home using my airport express and depending on the configuration settings I set in the airport utility, I will face the following issues:
    1- To connect my MacBook Pro to the wireless network created, I have to set the radio mode to 802.11n only (5 GHz). Any other radio mode (a/b/g compatible or n only (2.4 GHz)) will not work ("Couldn't find the network")
    2- Conversely, the use of the radio mode 802.11n only (5 GHz) with my iTouch doesn't work ("Couldn't find the network"). To connect my iTouch to the wireless network created, I have to set the radio mode to 802.11a/b/g compatible or to n only (2.4 GHz)
    As a result, I manage to 1) either connect to a wireless network created with my airport express with my MacBook Pro only 2) or with my iTouch only, depending on the configuration setup.
    I'm using the latest updates for the airport utility (7.4.2), iTouch (3.1.3) and Mac OSX (10.6.4).
    Any help on this?

    if you set it to the most compatible with the least common denominator you should be able to connect with both. (If that's what I understand you are trying to achieve).

  • Performance Issues between WL 5.1 and WL 6.0

    Hello all and thank you in advance,
    We're in the process of evaluating Weblogic 6.0 and have noticed a considerable
    difference in server response times from Weblogic 5.1(sp9). Testing with a light
    load, 5 to 20 threads, our average response time has doubled when using Weblogic
    6.0. We've done some reading about the license limitation (5 connection limit)
    and tried taking numbers at or below 5 threads, however it still seems that the
    response
    times are 2 to 2.5 times slower. Does anyone know what the license limitation
    of 5 connections means? Is it physical connections, 5 IP addresses ???
    We have not tried rebuilding using ejbc2.0 yet (however this is on the list),
    and additionaly we are going to try another "fresh" install to see what happeneds.
    Everything else we've done is pretty much by the book.
    Does anyone have any suggestions, or has Weblogic 6.0 been pigged out by all of
    the new features.
    Our system consist of multiple servlet, session beans, and entity beans (bean
    managed persistance).
    Any response is greatly appreciated.
    Sean

    Dimitri,
    I believe that is correct, it is deployment unit which matters. I can't tell
    you for sure since I have not tried to deploy exploded format in 6.x, yet.
    .raja
    "Dimitri Rakitine" <[email protected]> wrote in message
    news:[email protected]...
    Isn't it the same for WebLogic if you deploy your app in exploded form oras
    an EAR as long as it is the same deployment unit?
    If web-app and ejb components are separate deployment units thenperformance
    will suffer because local RMI optimization will not be used when invokingEJBs
    (calls will be by-value vs by-reference).
    Raja Mukherjee <[email protected]> wrote:
    Is there any reason, why you are deploying your application in the
    expanded
    format? As I understand in 6.0 if you deploy your application in .earfile
    the class loader hierarchy works like (Simplified version)
    System Class Loader
    |
    EJB Class Loader (JAR File)
    |
    Web Application Class Loader (WAR File)
    If you deploy the same application with separate WAR and JAR file, your
    class loader will look like
    System Class Loader
    | |
    EJB Class Loader Web Application Class Loader
    In general, I have seen 6.0 perform better than 5.1. But again, all my
    6.0
    deployments are EAR file. I would also cache all JNDI lookups in 6.0. In
    5.1, I have only seen marginal gains, but in 6.0 gains are pretty big.
    Hope this helps.
    .raja
    "Rich Llaca" <[email protected]> wrote in message
    news:[email protected]...
    Hi Rob,
    I've been working with Sean to try and figure out our problem. We
    really
    appreciate your comments and all the feedback we've been getting onthis.
    Even though we haven't figured out our problem yet we've learned a lotjust
    from everyone's comments.
    Your question on deployment is one I've been meaning to ask. Here's
    what
    we're doing, at least what we've been initially doing.
    First of all, our complete application is composed of:
    1. servlets receiving routed http input requests,
    2. session beans which handle requests from servlets,
    3. BMP EJBs which provide the session beans with data and receive datato
    make updates/inserts,
    4. XML static files which are used along with output coming from thesession
    beans to provide a set of output data for each request,
    5. XSL files which are used with the output XML to generate the final
    web
    pages dynamically.
    6. everything eventually is output by the handling servlet.
    Since we're still in development mode we've been trying to put our
    application under 6.0 (we're trying both sp1 and sp2) in expanded form.Our
    application is setup under the following typical directory structure:
    1. ".../OurDomain/applications/OurApplication".
    2. In the OurApplication directory we have directories for our XML and
    XSL
    files.
    3. In the "OurApplication/WEB-INF/web.xml and weblogic.xml" files wehave
    the declaration for resources and servlets.
    4. In "OurApplication/WEB-INF/lib" we have the jar files containing our
    servlets and session beans.
    5. Our BMP EJBs are in a seperate jar file. We had been precompiling(with
    "ejbc") but now we're trying to let the server do the deploymentcompiling
    at server startup.
    So my question is; Are we doing something wrong that causing ourperformance
    issues? Should we try to structure things differently? We've set things
    where the servlets and session beans are basically structured like a
    web
    app
    would be, things that would go into the ".war" file. Is this the right
    way
    to do this or since we really don't have any static html (all isgenerated
    dynamically) should we step back and look at structuring things the waythey
    might go into an ".ear" file?
    Thanks Again,
    Rich
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    In general, WLS 6 performs much better than WLS 5.1. First off, make
    sure you've installed SP1 (or preferably SP2) for 6.0. These service
    packs improve the performance as well as fix bugs.
    The most common 5.1-->6.0 performance problem relates to the changes
    to
    the classloaders.
    How are you deploying your application in 6.0? You should deploy a
    single EAR file that contains the servlet WARs and the EJB Jars. In
    this case, we can optimize the servlet-->EJB calls.
    If you deploy them as separate WAR and JAR files, the calls areslower
    (call by value) since they are viewed as separate applications by the
    server and use separate class loaders.
    -- Rob
    Sean Cloutier wrote:
    Hello all and thank you in advance,
    We're in the process of evaluating Weblogic 6.0 and have noticed a
    considerable
    difference in server response times from Weblogic 5.1(sp9).
    Testing
    with a light
    load, 5 to 20 threads, our average response time has doubled when
    using
    Weblogic
    6.0. We've done some reading about the license limitation (5
    connection
    limit)
    and tried taking numbers at or below 5 threads, however it still
    seems
    that the
    response
    times are 2 to 2.5 times slower. Does anyone know what the licenselimitation
    of 5 connections means? Is it physical connections, 5 IP addresses
    We have not tried rebuilding using ejbc2.0 yet (however this is on
    the
    list),
    and additionaly we are going to try another "fresh" install to see
    what
    happeneds.
    Everything else we've done is pretty much by the book.
    Does anyone have any suggestions, or has Weblogic 6.0 been pigged
    out
    by
    all of
    the new features.
    Our system consist of multiple servlet, session beans, and entity
    beans
    (bean
    managed persistance).
    Any response is greatly appreciated.
    Sean--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com
    Dimitri

  • Connectivity Issue between ASA 5520 firewall and Cisco Call Manager

    Recently i have installed ASA 5520 firewall, Below is the detail for my network
    ASA 5520 inside ip: 10.12.10.2/24
    Cisco Switch 3560 IP: 10.12.10.1/24 for Data and 10.12.110.2/24 for Voice
    Cisco Call Manager 3825 IP: 10.12.110.2/24
    The users and the IP phone are getting IP from the DHCP server which configured on cisco 3560 Switch.
    the Default Gateway for Data user is 10.12.10.2/24 and
    for the voice users is 10.12.110.2/24
    now the problem is that the users is not able to ping 10.12.110.2 call manager. please if somebody can help in this regard. i will appreciate the prompt response against this issues.

    Actually i don't wana to insert new subnet and complicate the nework. i need a simple way to solve the problem. below is the details for the asa 5520 config.
    ASA Version 8.2(1)
    name x.x.x.x Mobily
    interface GigabitEthernet0/0
     nameif inside
     security-level 99
     ip address 10.12.10.2 255.255.255.0
    interface GigabitEthernet0/1
     nameif outside
     security-level 0
     ip address x.x.x.x 255.255.255.252
    object-group service DM_INLINE_SERVICE_1
     service-object tcp-udp
     service-object ip
     service-object icmp
     service-object udp
     service-object tcp eq ftp
     service-object tcp eq www
     service-object tcp eq https
     service-object tcp eq ssh
     service-object tcp eq telnet
    access-list RA_VPN_splitTunnelAcl_1 standard permit Inside-Network 255.255.255.0
    access-list RA_VPN_splitTunnelAcl standard permit Inside-Network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip Inside-Network 255.255.255.0 10.12.10.16 255.255.255.240
    access-list inside_nat0_outbound extended permit object-group DM_INLINE_SERVICE_1 10.12.10.16 255.255.255.240 Inside-Network 255.255.255.0
    access-list inside_nat0_outbound_1 extended permit ip Inside-Network 255.255.255.0 10.12.10.16 255.255.255.240
    pager lines 24
    logging enable
    logging asdm informational
    mtu inside 1500
    mtu outside 1500
    mtu mgmt 1500
    ip local pool VPN-Pool 172.16.1.1-172.16.1.30 mask 255.255.255.0
    ip local pool VPN-Users 10.12.10.21-10.12.10.30 mask 255.255.255.0
    no failover
    icmp unreachable rate-limit 1 burst-size 1
    asdm image disk0:/asdm-641.bin
    asdm history enable
    arp timeout 14400
    global (inside) 2 interface
    global (outside) 1 interface
    nat (inside) 0 access-list inside_nat0_outbound_1
    nat (inside) 1 Inside-Network 255.255.255.0
    route outside 0.0.0.0 0.0.0.0 Mobily 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
    http server enable
    http Mgmt-Network 255.255.255.0 mgmt
    http Inside-Network 255.255.255.0 inside
    no snmp-server location
    no snmp-server contact
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
    crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
    crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
    crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
    crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
    crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
    crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
    crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
    crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
    crypto ipsec security-association lifetime seconds 28800
    crypto ipsec security-association lifetime kilobytes 4608000
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set pfs
    crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set 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 isakmp enable outside
    crypto isakmp policy 10
     authentication pre-share
     encryption 3des
     hash sha
     group 2
     lifetime 86400
    crypto isakmp policy 30
     authentication pre-share
     encryption 3des
     hash md5
     group 2
     lifetime 86400
    telnet Inside-Network 255.255.255.0 inside
    telnet timeout 5
    ssh Inside-Network 255.255.255.255 inside
    <--- More --->              ssh timeout 5
    console timeout 0
    threat-detection basic-threat
    threat-detection statistics access-list
    no threat-detection statistics tcp-intercept
    webvpn
    group-policy RA_VPN internal
    group-policy RA_VPN attributes
     dns-server value 86.51.34.17 8.8.8.8
     vpn-tunnel-protocol IPSec
     split-tunnel-policy tunnelspecified
     split-tunnel-network-list value RA_VPN_splitTunnelAcl
    username admin password LPtK/u1LnvHTA2vO encrypted privilege 15
    tunnel-group RA_VPN type remote-access
    tunnel-group RA_VPN general-attributes
     address-pool VPN-Users
     default-group-policy RA_VPN
    tunnel-group RA_VPN ipsec-attributes
     pre-shared-key *
    class-map inspection_default
     match default-inspection-traffic
    policy-map type inspect dns preset_dns_map
     parameters
      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 netbios
      inspect rsh
      inspect rtsp
      inspect skinny 
      inspect esmtp
      inspect sqlnet
      inspect sunrpc
      inspect tftp
      inspect sip 
      inspect xdmcp
    service-policy global_policy global
    prompt hostname context
    Cryptochecksum:e5a64fa92ae465cd7dabd01ce605307d
    : end

Maybe you are looking for

  • Problem while creating excise invoice by J1IJ

    Hi Friends I am creating excise invoice from delivery for a depot using T-c0de J1IJ . Problem is every time when I select RG23 in drop down menu after entering delivery no, excise gp and series gp and and save it, system gives error that item is inco

  • Back To My Mac and Cisco VPN client

    I've used back to my mac for a while and love it. Recently I've had to start using the Cisco VPN client and every time I use it it says "Because Back to My Mac is turned on, your VPN connection cannot be established with the server. Would you like to

  • PDF has strange black outline at printers end?

    Hi all I am trying to send a PDF of a book to a printing company in Japan (clients choice!), and I am doing everything I would usually do, supplying with crop marks and bleed. When they open the PDF it seems to have cropped many of the pages and put

  • New GT70 ONE network card update

    So I have just purchased a new GT70 ONE 610us and the killer networking is brutally slow, download speeds of 0.86 Mbps uploads 0.84 Mbps ping 22 on speedtest.net My  win 7 laptop 4 yrs old is getting 8.14 Mbps down, 0.92 Mbps upload, ping 10. I have

  • Using adobe flash player 8 for ps3 browser

    using adobe flash player 8 for ps3 browser. when i go on  the website adobe flash player 8  says its already downloaded but wont open video player