Regarding PHP

hi..
i want to learn PHP, can anybody please suggest the site or post any documentation for this..

Hi,
You can start with simple tutorial: http://pl2.php.net/tut.php
And official PHP documentation: http://www.php.net/manual/en/
Regards, Paweł

Similar Messages

  • Question regarding php files in apex bundle apex_4.0.2.zip

    hi
    please suggest why we have php files in apex ? I belive the spell checker textarea feature is removed from 4.0.2 but still there are some php files found in apex bundle and cause of this we have one vulnarability issue “Upgrade to PHP version 5.3.12 / 5.4.2 or later. A 'mod_rewrite' workaround is available as well.”
    Please suggest if we can remove these files or they are really necessary and should stay in images folder ?
    folder: \images\fck\editor\dialog\fck_spellerpages\spellerpages\server-scripts
    spellchecker.php
    spellchecker.cfm
    spellchecker.pl

    Hi Sachin,
    you can remove the "server-scripts" folder. In newer versions of APEX this folder is not included anymore.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Regarding PHP Development to Related area in SAP

    Hi All,
    I am presently working in PHP Development technologies & Web services.
    Now i want learn some related area in SAP which relates to PHP Development.
    Can anybody sujjest any technology in SAP which will be suitable for me to get started and will have good future!
    Thanks,
    Deep.

    Hi,
    maybe start with <a href="http://help.sap.com/saphelp_nw70/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm">BSP (Business Server Pages)</a>, go through the <a href="https://wiki.sdn.sap.com/wiki/display/BSP">Wiki</a>. This should give you enough information for a start. Once you got a grip on BSP, try to expand your knowledge to MVC development, which is the foundation for Web Dynpro ABAP, the future standard UI technology.
    Good luck with your SAP start!
    Max

  • Weird flag activity regarding PHP 5.4

    Well, I have been keeping my eye on package database on php-* packages for some time now. What was hapening it was first flagged, then unflagged and so on, many times.
    I sensed conflict of interests here. So, I have a question regardig Arch philosophy in such cases. Upgrading to PHP 5.4 will no doubt break many applications, whose authors relied on (for some time now) deprecated features, like magic_quotes_gpc, register_globals, etc.
    My question is - what is done in such cases and who decides whether the package is going to be upgraded or not?

    http://mailman.archlinux.org/pipermail/ … 22672.html

  • Question regarding php form

    Hi everyone and thank you for  reading my question, I have whats hopefully a quick and easy fix: I  followed the instructions on the dreamweaver help site to make a contact  form. Instaed of having it redirected to a conformation page I would  just like it to say "thank you, message sent" below the submit button.  Can you let me know how I can make that possible?
    Here is the  contact.php that i have now
    <!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>contact.php</title>
    </head>
    <body><?php
    //--------------------------Set  these paramaters--------------------------
    // Subject of email sent to  you.
    $subject = 'Questions submitted from website';
    // Your  email address. This is where the form information will be sent.
    $emailadd  = 'mail@[email protected]';
    // Where to  redirect after form is processed.
    $url = 'http://www.wb-apts.com/index.html';
    // Makes  all fields required. If set to '1' no field can not be empty. If set to  '0' any or all fields can be empty.
    $req = '1';
    //  --------------------------Do not edit below this  line--------------------------
    $text = "Results from form:\n\n";
    $space  = ' ';
    $line = '
    foreach ($_POST as $key => $value)
    if  ($req == '1')
    if ($value == '')
    {echo "$key is empty";die;}
    $j  = strlen($key);
    if ($j >= 20)
    {echo "Name of form element $key  cannot be longer than 20 characters";die;}
    $j = 20 - $j;
    for ($i =  1; $i <= $j; $i++)
    {$space .= ' ';}
    $value = str_replace('\n',  "$line", $value);
    $conc = "{$key}:$space{$value}$line";
    $text .=  $conc;
    $space = ' ';
    mail($emailadd, $subject, $text, 'From:  '.$emailadd.'');
    echo '<META HTTP-EQUIV=Refresh CONTENT="0;  URL='.$url.'">';
    ?>
    </body>
    </html>
    Thank you,  thank you, thank you

    Hi
    First please do not post the same question twice, even if they are in different sections of the forum.
    In your php file replace -
    mail($emailadd, $subject, $text, 'From:  '.$emailadd.'');
    echo  '<META HTTP-EQUIV=Refresh CONTENT="0;  URL='.$url.'">';
    with
         $success = mail($emailadd, $subject, $text, 'From:  '.$emailadd.'');
        if ($success) {
          $responseText =  "Thank you for your contact/feedback!";
        exit();
    Then use javascript to echo the message, (this is jQuery)
    function showResponse(responseText)  {
             $('.response').text(responseText);
    Then in your html include a tag (possibly p tag) with a class of response to display the message.
    No error message is shown here but you should include one in the if($success).
    PZ
    www.pziecina.com

  • HowTo: The SSH2 PHP Extension and You

    Until a few days ago, I didn't care about the SSH extension for PHP. I didn't have a use for it. Why should I care. Then I discovered that Wordpress' autoupdate feature wouldn't work without it (if you use SFTP, like I do). Oh. Maybe I need this thing.
    Problem 1) It isn't installed by default by Apple.
    Problem 2) All the online help says to use PECL to install it. Also not installed.
    Problem 3) Everything else that could possibly go wrong.
    So, I'm not guaranteeing this will work for you, or not destroy your server completely, but it worked for me. So...um...beware.
    The end result we're looking for is a nice little ssh2.so extension for php to look at. Now, let's try to get there:
    With all this talk of PECL, I decided to grab PEAR (which seems to no longer be a part of the OS) and install it. So I downloaded go-pear from: http://pear.php.net/go-pear and installed that.
    The only thing you need to change is the install directory (/usr/local is what I used, I think).
    Next comes the libssh libraries. These are required. Sadly, I could not install these from source. The reason? I received many errors about libz.dylib being of the wrong architecture. Weird, because I believe that came with the system. So it's Apple's fault if it's not i386 and 64bit. Darn.
    So I did a crazy thing and installed it through a port. Well, I backed up all of my existing libssh and libssl files before I did anything. Then I used Macports to install recent versions of those into /opt/local/lib
    Once that was done, I copied them over to /usr/local/lib and then crossed my fingers.
    Get the source from: http://www.libssh2.org/ then configure it with:
    +MACOSXDEPLOYMENTTARGET=10.6 CFLAGS="-arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch x86_64 -g -Os -pipe" CXXFLAGS="-arch x86_64 -g -Os -pipe" LDFLAGS="-arch x86_64 -bindatload" ./configure --with-openssl+
    make
    +make install+
    If that works, you're halfway done.
    Download the latest PECL package for ssh2 from: http://pecl.php.net/package/ssh2
    Go to the directory and do the following:
    phpize
    Now stop. There's a bug in php that prevents this from working properly. So we have to patch it. Yeah, I told you this process was ridiculous. Copy this: http://remi.fedorapeople.org/ssh2-php53.patch into a text file in that same ssh2 directory. Run:
    +patch -p0 < patchfilename+
    Now we can configure and make:
    +MACOSXDEPLOYMENTTARGET=10.6 CFLAGS="-arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch x86_64 -g -Os -pipe" CXXFLAGS="-arch x86_64 -g -Os -pipe" LDFLAGS="-arch x86_64 -bindatload" ./configure+
    make
    +make test+
    +make install+
    It should install a nice ssh2.so file somewhere in /usr/lib/php/extensions/
    Now edit your /etc/php.ini file to include that directory for: extension_dir = /usr/lib/php/extensions/no-debug-non-zts-200xxxxxx
    Also add the line: extension=ssh2.so in there somewhere.
    Now restart apache:
    +apachectl graceful+
    And you're done. You might need to look at your phpinfo to make sure it's loaded, but Wordpress should now be happy. Hope this helps someone. Took me a few days to get it right and I may have forgotten all the steps. But this should work.
    Message was edited by: Demonhood

    I think I followed your instructions and got SSH2 PHP installed. Nothing seemed to go wrong (though I was sure at points my server was literally just going to start laughing at me for all the wonky steps!), and phpinfo lists ssh2 as being installed. Auto-update in Wordpress now lists SSH2 as an option. However, I can't get it to work, each time getting the error message saying "Failed to connect to SSH2 Server hostname.net:22. I've tried IP address, different hostnames, password, no password, listed where the public and private keys are (which i think I generated correctly with the "ssh-keygen -t dsa" command, but still nothing. Can ssh normally from outside of the firewall. Wondering if you had any suggestions, as you obviously know what you are talking about regarding php/ssh/wordpress!

  • Php 5.2.4 or higher

    Hi,
    Beside the fact that FireFox crashes more often since last update, I found a website that doesn't want to open saying my FF is not up to date regarding php ??
    It says: Your host needs to use PHP 5.2.4 or higher to run Joomla 1.6.
    I'm not sure if it's about FF or about my ISP ?
    Website I'm trying to access: http://crabe.etsmtl.ca
    Thks,
    Eric

    Hi,
    Beside the fact that FireFox crashes more often since last update, I found a website that doesn't want to open saying my FF is not up to date regarding php ??
    It says: Your host needs to use PHP 5.2.4 or higher to run Joomla 1.6.
    I'm not sure if it's about FF or about my ISP ?
    Website I'm trying to access: http://crabe.etsmtl.ca
    Thks,
    Eric

  • Enabling GD image support on PHP

    Hi
    I know this has been asked many times before, but none of the answers work for me.
    I have 10.4.10 with PHP 4.3.11
    I've got the latest developer tools and have downloaded Fink and Fink Commander and have installed gd2 version 2.0.33-3 along with gd2-bin and gd2-shlibs.
    I added the line to the php.ini file
    extension=gd2.so
    and restarted apache but support is still not enabled.
    Some threads suggest recompiling PHP with GD support but the only directory I can find regarding PHP is /usr/include/php but when I change to that folder and run the ./configure command it tells me it doesn't exist. I assume then I must have a binary version of PHP installed and therefore can't recompile?
    Any ideas how I get GD to work? I've done it no problem on a Debian system so this is getting rather annoying.
    I do not want to upgrade to PHP 5 as I need to mirror the version my web host uses.
    Many thanks.
    RH

    Dear Roger,
    I remember that I had to manually compile GD. I do not remember where did I find the instructions but it finally worked. A possible link is this.
    Mihalis.

  • Re: PHP  and Oracle Connection

    Are any specific links that will give me all knowledge regarding php and oracle connection? I am a new babie in this please help me out.

    Hi,
    I'm looking for specialists in PHP, Ajax and Oracle BPEL...
    Pages are: Praxisbörse und Jobs für Arzt und Zahnarzt http://www.praxis-welt.de für Praxisangebote und Jobangebote für Ärzte
    sowie auf http://www.berlin-umzug.net für Umzugsunternehmen aus Berlin für Umzüge, Klaviertransport und Tresortransport in Berlin.
    Any ideas / information / knowhow?
    Regards,
    Mic

  • PHP or hmtl?

    I've uploaded a site via Muse' FTP. The index.php file opens as expected. But, when I click on a menu item, the browser looks for a file with an html extension, but Muse uploaded the page files with php extensions. If I change the file suffix in the browser address bar to php, the file appears. Is there a setting to control whether the menu items are made as php or html?

    Thanks, but I still can't explain why this is happening. If I have Muse save the site to a local desk file & then upload via Dreamweaver, everything stays as html. But, when I upload via the Muse FTP, then I can watch the FTP window uploading the files as PHP. Doesn't make any sense to me. My host is Network Solutions and I have several other sites hosted by them which were developed with Dreamweaver and have never had this happen before. I've never dealt with PHP, so this is all new territory for me. The file structure uploaded via the Muse FTP is very different from a typical html site. The content is placed in a page-templates folder with the individual page files having a .tpl suffix.
    Here's what the index.php file looks like:
    <?php
        If you see this text in your web browser, PHP code is not being executed.
        This can happen if you view the file locally before uploading it to a proper webserver, or if PHP is not configured correctly on your web host.
        Contact your hosting provider regarding PHP configuration for your site.
        For more information, visit http://www.adobe.com/go/content_php_faq
        File generated by Adobe Muse CC 2014.2.1.284
        require_once( "../scripts/muse-data.php" );
        $liquid = new MuseDataPage( dirname( __FILE__ ) );
        print $liquid->render( "page-templates/index.tpl", array( "../data/collection-u561.json", "../data/collection-u767.json" ) );
    ?>
    Note the it indicates that the PHP file was generated by Muse CC! It would be much more convenient to upload directly from Muse, but I must be doing something wrong. Any ideas would be appreciated!

  • Enabling PHP In Apache

    Hi, I just got a macbook, and am trying to setup PHP on it. I have tried following all the tutorials on google where it says to uncomment all the lines regarding PHP, then press wq: or whatever to save and quit, but then every time I make a simple php script, it just echos back the text from the php script. for example when the php script says "<?php echo date(Y); ?>" it just prints "<?php echo date(Y); ?>" when I go to my IP. What am I doing wrong?

    Did you go to Marc Liyanage's site? He has made some great install packages, especially if you are going to use MySQL with PHP.
    http://www.entropy.ch/software/macosx/

  • Has anyone connected to iFS from Perl or PHP

    Hi,
    I am evaluating iFS and we currently connect to Oracle 8i
    through Perl and PHP. Is Java the only way to connect to iFS or
    has anyone been able to do it through other scripting languages
    such as Perl or PHP? Any help would be greatly appreciated,
    thank you.

    Regarding PHP you may consider using the PHP-build in java
    wrapper (--with-java). However, your code will be significant
    harder to read, while basically doing the same than native java
    code. It makes no sesnse to rewrite the ifs-java-API itself, as
    it is good and complete (in contrast to the webui).
    Best regards

  • A rant about C with a question at the end. :P

    C is okay. It's just really hard to understand.
    So this is my rant about it. It starts out by listing where I've been in terms of programming and then lists my difficulties with C itself.
    I discovered C many years ago. I'm not too sure how. All I know is that for many years I've wanted to know what this C thing was all about, but had no way or knowledge of how to. I didn't really know anybody before I got the 'net last year, so asking someone else was out of the question. Plus, I wouldnt've known what question(s) to ask.
    As I became more proficient with the whole technology thing, I began to go to the local libraries nearby and use their free internet access to look stuff up. But I didn't get the idea to do any research about C, most likely because I didn't have the mental capacity to plan well and my access was once or twice weekly at best. Plus, the only computer I had at home was 66MHz and ran DOS, and I only knew BASIC around that time which I was comfortable and content with, so wasn't looking for a new language. I think I knew about assembly language but didn't pursue it if I did.
    A couple of computer upgrades later, I finally got the 'net at home and began to see the convenience of being able to spontaneously look something up when I wanted to as good, rather than weird. Ideas gradually began to pop into my head that I'd run off and look up, and one day C became one of them. So I did some research on C and finally began to learn what it was: an incomprehensible mess of manually managed memory and low-level trickery. Since I knew a fair bit about assembly language now I decided C was worse than asm (and I had no chance of learning asm back then), and left it at that.
    Being the BASIC coder I was (pun intended), I found the syntax and concepts over my head by several miles. But the fascination never died, and kept poking at me again and again. And I just had to keep forgetting about it.
    I moved on from QuickBASIC, which I'd been using for just about everything, to FreeBASIC, which was in such a beta state when I tried it, I disliked it enough to move on and discovered PHP.
    PHP has been called the BASIC of the 21st century, and I can understand why. There are typically at least 10 ways to do something whether in principle or method, multiple functions do the same or an equivalent task, and overall it just doesn't look like a good language. But beyond all that, PHP made sense to me. As I went along many of the things I expected to perform in a given way performed in said way, which was a huge confidence boost. The model it followed might have been convoluted, but something inside my head "clicked" when I saw PHP, so I liked it, since I could understand it easily.
    But recently, I found myself hitting too many walls. I wanted to get into graphical software development, and none of the graphical extensions PHP had available would work for me. PHP-GTK did work but prevented PHP from outputting anything as an Apache module, without throwing a single error anywhere. PHP-QT wouldn't compile on my system. PHP-TK did compile, but both segfaulted when any tk_* function was called and also exhibited the Apache module issue.
    So I decided then and there that I needed to switch languages.
    The problem was, my current machine happens to be so slow that a GIMP operation that executes in 6 seconds on the lowest generation AMD CPU from 4-5 years ago will execute in 38 seconds on mine. I have no idea why; the machine is, after all, 2.66GHz.
    Although PHP is pretty snappy on my system, I don't know how other languages would fare and don't really want to risk the experiment; I want to switch to a language I know will be as fast as, or faster than, PHP. So I decided that a compiled language would have to be it, since I regarded PHP as the fastest language I knew. I was probably wrong, but whatever.
    So I set my mind to understanding C. I'd asked around online before, and someone took pity on me and explained the basics of C and I did my best to understand them. This was great for a couple of days, but didn't last all that long unfortunately. So I asked around again, dreading their responses, and with good reason too: most of the tutorials I read often left me boggled and flew over my head at one point or another, which didn't help.
    But I got some dreaded tutorial links, and did my best to read them. It took me a couple of weeks to finally convince my brain to understand the point of a language that utilizes variables that doesn't contain any data, but instead references to other variables. I eventually grasped the why, but am still having quite a hard time understanding the how.
    So then, after that initial hurdle, I moved onto other topics. Or rather tried to. I quickly discovered that C interconnects some of its issues so deeply that it's hard to learn one thing at a time, move on and learn the next thing - how I best learn. I don't create paths very well by reading information; I create those paths by staying away from information and letting it slowly process in my mind. But to actually remember it in the first place, it needs to make sense, and C doesn't make sense because things are so interconnected and... we come full circle.
    To be honest, after about a fortnight of trying to understand pointers, I still don't understand them. I've read what is probably the best the web has to offer about pointers. Has it helped? Not really.
    Either the documentation:
    - is too terse and I have to slow down, risking losing interest in what I'm reading
    - skips over vital points or assumes I know Pascal or some other language
    - is hard to understand or is poorly written
    - puts segments in the wrong order, so I don't understand everything something might depend on before I reach that something
    ...and in general I either give up on reading the documentation, give up on C or just cry. I've done the 3rd a few times, the 2nd quite a few times and the 1st pretty much as many times as I've read documentation.
    So what are my issues with C?
    Let me address the two I can think of right now:
    Pointers aren't addressed "simply"; if I declare a pointer to int named x I have to use *x to access what x points to, rather than use *x to get x's location, like one does with non-pointer variables where & is used to get an address. It'd be nice if we used &x to get x's value if x wasn't a pointer and *x to get x's value if x was a pointer, rather than use this convoluted scheme.
    Also, I've heard that it's a common misconception that C handles arrays natively. Elsewhere, I've heard that strings are merely arrays of char. I can understand the 2nd, but what do I do with the 1st?
    I do understand that if I say printf("%d\n", x[1]) I'm effectively saying x++; printf("%d\n", x), but I don't understand how this fully works. For example, let us consider the following code:
    char *filename = "<insert file here>";
    int i;
    struct stat filebuffer;
    int status;
    FILE *handle;
    handle = fopen(filename, "r");
    status = stat(filename, &filebuffer);
    char *buffer = malloc(filebuffer.st_size);
    for (i = 0; i < filebuffer.st_size; i++) buffer[i] = fgetc(handle);
    printf("%s\n", buffer);
    You'll of course notice the array notation. Do I understand why if I replace said notation with something to the effect of...
    buffer++
    buffer = fgetc(handle);
    ...the program segfaults? No. Likewise, I don't understand why the...
    buffer++
    *buffer = fgetc(handle);
    ...in the loop does work, printf("%s"...); causes segfaults and printf("%d"...); does not.
    Another thing I found is that declaring a char *, filling it with data, and then using memcpy on said char *, the program works fine, but if I declare for example char x[1] = "hi"; the compiler will shout at me for not allocating enough arrays. Only while writing this did I realize that the 2nd element is for the null byte.
    Suffice to say that C confuses me. To bits. Although I have written a 500 line program in it (579 to be exact). All said program does is display a message on the screen via Xlib, but I managed to figure out how to make a word wrapping engine using strsep and how to use XDrawPoint XDrawLine to not only create a nice UI but also let me define various UI "styles" which can be loaded at startup.
    Said program uses a very big helping of "if it doesn't work stab it until it does", so not only do I not understand how a lot of it works, it probably wouldn't compile under anything except gcc. Which is from a theory perspective quite a problem, IMHO. Almost every 2nd variable is typecast to this or that type.
    So put simply, every tutorial or introduction to C hasn't made a lot of sense to me. Maybe I learn slowly; I'm hoping it's that, because I can't see anything besides assembly language which would be faster than C. I plan to learn asm after I've mastered the very basics of C, but I may end up having to learn the other way around if I expect to get anywhere.
    Like I said in the title, I have one actual question in this post. So here it is:
    Are there any fun, easy reading tutorials out there that don't visually look like they came out of 1992 and read like http://poignantguide.net/ or http://learnyouahaskell.com/?
    -dav7

    dav7 wrote:Pointers aren't addressed "simply"; if I declare a pointer to int named x I have to use *x to access what x points to, rather than use *x to get x's location, like one does with non-pointer variables where & is used to get an address. It'd be nice if we used &x to get x's value if x wasn't a pointer and *x to get x's value if x was a pointer, rather than use this convoluted scheme.
    Pointer syntax is extremely unfortunate. The best part:
    char *a; // It's a pointer.
    *a; // It's a character. Good move, guys.
    Also, I've heard that it's a common misconception that C handles arrays natively. Elsewhere, I've heard that strings are merely arrays of char. I can understand the 2nd, but what do I do with the 1st?
    Insofar as C has arrays, C strings are character arrays. C arrays are just a promise that the system won't mess within a certain set of memory addresses. Array syntax is a concise way to calculate and dereference a specific location in memory, relative to an address that you hope is the beginning of some memory you reserved. array[n] = *(array + n), right? Personally, I would have left out the subscript notation entirely. Regardless, any time you choose to use brackets, you can mentally substitute in an explicit addition and dereference there. You're saying, "Give me the number stored at the memory address I have just calculated, which I know by my science holds something I put there intentionally, and not garbage at all."
    One more clarification with regard to pointer arithmetic is necessary: when you add 2 to an int*, the resulting address is actually 2*sizeof(int) bytes after your base address. Same for a double*: 2*sizeof(double).
    I do understand that if I say printf("%d\n", x[1]) I'm effectively saying x++; printf("%d\n", x), but I don't understand how this fully works.
    It's not the same! First of all, in example #2, you're passing a pointer to an int. In example #1, you're passing an integer, since [] dereferences pointers for you. Any time you use those brackets, it's as if you had typed an asterisk yourself. Second, in example #1 you're not messing with x. In example #2 you're incrementing x by four bytes (the likely size of one integer). Doesn't make a difference in this short example, but if x ever gets used again it will be very significant.
    Another thing I found is that declaring a char *, filling it with data, and then using memcpy on said char *, the program works fine, but if I declare for example char x[1] = "hi"; the compiler will shout at me for not allocating enough arrays. Only while writing this did I realize that the 2nd element is for the null byte.
    Looks like a counting problem. Arrays are indexed from 0, but sizes are specified from 1 on up. Your "char x[1]" has only index [0]. To hold a two-character string, you'll need at least size three (char x[3]), so that x[0]='h', x[1]='i', x[2]='\0', the null terminator.
    Suffice to say that C confuses me. To bits.
    Any time you get confused by pointers or arrays (which are the same thing), take a step back and think about what's happening in terms of memory addresses. Draw it out on paper if you think you're making a mistake. In some languages you can ignore low-level details like that and write perfectly fine programs, even though you won't be able to optimize them without knowing how your code maps onto the machine. But in C, everything that looks like a high-level feature is just shorthand for setting a few bytes to different numbers, and the abstraction is so leaky that you can't get by without understanding it. Types are just a way for the compiler to catch dumb mistakes (some people believe this is helpful) and to automate some math, like the pointer arithmetic above. In a running program there are no types, so when you're trying to figure out what a program is actually doing, you need to consider what the types are shorthand for.
    If you're having trouble "thinking like a programmer", by which I mean sanity-checking your use of syntax and stepping through a program so you know what it does, you might want to get up to speed in a different language, or by working through a book on algorithms.
    Last edited by pauldonnelly (2008-11-03 22:54:12)

  • Flash not working properly in Internet Explorer 6

    Hello,
    Flash images are not displaying correctly in Internet
    Explorer 6. I have checked in Internet Explorer 7 and it is working
    fine.
    Could someone help me to fix this issue ?
    I have checked the Tools->Security->Custom
    Level->Run Flash image and it is enabled.
    Regards,
    PHP Developer,
    India.

    Hello All,
    Thank you for reading this topic.
    The issue above is due to the flash player plugin. I have
    checked from another explorer of same version and it is working
    fine there.
    Could someone help me to delete this topic? I don't know the
    stpes to delete a topic from the forum.
    Regards,
    PHP Developer.

  • SQL Verification Problem / Muse Form Issue (Server uses MySQL muse uses SQLite) I'm in desperate need of help

           Alright well here is my issue... I have been trying to fix it on my own for the past week non stop and I have finally came to a solid conclusion as to the cause of the issue.
       I always get the error "The server has encountered an error..." in red text when anyone tries to submit a form and also when I try and test it myself. This led me to test the server / site for compatibility or issues by using the test:
    mydomain.com /scripts/form_check.php
    I got the first two checks green (pass) and the third test threw a red check meaning I was having an issue with SQL verification. This then led me to days of trying to work with my hosting provider (one.com) trying to solve the problem and I was told that they use mySQL on their servers and that they couldn't do anything on their end to solve the issue. I read alot that we are recommended in this case to try and get our host to add the SQLite database to their server or whatever it is they would do, long story short I guess many people are able to ask their host to make SQLite work and most accept and add SQLite functionality to their servers but unfortunately my hosting provider doesn't want to do this and they said they were sorry and that I would need to either switch the script to work with mySQL or figure something else out...
       I took a lot of time building my site and I dont want to take the form out. I absolutely need it... I know many post on here saying "forms dont work, oh poop " or "adobe sucks I dont want to use business catalyst grrr" but I tried to find the source of the problem and I've successfully came to the conclusion that my issue is that my script wants to use SQLite but in order for my sites forms to work the server needs to have SQLite as well... My idea is that if I can configure the script and the site itself to use mySQL instead of SQLite the SQL verification will then not be an issue and my websites forms will function with no issues. I am curious if a member of the staff with adobe has experience with this particular issue and can help me out? or if a member of the adobe community has solved this problem? If not I am hoping that with the description I provided that someone with knowledge of mysql, sqlite or code in general could help me modify the script or write a new script that will allow the forms to work properly. I know its a long shot, I say that because this discussion is full of people who used muse in favor of dreamweaver because just like a large number of people in the muse discussion area, I'm a graphic designer, with plenty of computer experience, art and design skill and I am extremely familiar with photoshop. Muse is perfect in so many ways. In fact, like I mentioned above, I don't even have a complaint at this time about muse. I understand the form issue in this case, and I imagine in thousands of other users situations, is all just a matter of scripts and compatibility.. Its just a little issue between the SQLite scripts we are all given when we export our muse website and the SQL version our various hosting service may be using on their servers.
       Just incase I missed anything, to provide just a bit more info on the topic and myself for anyone who may be able to help:
    I can alter the text inside of the scripts easily if anyone happens to know any lines of code that easily solve this issue (making the muse contact forms, which are native to SQLite, functional on a server using mySQL)
    I was told one way I could make the forms work on a server using mySQL (or any version other than SQLite) If I were to make changes to adobe muses SQL version by converting the SQLite db to mySQL db (db = database)
    I am computer literate and I can take any directions necessary, I really just need to get this done, I really appreciate any help I can get!!
    Thank you in advance,
    Roy

    <?php
    If you see this text in your browser, PHP is not configured correctly on this hosting provider.
    Contact your hosting provider regarding PHP configuration for your site.
    PHP file generated by Adobe Muse CC 2014.1.6
    function formthrottle_check()
        if (!function_exists("sqlite_open"))
            return '1';
        $retCode ='5';
        if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';",  $sqliteerror);
            if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
                $created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)",  $sqliteerror);
                if($created)
                    @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))",  $sqliteerror);
                else
                    $retCode = '2';
            if($retCode == '5')
                $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;",  $sqliteerror);
                if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
                    $retCode = '0';
                else
                    $retCode = '3';
            @sqlite_close($db);
        else
            $retCode = '4';
        return $retCode;
    function formthrottle_too_many_submissions($ip)
        $tooManySubmissions = false;
        if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $ip = @sqlite_escape_string($ip);
            @sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')",  $sqliteerror);
            @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))",  $sqliteerror);
            $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';",  $sqliteerror);
            if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
                $tooManySubmissions = true;
            @sqlite_close($db);
        return $tooManySubmissions;
    ?>

Maybe you are looking for