User Profile

Collapse

Profile Sidebar

Collapse
theoni
theoni
Last Activity: May 18 '09, 08:09 PM
Joined: Feb 10 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • theoni
    started a topic mod_rewrite index.php

    mod_rewrite index.php

    I need some help with something I am trying to solve here and cannot find anything online

    I need to mod_rewrite to redirect with 301 to remove duplicate content from google the following:

    www.site.com/courses/index.php?cat=89&start=0
    to
    www.site.com/courses/?cat=89

    and at the same time redirect only the
    www.site.com/courses/index.php to
    www.site.com/courses/

    i cannot...
    See more | Go to post

  • theoni
    started a topic need urgent redirect help

    need urgent redirect help

    Hello to all

    I want to make a http: //mysite.com/folder/index.php redirect to http: //www.mysite.com/folder/ with a single 301 redirect in .htaccess does anyone know if this is possible? I have been looking for the answer for long with no luck.

    I need to add that I have properly done a 301 redirection from http: //mysite.com to http: //www.mysite.com I don't know if that has any effect.

    Any help is greatly...
    See more | Go to post

  • theoni
    replied to check if variable value is timestamp
    in PHP
    thanks!




    I wonder how I didn't think of that myself:(

    thank you for the help...
    See more | Go to post

    Leave a comment:


  • theoni
    started a topic check if variable value is timestamp
    in PHP

    check if variable value is timestamp

    Hello all,

    I am using a script to export database values to xls. I am using an if statement to check if the value is numeric and has a length of ten digits. My problem is that when I extract the valaues from the the timestamp then the phone numbers whcih are also 10 digit lenthg numbers are also covnerted to dates! the numbers may only start with 2 or 6 and have ten digits but I am not sure that if I check with preg_match whehter...
    See more | Go to post

  • theoni
    replied to single connection per user on platform
    yes that is how i tried to implement it....
    See more | Go to post

    Leave a comment:


  • theoni
    started a topic hidden div changes height of underlying table

    hidden div changes height of underlying table

    hello all

    I am trying to make a database query that draws data from a database and displays a div. I am using the z-index to make the div float at a specific point. the matter is that the div that displays the data makes the div that is below to increase the height the link to the website is this: http://www.schoox.com/user/knowledge/advancedsearch. php and the style for the div is this:

    Code:
    .suggestionsBox {
    		position:
    ...
    See more | Go to post

  • theoni
    replied to single connection per user on platform
    how can I catch the closing browser it is not working with javascript...
    See more | Go to post

    Leave a comment:


  • theoni
    replied to single connection per user on platform
    yes, there is no way to catch the user closing the browser. I have tried with javascript but it didn't work.

    theoni...
    See more | Go to post

    Leave a comment:


  • theoni
    replied to single connection per user on platform
    in PHP
    I did try such an implementation but I am not sure that session cookies cover all cases for users this is why I was looking for a more elaborate solution that takes care of user connection on the server, without interference. I will look into your suggestion better if I don't come up with anything better.

    thank you for the answer pbmods
    theoni...
    See more | Go to post

    Leave a comment:


  • theoni
    started a topic single connection per user on platform
    in PHP

    single connection per user on platform

    Hello all!

    I have asked the question at the apache forum but I have gotten no replies so I need to ask someone here in case you know how I can solve the following problem:

    I am working on a platform and there is a restricted area when users need to login. The issue is that multiple users can login with the same username/password at the same time which I don't like. I want when a user logs in no other person to be able...
    See more | Go to post

  • theoni
    started a topic single connection per user on platform

    single connection per user on platform

    Hello all!

    I am working on a platform and there is a restricted area when users need to login. The issue is that multiple users can login with the same username/password at the same time which I don't like. I want when a user logs in no other person to be able to log in the system with the same username/password. Is there a way I can implement that on the server? I have tried to implement the operation with php but it does not work...
    See more | Go to post

  • theoni
    replied to access array element
    in PHP
    Thank you very much pbmods, this does work!

    kind regards...
    See more | Go to post

    Leave a comment:


  • theoni
    started a topic access array element
    in PHP

    access array element

    hello i have a stupid question i need help with in the array [code=text]
    Array ( [SESSION] => object Object ( [session_test] => 5FZ0bc4ion [page_category] => courses [bullet_category] => [logincount] => 0 ) [USER] => stdClass Object ( [id] => 82 [auth] => email [confirmed] => 1 [policyagreed] => 1 [deleted] => 0 [gender] => f [username] => theoni [password] => 8d76acf438cccac dca337f652825f9 96 [paypal]...
    See more | Go to post
    Last edited by pbmods; Jul 3 '08, 01:52 AM. Reason: Added CODE tags, removed email.

  • theoni
    started a topic page within page style problem
    in PHP

    page within page style problem

    hello,

    i have been looking online for an answer to my problems but no luck so far. When I include a page within another page the style does not work. The page I try to include either appears incomplete or the contents appear outside the table I try to restrict it into. Does anyone know what I can do?

    thank you for your help
    See more | Go to post

  • that worked!!!!
    thank you so much :)...
    See more | Go to post

    Leave a comment:


  • Unfortunately there is no way give the style on the server side. That is impossible the way the menu is implemented... I tried to use match() but that didn't work right either :( Will try harder later, thank you for the tip though!...
    See more | Go to post

    Leave a comment:


  • I am sorry I was upset when i wrote the post and couldn't come up with a better heading.. will be be more cautious from now on...
    See more | Go to post

    Leave a comment:


  • Make currently loaded menu item appear in different style than other menu items

    Hello,

    I am making a javascript menu and I want to make the menu item that is currently loaded appear with different style than the other menu items. This can only be fixed in the javascript code loaded before the page so I tried to compare the location.href with the href value of the menu item and load different styles when href==location. href

    this doesn't work even though i tried hard so i guess i am missing something....
    See more | Go to post

  • theoni
    replied to mysql error
    Thank you very much for the help mwasif, it worked! :) Have a nice day!...
    See more | Go to post

    Leave a comment:


  • theoni
    started a topic mysql error

    mysql error

    Hello,

    I am trying to do sth for work which doen't work and i am really frustrated.
    the query
    [PHP]$myquery="selec t * from tbl_routes where DAYNAME(rt_Depa rture) AS rt && rt='$weekday' && rt_FK_Destinati on='$dest' && rt_FK_Departure ='$dep' ";[/PHP]

    is supposed to give back the flights which leave on sundays ( rt='$weekday' ) where $weekday='Sunda y' but rt='$weekday'...
    See more | Go to post
No activity results to display
Show More
Working...