hello helpful :)
  
  yes i have posted it in a few groups that i am a member of.. to get the soonest possible answer...
  
  hello helpful citizens of php world,
  
  i forgot about the isset function totally to check the existence of the variable... just remembered it and found the solution to the second one.
  
  as with the url i have tried it and  found my mistake.. i have setted up a redirection for it..
  
  thanks for the help.
  
  sincerely
  ~kray
 
"M. Ashraful Anam" <[EMAIL PROTECTED]> wrote:
            You posted this same question to 4 groups? That's kinda overkill.

The following solution applies if you have cpanel installed. Goto to CPANEL. From the menu select subdomain.

Type the name of the subdomain (login in your case) and click "Add". See image below.

 
 
  
  
  Now after subdomain is added, the screen should look like:
  
 
 
  
  Notice that only subdomain was added, no redirection was added. If you already setup a redirection, remove it by clicking the button "remove redirection". Without any redirection, the default setting for a subdomain is to go to a subdirectory of it's same name.
  
  So FTP to your account and create a subdirectory named "login" in your html folder. Now create a index.html page here with frame that will load/show your login.php page.
  
  
 
<html><head>  <title></title></head>  <!-- Redirection Services  -->  <frameset rows='100%, *' frameborder=no framespacing=0 border=0>  <frame src="" href="http://www.domain.com/login.php">http://www.domain.com/login.php" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>  </frameset>  <noframes>  <h2>Your browser does not support frames.  We recommend upgrading your browser.</h2><br><br>  <center>Click <a href="" href="http://www.domain.com/login.php">http://www.domain.com/login.php">here</a> to enter the site.</center>  </noframes></html>

  
  By the way you can check for existence of dologin and dologout with :
  
  if(isset($_GET[dologin]))
      {
      //bla bla bla
      }
  
    if(isset($_GET[dologout]))
      {
      //bla bla bla
      }

  
          -Russell.
  

    ----- Original Message -----
  From: kray blue
  To: [EMAIL PROTECTED] ; [email protected] ; [EMAIL PROTECTED] ; php+mysql group
  Sent: Monday, April 24, 2006 9:10 PM
  Subject: [phpXperts] url and get method
 

  Hello bright people, :)
  
  **Hope to not be moderated after all my questions. I have been studying php so please bear with me.
  
  >>>URL!?
  
    scenario: I want to have this subdomain http://login.domain.com and configured it as a subdomain. Pointed/redirected it to a script named login.php.The main problem is I would like for it to stay the same even when I have made it redirected.
  
  testing: When I went to test it and typed the url http://login.domain.com the redirection that I have made on the cpanel would expand it to http://www.domain.com/login.php when all I want for it to stay like the first url without people knowing which script runs.
  
  question: how can i make it stay like it was typed?
  
  >>>get method
  
    scenario: I have this script called login.php which asks for 2 things: dologin and dologout.
  i want it to be like this
  http://www.domain.com/login.php?dologin&session_maybe_here=123
  it will log the user in.
  http://www.domain.com/login.php?dologout&session_maybe_here=123
  will log the user out.
  
  question: how can i know that the dologin and dologout variable are on the url?
  tia,
  ~kray


                __  _
        ____ |  |(_)
      /     ||  | __  _      ,_  _______
   |    -- |  ||  |>  \/'\/  ||   __  |
      \   \  |  ||  ||  +-+-+  ||   ___/
    /+__\   \|  ||  ||  | | |  | \  \
  <           >         copyryt 2003 (r)

   
---------------------------------
  Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.

Visit phpXperts website at www.phpxperts.com


   
---------------------------------
  YAHOO! GROUPS LINKS

   
    Visit your group "phpexperts" on the web.
   
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

   
---------------------------------
 




              __  _
        ____ |  |(_)
      /     ||  | __  _      ,_  _______
   |    -- |  ||  |>  \/'\/  ||   __  |
      \   \  |  ||  ||  +-+-+  ||   ___/
    /+__\   \|  ||  ||  | | |  | \  \
  <           >         copyryt 2003 (r)


                 
---------------------------------
Celebrate Earth Day everyday!  Discover 10 things you can do to help slow climate change. Yahoo! Earth Day

[Non-text portions of this message have been removed]



The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning.



YAHOO! GROUPS LINKS




Reply via email to