Using php db4 on windows

Hello,
I'm trying to install on windows db4 for php4. Actually, I don't know, how I can get the db4'dll.
Thanks for your help
malo

Hi Malo,
Here is the related documentation, on using php with BDB and on building BDB:
Using Berkeley DB with PHP: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/ext/php.html
Building for Windows: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_win/intro.html
Regards,
Bogdan Coman

Similar Messages

  • Windows 2008 R2, Internet Information Services: Changing security settings to change a folder's content by using PHP

    Hello,
    I would like to ask if somebody's there who could help me:
    I am a PHP developer from Stuttgart, Germany.
    In my PHP web application I want to edit text files by using PHP code.
    These files are created once (by me), so they exist before the PHP application is used by any web user.
    My PHP code reads out some text files and other text files' contents are changed.
    In my developer's environment (Windows XP, XAMPP) it works fine.
    So I'm sure my code is OK.
    But the productive system ist a windows server system (Windows 2008 R2 and Internet Information Services).
    And here it doesn't work! The text files' contents aren't changed.
    I know on windows based webserver systems I have to change the folders security settings
    (what I mean: the folders where the text files are placed). I must give the IIS system user (in the past it's name was IUSR..., now it is named otherwise) additional rights, so that it can change folders content.
    I did. But it doesn't work.
    Some years ago when we used Windows Server 2003 that was the solution that worked.
    Giving the IUSR right to change folders content. That was it.
    But what is new in Windows Server 2008 that it doesn't work?
    I think it must be very complicated. Could somebody help me?
    Thanks
    Tommy

    Hi,
    This is IIS related issue, so you may post in the IIS forum.
    And it seems like that you have already post there, please follow it up to get further assistance
    http://forums.iis.net/t/1208164.aspx?Windows+2008+R2+Internet+Information+Services+Changing+security+settings+to+change+a+folder+s+content+by+using+PHP
    Regards,
    Yan Li
    Regards, Yan Li

  • Bordercontainer into .jpg file using php

    hi
    i have done one bordercontaine using flex 4.
    that bordercontainer contain one image and label
    i want to store that bordercontainer into jpg using php file
    I give my mxml file and php
    newflexphp.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.graphics.codec.JPEGEncoder;
                import mx.rpc.events.ResultEvent;
                import mx.utils.Base64Encoder;
                //import com.adobe.images.JPGEncoder;           
                import flash.utils.ByteArray;
                import flash.system.System;
                private var bmSave:BitmapData;
                public function resultHandler( event: ResultEvent ):void
                    Alert.show( "Result "+String(event.result) );
                public function saveImg():void{
                    var jpgSource:BitmapData = new BitmapData (bcont.width, bcont.height);
                    jpgSource.draw(bcont);
                    var jpgEncoder:JPEGEncoder = new JPEGEncoder(85);
                    var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
                    var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream");
                    var jpgURLRequest:URLRequest = new URLRequest("http://localhost/jpg_encoder.php?name=sketch1.jpg");
                    jpgURLRequest.requestHeaders.push(header);
                    jpgURLRequest.method = URLRequestMethod.POST;
                    jpgURLRequest.data = jpgStream;
                    navigateToURL(jpgURLRequest);
            ]]>
        </fx:Script>
        <s:BorderContainer x="369" y="171" width="232" height="216" id="bcont">
            <mx:Image x="44" y="14" width="151" height="87" source="images/3.jpg"/>
            <s:Label x="44" y="132" text="Best wishes" width="94" height="44"/>
        </s:BorderContainer>
        <s:Button x="163" y="182" label="Button" click="saveImg()"/>
    </s:Application>
    jpg_encoder.php
    <?php
    if (isset($GLOBALS["HTTP_RAW_POST_DATA"]))
        // get bytearray
        $jpg = $GLOBALS["HTTP_RAW_POST_DATA"];
        // add headers for download dialog-box
        header('Content-Type: image/jpeg');
        header("Content-Disposition: attachment; filename=".$_GET['name']);
        echo $jpg;
    ?>
    now i get the result seketch.jpg file
    but the link is redircted to php
    just i want to convert my bordercontainer into .jpg file using php.
    how can i do .
    regards
    athi

    Try this possible workaround:
    1.— Take your original file (before any edits) and duplicate it.
    2.— Work on the duplicate (exact clone) only.  Do all your Photoshop edits to your heart's content.  (Optional step: save the file, but don't close it so you don't compress the JPEG and deteriorate its quality.)  Do a select all (Command+A on the Mac, Control+A on Windows) to select the entire pixel content of the duplicate, and COPY that.  Now you have your edited image on your clipboard.
    3.— Open the original file, and do a select all on it, but don't copy that!  Instead, DELETE all the pixel content of the original.  Now you have a blank image with only the metadata of the original.
    4.— Paste the contents of your clipboard (the pixels of the edited clone) into the blank original.  Save.
    With any luck, you'll have the edited pixels with the metadata of the original.
    It should work, but there are no guarantees.

  • CS6 Dreamweaver using PHP & MySQL - Delete Record Server Behavior?

    When I try to insert the Delete Record server behavior. I get an error message about a DeleteRecord.js file, which seems to be missing or defective.  I cannot use the server behavior.  I have a file that I developed using CS5, and it does indeed delete the record, but does not proceed to the destination I want.  I cannot change that except in the server behavior, so I'm stuck.  I have noticed that server behaviors seem to disappear without apparent cause, as it seems to have in this case.  I will appreciate any suggestions!  Is there any way to embed a call to a target page manually?  All is working WITHOUT the server behavior appearing, but I want to go to a confirmation display page that shows the record is indeed deleted, and we just return to the (now blank) delete confirmation page.  That'll drive a user bonkers!
    Thanks!
    Delete Record in CS6 Dreamweaver using PHP & MySQL?

    Well, your error message is self-explanatory.
    DW stores ServerBehaviors in 'Configuration' folder in installation directory. If one of the behavior JS files is missing/ corrupt, you'll see the error message you just did.
    I've uploaded a functional, proper version of DeleteRecord.js onto my site for you to download. Here's the link:
    http://www.sudarshan.me/adobeforum/dw/app/behavior-js/DeleteRecord.zip
    Download this file, extract it and put DeleteRecord.js file in your installation directory as follows. If prompted, 'replace' your local copy:
    Mac: Applications > Adobe Dreamweaver CS6 > Configuration > ServerBehaviors > PHP_MySQL
    Windows: C:\Users\Your User Name\AppData\Roaming\Adobe\Dreamweaver CS6\[language]\Configuration\ServerBehaviors\PHP_MySQL
    It should work as expected.
    If that still doesn't solve the problem, reset your DW preferences and cache and try doing it. Follow the instructions here to reset cache: http://forums.adobe.com/thread/494811
    Let us know how it goes.
    -ST

  • Gif fail after download using php

    I create a web page in php. after download a file using php:
    header('Content-Type: application/octet-stream');
    header('Content-Disposition: attachment; filename="sth.txt"');
    readfile("sth.txt");
    the gif animation dosn't work. in IE9 every thing is ok.
    please help me.

    Thanks for your reply.
    My web page is offline, in my pc using EasyPHP.
    I tried other mime types like text/plain too.
    Let me explain my question more:
    There is sth similar to Yahoo Mail. My page has a link, like '''Files(2)''', it means two new files is available for download.
    After user clicks it, he see the links to download the files. before download there must be a MySQL query to decrease the number of new files (1), then download the file. I implement this using AJAX. first time every thing is ok, but for second time, after user clicks the link to download, the AJAX gif is not working (image loads without animation). Also for testing, I placed a gif in my page to show all the time (not for AJAX). after the first download, the animaion is stop and show a still image.
    By the way, my page do net refreash after click and download.
    Of course, i solved my problem by using window.open() instead of window.location.href for redirect to download page.
    Thanks for help.

  • J2me send image using php as server

    hii all,can you help me give me a souce code for send image in j2me to server(i'm using php)????????? cause i need for my final projects
    thanks

    The reason i want to use gmail because i can't use smtp university's mail server( looking to the apple server error log is say something about IsSMTP(); function. today, i had discussion with them(ICT dept) and they can't solve it as there's no apple server used before/now and no one familiar with it. they give me other alternative by using a "secret server", a subdomain name were given with no smtp authentication. no username or password were used, not even using any ssl or tsl security. they give me this last solution when i install joomla on the other windows server and try to use university smtp server with email account. error saying cannot connect to smtp server. i did try also using joomla on my apple server still with the error. so what i understand now is that its related to university global networking security/policy setting(correct me if i'm wrong). so for the SL server, its should be super easy to setup if you are yourself configuring the internet direct to your ISP. thanks very much to Camelt for quick answered. So i should not facing any problem with apple server if i bought and connect it direct to my ISP, right Camelot?

  • Can I use iCloud on two Windows 7 PC's? (same apple ID)

    Hi!
    I am a new user of Apple products and would like to use iCloud on two Windows PC's to upload Pictures and be able to see them on iPad. I manage to setup one computer and upload a few pictures for test and it worked, however when I setup computer number 2, nothing happens after I put the pictures on the required location to upload.
    Please let me know if this is feasible and if is not, what do I need to do to enable computer number 2 as the one to use and disable using computer 1 (the one working so far)
    Regards

    You can only create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher.  After creating your account on one of these devices you will then be able to sign into the account using your iCloud ID on your PC.

  • What format for my external drive allows use with Mac and Windows?

    I got an external hard disk (1 tr) and i want to used it for my windows and mac, i read i can have two partitions one for mac and one for windows, but i dont really want to have two parts, and I read i can format it by fat32 and i can write and read on both os, is that true?
    I want to use it for movies, os backups, and files..
    Is it true that i can only save files up to 4 GB when the format is fat32?
    please advise..

    It this case you would need to to go to "Disk Utility" on mac and select 3 partions which will be under the Parition Layout in my screen shot below. "Current" is grayed out that will drop down select 3 partitions and make one NTFS, second Mac OS Extended, third FAT32. Using the FAT32 for both Mac and Windows but the files have to be under 4GB each.

  • I recently purchase macbook air with OS 10.10.2. I want to use my Seagate external backup plus hard drive for time machine back up. How to partition my 1TB Seagate back up plus hard drive for use with mac and windows pc?

    Hi All,
    I recently purchased 13" Macbook Air with OS 10.10.2. I want to use my 1TB Seagate backup plus external hard drive as time machine and my windows 7 pc. Please suggest a method. Thanks in advance for your reply.

    I strongly recommend having an external drive dedicated solely for TimeMachine. You could partition the drive but if something goes wrong you risk losing the data on both partitions. Should you decide to go ahead with splitting the drive for two different uses you’ll need to partition the drive either using the Mac’s built in Disk Utility program or Windows utility. I believe the built in Windows disk utility program will destroy the current partition and erase the data that’s on it - I use a third party Windows disk utility program for partitioning and it allows for non-destructive partitioning but warns to back up data first just in case. Apple’s Disk Utility can do non-destructive partitions but I don’t recall every trying to do a non-destructive partition on a disk originally formatted for Windows using it. Again - back up that data just in case.
    Finally, your TimeMachine drive should be at least 1.5 times (I prefer 2 times) the size of the data you expect to be backing up a year or two from now.  In other words, if you currently are using 50GB of your computer’s drive but expect to begin purchasing Mac software to replace software on your Windows computer and if you expect to be putting photos, music, and other data on it you might expect that two years from now you’ll have 100GB of stuff on the drive. So a 200GB partition is the smallest size you’d want.  TM’s backup scheme keeps multiple copies of data as it changes so the extra room is important for this scheme.

  • HT6114 Can't save downloads to existing files??  In the "save as" box I use the little "search" window to locate where I want to put a new file but when found the location file does not operate.  And dropdown menu says "save to online acct"

    When I try to save an emailed-to-me document to an existing file on my hard drive by using the little "search" window the recipient file is inactive and does not open to recieve the document I want to save (nothing happens when I click on it and it's a subdued color).
    If I click through my files manually by starting on the desktop and working my way to the location of the recipient file I can save.
    This takes a lot of time and is DRIVING ME CRAZY!
    Please tell me I've just missed something obvious that can be fixed in a jiffy!?

    OMG!!  It also happens when I try to open a file from inside a program like Adobe Reader.  If I use the little corner search window all the files are inoperable.

  • How do I use my webcam in Windows 8?

    QuestionHow do I use my webcam in Windows 8?
    AnswerSkip this and contact a professional
    If you'd like to skip this guide and contact a professional, CLICK HERE.
    Just like how you can use your keyboard with many applications, there are many applications with which you can use your webcam.
    Camera app
    Most Windows 8 laptops come with the Camera app pre-installed. You’ll find it on the Start screen, or you can search for it by typing “Camera” at the Start screen. If you don’t have it installed, you can download it from the Store app.
    Do note that while I’m explaining how to use the Camera app, you can use other apps with your webcam as well. Run the Camera app. If this is the first time you’ve opened the Camera app, you’ll likely see a message asking if you’d like to allow the app to know your location. Select either Allow or Block depending on your personal preference.
    Recording
    You’ll see an image in the center with two buttons on the right. When the bottom button is pressed, it’ll save the image to the camera roll. Press the top button to begin recording a video. While a video is recording, a timer will be displayed in the image and the top button will change. Press it again to stop recording.
    Right-click anywhere in the camera app while viewing the camera to see additional buttons at the bottom, including timer and exposure buttons.
    Browsing the camera roll
    When you move the mouse on the screen, you’ll notice a button on the left that can be used to scroll through your camera roll. While viewing the camera roll, move your mouse to see a back button and forward button on the sides of the screen. If you move forward all the way, you’ll be back at the camera.
    You can right-click in the camera roll to see additional options there as well, including rotating and cropping.
    Photo and video storage
    Your photos and videos in your camera roll are stored in a folder named “Camera Roll” in the “Pictures” folder.
    To find this folder, hold the Windows key and press the ‘E’ key to open File Explorer, then select “Pictures” in “This PC.”
    Video
    In addition to this article, you can watch the following video for more information on using your webcam.

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • I have been using itunes on my windows based pc for years but since installing the latest itunes update I have been getting the error message A required itunes component is not installed. Please reinstall itunes. (-42404)

    I have been using itunes on my windows 64 bit laptop for years but since downloading the latest itunes 10.7 update whenever I opened itunes the error message 'A required itunes component is not installed. Please reinstall itunes (-42404)'
    Itunes would still load and play music in my library and I could still sync my ipod but when loading a CD itunes would not recognise the album/tracks and I would need to type them manualing after uploading.
    I have just bought the new iphone5 and went to sync the phone with itunes. itunes recognises the iphone when plugged in via the usb port or when wi fi is turned on but itunes will not allow the phone to sync.
    I spent over an hour the other morning speaking to apple customer support and have ensured I have administer right and that UAC is turned off.
    I was taken through msconfigure and adjusted the startup tab but still no joy.
    In the end I was e-mailed instructions on how to uninstall and then reinstall itunes and component parts.
    Now that I've uninstalled itunes when I try reinstalling I get the following messages during the download.
    The 1st message is;
    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application  Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    When I click ok the next message that appears sometime later during the install is;
    Service 'Apple Mobile Device' (Apple Mobile Device) Failed to start Verify that you have sufficient privileges to start system services.
    The options I have are to abort, retry or ignore. If I retry the same message comes back and if I  abort or ignore the download continues and I then get the following message:
    'Apple Application Support was not found. Apple Application Support is required to run itunes Helper. Please uninstall itunes, then reinstall itunes again. Error 2'
    After attempting to reinstall itunes only some components were installed however itunes would not open.
    It would appear many people have experienced problems with this latest download!

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • How use PHP to read image files from a folder and display them in Flex 3 tilelist.

    Hello. I need help on displaying images from a folder dynamically using PHP and display it on FLEX 3 TileList. Im currently able to read the image files from the folder but i don't know how to display them in the TileList. This is my current code
    PHP :
    PHP Code:
    <?php
    //Open images directory
    $imglist = '';
    $dir = dir("C:\Documents and Settings\april09mpsip\My Documents\Flex Builder 3\PHPTEST\src\Assets\images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "filename: " . $file . "\n";
    $dir->close();
    ?>
    FLEX 3 :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="pic.send();">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.rpc.events.ResultEvent;
    public var image:Object;
    private function resultHandler(event:ResultEvent):void
    image = (event.result);
    ta1.text = String(event.result);
    private function faultHandler(event:FaultEvent):void
    ta1.text = "Fault Response from HTTPService call:\n ";
    ]]>
    </mx:Script>
    <mx:TileList x="31" y="22" initialize="init();" dataProvider = "{image}" width="630" height="149"/>
    <mx:String id="phpPicture">http://localhost/php/Picture.php</mx:String>
    <mx:HTTPService id="pic" url="{phpPicture}" method="POST"
    result="{resultHandler(event)}" fault="{faultHandler(event)}"/>
    <mx:TextArea x="136" y="325" width="182" height="221" id="ta1" editable="false"/>
    <mx:Label x="136" y="297" text="List of files in the folder" width="182" height="20" fontWeight="bold" fontSize="13"/>
    </mx:Application>
    Thanks. Need help as soon as possbile. URGENT.

    i have made some changes, in the php part too, and following is the resulting code( i tried it, and found that it works.):
    PHP Code:
    <?php
    echo '<?xml version="1.0" encoding="utf-8"?>';
    ?>
    <root>
    <images>
    <?php
    //Open images directory
    $dir = dir("images");
    //List files in images directory
    while (($file = $dir->read()) !== false)
    if (eregi("gif", $file) || eregi("jpg", $file) || eregi("png", $file))
    echo "<image>" . $file . "</image>"; // i expect you to use the relative path in $dir, not C:\..........
    //$dir->close();
    ?>
    </images>
    </root>
    Flex Code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="callPHP();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.http.HTTPService;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.ItemClickEvent;
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var arr:ArrayCollection = new ArrayCollection();
    private function callPHP():void
    var hs:HTTPService = new HTTPService();
    hs.url = 'Picture.php';
    hs.addEventListener( ResultEvent.RESULT, resultHandler );
    hs.addEventListener( FaultEvent.FAULT, faultHandler )
    hs.send();
    private function resultHandler( event:ResultEvent ):void
    arr = event.result.root.images.image as ArrayCollection;
    private function faultHandler( event:FaultEvent ):void
    Alert.show( "Fault Response from HTTPService call:\n " );
    ]]>
    </mx:Script>
    <mx:TileList id="tilelist"
    dataProvider="{arr}">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Image source="images/{data}" />
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    </mx:Application>

  • Webi report using openDocument URL,the window does not close..

    Hello,
    While viewing a Web intelligence report using openDocument URL, the window does not close after clicking on Document -> Close option, and the report remains open.
    And if I close the browser, the session of the user in InfoVierw remains opened
    Thanks
    Environment
    Firefox/3.6.15
    Internet Explorer 8
    BusinessObjects Enterprise XI 3.1
    SAP Integratio KIT XI 3.1
    SAP BW 7.02

    Please check SAP note 1512960  and SAP note 1384496.
    http://service.sap.com/notes
    This behaviour is by design.
    Regards,
    Stratos

Maybe you are looking for