dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Antonia

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    655

    'sav_newval_of' is a function. Used as such:...

    'sav_newval_of' is a function.

    Used as such:
    function sav_newval_of($name, $nval)
    It selects a certain line of an a-z alphabetic text file, like e=340, changes the numeric value, and saves...
  2. Replies
    6
    Views
    655

    I miss the Edit feature here... Here is the...

    I miss the Edit feature here...

    Here is the operating form:

    <?php
    if( isset($_GET['val1']) || isset($_GET['val2'])) {
    $val1 = htmlentities($_GET['val1']);
    $val2 =...
  3. Replies
    6
    Views
    655

    I corrected this by changing the isset to act on...

    I corrected this by changing the isset to act on each variable as such.

    <?php
    if( isset($_GET['val1']) || isset($_GET['val2'])) {
    $val1 = htmlentities($_GET['val1']);
    $val2 =...
  4. Replies
    6
    Views
    655

    Simple form submit to function question

    I'm trying to submit two form field values to a PHP function, on the same page.
    The function works perfect manually filling the two values.

    <?PHP
    echo "<br />"."<br />"."Write text file value:...
  5. Oh NogDog that is wonderful. It worked! Clean...

    Oh NogDog that is wonderful.

    It worked! Clean and simple without a DB.

    Thankyou
  6. So far, my code over-writes all the file's lines,...

    So far, my code over-writes all the file's lines, leaving only one line: 'apples=100'.

    function sav_newval_of($name, $nval){
    $my_file = ('fruit.txt');
    $handle = fopen($my_file, 'w') or...
  7. [RESOLVED] Update a numeric value in a text file.

    I'm trying to update a selected numeric value in a text file. What I have tested thus far isn't working.

    fruit.txt:
    apples=24
    oranges=40
    plums=20

    Here is my code:

    <!-- ----------------...
  8. Adding CAPTCH to a simple HTML form question.

    I'm trying to implement a very basic Captcha Numbers class from <a href="http://www.phpclasses.org/package/2598-PHP-Generate-CAPTCHA-validation-images.html#view_files/files/10991">here</a>.

    The...
  9. Did you mean the Validate button should work?...

    Did you mean the Validate button should work? That was a bad test idea, One Submit button would be best.

    I'm sorry, I'm not familiar enough with PHP to quickly grasp your advice.



    So a...
  10. A followup question involving ? echo $PHP_SELF ?

    Using this session variable method in the web browser, and submitting to the same form, how would one pass the actual form data back to the server side?

    To clearly understand the sequence of...
  11. Variable question, adding a simple PHP Captcha to HTML contact form

    I'm trying to add some very simple PHP CAPTCHA code to my existing HTML web forms, while using my same server side php form mailer.php.

    Example form with simple CAPTCHA:

    <?
    session_start();...
  12. Replies
    35
    Views
    37,950

    RESOLVED I found another old Javascript redirect...

    RESOLVED
    I found another old Javascript redirect in the website, preventing it from working with Dave's above or any leading php redirect.
  13. Replies
    35
    Views
    37,950

    The web server I'm having problems with is on...

    The web server I'm having problems with is on Fatcow.com. They are running php version 5.
    The web hosting company with all php redirect/full site scripts working perfect is Hostmonster.com, php...
  14. Replies
    35
    Views
    37,950

    Regarding neostring.com, it sounds like there may...

    Regarding neostring.com, it sounds like there may be a mobile redirect script on each page, if visiting other than the index.html (index.php) redirects viewers back to the mobile site. Maybe having...
  15. Replies
    35
    Views
    37,950

    Its working !!! I'm using this php at the top of...

    Its working !!! I'm using this php at the top of my html page, before anything else:

    <?php
    function is_mobile(){...
  16. Replies
    35
    Views
    37,950

    (Dave, I'm taking code off & on this all eve, its...

    (Dave, I'm taking code off & on this all eve, its not working)

    I have learned that any PHP redirect needs to to be the first item on the page, ahead of any HTML tag. Helpful article here->...
  17. Replies
    35
    Views
    37,950

    I have php on the server, all of my server...

    I have php on the server, all of my server scripts operate. A tech support guy at the web host co added a line of code to the .htaccesss file (AddHandler application/x-httpd-php .html .htm) to...
  18. Replies
    35
    Views
    37,950

    Nothing is displaying after my

    Nothing is displaying after my <!---------- Mobile Device Redirect function ------> that is above your php.

    When viewing the page source, no code whatsoever is displayed after the above bar, no...
  19. Replies
    35
    Views
    37,950

    Ok, I tried to add an echo, but with the echo...

    Ok, I tried to add an echo, but with the echo (below code) there is a server error, not just a blank page.

    <!---------- Mobile Device Redirect function ------>
    <?php
    switch($_GET['mode'])
    ...
  20. Replies
    35
    Views
    37,950

    I'm not sure how to do this. Maybe you could...

    I'm not sure how to do this.

    Maybe you could suggest how I could see these values, maybe echo? I'll test echoing these values, maybe
    Echo mode; ?
  21. Replies
    35
    Views
    37,950

    Tracknut's redirect question

    I hope this post isn't to old to reply to.

    I'm testing Tracknut's sweet redirect PHP w/full site link on mobile. Its Exactly what I need, redirect each time, no cookie, Full site Query string...
  22. Correction, my main site's code does have the...

    Correction, my main site's code does have the mobile site URL as below:

    <SCRIPT LANGUAGE="javascript">
    if (document.location.search.indexOf("skipmobile") >= 0) {
    document.cookie =...
  23. Javascrip redirect w/ full site mobile link not responding, what am I overlooking?

    I'm trying to deploy a small javascript in an existing simple HTML site to redirect mobile visitors to the mobile site, with a 'Full site' link on the mobile site to allow full site access.

    The...
Results 1 to 23 of 23
HTML5 Development Center



Recent Articles