www.webdeveloper.com

Search:

Type: Posts; User: delr2691

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    823

    no, you don't have to use CGI.. that application...

    no, you don't have to use CGI.. that application lets you add a calculator into your site.. it doesnt actually change the currency of your prices..

    Maybe you should try this one that lets you show...
  2. Replies
    9
    Views
    823

    ok well.. the table in the link that felgall...

    ok well.. the table in the link that felgall posted has a currency field so the script I posted will load the currency from the database directly (lets say, currency will be "US Dollar" if the IP of...
  3. Replies
    9
    Views
    823

    see if this works for you.. if not, post the...

    see if this works for you..
    if not, post the error that outputs.. i havent test it..


    //DO THIS IF THERE'S NO INFO IN THE USERS COOKIE,
    //Otherwise, just read preferences from the cookie and...
  4. Thread: Forms!

    by delr2691
    Replies
    10
    Views
    1,586

    Try maybe this: [CODE] function...

    Try maybe this:
    [CODE]
    <script>
    function login(form) { //function to call when submiting the login form
    if (form.id.value=="USERNAME") {
    if (form.pass.value=="PASSWORD") {...
  5. Replies
    9
    Views
    823

    yes.. there are very big database tables...

    yes.. there are very big database tables distributed in internet containing IP ranges and the info related to it (country to which they belong, currency, language, etc)
    lets say for example: from...
  6. Thread: Forms!

    by delr2691
    Replies
    10
    Views
    1,586

    btw.. how do you do to find threads this old?.. xD

    btw.. how do you do to find threads this old?.. xD
  7. Thread: Forms!

    by delr2691
    Replies
    10
    Views
    1,586

    why would you have a javascript login script like...

    why would you have a javascript login script like that? users could just see the source code and know the username and password..
    but anyways.. try this, if you'd like them to first select the page...
  8. Replies
    5
    Views
    742

    foreach ($res['Identities'] as $x) { ...

    foreach ($res['Identities'] as $x) {
    $full_name = mysql_escape_string($x->full_name);
    $email_address = mysql_escape_string($x->email_address);
    $reply_to =...
  9. Replies
    2
    Views
    872

    nice.. :D thanks a lot!

    nice.. :D thanks a lot!
  10. Replies
    2
    Views
    872

    [RESOLVED] file_exists

    Look, I'm having a problem using the file_exists() function.
    I have this include.php file which many pages are including [/index.php, /admin/index.php, etx] But inside this include.php file I have...
  11. Replies
    2
    Views
    679

    well.. you won't be able to do that cause what...

    well.. you won't be able to do that cause what you're retrieving thru Ajax returns the text as html (it has a <pre> tag) and not as php code..
    If you had php code with the array filled, then you...
  12. Replies
    15
    Views
    78,202

    Your welcome :) And I guess you should do it...

    Your welcome :)
    And I guess you should do it this way.. [well, actually is the way I'm used to :D]


    if (isset($_POST['input']) && !empty($_POST['input'])) {
    //add, delete or anything here..
    }...
  13. Replies
    15
    Views
    78,202

    you are creating the whole html output before...

    you are creating the whole html output before deleting the entry.. the page wont show the updates not even when you add.. you can try this instead:



    <?

    include 'db.php';

    $active_id =...
  14. Replies
    15
    Views
    78,202

    no.. if you've already sent content, you can not...

    no.. if you've already sent content, you can not "refresh" the page..
    you can send some headers to change the location but just before sending any content..

    header("Location:...
  15. it would be simple if they were inputs.. you do...

    it would be simple if they were inputs.. you do just this:


    <input name="input1" value="<?php echo $_POST['input1']; ?>">


    but if you have select inputs you'd want to try something like this:...
  16. Replies
    9
    Views
    1,084

    that's good, that's good.. :) i bet it will be a...

    that's good, that's good.. :) i bet it will be a matter of few months.. ;)
    hey and I checked your site, and I was just about to send a comment throught the Contact Us form but there's an error in...
  17. Replies
    9
    Views
    1,084

    ohh, ok.. that's good.. :) Keep improving, then.....

    ohh, ok.. that's good.. :) Keep improving, then.. :D
  18. Replies
    9
    Views
    1,084

    ok.. i think i got you now.. now, assuming you...

    ok.. i think i got you now..
    now, assuming you have the username stored in a session or whatever you use to authenticate your user..
    you can do this:


    $uname="bla"; //where you store the...
  19. Replies
    9
    Views
    1,084

    I didnt get you... You mean when someone...

    I didnt get you...
    You mean when someone registers a new account, you want it to redirect to his/her profile? or what?
    Explain please :)

    If you want to redirect the user after he registers a new...
  20. Replies
    2
    Views
    772

    $conn=mysql_connect ("webserver1.com", "user",...

    $conn=mysql_connect ("webserver1.com", "user", "passwd")
    Then work as usual..
  21. Thread: PHP Sessions

    by delr2691
    Replies
    2
    Views
    752

    to re-generate a session id [change it] you can...

    to re-generate a session id [change it] you can use session_regenerate_id(true) function..
    The parameter is wether to erase the old session or not..
    keep in mind that all the data stored in the...
  22. Replies
    5
    Views
    832

    you can use mysql_escape_string() to escape the...

    you can use mysql_escape_string() to escape the search input.. You can also use a function by Macromedia:


    function GetSQLValueString($theValue, $theType, $theDefinedValue = "",...
  23. Replies
    24
    Views
    6,249

    Well it will be seen as a guest.. What you can...

    Well it will be seen as a guest..
    What you can do [I guess] is to add a "userID" column in the table so it doesnt take into account the IP when it's a registered user, but the userID.. Just if a...
  24. Thread: database plan

    by delr2691
    Replies
    6
    Views
    1,429

    Hey again.. Well I think you should create...

    Hey again.. Well I think you should create another table for the groups:
    --- tbl_groups ---
    ID <-- group unique ID
    groupName <-- group name
    userID <-- user who owns the group

    also create a...
  25. Replies
    24
    Views
    6,249

    ohhh.. ok, i'll check those lines in my copy......

    ohhh.. ok, i'll check those lines in my copy... :) thanx
Results 1 to 25 of 144
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles