User Profile

Collapse

Profile Sidebar

Collapse
Easytime
Easytime
Last Activity: Apr 18 '13, 07:30 PM
Joined: Nov 20 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • If you logout and and the session script still accesses admin folder in your site, there is a problem. The session id is not destroyed.
    What you need to do is to destroy the session by session.destroy ("id")
    or
    destroy session("id");

    Code:
    <?php // logout.php 
    session_start(); 
    unset($_SESSION); 
    // you may want to delete the session cookie 
    if (isset($_COOKIE[session_name()]))
    ...
    See more | Go to post

    Leave a comment:


  • how will I combine AJAX with php to read from mysql database?
    How is that possible?
    See more | Go to post

    Leave a comment:


  • How to parse a function's result to php select dropdown value property.

    Dear pros, I have 2 select option comboboxes on the form. One combo box reads data from mysql on pageLoad event.
    OnChange of the selected option, php should read another data from mysql into the second combo box.
    The second read-data should be in a function (not necessarily, just if there is a simpler way to do it). But please check the code below: Thank you!

    Code:
    <form name="form1" action="confirm_zone.php"
    ...
    See more | Go to post

  • I have solved the problem!
    See more | Go to post

    Leave a comment:


  • Read 2 columns from mysql and Populate a html combobox

    Hi guys, I have read data from 2 columns in the mysql table. I want to concatenate the data and bind them to the html combo box on the form. From the code below, the read data is okay, the concatenation is okay but the binding is is rather printing the result on the page instead of populating the select option box. Please kindly help me here.

    Thank you!
    Code:
    <!-- Assuming there is a connection to the database -->
    ...
    See more | Go to post

  • PHP Time Script Echos Different Time from Current System Time

    Dear Programmers,

    I have lifted a php script code to echo the current time.

    When I run the script, it echos a different time string from the current system time.

    Please find the php time script below. Please what could be the possible cause of this and how can I debug it?

    Thank you!
    Code:
    <?php
    
    date_default_timezone_set('UTC');
    
    
    // Prints
    ...
    See more | Go to post

  • I have a WAMP installed on my computer. I use PHP to script other functions and they run. I develop my files on php and they run just because I have installed WAMP on my pc. It;s just that, I'm having problem figuring out where the code has a bug that does not allow it to run.

    Pls kindly help me.
    Thank you!
    See more | Go to post

    Leave a comment:


  • Easytime
    started a topic A Call to PHP Function on INPUT field is not working
    in PHP

    A Call to PHP Function on INPUT field is not working

    Dear Pros,

    I've written a php function script to check the a default value of a text field during an onFocus and onMouseOut events.
    The default value of the text field is 'Search'.
    When a user sets focus on the text field, the value should clear to empty string.
    When the user removes focus and without entering a text, the value should be set back to 'Search'.
    Else a $value variable should be assigned the...
    See more | Go to post

  • Easytime
    replied to Line break not working well
    in PHP
    ok! Thank you! Let me go through it. I will get back to u.

    Thanks.
    See more | Go to post

    Leave a comment:


  • Easytime
    replied to Line break not working well
    in PHP
    Ok...Thank you! But, sincerely, I do not know how to set the headers...pleas e can you help me? Thank you!
    See more | Go to post

    Leave a comment:


  • Easytime
    started a topic Line break not working well
    in PHP

    Line break not working well

    Big Brothers, Please kindly help me out on this....
    I assigned values to a series of variables.
    I tried to read out these values with linebreaks, but the line breaks aren't working as expected.

    I am sending a mail to an address:
    The problem is, if I check the mail, the mail object does not strip-format the linebreaks. It adds the linebreaks together with the values.
    Pls see the code below:
    Code:
    
    
    ...
    See more | Go to post

  • Easytime
    replied to How to access a database from localhost?
    in PHP
    Atli, you have not said some suggestive and conclusive enough. what do you mean by 'Equipment specs are up to you'? I need to know how to setup the equipment - i.e, the configuration. How to configure these equipment is my concern now.
    Can you help?

    thank you.
    See more | Go to post

    Leave a comment:


  • Easytime
    replied to How to access a database from localhost?
    in PHP
    Atli, you have all said it's possible and it's simple....but you have not suggested HOW. How can it be done? What other steps do I require to setup?

    thank you.
    See more | Go to post

    Leave a comment:


  • Easytime
    replied to How to access a database from localhost?
    in PHP
    Dear Zmnd,

    I really appreciate your contribution. Thanks a lot...However, it's not that I really want to host the database server. I only want to know how possible it is to do that if I wanted to...what are really the things involved in hosting a database server and how can/should it be done?

    Anyway, thanks all the same.
    See more | Go to post

    Leave a comment:


  • how do I get to these php developers? can you suggest a few? Thanks.
    See more | Go to post

    Leave a comment:


  • Yeah, concerning ASP and ASP.NET, you know that, they use vbscript mostly. But vbscript has some browser disadvantages - microsoft only developed vbscript to run on IE only. So, some browsers might not currently run vbscript....I don't know about present versions of most browsers...but, that's just a little I know about vbscript with browser disadvantages.. However, Atli, what do you think about the idea I got? Can I chat with you one-on-one?
    See more | Go to post

    Leave a comment:


  • Easytime
    replied to How to access a database from localhost?
    in PHP
    Thank you, I will try this up...where I run into a mixup, I will let you know asap...Thanks once again...Though am still not cleared. But I am grateful.
    See more | Go to post

    Leave a comment:


  • You do not still understand....A m not developing a facebook app...but something close to it...I have developed a desktop app for church management...I want to have the same app in a web format...that, churches can rather sign-up accounts, and manage their programmes and events. Now, you see, there are about 2 if not 3 levels of authentication. ...there is the login page to their individual church pages.... and there is also, the login to the different...
    See more | Go to post

    Leave a comment:


  • Easytime
    replied to How to access a database from localhost?
    in PHP
    Ok...but assuming I have decided that I want to go ahead to use my local pc for databases, what do I do in this situation? How do I configure my pc, phpmyAdmin(on my pc), and the www web phpserver to meet this need? Please help me. Thank you.
    See more | Go to post

    Leave a comment:


  • Easytime
    replied to How to deny/block a url from the address bar?
    in PHP
    I want to develop a facebook-like app that will require people to register before being able to access the functions. So, for non registrants, there will be no access to the pages except through login page.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...