Advanced Search

Search:

Type: Posts; User: Strangeplant; Keyword(s):

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Looks to me it looks like the variable $statement...

    Looks to me it looks like the variable $statement is not being evaluated to a boolean (true/false), and so whatever depends on this being 'true' is failing. To me, it is better to do this:
    ...
  2. Replies
    11
    Views
    2,136

    The use of filter_var() is not a good solution....

    The use of filter_var() is not a good solution. There are several things it doesn't do that are important, and there are several things it does wrong. It is not kept up-to-date and sooner than the...
  3. Replies
    32
    Views
    6,831

    Try this Validation Code - Tests for valid email address

    Here is a php function that you can use for validation in your script - place it at the bottom (There are others, of course, and I may have gotten some or all of it from Ilovejackdaniels.com):

    ...
  4. Replies
    2
    Views
    1,493

    Forget the Vimeo and you can do wonderful things...

    Forget the Vimeo and you can do wonderful things with Flowplayer and JQuery. Flowplayer has an onFinish event that can call a function (read here jquery function) to rewrite the page's html and so...
  5. Replies
    32
    Views
    6,831

    Well, I see that it is the second email that is...

    Well, I see that it is the second email that is failing; the first gets through. The second email call does not have the variable '$headers', and therefore no 'from' in the email function, so it will...
  6. I finally found some browser version detection...

    I finally found some browser version detection code in the javascript for the selection menu that I had adopted that seemed to bother things, and commented it out. Works much better in Safari and...
  7. Well, I appreciate you taking a look at this in...

    Well, I appreciate you taking a look at this in the various browsers, but there must be something else going on that slows the speed so very much in Safari and Chrome. I hesitate to publicly post the...
  8. Thank you very much. It was simple, but I...

    Thank you very much. It was simple, but I couldn't see it. BTW, now that the arrow keys work, why is the overall performance so very very slow in webkit, but fast in IE and lightning speed in FF?...
  9. Arrow keypress function to move div works in FF, but not webkit browsers

    I have this function (mostly copied from the web) that works perfectly fine in FireFox, but not Safari or Chrome. (Haven't tested in IE, and I probably won't - I just don't care anymore about IE...
  10. Print alternate: jpg from file instead of webpage

    If possible, I would like to be able to click on a link to print a image file instead of the webpage. (BTW, I'm using a image gallery that requires MooTools, and the ddsmoothmenu menu that uses...
  11. Replies
    3
    Views
    1,610

    Thanks, John, for the link. The first one had it...

    Thanks, John, for the link. The first one had it - and I was trying something like that, but had not figured out the 'do' loop. Ended up with this extracted from the first link you provided:...
  12. Replies
    3
    Views
    1,610

    Clicked Element Position

    I have an onClick event and I need to determine the screen Y position top of the <li> element that is clicked on. How can I do that? (vertical displacement from the top of the screen) The <li>...
  13. Replies
    6
    Views
    1,760

    Ummm, I think you meant to say var y = 15, ...

    Ummm, I think you meant to say
    var y = 15,
    x = wth && 240;
  14. Replies
    2
    Views
    1,322

    In PHP on the server side (not from a webpage),...

    In PHP on the server side (not from a webpage), you can do this if the file doesn't exist or you want to replace the contents:
    $myFile = "/var/www/html/somewhere/somefile.dat";
    $fh = fopen($myFile,...
  15. Replies
    30
    Views
    236,915

    Uhhhh.... It looks to me that you are missing the...

    Uhhhh.... It looks to me that you are missing the user defined function 'load()'. Now, this brings to mind the need of importing the file (since that is what the load() function is supposed to do)....
  16. Replies
    5
    Views
    2,093

    Well, I do this sort of thing on several secure...

    Well, I do this sort of thing on several secure webpages (https:). First I start a session and branch to a login page if the user has no cookie and the session has not expired. The Login page...
  17. Replies
    5
    Views
    2,093

    Why not use psftp.exe to get and put files, or...

    Why not use psftp.exe to get and put files, or putty.exe to do system work, execute php scripts, and view error_log files with vi? They can be downloaded from:...
  18. Looking for customizable CMS, sort of....

    I'm thinking of using a CMS system, but I have numerous php pages that are stand-alone, highly specialized and not suitable at all to put in wrappers, so I will have to link to them, using the CMS as...
  19. Replies
    5
    Views
    3,727

    No, there is no way to read the cookie expiry...

    No, there is no way to read the cookie expiry date using a browser's javascript once it has been created UNLESS you add a separate entry into the cookie as a value-data pair as you would do for any...
  20. Replies
    3
    Views
    1,316

    AJAX Test If Files Exist.

    Won't work that way. For the readystatechange function to be registered successfully, it doesn't look like it can be assigned to a variable because then the httprequest variable would have to be...
  21. Replies
    3
    Views
    1,316

    Javascript Error in FF3 and not FF2 (?)

    Hi,

    I'm using an Ajax syncronous call, and things work in FF2, but no longer in FF3. The problem is that global variables no longer work inside functions that are returned to onreadystatechange,...
  22. Replies
    5
    Views
    4,678

    I cannot get the pop-up to work in IE7, FF2 or...

    I cannot get the pop-up to work in IE7, FF2 or FF3. So, I'm going to use the multiple page approach.....
  23. Replies
    5
    Views
    4,678

    Javascript method confirm() problem

    The code does not work, and I have tried many times without success. I'm using this to confirm deletion of records in a MySQL database, so it's important for the users.

    In my php script (and in...
  24. Use php and forget the javascript. Validate your...

    Use php and forget the javascript. Validate your form on reentry into the php page and set a flag or variable, and write your messages to a div in the page just for this purpose using the variable to...
  25. Replies
    4
    Views
    1,542

    Twey, thanks for your post. There is still...

    Twey, thanks for your post. There is still something wrong, however. The check box does not write ' ' to the four input fields, and this is my critical focus, how to read and write to in the input...
Results 1 to 25 of 224
Page 1 of 9 1 2 3 4