Jump to content

chapeen

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by chapeen

  1. Hi everyone, I have a registration form. I have 1 dropdown list that contains the country name, when a user selects a country a second dropdown list gets populated with states/province using jquery, that works fine. When a user wants to modify his account, how do I populate those 2 dropdown list using jquery? I have a doubts on how to do this.
  2. The page does exist and could it be that I should put my query as follows? http.open('get','/page/RegisterUser/?nombre='+name+'&day='+dy+'&month='+mnt+'&year='+yr+'&sex='+sex+'&email='+email+'&password='+psw+'&nocache='+nocache) When I do so , my index.php shows up as shown in the screenshot. What would be right way to call my page using ajax and that also respects my htaccess rule ? can somebody help ? [attachment deleted by admin]
  3. I have a page where users can register. I use ajax. http.open('get', 'RegisterUser.php?nombre='+nombre+'day='+dy+'month='+mnt+'year='+yr+'sex='+sex+'email='+email+' &password='+psw+'&nocache = '+nocache); When I press on my submit button I get the message "The requested URL /page/RegisterUser.php was not found on this server." This is what I have in the .htaccess page RewriteEngine On RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 Can someone help, is there an extra rule to put on htaccess page ? What am I doing wrong ?
  4. I'm a noobie with url rewriting. this is what I have in my .htaccess file RewriteEngine On RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 When I click on one of my links e.g. Home, the page shows up but with no css. Can someone help me please.? ----------------------------------------- Soory guys just found the answer by searching !!
  5. can't try it out now, but thanks anyways !!
  6. The code is: <html> <head> </head> <body> <ul> <li><a href="page/inicio">Inicio</li> </body> </html> and inside the .htaccess file : RewriteEngine on RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 [L]
  7. Hi I'm new to this forum and to url rewriting. One question. I named my link page/inicio, when i click the link the first time the adress bar show: page/inicio which it's ok but when I click a second time, the adress bar shows : page/page/inicio and that is not good , it doesn't bring to any of my pages. Anyone can help me ? Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.