Does DW CS3 write better php than DWMX2004?

I have been using DWmx2004 and been told that the User
Authentication code it writes for User Authentication (and other
Server Behaviours?) is outdated and incompatible with PHP5. It
certainly seems to lead to error reports and problems. Does DW CS3
improve on this?

Yes.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"smiffy47" <[email protected]> wrote in
message
news:ga1gov$qo3$[email protected]..
>I have been using DWmx2004 and been told that the User
Authentication code
>it
> writes for User Authentication (and other Server
Behaviours?) is outdated
> and
> incompatible with PHP5. It certainly seems to lead to
error reports and
> problems. Does DW CS3 improve on this?
>

Similar Messages

  • Does DW CS3 write code to process CDO forms?

    Thanks.

    Yes.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "smiffy47" <[email protected]> wrote in
    message
    news:ga1gov$qo3$[email protected]..
    >I have been using DWmx2004 and been told that the User
    Authentication code
    >it
    > writes for User Authentication (and other Server
    Behaviours?) is outdated
    > and
    > incompatible with PHP5. It certainly seems to lead to
    error reports and
    > problems. Does DW CS3 improve on this?
    >

  • Does AirPort Express require better Internet than Ethernet?

    Wondering since I was having intermittent problems w my Linksys router &amp; trouble updating it so thought switching to Airport Express would give me a simple way to get things working.
    Very disappointed that noes it's worse than before. Yesterday after a # of tries I did get it partly set up &amp; although amber blinking lights, I was able to use Internet.
    Called Set up AppleCare call online to resolve amber light issue. She had me reset modem &amp; when we were done, I again had green light on Airport BUT NO INTERNET CONNECTION. She said to call my ISP cox.
    I did try after a reset to connect MacbookPro directly to Ethernet &amp; got it to connect. Then I unplugged Ethernet from Mac &amp; plugged into airport &amp; no connection again.
    So instead of Airport Express making things better, they are worse. I'm typing this on my iPhone 4S which for some reason has really slowed down.
    I learned that my old Motorola Surfboard modem is Docsis 2.0 &amp; cox is switching to 3.0.
    But it was working better, although frequent brief loss of connection.
    So does Airport require a better modem or better connection than just Ethernet or via my Linksys E1200?
    Not happy also that functionally worse off after calling AppleCare. I know she didn't cause the issue but her suggestion while standard tipped it over to not be connecting.
    &amp; typing all this on my iPhone is not fun although it did just now get back temporarily there for just a bit to its usual speed but now back to having to wait for it.

    Well I did the power down reset. But I think you missed the import of my question.
    I'm talking about an older modem that may be marginal. Not positive about the 2 Ethernet cables I have used either.
    So yes if the modem is working as it should I guess it should make a difference.
    But something is weird when I can can next via Ethernet &amp; then I just unplug the the rent from my Mac &amp; plug it into the wan port on the AirPort Express &amp; no connection.
    To look at the modem &amp; Airport across the room the lights make it look like they are fine.
    I just done have Internet connection to my Mac. I did yesterday w the amber lights flashing.
    &amp; I was connecting w the Linksys but had frequent loss of connection.
    So wondering if maybe Airport has slightly greater requirements that act as a tipping point so it connected without it but doesn't connect w it. But the green light supposedly shows its working fine.
    Well I did put out a wanted request on FreeOC for a compatible Docsis 3.0 cable modem. Supposedly they work better &amp; that might just make the difference.
    Don't really want to buy a new modem when I'm about to move to a new area where requirements might be different.

  • Why does the Fireworks save for web function give better results than in Photoshop?

    Having used the trial version of Fireworks, I have noticed that the save for web function gives greater compression and image quality than saving for web in Photoshop. Why is this?
    As Adobe are not continuing in developing Fireworks, does anyone know if will they will improve the save for web function in Photoshop to match the Fireworks version?
    Are there any third party companies who anyone can recommend who will process large volumes of images for web?
    Thanks

    One of my favourite topics ;-P
    First, the save for web function in Photoshop has not seen any real updates in a long time. In Fireworks PNG export allows for fully transparent optimized files with indexed 256 or less colours, which is impossible in the save for web function in Photohop. It is unsupported.
    This is one of the reasons why Fireworks does a much better job than Photoshop. Another reason is that Photoshop adds meta junk in its exported files, and this also increases the file size (and should be removed, because there are also a number of fields which include information about your setup).
    One other caveat is that Photoshop's save for web functions neither allows for a choice in chroma subsampling, and instead decides automatically below a certain quality threshold to degrade the colour sharpness quality. The user has no control over this. (Fireworks also limits the user this way.)
    One thing to be careful of: FW's jpg quality setting, and PS's quality settings are very different - a 50 in Photoshop is not the same 50 setting in Fireworks.
    For jpg optimization I generally use RIOT (free): http://luci.criosweb.ro/riot/
    (When you install, be careful NOT to install the extra junkware!)
    Fireworks cannot change the chroma subsampling to 4:2:0, which does degrade the quality a bit compared to RIOT and Photoshop in my experience. Photoshop adds useless meta information, even if the user tells it not to do that. RIOT allows you to remove that information, saving 6k. RIOT also offers an automatic mode that optimizes existing jpg images without degrading the quality further, and often saves 10k or more, depending on the images.
    Interestingly enough, in my tests exported Fireworks jpg images are always reduced in file size by RIOT, due to FW's jpg export limitations, without any image degradation.
    In my tests FW's jpg quality versus file size turns out to be the worst of all three. RIOT generally wins, or is at least on par with Photoshop.
    As for PNG export, Photoshop's save for web function is quite abysmal. No 256 colour full transparency export is possible, while Fireworks does support this.
    Having said that, there is a free alternative that leaves both Photoshop AND Fireworks in the dust: Color Quantizer. http://x128.ho.ua/color-quantizer.html
    CQ is an amazing little tool: with it anyone can create PNG files with full transparency and reduced to ANY number of colours! It means that a 512 colour PNG with full transparency is now very easy to do. On top of that, for more difficult images a simple quality mask brush tool allows the user to control and retain even small colour details in a PNG, while reducing the file size to an absolute minimum.
    CQ is one of the best kept secrets of a Web Developer's toolkit. And it is free!
    Both RIOT and Color Quantizer have a built-in batch mode. Both are available for WIndows. Not for Mac. If you are on a Mac, try imageOptim. Not nearly as good as RIOT and CQ, but quite passable.
    PS to be fair, the newest versions of Photoshop do allow for export of 8bit PNGs with full transparency through the use of its Generator functionality. But again, it cannot compete with CQ. And as far as I am aware, Generator cannot be used in Photoshop's batch processing (which, btw, is very slow! For simpler daily image processing tasks I have to do in batches, I prefer IrfanView, which is lightning fast! IrfanView).

  • Question from PSE user: does Lightroom offer a better tagging workflow than Elements?

    I would just like to piggyback onto this question, rather than start a new thread.
    I have been a user of Elements since before it was called Elements. But I have grown increasingly dissatisfied with the product over the last couple years as it has not improved any in its organizational features.
    My primary usage is for organizing. I tag all my photos so that I can search and find things easily. I have 2 main problems with the Elements workflow. #1 is simply that the application takes a long time to launch and become responsive. Sometimes it takes 30 seconds before any of the UI will respond to clicks. Yes, I have a lot of photos, (~20,000) But I don't know if Lightroom may be more powerful or more efficient in that regard.
    #2 is the primary problem. Tagging takes forever. I have so many tags that there is a long list that runs off the screen. If I am tagging a series of shots that have different combinations of people in them, and those tags are spread out in my list, it takes forever to tag, select, tag more, scroll around to select and unselect tags, tag some more, repeat the process. It's excruciating. I've left feedback for Adobe several times through the years that they should add a recently used tags window where recently used tags will float to the top so that they are always available without having to scroll around to get to them. But they have not improved the tagging workflow one bit over the years.
    So the question boils down to, does Lightroom do a better job in the tagging workflow? Is what I described easier in LR? I'm sure that I will download a trial to check it out, but i just wanted to know if an experienced user has thoughts on that.
    Thanks

    I don't have a weak machine, I'm running with 8GB of RAM and an SSD for my applications drive, although the catalog is on a regular hard drive that I use as the data drive.
    This is most likely irrelevant to your Elements speed issues. Repairing or optimizing the catalog file may help
    I'm not sure how a hierarchy will help with the tags, as I already have them arranged in groups of family and groups of friends. The problem is that you get events with a lot of people from different groups and there's no way to avoid having to hunt all up and down the list. You can't really predict what grouping of people will apply. That's why I've really been hoping for a recently used tag list...that would be sooo perfect.
    Yes, but the ability to search for keywords and type a few letters in and see related keywords will help.
    So if you have just tagged a photo with the Anderson Jones keyword (because someone in the photo was named Anderson Jones), and now you need to also tag the same photo with the William Barber keyword (because someone in the photo was named William Barber), you don't really need to scroll, you just need to type in a few letters of William and then select the proper keyword from a much shorter list.

  • Better client than sqlplus for bulk fetch testing .

    Hi,
    I'm doing some test with rows speed retriving via Net8 and need some better client than sqlplus itself .
    There is araysize limit of 5000 in sqlplus and its not oriented for massive row fetching , although Im using set termout off .
    Test are in 10.2.0.3 environment and 100Mbit ethernet netowrk .
    So is there any better client I can use ? Or I need to write it by myself :) ?
    I've tried with pmdtm (informatica fetch utility) but it has got some problems with thread synchronization , basicaly strace profiling returns
    % time     seconds  usecs/call     calls    errors syscall
    57.35    1.738975         161     10819      2145 futex
    41.35    1.253799       32149        39           poll
      1.21    0.036717           3     11869           read
      0.08    0.002491           1      2163           write
      0.00    0.000000           0        50           fcntl
      0.00    0.000000           0        19           clock_gettime
    100.00    3.031982                 24959      2145 totalso instead of reading it's latching :).
    Regards
    GregG

    GregG wrote:
    its not oriented for massive row fetching , although Im using set termout off .You can use SQL*Plus AUTOTRACE command to disable query result printing:
    SQL> set autotrace  traceonly;
    SQL> select * from dba_objects;
    18816 rows selected.
    Execution Plan
    Plan hash value: 1919983379
    | Id  | Operation                      | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |             | 16154 |  3265K|    75   (3)| 00:00:01 |
    |   1 |  VIEW                          | DBA_OBJECTS | 16154 |  3265K|    75   (3)| 00:00:01 |
    |   2 |   UNION-ALL                    |             |       |       |            |          |
    |*  3 |    TABLE ACCESS BY INDEX ROWID | SUM$        |     1 |    26 |     0   (0)| 00:00:01 |
    |*  4 |     INDEX UNIQUE SCAN          | I_SUM$_1    |     1 |       |     0   (0)| 00:00:01 |
    |   5 |    TABLE ACCESS BY INDEX ROWID | OBJ$        |     1 |    25 |     3   (0)| 00:00:01 |
    |*  6 |     INDEX RANGE SCAN           | I_OBJ1      |     1 |       |     2   (0)| 00:00:01 |
    |*  7 |    FILTER                      |             |       |       |            |          |
    |*  8 |     HASH JOIN                  |             | 19706 |  2290K|    72   (3)| 00:00:01 |
    |   9 |      TABLE ACCESS FULL         | USER$       |    66 |  1122 |     3   (0)| 00:00:01 |
    |* 10 |      HASH JOIN                 |             | 19706 |  1962K|    69   (3)| 00:00:01 |
    |  11 |       INDEX FULL SCAN          | I_USER2     |    66 |  1452 |     1   (0)| 00:00:01 |
    |* 12 |       TABLE ACCESS FULL        | OBJ$        | 19706 |  1539K|    67   (2)| 00:00:01 |
    |* 13 |     TABLE ACCESS BY INDEX ROWID| IND$        |     1 |     8 |     2   (0)| 00:00:01 |
    |* 14 |      INDEX UNIQUE SCAN         | I_IND1      |     1 |       |     1   (0)| 00:00:01 |
    |  15 |     NESTED LOOPS               |             |     1 |    30 |     2   (0)| 00:00:01 |
    |* 16 |      INDEX SKIP SCAN           | I_USER2     |     1 |    20 |     1   (0)| 00:00:01 |
    |* 17 |      INDEX RANGE SCAN          | I_OBJ4      |     1 |    10 |     1   (0)| 00:00:01 |
    |  18 |    NESTED LOOPS                |             |     1 |    43 |     3   (0)| 00:00:01 |
    |  19 |     TABLE ACCESS FULL          | LINK$       |     1 |    26 |     2   (0)| 00:00:01 |
    |  20 |     TABLE ACCESS CLUSTER       | USER$       |     1 |    17 |     1   (0)| 00:00:01 |
    |* 21 |      INDEX UNIQUE SCAN         | I_USER#     |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter(BITAND("S"."XPFLAGS",8388608)=8388608)
       4 - access("S"."OBJ#"=:B1)
       6 - access("EO"."OBJ#"=:B1)
       7 - filter(("O"."TYPE#"<>1 AND "O"."TYPE#"<>10 OR "O"."TYPE#"=1 AND  (SELECT 1
                  FROM "SYS"."IND$" "I" WHERE "I"."OBJ#"=:B1 AND ("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR
                  "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR "I"."TYPE#"=6 OR "I"."TYPE#"=7 OR
                  "I"."TYPE#"=9))=1) AND ("O"."TYPE#"<>4 AND "O"."TYPE#"<>5 AND "O"."TYPE#"<>7 AND
                  "O"."TYPE#"<>8 AND "O"."TYPE#"<>9 AND "O"."TYPE#"<>10 AND "O"."TYPE#"<>11 AND
                  "O"."TYPE#"<>12 AND "O"."TYPE#"<>13 AND "O"."TYPE#"<>14 AND "O"."TYPE#"<>22 AND
                  "O"."TYPE#"<>87 AND "O"."TYPE#"<>88 OR BITAND("U"."SPARE1",16)=0 OR ("O"."TYPE#"=4 OR
                  "O"."TYPE#"=5 OR "O"."TYPE#"=7 OR "O"."TYPE#"=8 OR "O"."TYPE#"=9 OR "O"."TYPE#"=10 OR
                  "O"."TYPE#"=11 OR "O"."TYPE#"=12 OR "O"."TYPE#"=13 OR "O"."TYPE#"=14 OR
                  "O"."TYPE#"=22 OR "O"."TYPE#"=87) AND ("U"."TYPE#"<>2 AND
                  SYS_CONTEXT('userenv','current_edition_name')='ORA$BASE' OR "U"."TYPE#"=2 AND
                  "U"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','current_edition_id')) OR  EXISTS
                  (SELECT 0 FROM SYS."USER$" "U2",SYS."OBJ$" "O2" WHERE "O2"."OWNER#"="U2"."USER#" AND
                  "O2"."TYPE#"=88 AND "O2"."DATAOBJ#"=:B2 AND "U2"."TYPE#"=2 AND
                  "U2"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','current_edition_id'))))))
       8 - access("O"."SPARE3"="U"."USER#")
      10 - access("O"."OWNER#"="U"."USER#")
      12 - filter("O"."NAME"<>'_NEXT_OBJECT' AND "O"."NAME"<>'_default_auditing_options_'
                  AND BITAND("O"."FLAGS",128)=0 AND "O"."LINKNAME" IS NULL)
      13 - filter("I"."TYPE#"=1 OR "I"."TYPE#"=2 OR "I"."TYPE#"=3 OR "I"."TYPE#"=4 OR
                  "I"."TYPE#"=6 OR "I"."TYPE#"=7 OR "I"."TYPE#"=9)
      14 - access("I"."OBJ#"=:B1)
      16 - access("U2"."TYPE#"=2 AND "U2"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','curren
                  t_edition_id')))
           filter("U2"."TYPE#"=2 AND "U2"."SPARE2"=TO_NUMBER(SYS_CONTEXT('userenv','curren
                  t_edition_id')))
      17 - access("O2"."DATAOBJ#"=:B1 AND "O2"."TYPE#"=88 AND "O2"."OWNER#"="U2"."USER#")
      21 - access("L"."OWNER#"="U"."USER#")
    Statistics
              0  recursive calls
              0  db block gets
           3397  consistent gets
             78  physical reads
              0  redo size
         908471  bytes sent via SQL*Net to client
          14213  bytes received via SQL*Net from client
           1256  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
          18816  rows processed
    SQL>

  • CS3 Public Beta - MacTel - Plug-Ins

    How many developers have downloaded the CS3 public beta?
    How many developers have downloaded the CS3 public beta SDK?
    How many developers have their plug-ins running natively on MacTel? UniversalBinary?
    I would like to hear your pain points and what I can do in the SDK to make life easier for future developers trying to move from CodeWarrior to XCode.
    One big pain point I know of is debugging. Trying to debug a plug-in in XCode is very difficult. Does anyone have any tricks they can share? I know of two: 1) become a gdb expert (not an easy task), 2) use DebugStr(foo); and that will stop XCode if you have Break on DebugStr turned on.

    Debugging works for me using the following:
    - ALL binaries involved are for a single platform, including XCode, the debugger, and the host. I only get it working for intel binaries on intel machines involving all intel apps. Trying to debug PS in PPC mode for PPC plugin binary on intel fails. The debugger then reports that it can not determine the binary type of the executable (PS).
    - Photoshop points to the build directory to look for the plugin binary. I have my build directory set to a custom repository folder, so it does not necessarily have to be the project folder as far as I can tell.
    - Obviously, a plugin project requires an added executable = Photoshop. I have no additional settings, vars or scripts.
    - In the XCode project settings, make sure that ALL optimization options are OFF. These are not OFF by default, even though the projects come with a default "debug" setting.
    TIP: You can select the project file and make settings, and you can select the target file and make settings. The latter overwrites the former. I have the target settings set to have NO custom settings whatsoever. This ensures that there is only one place where I make settings which are dense enough as it is...
    - Breaking works on the first invocation of the plugin only. With subsequent invocations the link is lost, which I presume has something to do with PS unloading the binary. I recall a similar problem back in the old days of components where a glue component was suggested to do your own loading and unloading of code.
    As for pains:
    My biggest issue currently is obsolescence of the host technology for Filter plugins.
    - When processing events in the plugin GUI, I frequently receive the same event during host callbacks while I'm still processing the initial event.
    - In addition the host still requires a Quickdraw environment which isn't really available anymore.
    - If display pixels would support some additional bit depths, it would significantly reduce the complexity of plugin GUIs and the number of internal plugin buffers. It would also overcome the problem of displaying 32bit linear data...!
    On the Apple OS side:
    - I have implemented a GUI in Cocoa which works fine (don't tell Chris ;-) ). However, there is a problem with inter window communication.
    In general I also believe that the FilterRecord struct is getting a bit aged and overcrowded. A newly designed and more robust interface might be welcome. Splitting up certain functions between new types of filter plugins perhaps...
    Oh, and did I mention re-entrancy yet?

  • Do you install both zendcore and php? Or does the Zend include a php 5 rls?

    This quite unclear. When installing Zencore for Oracle. Do I also need to install php 5 sperately? First before installing Zendcore. Or does the Zendcore package include php 5? Anyone, please help.
    Pete

    No, no need to install php, zendcore = php5+oci8 extension. just install zendcore
    http://zend.com/support/user_docs/ZendCore/oracle/Zend_Core_Oracle_Installation_Guide.pdf
    I just installed ZendCore on a RedHat Linux Core 5 box (Apache 2.2.0, glibc 2.4).
    Apache will not restart, giving this error message:
    "httpd: Syntax error on line 995 of /etc/httpd/conf/httpd.conf: API module structure 'php5_module' in file /usr/local/Zend/Core/modules/apache2/libphp5.so is garbled -- perhaps is not an Apache module DSO?"
    Is the php5 version packed in ZendCore not compatible with Apahe 2.2? (The installation instructions list supported Web Servers including Apache 2.0.x compiled in prefork mode).
    Yes, /usr/sbin/httpd -V says Apache is Prefork mode.
    Any suggestions (other than wait for a newer version of Zend Core?)
    Thanks!
    Roger

  • Adobe has made upgrades with the Dreamweaver CS6 fluid grids. Is there a better tutorial than this?

    It there a better tutorial than this anywhere http://blogs.adobe.com/dreamweaver/2013/02/updated-fluid-grids-in-dreamweaver.html ? I can't seem to understand this guy. I know he means well. I really want to learn fluid grids. Thanks any reconmandations?

    If you want to learn to make responsive Web pages, do not rely on
    Adobe's fluid grid system. Learn CSS yourself. If you need to rely on a
    grid framework, then you are barking up the wrong tree. I can absolutely
    guarantee that if you do not fully understand the theories behind
    responsive design and you use the Adobe fluid grid (or the open source
    frameworks/scripts that Adobe uses) your site will eventually break.
    Study and learn. If you are sharp enough, you will quickly come to
    understand that nearly every article and tutorial on the subject is
    plain wrong. The essence of responsive design is very easy and does not
    require anyone's code but your own.
    Al Sparber - PVII
    http://www.projectseven.com
    The Finest Dreamweaver Menus | Galleries | Widgets
    Since 1998

  • VMWare - Hyper-V Conversion Failed: Does Not Have Write Permissions

    Hey Guys - 
    Today I've been trying to convert a VM from VMWare Workstation to Hyper-V.  I have it in VMWare Workstation and not ESX because I'm working from home currently.  My Hyper-V server is also local and hosted on a new Windows Server 2012 R2 build.
    When I try to convert it at the end of the process, I get the below error:
    Blocking Issue(s):
    1: UNC Path "\\192.168.0.10\VDisks\Nagios Log Server" is not valid or does not have write permissions
    Warnings(s):
    1: The number of USB devices configured on the VMWare guest machine is 1.  The USB device (window cuts off here)
    2: The video memory configured on the VMware guest machine is greater than 4 MB.  The vid (window cuts off here)
    Below is a screenshot:
    Environment
    - Hyper-V server is on a separate system running Windows Server 2012 R2
    - VMWare Workstation is on the PC I'm running the converter on.  The source VM is shared and I have Workstation configured to share on port 444 (443 is taken)
    - Hyper-V Server is on domain - VMWare Workstation Computer is NOT joined to that domain - however - when choosing VM I connected with the domain credentials and browsed to select target folder - not just typed it in.
    - I'm using Domain Admin credentials and the VDisks share is set to have full access to the account
    - I can connect to target share via Explorer and write files / create folders successfully
    - VMWare Workstation version 11 running on Windows 8.1 Update 1 x64
    Any ideas or suggestions?  Thanks!
    Ben K.

    Hi,
    in my case it worked when the Server(-VM) on which we installed the MVMC AND the target-file server were joined to the domain.
    We also created a domain account, which has write-permissions to the target fileshare. We used this domain account for logon on the MVMC-machine and for running the MVMC Wizard.
    Hope that helps
    Regards
    Robert

  • My flash reads the xml, but does not understand the tag php....

    my flash reads the xml, but does not understand the tag php. I want to read my xml dynamically, please help me.
    code:
    stop();
    function randomOrder(targetArray)
        var _loc2 = targetArray.length;
        var _loc3 = [];
        for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
            _loc3[_loc1] = _loc1;
        } // end of for
        var _loc4 = [];
        for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
            _loc4[_loc1] = _loc3.splice(Math.floor(Math.random() * _loc3.length), 1);
        } // end of for
        var _loc5 = [];
        for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
            _loc5[_loc1] = targetArray[_loc4[_loc1]];
        } // end of for
        return (_loc5);
    } // End of the function
    var randomNUM = "?n=" + random(9999);
    _root.lan = 1;
    var homehead;
    var homelink;
    var homelinkwindow;
    var homebg;
    var homeflash;
    var lamp = Array();
    var promo = Array();
    var promobottom = Array();
    var headimg = Array();
    f_xmlwork2 = new XML();
    f_xmlwork2.ignoreWhite=true;
    f_xmlwork2.load("banner.php");
    f_xmlwork2.onLoad = function(sucess){
        if (sucess){
             trace ("XML loaded!");
             f_xmlItemx2 = parseInt(this.firstChild.childNodes[0].firstChild);
             f_totalx2 = f_xmlItemx2.length;
            trace(f_totalx2);
             var _loc12 =0;
             // declarar a imagem de fundo
             homebg = this.firstChild.childNodes[0].firstChild.nodeValue;
             f_headimg = this.childNodes[1];
                 for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++_loc2)    {
    juju = f_headimg.childNodes[_loc2];
    jj = headimg.push({headimg: f_headimg.childNodes[_loc2].attributes.headimg, bgimg: f_headimg.childNodes[_loc2].attributes.bgimg, msgimg: f_headimg.childNodes[_loc2].attributes.msgimg, leftthrow: f_headimg.childNodes[_loc2].attributes.leftthrow, rightthrow: f_headimg.childNodes[_loc2].attributes.rightthrow});
                 //end for
    allpromo = this.childNodes[2];
    jjpromo = allpromo.childNodes;
    for (var _loc2 = 0; _loc2 < allpromo.childNodes.length; ++_loc2)
    trace (jjpromo[_loc2].attributes.title);
    jj = promo.push({img: jjpromo[_loc2].attributes.img, title: jjpromo[_loc2].attributes.title, url: jjpromo[_loc2].attributes.url, window: jjpromo[_loc2].attributes.window, info: jjpromo[_loc2].childNodes[0].nodeValue});
        // end of for
        allpromobottom = this.childNodes[3];
        jjpromobottom = allpromobottom.childNodes;
        for (var _loc2 = 0; _loc2 < allpromobottom.childNodes.length; ++_loc2)
            trace (jjpromo[_loc2].attributes.title);
            jj = promobottom.push({url: jjpromobottom[_loc2].attributes.url, window: jjpromobottom[_loc2].attributes.window, info: jjpromobottom[_loc2].childNodes[0].nodeValue});
        } // end of for
         if (f_xmlwork2.loaded == true)
            headimg = randomOrder(headimg);
            for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++_loc2)
                trace (headimg[_loc2].headimg);
            } // end of for
            play ();
        } // end if
    trace(f_xmlwork2);
    stop();
    PHP code:
    <?
    $link=  mysql_connect("localhost","rnpac_eco","123");
    mysql_select_db("rnpac");
    $dir="banner/";
    $dir1="produtos/img_pro/";
    $dir2="universo/actividades/";
    $sql = 'SELECT tbl_produto.id_produto, tbl_produto.produto, tbl_produto.legenda, tbl_produto.detalhe, tbl_produto.preco, tbl_produto.produto_cat_id, tbl_detalhe_produto.proprietario, tbl_detalhe_produto.local, tbl_detalhe_produto.qualidade, tbl_detalhe_produto.alcool, tbl_detalhe_produto.acidez, tbl_detalhe_produto.ph, tbl_detalhe_produto.informacao, tbl_detalhe_produto.gestor, tbl_detalhe_produto.condicionamento, tbl_detalhe_produto.detalhe_t, tbl_detalhe_produto.interesse, tbl_detalhe_produto.transporte, tbl_detalhe_produto.produto_id, tbl_imagem_produto.id_imagem, tbl_imagem_produto.imagem1, tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6
    FROM tbl_cat_produto, tbl_produto, tbl_detalhe_produto, tbl_imagem_produto WHERE tbl_produto.id_produto = tbl_detalhe_produto.produto_id AND tbl_produto.id_produto = tbl_imagem_produto.produto_id ORDER BY RAND()';
    $resultado = mysql_query($sql)
    or die ("Não foi possível realizar a consulta.");
    $row1=mysql_fetch_array($resultado);
    $sql = "SELECT  tbl_sub_universo.id_subuniverso, tbl_sub_universo.subuniverso, tbl_sub_universo.universo_id, tbl_actividade.id_actividade, tbl_actividade.entidade, tbl_actividade.legenda, tbl_actividade.subuniverso_id, tbl_actividade.det, tbl_actividade.preco, tbl_actividade.data, tbl_detalhe_actividade.actividade_id, tbl_detalhe_actividade.periodo, tbl_detalhe_actividade.descricao, tbl_detalhe_actividade.programa, tbl_detalhe_actividade.informacoes, tbl_detalhe_actividade.actividades, tbl_detalhe_actividade.localizacao, tbl_detalhe_actividade.locais, tbl_detalhe_actividade.servicos, tbl_imagem_produto.id_imagem, tbl_imagem_produto.imagem1,tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6, tbl_imagem_produto.actividade_id FROM  tbl_sub_universo, tbl_actividade, tbl_detalhe_actividade, tbl_imagem_produto WHERE tbl_actividade.id_actividade =tbl_imagem_produto.actividade_id AND tbl_actividade.id_actividade =tbl_detalhe_actividade.actividade_id ORDER BY RAND()";
    $resultado = mysql_query($sql)
    or die ("Não foi possível realizar a consulta.");
    $row2=mysql_fetch_array($resultado);
    $query='SELECT * FROM tbl_banner ORDER BY RAND()';
    $resultado = mysql_query($query);
    echo' <?xml version=\"1.0\"?>
    <home_left_headline>
    <bgimg>'.$dir2.''.$row1['imagem1'].'</bgimg>
    </home_left_headline>
    <home_flash>';
    while($row = mysql_fetch_array($resultado)) {
    echo'<swf headimg="" bgimg="" msgimg="" leftthrow="" rightthrow=""></swf>';
    echo'</home_flash>';
    echo'<promotop>
    <promo img="" title="" url="" ><![CDATA[]]></promo>
    <promo img="" title="" url="" ><![CDATA[]]></promo>
    </promotop>';
    mysql_close($link);

    i have two files banner.php, for testing my flash banner.
    This one works:
    -------------------------------| banner.php |---------------------------------------------
    <?xml version="1.0"?>
    <content>
    <settings>
    <menu X='160'/>
    </settings>
    <nav>
    <main Name='HOME' Link='home.swf'/>
    <main Name='EMPRESA' Link='home.swf' >
    <sub Name='HISTORIA' Link='content.swf' toLoad='content/contentrosa.xml'/>
    <sub Name='OBJECTIVO' Link='content.swf' toLoad='content/contentrosa2.xml'/>
    </main></nav>
    </content>
    -------------------------------|end  banner.php |---------------------------------------------
    this other does not work:
    -------------------------------| banner.php |---------------------------------------------
    <?php
    echo"<?xml version="1.0"?>
    <content>
    <settings>
    <menu X='160'/>
    </settings>
    <nav>
    <main Name='HOME' Link='home.swf'/>
    <main Name='EMPRESA' Link='home.swf' >
    <sub Name='HISTORIA' Link='content.swf' toLoad='content/contentrosa.xml'/>
    <sub Name='OBJECTIVO' Link='content.swf' toLoad='content/contentrosa2.xml'/>
    </main></nav>
    </content>";
    ?>
    -------------------------------|end  banner.php |---------------------------------------------
    Why? What is wrong? why does my flash does not understand the tag php
    Message was edited by: armandix

  • Is a PowerMac G5 2.4 Dual Chip (used) a better option than an iMac?

    Hi Guys
    I'm still reasonably new to Macs, and I am really more of a music person than a computer person (which is frustrating at times!!).
    I am looking at selling my iMac 2.4GHz (4GB RAM) and replacing it with a current iMac 2.66GHz, because the new iMacs can handle 8GB of RAM, which would really help me run BFD2 with less problems.
    But I noticed this on eBay:
    APPLE POWERMAC G5 2.3 GHZ DUAL CHIP-240gb HD-1.5 gb RAM (eBay item 230346540784) - would this be a better choice than going with a new iMac?
    I don't even know if this one is Quad Core. My knowledge of Mac Pros is zero! But I do know a lot of people go for them over iMacs, and even suggest getting a second hand Mac Pro in preference to a new iMac if it's for music.
    Could someone help out and tell me if the above machine is a better bet than going for a new iMac?
    Thanks heaps,
    Mike

    i dont have any evidence to prove this, but i would think that your iMac would run circles around the much older power mac G5 system.
    a mac pro would be a diff story. mac pros are the 'new' version of the power macs now running intel chips.
    www.everymac.com can give you all the tech specs you need on macs.

  • IPhoto 09 Gives Better Results than Aperture 2.0 on RAW

    I wanted to compare the results of Aperture 2.0 to iPhoto '09 on a RAW photo. To my chagrin, iPhoto had done a better job on the photo just by using the instant fix wizard and then one click on the color saturation effect.
    With Aperture, I imported the iPhoto library and made sure I was working on the "Original" RAW photo from that library. My workflow started with autoexposure, then the two auto levels (Luminance & RGB) by the histogram. I maxed the Sharpening in the RAW fine tuning.
    I tried tweaking the contrast, saturation, exposure and recovery. Nothing I can seem to do in Aperture can get the photo to look have the details as sharp and the colors as vibrant. iPhoto's automatic algorithms appear to be far superior to Aperture's auto exposure and auto levels of Luminance and RGB. Plus, it appears to do a better job than all the other controls will allow me to do manually.
    Has anyone else compared the two products side by side on the same photo and experienced the same?
    Thanks,
    Don

    Hmmmm,
    This is a meaningless comparison - If you cannot get the results you want in Ap then just use iPhoto and it's auto everything button and be happy. There is nothing magic going on in iPhoto, it uses the same CoreImage subroutines as Aperture for RAW interpretation prior to applying any of it's adjustments. One thing that the iPhoto auto functions will do is it will sacrifice more highlights and shadows detail than the Aperture auto levels will, you can set that in prefs if you like more contrast.
    RB
    Ps. the raw fine tuning sharpen slider will make virtually no visual difference, it is NOT for final output sharpening.

  • Better results than you could achieve in a real-time onlining suite?

    Another for Zeb and anyone else who cares about color. HD for Indies (http://www.hdforindies.com/) reviews The DV Rebel's Guide by Stu Maschwitz. In a section, "Why so AE centric when such a pain - why not do in FCP?", Mike Curtis pseudo-interviews Stu, who says "When onlining, the rule is the polar opposite: no amount of render time is too much to endure in the name of increased image quality. I detail some techniques for extracting every last bit of luminance range from your video source, removing color subsampling artifacts (without plug-ins), and a complete pipeline for multiple digital masters. If you follow these guidelines you can actually achieve better results than you could in an expensive real-time onlining suite."
    He is talking about the poor boy with a three year old laptop for whom long render times don't cost too much. Sounds like me.
    Comment?

    I have a valid example data file attached to this thread.
    If you open BEXTEST.bin in a hex-editor of your choice, you'll see the BEXUS as 42 45 58 55 53 and then the time as 00 28 09 etc.
    I couldn't get Joe Guo's VI to work. It doesn't count packages correctly, and the time is not displayed correctly either.
    The file was saved using a straight save to file VI.
    The data is from actual launching area tests performed a few mintues ago. The time displayed is "On time" e.g. how long the gondola has been powered up.
    I have a spare T-junction, so I can hook into the balloon real-time data as we fly, in case anyone care to see if they can figure out why the latest version of Joe Guo's program is not displaying correctly.
    I will monitor this
    thread during and after flight to see if anyone can make it in time!
    Thanks for the great effort!!
    Attachments:
    bextest.bin ‏53 KB

  • Is it true that iPhone 4s does not allow to take more than 1000 photos?

    Hi!
    Is it true that iPhone 4s does not allow to take more than 1000 photos?
    http://dolboeb.livejournal.com/2299939.html

    Not true.
    Only Photostream is allowed to take a max of 1000 photos, then they will be removed from server/icloud.

Maybe you are looking for