Submit Restrictions - Is there anyway to bypass this on my localhost?

Pages: 1, 2, 3
free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Submit Restrictions - Is there anyway to bypass this on my localhost?

Spectre
It doesn't work like that. PHP is only server-side, and JavaScript is only client-side. As I said, the variables are going to have whatever value you assign them in the script. You can't assign them a value of '0', and then expect them to retain that value on later executions, because they won't. The only way you can do that is by storing the value somewhere, and recalling it later. If someone executes your script to add the values '2' and '3' together, the script isn't going to 'remember' that it used '2' on the next run, so the variable isn't going to have a default value of '2' or anything. I think that's what you're getting at, anyway.

Reply

darran
I know what you are getting at. For my problem, I want the result to be reflected back at the original value. So after clicking the default reset button, I want the result to be shown as 0 or something like that. As you said Javascript handles button clicks on the client side, so I want javascript to reset the value but this variable is a php variable, how can I port it into javascript so that I can reset it?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2, 3
Similar Topics

Keywords : submit, restrictions, bypass, localhost

  1. Restrictions On Php & Forms?
    $_GET/POST/REQUEST? (2)
  2. Stop Double Post/submit
    (10)
    Hi Whats the best way of stopping a double post from occurring? Re-directs? I was hoping that
    there was another way because I am using smarty and with the current setup of my site implementing
    redirects would be a right pain. Thanks for any help. ....
  3. Getting Information From Submit Button
    I need to grab information from a submit button. (1)
    I basically have an array that uses characters as keys and has an integer value to it. I have a
    loop that outputs the list in that array. For each entry I want a a button to remove it. The button
    will submit the form to another page which contains the script to be able to remove it from the
    array. The infomation for the keys name is used for the buttons name value. Im not sure how you go
    about grabbing this information once on the submitted page. heres my code CODE
    echo("<form name='jobs' action='remove_job.php'>"); foreach....
  4. <?php ?> Get Search Results To Your Localhost
    Simple way to get 100 results without allowing cookies (2)
    Ultimately simple script that allows you getting google search results to your localhost. This is
    the first part of the Crawler script i'm developing, and if you are interested in developing the
    script with me, IM me @icq328866661@msn/evil_matak/ a \hotmail-com. Here's the form
    part... QUOTE search.php QUOTE if (@$_POST ==""){ echo "What are you
    doing?"; } else{ $query =
    file_get_contents("http://www.google.com/search?q=".urlencode($_POST
    )."&num=100&hl=en&ie=UTF-8&filter=2"); //needs to be added with more queries �....
  5. Form Dosn't Submit In Opera
    Works in IE and FireFox (1)
    My form dosn't submit, it works in IE and FF, its validated HTML 4.01 and all, Code:
    /**********************************/ /** Post Topic :: EvilBoard **/
    /**********************************/ /* Session Start */ session_start(); /* Start Submit Script */
    if ( isset($_POST )) { header("Refresh: 0; redirect.php?posttopic");
    define("RELOADED","YES"); } /* End Submit Script */ /* Include File::Header.php */
    include("include/header.php"); echo " "; /* If Script can't find SESSION user_name */ if (
    !$_SESSION ) { /* Echo :: Forbiden */ echo '....
  6. Request: Php Submit Script With Save In Host
    Get Picture form url (13)
    Hi all i want make one form whit php , when users submit there urls , then my site give one picture
    form url and save on my host ! how can do that ? thanks....
  7. $_post Without A Form
    Trying to post a value with using a submit button (9)
    Hey me again. Looks like im having trouble with php. THis time the solution should be easy but i
    just cant find it anywhere. I am trying to post a variable but i do not want to use a form because i
    hate the look of submit buttons for what i am using it for. I do not want to use javascript because
    of compatibility issues. If you know how to make a submit button look like a nomal text link that
    would work if you know how to send post data through an href that also would work. Or if you just
    know how to do it another way im open to suggestions. Thanks for all of your help....

    1. Looking for submit, restrictions, bypass, localhost

Searching Video's for submit, restrictions, bypass, localhost
advertisement



Submit Restrictions - Is there anyway to bypass this on my localhost?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE