Question about PHP

I am completely new to programming and have enjoyed Linux so much, that I would like to go into PHP next. Currently I am a University student with a dead end major (Russian Studies). I am looking to get a certificate in PHP over the course of this next year and to find a little better job with it than I could get with my current degree. I would do a Google search for this, however, I have come to like Arch and the community that surrounds it and wanted to know if any you fine web programmers out there, had any suggestions for free online courses in PHP or book that could be purchased. I was also wondering what a good PHP certification exam to take would be. I have seen the Zend exam and was considering doing a test prep for this after I learn a little more about PHP and SQL. Thank you for your help and suggestions!

Berticus wrote:
As  I said, to most people, taxonomy doesn't matter.  It does matter to other people, and I don't mean people like me who have these little pet peeves.
It matters to people who know a lot of languages who need to know when to use what language.  There isn't a single programming or scripting language that can be everything, so it's important for people, mostly software engineers, to know taxonomy, so they can pick a language most optimal for what they need to get done.  Most of the time, when you're dealing with very complex systems.  Instead of using one language for the whole system, you'll find out you'll be using COBRA to handle hardware, C++ to handle interface and C to tie everything together or something like that.
I mean when you're differentiating between an interpretted language (script) and a program, the issue is efficiency and speed.  No matter what you do, an interpretted language is inherently slower and less efficient than a programming language.  Even Java that is compiled, is compiled to Java Native Language or something like that, and requires the Java Virtual Machine to interpret it (that's why Java gets it's own branch).  I believe it's the fastest interpretted language, but how does it compare to a natively compiled program?  It's still slower.
Even when you know you're going to use a programming language, you still have choices, because each programming language can be split into a high, middle, and low level language.  Reasons for using different levels are due to how quickly do you need to write the program, how portable does the program need to be, how easy should other people be able to read the program, does it need to have low level abilities such as handling memory directly.  Then there's also the question about how your program is going to flow.  Is it functional or object oriented?
It's not so much an opionated matter when you think about it.  It's more along the lines of do you need this knowledge or not?  For most people, I'm willing to bet that's everybody who posts in this thread, that information is not important, they don't need to know it, because they handle very, very simple applications compared to the complex systems that do indeed require the programmer or scripter to know the difference.
Actually, the difference between interpreted and compiled (and faux-compiled) languages is different from the difference between programming and scripting languages, interpreted languages can also be programming languages, and compiled languages can be scripting (although this happens very little and is really pointless and tedious to do )
'Scripting' usually refers to code meant to extend upon a framework or program separate from the script itself, whereas 'programming' is creating applications that are on their own, separate applications, regardless of whether they're run though an interpreter at runtime. The difference is a bit vague, and you are right in that interpreted languages are often used for scripting, but it is not necessary, look at something like python, this can be used both as scripting for automating tasks quickly by using it's immense library, as well as for creating stand alone applications, which would be programming. (PHP is virtually always scripting, though)
Either way I prefer the term 'coding'

Similar Messages

  • Questions About PHP

    I guess this is the best place to post this since my problems are with php and xml, and with compiling c code. I'm using the Phoronix Test Suite, which is entirely PHP based (you need to install the php package, not a whole webserver for it to work) and pretty poorly documented, and if you want to use extra features that dont come with the main package you have to install them yourself which is a major roadblock from someone like me who knows absolutely nothing about PHP. The program itself works fine, the problems I have are with using the additional features. Ive posted a thread over there yesterday but their forum doesnt seem to be that active.
    First off to export your results to a pfd file you have to have the fpdf module (fpdf.php) but I have no idea where to put it, Ive googled it but all ive found is that you can put it anywhere that include() can look but I have no idea where include CAN look lol. Ive looked through /etc/php/php.ini and a few of the php files for the PTS but cant find it defined anywhere. Ive put it where all the other php modules are in /usr/lib/php/modules but when I try to use the module in PTS via phoronix-test-suite result-file-to-pdf it says that I need to have the fpdf program installed for it to work.
    Second problem (?) I have is with viewing the results in a web browser. After a benchmark completes it asks you if you want to view the results in a web browser and if I select yes the results are shown but theyre nearly impossible to read since its all one big block of text with no spaces. The results are stored in an xml file called composite.xml and there are two other xml files in the same folder called pts-results-viewer.xsl and test-1.xml (which is just another results file from a previous test), there is also an html file called index.html which just references the composite.xml file in its code. I know very little about HTML and XML but almost everytime Ive tried to load an xml file in a web browser it displays either the source of the file or just a big unformatted block of text, so I dont know if this is really an error or if its supposed to be like this.
    The third problem I have is with php-gtk. If I simply install the php-gtk package with pacman it installs fine but when I try to load the program from the console using phoronix-test-suite gui its gives me the following errors:
    PHP Warning: PHP Startup: php-gtk: Unable to initialize module
    Module compiled with module API=20060613
    PHP compiled with module API=20090626
    These options need to match
    in Unknown on line 0
    The PHP GTK module must be loaded for the GUI.
    This module can be found @ http://gtk.php.net/
    I remember reading that php-gtk from the aur said that it used a modified php-gtk.ini and that I should tell all the programs to use that file instead of the default one, so with the php-gtk package installed via pacman I tried to open the program via php-gtk -c /etc/php/php-gtk.ini /usr/share/phoronix-test-suite/pts-core/phoronix-test-suite.php, it says the same thing.
    If I try to compile php-gtk from source using aurbuild the compilation errors out about 85% of the way through (right at the GTK Coverage portion) with about 100 or so error: duplicate 'static' errors in various header files. Ive tried everything that I cant think of to try and remedy this but nothing seems to work.
    These are the things that Ive tried:
    building dependencies from the aur
    syncing dependencies from pacman
    removing the php package that I installed via pacman and building it with aurbuild --build-deps php52 (the package named php had errors in the pkgbuild so i used php52 and changed the package name to php in the pkgbuild) and then building php-gtk
    following this guide to make sure that I have all the dependencies that I need and that they are compiled/installed in the order that they should be.
    None of which have worked, they all give the same errors. The only thing I havent tried is manually compiling everything without using abs/aurbuild and following the instructions on the page I linked to.
    In case its helpful, heres the php modules that are loaded:
    [PHP Modules]
    Core
    ctype
    date
    dom
    ereg
    fileinfo
    filter
    gd
    gettext
    hash
    libxml
    mbstring
    mysqlnd
    pcntl
    pcre
    posix
    readline
    Reflection
    session
    SimpleXML
    SPL
    standard
    tokenizer
    xml
    xmlreader
    xmlwriter
    zlib
    [Zend Modules]
    Can anyone clue me in on any of this?
    Last edited by brando56894 (2009-10-07 00:35:27)

    Thanks for the info, I finally got the gui to work I manually compiled (almost) everything, stuff that errored out I cheated and installed with pacman and gtk-php finally compiled successfully, the pkgbuild I was initally using probably didnt include some of the flags that were needed. I had to use the configure flag --disable-gtktest while I was configuring php-gtk or else it would complain that gtk+ >= 2.6.0 wasnt installed even though I have gtk-2.16.5-1 installed.
    After about 2 hours of downloading and compiling it still gave me the API error I mentioned before, needless to say I wasnt too happy. I googled again and found a bug-report about the same error and it said that its usually do to leftover files from an older installation. One person mentioned when they upgraded from ubuntu edgy to feisty-beta they got this error and found out that an old version of the php binary was there and the newest one was called php5 so they removed the old one and made a link from php5 to php. Just for the hell of it I checked out my /usr/bin for the same problem, it wasnt that obvious though. php was there, php-config was there and the link I had just created called php-gtk2 was there.
    The previous two were from 9/27/09 while the link was obviously from today. I added .old to the names of php and php.conf and made a link from /usr/local/php-5.2.3/bin/php -> /usr/bin/php, added extension=php_gtk2.so to /etc/php/php.ini (actually it was already there from when I was messing around before) and ran phoronix-test-suite gui and finally it worked.
    I tried place fpdf.php in my modules directory but its still not finding it and it (and i) are gettting confused since the tutorial I was following installed stuff into /usr/local/php-gtk-2.01 and not the default location. I'm going to go into my other installation and see if I can get everything to work with just pacman since I know what (one of the) actual problem(s) is. If not Im going to create a pkgbuild for it because this was a HUGE pain in the butt.
    Heres the composite.xml, the PTS-results-viewer.xsl and the Index.html

  • Question about PHP scripting

    i just did a PHP script for a web form, it works fine that
    when i press submit, it displays the page said "thanks for
    submitting," but the problem is i never receive the email of the
    data, any idea?

    I agree with GarryCT that you should try a simple test (no
    HTML) to see
    if you can send mail at all. If that succeeds, then try
    building it up
    to the point you're hoping for.
    When sending HTML mail, you /might/ want to consider
    including a plain
    text version and sending multi-part email.
    Anyway, here are some comments I have for the code posted
    here:
    Try
    temporarily turning on display errors.
    > <?php
    ini_set('error_reporting', E_ALL);
    ini_set('display_errors', 1);
    > /*subject and email variables*/
    > $subject = 'php scripting';
    > $me = 'my email';
    > /*gathering data variables*/
    > $name1 = $_POST ['name1'];
    > $name2 = $_POST ['name2'];
    > $email = $_POST ['email'];
    > $company = $_POST ['company'];
    > $brief = $_POST ['brief'];
    >
    > $body = <<<EOD
    > <br><HR><br>
    > First Name: $name1 <br>
    > Last Name: $name2 <br>
    > E-mail Address: $email <br>
    > Company: $company <br>
    > Brief: $brief <br>
    > EOD;
    Hopefully, that indent was caused by the Web forum.
    Otherwise, EOD;
    should be at the very start of the line - no white space[1].
    EOD;
    > $headers = "From: $mail\r\n";
    You have not assigned a value to $mail. Some hosts require
    this to be
    an address in your domain. Try using your $me variable here
    (assuming
    it is a valid email address from this domain).
    > $headers .= "Content-type: text /html\r\n";
    Try removing that extra space. You might also need to add
    mime
    version[2]. Does order make a difference? Try this for the
    $headers
    variable:
    $headers = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' .
    "\r\n";
    $headers .= "From: $me\r\n";
    > $success = mail($me, $subject, $body, $headers);
    You are not acting on the TRUE/FALSE result stored in
    $success.
    Everything after this point assumes mail was accepted for
    delivery. Of
    course, TRUE does not necessarily mean the mail actually got
    to its
    intended destination[2], FALSE does indicate that it was not
    delivered
    at all.
    > /*results rendered as HTML*/
    > $theResults = <<<EOD
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <title>Untitled Document</title>
    > </head>
    > <body>Thanks for your time, we'll get back to you
    within a day.
    > </body>
    > </html>
    > EOD;
    Hopefully, that indent was caused by the Web forum.
    Otherwise, EOD;
    should be at the very start of the line - no white space[1].
    EOD;
    > echo "$theResults";
    > ?>
    [1]
    http://php.net/echo (see "here
    document" in examples.)
    [2]
    http://php.net/function.mail
    Mark A. Boyd
    Keep-On-Learnin' :)

  • Quick question about PHP sessions and Air app

    Could someone clear this up for me?
    My air app makes html requests to php scripts, php login, search etc. I've been advised to use sessions in the php scripts to ensure each request to a script is done by a logged in user.
    So is the session identifier stored automatically by air somewhere, similar to a cookie in a browser?

    4.4.1 is indeed the version of php in 10.4.6, but it's also the version of php that's running on my 10.3.9 server. You can execute php -v on your server to see which version you've got, but it seems unlikely that it's a version other than 4.4.1 if you haven't updated it yourself. Are there security updates you haven't applied?

  • Follow-up question about forms and SharePoint Online

    I asked a question about life after InfoPath earlier, and got a good answer:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fb23b3d9-8a09-4267-aab5-09929f6a3082/life-after-infopath-seeking-advice
    After looking at all of the limitations of SharePoint Online, I'm wondering how developers are dealing with the limitations. Lets say you are asked to develop something that has complex logic, including fetching data from external web services, dynamically
    displaying parts of a process to people depending on role, and ending up with a printable document. In our on-premises environment, InfoPath is well suited to this task, with some code behind for some things. Or, if not using InfoPath, we would use application
    pages and workflow.
    Neither of those are available in SharePoint Online, so what would you do?

    Some things, such as the conditional display of content, can be done via JavaScript. More advanced items, such as integrating external web services would likely require a SharePoint "app". A SharePoint app is essentially a link to a separate site
    that is running an asp.net web app (or PHP, or whatever). This asp.net site can do anything it needs with any web services, or conditional formatting, or anything. Because it's registered as a SharePoint app, it can also call back into the SharePoint site
    and work with data. So, a SharePoint App could present the user with a robust form that simply sends the data back to a SharePoint list. The SharePoint app can also be surfaced on the SharePoint site itself in an iframe, so the user won't know that the form
    is hosted by another server.
    By the way, the ideas behind the app model permeate the entire SharePoint environment: instead of having the SharePoint server itself run all kinds of custom business logic, that workload is handled by other servers, so the SharePoint servers can be focused
    on running the core bits of SharePoint. InfoPath puts a large load on the servers, so it's out.  XSLT list views also put a load on the server, so they're also out. SSRS is an amazingly fantastic tool, but is not supported in the cloud (and there's no
    alternative). Timer jobs, event handlers, workflow, and many other things have been re-architected to take the load off the SharePoint servers.
    Mike G.

  • A question about some of the features

    I have Vista so therefore am unable to use the trial version of photoshop elements. Before I go ahead and purchase the software, I had a few questions about its features.
    I'll mainly be using photoshop to create digital scrapbooks. I know that photoshop comes equipped with themes and images, but I would like to know if I can use my own backgrounds and images. If I am able to use my own backgrounds, can they tile?
    Another thing I would like to know is if I can create my own projects with custom dimensions.
    Lastly, I'll be using photoshop to sprite. Is elements well suited for spriting? More specifically, does it have a color selection/replacement tool?

    I use PSE for digital scrapbooking. Instead of using the "built in"
    creations and albums, just create your own PSD files with layers of
    whatever images/embellishments/background papers you want. You can
    specify whatever size of creation you want when you create your PSD file
    (you only have the choice of certain sizes when you use the built in
    stuff).
    Not sure about what you mean about making your backgrounds tile, but I
    think it is possible. You can take a "background" paper, do a selection,
    and then define a pattern and fill it. Or, if you mean layer your
    background papers - yes you can do that too. (Here is my online
    scrapbook pages, all of which were done in PSE 4 or 5:
    http://www.scrappersguide.com/forums/gallery/showgallery.php?cat=500&ppuser=413)
    You can select by color (using the magic wand tool) and you can replace
    color, but it may not work exactly as you expect. (I also don't know
    what spriting is.) But, many people just use a hue/saturation adjustment
    layer to change colors.
    -Trish

  • Questions About JSP?

    hi;
    I am php devloper and I am learning Java now.
    I am using NB6.1 , Tomcat 6.0 , J2ee 5.
    I have some questions about devleoping web application with jsp.
    1.What are
    /WEB-INF/web.xml
    /META-INF/context.xml
    /META-INF/MANIFEST.MF
    files that generated with NB.are important or optional.are auto generated or may I edit.
    2.can I distribute my web application in non text format.How?
    3.if I want to add some files to my application that its running in tomcat.how can i do that with out rebuild all.
    thank you
    Add to mtz1406's Reputation

    thank you all for helping.
    I will write more information about my questions may this help others:
    *{ /WEB-INF/web.xml* - The +Web Application Deployment
    Descriptor+ for your application. This is an XML file describing
    the servlets and other components that make up your application,
    along with any initialization parameters and container-managed
    security constraints that you want the server to enforce for you.
    This file is discussed in more detail in the following subsection.
    As mentioned above, the <code>/WEB-INF/web.xml</code> file contains the
    Web Application Deployment Descriptor for your application. As the filename
    extension implies, this file is an XML document, and defines everything about
    your application that a server needs to know (except the context path,
    which is assigned by the system administrator when the application is
    deployed).
    The complete syntax and semantics for the deployment descriptor is defined
    in Chapter 13 of the Servlet API Specification, version 2.3. Over time, it
    is expected that development tools will be provided that create and edit the
    deployment descriptor for you. In the meantime, to provide a starting point,
    a [basic web.xml file|http://localhost:8080/docs/appdev/web.xml.txt]
    is provided. This file includes comments that describe the purpose of each
    included element.
    NOTE - The Servlet Specification includes a Document
    Type Descriptor (DTD) for the web application deployment descriptor, and
    Tomcat 6 enforces the rules defined here when processing your application's
    <code>/WEB-INF/web.xml</code> file. In particular, you must
    enter your descriptor elements (such as <code><filter></code>,
    <code><servlet></code>, and <code><servlet-mapping></code> in
    the order defined by the DTD (see Section 13.3).
    h4. } from tomcat documentation
    Tomcat Context Descriptor
    bq. A /META-INF/context.xml file can be used to define Tomcat specific \\ configuration options, such as loggers, data sources, session manager \\ configuration and more. This XML file must contain one Context element, which \\ will be considered as if it was the child of the Host element corresponding \\ to the Host to which the The Tomcat configuration documentation contains \\ information on the Context element.
    }from tomcat documentation
    but I still want more information about this question:
    Q3: I want to distribute (sell to another organaization) without give sorce code in jsp files.So I want to precompile it to be just class files or jar files.
    I want to use ant that become with netbeans 6.1.can anyone give me information about how to do that.
    thank you again

  • Question about 890GXM-GD65 ? any help..? tq

    Dear people..
    I have a question about this board MSI 890GXM-GD65, maybe somebody could help me with the answer...Do the board have an unlock cpu core bios like 785GM-E51 ...? thanx in advance..

    Have a look: http://eu.msi.com/index.php?func=downloaddetail&type=manual&maincat_no=1&prod_no=2012

  • Basic questions about programing for J9 VM

    I need to create a java application to run on a Pocket PC 2003 OS and I'm limited to using IBM's Websphere J9 Virtual Machine. I'm new to using java in this capacity and therefore have lots of questions which I'm guessing are pretty basic. Despite my best efforts, I've found very little to help me online. Below are a couple questions I have that I'm hoping someone can help me with. Even better, if you know of any resources that could help me with these and other questions, I'd love to have them. Thanks in advance.
    1. I'm using standard AWT for the GUI but I'm having problems getting frames, dialogs, etc., to come up in anything less then full screen. setSize() and resize() have no effect, even if I extend the frame and override the setMinimumSize, setPreferredSize, setMaximumSize methods. What do I need to do to get a child window to appear in something less than full screen?
    2. I'd like to be able to add menu's to the buttom toolbar (with the keyboard) but have no idea how I would add something to it. Can someone point me in the right direction?
    3. When my application gets an iconified event I go ahead and call a System.exit() to exit the application. This doesn't kill the java VM though, which continues to run in the background (taking up plenty of memory). If I run my application using the J9w.exe so that it runs without the console, then not only does the VM continue to run, but I have no way to stop it (the running program list can't see it). Since each time I run my application it starts a new VM, it only takes a couple of times before I'm out of memory and have to do a soft reset of the PDA to make things right. Can I kill the VM when I kill my application?
    4. I learn best by looking at example code, but have been unable to find any code people are running on J9. I have the GolfScoreTracker installed and running on my PDA, but the jar file contains only the classes. Since it's supposed to be a demo, I had hoped that the source code would be included, is that hoping too much or is the source code available somewhere? In addition, if you know of any applications out there with available source code that are known to run well on a PocketPC J9 environment I'd appreciate the link.

    Hi there, I saw your questions, im currently developing a java pocket pc application as well and here's what i go so far:
    AWT seem to be hard to use on pocket pc, instead i recommend that you use SWT, which is a technology developed by eclipse. It's already installed on the eclipse plugins, you just need to download the jar and dll files for the pocket pc. They are available at: http://www.eclipse.org/downloads/index.php
    I assume that you already have the J9 working on your device. So you only need to copy the SWT.jar file and the swt-win32-3064.dll to the folder containing the .class files on your device.
    Now, on your java IDE(im using eclipse) Add the SWT.jar library to your project which should be on C:/eclipse/plugins/org.eclipse.swt.win32_3.0.2/ws/win32/swt.jar or something like taht depending on your eclipse root.
    Now you are ready to code some SWT, here is a sample program from Carolyn MacLeod, i modified a few things so it could run on the pocket pc but it's almost the same. Once you coded in eclipse run it, then copy the class file from your desktop to your device(There should be like 4 or 5 classes like sample.class, sample$1.class etc. copy all of them) where you put the jar and dll files(If program does not run you may try to rename the dll file for swt-win32-3050.dll instead of 3064.dll). Now after you have everything set up you need to create the lnk file in order to run the program. On your desktop create a new textfile and write the following on it:
    255#"\Archivos de Programa\J9\PPRO10\bin\j9w.exe" "-jcl:PPRO10" "-cp" "\My
    Documents\Java\swt.jar" ;\My Documents\Java" sample
    Paths depend on your install, and the place where you put your classes and jar file. path for j9w is usually "\Program Files\J9\PPRO10\bin\j9w.exe", and the last word should be the classname.
    Currently this form only displays an image on a canvas, click on the browse button and choose a pic and it will display on the canvas. Im trying to connect the form to an oracle database but no success yet on the device.
    Hope it helps, if you have any questions about the code or something, and I know the answer, please feel free to ask.
    See ya
    import org.eclipse.swt.*;
    import org.eclipse.swt.widgets.*;
    import org.eclipse.swt.layout.*;
    import org.eclipse.swt.events.*;
    import org.eclipse.swt.graphics.*;
    public class sample {
    static Shell shell;
    static Display display;
    static Text dogName;
    static Text textdb;
    static Combo dogBreed;
    static Canvas dogPhoto;
    static Image dogImage;
    static List categories;
    static Text ownerName;
    static Text ownerPhone;
    static String[] FILTER_EXTS = {"*.jpg"};
    public static void main(String[] args) {
    display = new Display();
    shell = new Shell(display, SWT.RESIZE | SWT.CLOSE);
    Menu menu = new Menu(shell, SWT.BAR);
    shell.setText("Dog ShowS Entry");
    shell.setMenuBar(menu);
    GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 3;
    shell.setLayout(gridLayout);
    new Label(shell, SWT.NONE).setText("Dog's NameS:");
    dogName = new Text(shell, SWT.SINGLE | SWT.BORDER);
    GridData gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    gridData.horizontalSpan = 2;
    gridData.widthHint = 60;
    dogName.setLayoutData(gridData);
    new Label(shell, SWT.NONE).setText("Breed:");
    dogBreed = new Combo(shell, SWT.NONE);
    dogBreed.setItems(new String [] {"Collie", "Pitbull", "Poodle", "Scottie"});
    dogBreed.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    Label label = new Label(shell, SWT.NONE);
    label.setText("Categories");
    label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
    new Label(shell, SWT.NONE).setText("Photo:");
    dogPhoto = new Canvas(shell, SWT.BORDER);
    gridData = new GridData(GridData.FILL_BOTH);
    gridData.widthHint = 60;
    gridData.verticalSpan = 3;
    dogPhoto.setLayoutData(gridData);
    dogPhoto.addPaintListener(new PaintListener() {
    public void paintControl(final PaintEvent event) {
    if (dogImage != null) {
    event.gc.drawImage(dogImage, 0, 0);
    categories = new List(shell, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL);
    categories.setItems(new String [] {
    "Best of Breed", "Prettiest Female", "Handsomest Male",
    "Best Dressed", "Fluffiest Ears", "Most Colors",
    "Best Performer", "Loudest Bark", "Best Behaved",
    "Prettiest Eyes", "Most Hair", "Longest Tail",
    "Cutest Trick"});
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL);
    gridData.widthHint = 60;
    gridData.verticalSpan = 4;
    int listHeight = categories.getItemHeight() * 12;
    Rectangle trim = categories.computeTrim(0, 0, 0, listHeight);
    gridData.heightHint = trim.height;
    categories.setLayoutData(gridData);
    Button browse = new Button(shell, SWT.PUSH);
    browse.setText("BrowsePic");
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    gridData.widthHint = 60;
    browse.setLayoutData(gridData);
    browse.addSelectionListener(new SelectionAdapter() {
         public void widgetSelected(SelectionEvent event) {
              FileDialog dialog = new FileDialog(shell, SWT.OPEN);
              dialog.setFilterExtensions(new String[] {"*.*"});
              String fileName = dialog.open();
    if (fileName != null) {
    dogImage = new Image(display, fileName);
    shell.redraw();
    Button delete = new Button(shell, SWT.PUSH);
    delete.setText("No action");
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_BEGINNING);
    gridData.widthHint = 60;
    delete.setLayoutData(gridData);
    delete.addSelectionListener(new SelectionAdapter() {
    public void widgetSelected(SelectionEvent event) {
    Button enter = new Button(shell, SWT.PUSH);
    enter.setText("No action");
    gridData = new GridData(GridData.HORIZONTAL_ALIGN_END);
    gridData.horizontalSpan = 3;
    enter.setLayoutData(gridData);
    enter.addSelectionListener(new SelectionAdapter() {
    public void widgetSelected(SelectionEvent event) {
         shell.open();
         while (!shell.isDisposed()) {
              if (!display.readAndDispatch())
                   display.sleep();
         display.dispose();
    if (dogImage != null) {
    dogImage.dispose();
    }

  • Basic questions about Exchange Rate Differences

    Hi Experts?
    I have few questions about exchange rates:
    1. Currently in 2007, under what circumstances are exchange rate differences not posted automatically? In the previous version, it was this case when invoices are linked to payment, and manual exchage rate differences had to be run.
    2. What are unrealized exchange rates? and When do unrealized exchange rates occurs?
    3. In account oo logical pinciples, why is there a need to auto reverse Exchange rate differences or Conversion rate differences during the opening of a new posting period??
    Much Thanks!
    Warmest Regards,
    Chinho

    Hi Chinho,
    you may find useful info in this wiki:
    [How does SAP Business One deal with Realised and Unrealised Exchange Rate Differences? |https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=60654139]
    & also these 2 EES:
    [Exchange Rate Differences|https://psd.sap-ag.de/PEC/calendar/html/recording.php?hck=7a4f07ef7ac81ec31e04d55faffe33bdde93ec2398c338760e0d98adab7ba5acf2c39b2da1782f45e8a5a4d337dedcc647afebddd531782af42bafae98ce7ed5]
    [Exchange Rate|https://psd.sap-ag.de/PEC/calendar/html/recording.php?hck=e5397f14c44f8df754617194051dab1ad38f59f08580406c2efd59aa4c0f71616713c2abe76bc503e08f2f5eda4863634f6fe99ad39d46c947c09623b91e53ca]
    As a rule, in version 2007 it's the unrealised exchange rate differences on the BP side that are relevant since with the introduction of the unified internal reconciliation engine realised partial exchange rate differences are automatically posted. You also use the functionality to post exchange rate differences for FC GL accounts at a particular execution day.
    All the best,
    Kerstin

  • Simple question about mount and delay script

    Hello, I have a simple question about mounting volumes on start up.
    My computer wakes up auto - and then auto there are serveral applescript tasks (mount and start up programs)
    I use this script (daily) for serveral connections with external volumes I always need the connect to. ( In the script I use this code 3 times for other locations) I do this on start up.
    set Uname to "XXX"
    set Pword to "XXX"
    set someVolume to "afp://XXX.XXX.XXX.XXX/XXX/XXX
    mount volume someVolume as user name Uname with password Pword
    (same code for 2 other locations)
    When i do this on start up sometimes the script says there is no connection possible. I guess it's because on start up the connection isn't there. And 1 minute later when computer is total ready the connection is ok. When I run the script then It works. Just sometimes ( In the morning) 'It' want to connect but the script stops. When i do it manually(I run the script again) it works just fine.
    Is it possible that I need a delay? Can someone explain this?
    How would I make a delay handler for this script? Is that the best solution?
    Thanks in advance. This is something small i'm wondering about.
    Colin

    BTW, If you saved the script as an application +(and not as an application bundle)+ you could drop the script on to *Drop Script Backgrounder* (freeware).
    Then the script would run in the background, so, you wouldn't see it running in the Finder.
    <http://www.macupdate.com/info.php/id/7922/drop-script-backgrounder-x>
    Tom

  • N00b question about the ABS

    Hey, I am new to Arch and I'm about to install it on my machine (used it a bit in a virtual machine) and I have a small nooby question about the ABS.
    According to the wiki: https://wiki.archlinux.org/index.php/Arch_Build_System
    "Running abs as root creates the ABS tree by synchronizing with the Arch Linux server."
    Does this mean that the ABS tree (not the package) is always downloaded from the official Arch Linux servers, never from any of the mirrors?

    jomasti wrote:
    ANOKNUSA wrote:makepkg is part of the abs package.
    You might be confusing that with makeworld. makepkg is included with pacman.
    Anyway, gregor, you are confusing the AUR with ABS. Although, what you are saying is still possible via the source files when looking up a package on https://www.archlinux.org/packages/. But with both, using a program or using the respective page is a personal choice.
    Yup, you're right.  My mistake.

  • General Question about SAP Documentation. Where to find?

    Hello,
    I am relatively new in the SAP business and so I have some general questions about the SAP Documentation.
    Often internet-links like
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/FIBP/FI-AP-AP-PT.pdf
    are posted here by group members.
    But where do these group members find these documents?
    All I can see at help.sap.com is IDES (the model company created by SAP)and the WWW-version of the SAP-Bibliothek.
    Were can I find these PDF-Files?
    I would appreciate any hint and tip!
    Thank you!
    Kakue

    thats true! i dont know how to find either. Everytime i need something i ask on the forum.
    Here's a good link
    http://www.easymarketplace.de/online-pdfs.php
    Plz reward points if helpfull

  • Question about MSN on my new DC G5 and about Burning on Itunes

    Hey guys I have a question about ripping music to itunes, I have a Dual Core 2.0 and was wondering if it was normal that my ripping speed is round 14.5 one some cd's and on other cds 27.5 lol i have ripping to maximum, but the weirdest thing is that if i burn data to a CD, it does it faster than ever, compared to my old comp, but my old comp use to rip I tunes some times faster.
    how cna i check if my super drive is working fine or is this pretty normal? like DVD's work fast on the comp, and stuff installs pretty fast? so i dont think its a reading problem, and ive done hardware tset and eveyrthing passed
    Secondly, my Gf also has a mac and i think she has the smae problem or at least she says she does, and that is when running MSN Messenger i get signed off alot, saying that my network connection has been lost when i run Safari all the time on it, and works perfectly and FAST. is it just that MSN messenger has bugs with mac ? ive heard bout some bugs just dont know if this is one of them

    Make sure you have your CPU speed set to highest. Ripping the CD will depend on CPU and condition of the originial disk. Old disks may take longer.
    As for MSN? If only you and your GF are the users of MSN you might be better switching to AIM or iChat. Here's a review of different IM applications...
    http://www.macworld.com/2005/04/reviews/imsoftware/index.php
    iMAC G5 1.8 GHz w/20 Display and PowerBook G4 1.67 15   Mac OS X (10.4)   Quad G5 w/7800GT on order

  • Question about RAM CL

    Hi guys. I'm finalizing my PC build and have a question about ram CL that I cannot find answers to on the tweakers page here. http://ppbm7.com/index.php/news/planning?showall=&start=3
    I'd like to use these two ram sticks as an example.
    Transcend JetRam™ High-Performance 8GB DDR3-1333 240-Pin Module : CL9, 6-Layer PC Board
    Transcend JetRam™ High-Performance 8GB DDR3-1600 240-Pin Module : CL11, 6-Layer PC Board, Ultimate cross-platform compatibility and stability
    My question is, which is better for video editing? On the one hand we have 1333mhz at with a CL of 9. On the other, we have faster 1600mhz ram, but at a higher CL of 11. Now, I'm not one to get caught up in the technicalities like it may seem, but I do want to understand these so I can make informed decisions, especially when price is a factor. In this case however, they are the same price...

    From http://ppbm7.com/index.php/news/cpu-mobo
    Make up your mind about the number of memory sticks you want to install. On the X79 platform, do you want to use 4 slots, or do you want to fully populate all 8 slots? This is very important especially with i7-3930K / 4930K CPU's, which have a rather finicky memory controller.
    Make a shortlist of quad or octo packs of memory sticks in the size you want, limiting yourself to ONLY sticks using 1.5V or less.
    Check the motherboard manufacturer's site QVL list to see which of the sticks on your shortlist are approved. Pay attention to the number of slots for which they are approved. Some modules are approved for 4 slots only, others for fully populated use.
    Check the memory manufacturer's site QVL list to see which motherboards are approved.
    Try to establish if there are users that have been successful in using the sticks on your shortlist and delete any that were giving trouble to others. NewEgg can be a good source for that.
    Now that you have a very short shortlist, contact the Technical Support departments of both the motherboard manufacturer and the memory manufacturer and ask them to confirm or deny the compatibility of the memory modules in the quantity you need.
    If both confirm compatibility, check the physical height of the modules including heatsink in relation to the intended CPU cooler. Do they fit without modding?
    In general, only buy matched sets of memory sticks. There are too many different sticks with the same type number, that will cause grief when bought as four single sticks, but you limit the risk by only buying quad sets or octo sets for fully populated X79 platforms.
    CAS latency is no longer important, in fact, with the finicky nature of the memory controller of the Sandy Bridge-E, it can be advantageous to choose a higher CAS latency for improved compatibility. What can be important - relatively speaking, only in single digit % performance differences - is the rated speed of the memory, 1333 or 1600 or 2133 or even 2400.
    Even though the X79 platform only supports - at least officially - up to DDR3-1600, one can use XMP profiles in the BIOS to have the memory run at its rated speed of say 2133. For my new 'Monster' I followed these steps and ended up with a fully populated 8 x 8GB octo set of G.Skill RipjawsZ F3 DDR3-2133 sticks that are running without any problems at 2180 MHz.

Maybe you are looking for

  • Error in Text file while sending in email

    Dear Friends, I am sending data from Internal Table in Text file via email from ABAP program . But the data format is coming incoreect . For E.g. if the data is 'morning' the text file is generating data as ' m o r n i n g '. It is placing blanks bet

  • Hard drive enclosures issue

    Hello Does anybody experience some weird issue related with external hard drive enlosures? In my case I have experienced this problem 2nd time. First was enclosure for single 5.25" SATA Samsung, then IcyBox for 2x 5.25" SATA drives (USB interfaces) I

  • Help with Text Alignment Please

    I've been trying to fit text on the tabs all morning and just can't do it! ? Is it possible to position them accurately given that the tabs are not in a straight line. I would like to have them as links. Please see attched and link http://www.greenpa

  • Office O365 prompting for credentials when opening files from OneDrive and selecting "Edit in Word"

    When logged into my OneDrive IE 9 and select a word or excel file to  "Edit in Word" or "Edit in Excel"I get prompted with the following Sign In message.  "Call us overprotective, but we need to verify your account again before opening this document.

  • Intra-Company sales Order

    Hi All,      I have to trigger a workflow as soon as an intra-company sales order is created. My doubt lies here, How do i figure out that a sales order is an Intra-company sales order? Kindly help....