Search found 26 matches

by dourvas
Sun Feb 27, 2011 11:24 am
Forum: Javascript
Topic: test script
Replies: 0
Views: 489

test script

hallo there i am trying to implement a test script using php and javascript i want a digital clock to count down time. when the time reaches to 0 it would redirect the page to another. the number of minutes that the cock will count down it is stored into a php variable. the issue is that i am having...
by dourvas
Sun Feb 27, 2011 4:49 am
Forum: PHP - Code
Topic: load php page after particular time
Replies: 5
Views: 330

Re: load php page after particular time

ok thanks for the code. i found excacly what i needed
a digital clock counts down the time and when it reaches 0 it redirects to another page. (with javascripts)

Something else now. How can i set that clock to be always visible on the screen even if scrolling down is happening?
by dourvas
Sat Feb 26, 2011 11:08 am
Forum: PHP - Code
Topic: load php page after particular time
Replies: 5
Views: 330

Re: load php page after particular time

ok. i thought it would be easier with javascript. Could u be more specific. i do not know to write javascripts. is there a site that offers free code or something similar to that so i could change it according to my needs???
by dourvas
Sat Feb 26, 2011 10:28 am
Forum: PHP - Code
Topic: load php page after particular time
Replies: 5
Views: 330

load php page after particular time

hallo, i want into a particular page if the user stays more than lets say 20 minutes to automatically load another php page. More specific i have a page which is a test. The user answears to some multiple choice questions. i want him to have only a particular time to anwear. Lets say after 20 min i ...
by dourvas
Tue Feb 08, 2011 12:24 pm
Forum: PHP - Code
Topic: php log in system problem
Replies: 9
Views: 529

Re: php log in system problem

And the mystery goes on... I thought that maybe the session expires (timeout) or that something were going wrong with the session id. So i echoed the session id just to see if it changes when it looks that i am logged out before i refresh the page. i used that code $a = session_id(); if(empty($a)) s...
by dourvas
Tue Feb 08, 2011 6:17 am
Forum: PHP - Code
Topic: php log in system problem
Replies: 9
Views: 529

Re: php log in system problem

Every page begins with this piece of code <?php error_reporting(E_ALL ^ E_NOTICE); ?> <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang=...
by dourvas
Tue Feb 08, 2011 12:14 am
Forum: PHP - Code
Topic: php log in system problem
Replies: 9
Views: 529

Re: php log in system problem

i ve noticed it. so i erase that piece of code. But nothing...
by dourvas
Mon Feb 07, 2011 11:21 am
Forum: PHP - Code
Topic: php log in system problem
Replies: 9
Views: 529

Re: php log in system problem

Thanks for your quick answer. I thought about it. But as i said before, the login system works most of the times. Sometimes and only sometimes i have to refresh the browser(2-3 times) in order to work!!! i tried the code without session_register("authenticated"); the same!! :banghead: let ...
by dourvas
Mon Feb 07, 2011 7:41 am
Forum: PHP - Code
Topic: php log in system problem
Replies: 9
Views: 529

php log in system problem

hallo, I have implemented a loging system using sessions. It was working fine till last week. Suddenly some problems occered. I dont remember me making any changes to the code. so, i can not figure out what caused these problems... To be more specific, a user logs in through a form (of course), a qu...
by dourvas
Sun Jan 18, 2009 12:39 pm
Forum: PHP - Code
Topic: get data from a dynamic form
Replies: 5
Views: 291

Re: get data from a dynamic form

sorry about that,

Anyone can help me????
by dourvas
Sun Jan 18, 2009 7:46 am
Forum: PHP - Code
Topic: get data from a dynamic form
Replies: 5
Views: 291

Re: get data from a dynamic form

sorry man but i can not understand what you r saying could u be more specific??? my code now is the form   echo '<form method="post" action="createxml.php">'; for ($i =1; $i <=$number; $i+=1){   echo '<fieldset width ="20%">'; echo '<legend class = "login"></l...
by dourvas
Sun Jan 18, 2009 4:37 am
Forum: PHP - Code
Topic: get data from a dynamic form
Replies: 5
Views: 291

get data from a dynamic form

hallo, i ve created a dynamic form. A user can select The number of fields he d like to fill in (test creation)   echo '<form method="post" action="createxml.php">'; for ($i =1; $i <=$number; $i+=1){ // THE $NUMBER CONTAINS VALUE -ok-   echo '<fieldset width ="20%">'; e...
by dourvas
Fri Jan 09, 2009 7:09 am
Forum: PHP - Code
Topic: error after publishing
Replies: 5
Views: 135

Re: error after publishing

it works!!!!!!

thank man. thanks very much
by dourvas
Fri Jan 09, 2009 5:23 am
Forum: PHP - Code
Topic: error after publishing
Replies: 5
Views: 135

Re: error after publishing

thank u for the quick answear.

If you turn errors off on your live server, it will all work fine

it is something i can do? the server is not mine..i was ginen the space by an educational organitation i work for..
by dourvas
Fri Jan 09, 2009 4:07 am
Forum: PHP - Code
Topic: error after publishing
Replies: 5
Views: 135

error after publishing

hallo, The past few days i finished my first site. the result was exacly what i hoped for. I tested my site on my localhost and on dyndns. everything were working perfect. Then i uploaded the site to my host.... My site right now is full of errors. errors i can not understand... the first one i see....