Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #1K
~16.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for jrwin_19

Hello guys, does anybody know how to create a timer in PHP that runs even when the user goes offline. I am working on a project, actually a text based game, that needs a timer that runs continuously even after the user goes offline. The game is something like mafia …

Member Avatar for crammo
0
1K
Member Avatar for 68thorby68

I have a simple database with 3 columns: id, event_date, event_name I have 9 rows in the database id event_date event_name 1 2010-01-17 Food 17th 2 2010-01-17 Bar 17th 3 2010-01-17 Football 17th 4 2010-01-18 Food 18th 5 2010-01-18 Bar 18th 6 2010-01-18 Football 18th 7 2010-01-19 Food 19th 8 …

Member Avatar for james_horn165
0
135
Member Avatar for LloydFarrell

hi all, Im trying to add a "title" to a switch case statement below, but for some reason im unable to complete, what I thought was a simple task. Hope someone can help and explaine the reasons why cheers, Lloyd [code] switch($ad) { case "add1.gif"; header("Location: http://www.google.co.uk"); break; case "add2.gif"; …

Member Avatar for syamsasi
0
731
Member Avatar for Midnite002

I am new to PHP and have not yet learned all the syntax and commends but was wondering if an easy script can be made to copy files of the same name from one directory over to another directory thru a PHP script in other words if I have 2 …

Member Avatar for Stefano Mtangoo
0
309
Member Avatar for veledrom

Hi, What is the best way of securing $_SESSIONs in PHP page that prevents $_SESSION spoofing? Any example! Thanks

Member Avatar for amd_k8
0
249
Member Avatar for LloydFarrell

Hi, I have a bit of a strange problem where I am unable to "echo" results from a database - I will show you the code then explaine what im trying to do [code] <?php include_once "connect_to_mysql.php"; $sql = mysql_query("SELECT * FROM table ORDER BY RAND(), LIMIT 1"); while($row = …

Member Avatar for vaultdweller123
0
1K
Member Avatar for almahmeed

Hello Everyone, I am developing a new website which shall provide a user interface of multiple languages; starting with English, Persian and Arabic (We are considering Russian and Hebrew in addition to other languages in the 2nd phase). What I have done is to store a language code with the …

Member Avatar for muralibobby2015
0
87
Member Avatar for codewalkz

I would like to ask how can I check if a sample date is earlier than another specified one. I have this: $Monday = 1-18-2010 $enroll = 12-29-2009 [CODE] $enroll = $row['enroll']; if($enroll >= $Monday){ echo "<br>$enroll is earlier than $Monday this returns TRUE ( 1 )"; }else{ echo "<br>$Monday …

Member Avatar for webbespoke
0
111
Member Avatar for takeshi

Guys,this code couldn't run very well..Is there anyone who will recode this? [B]search.php[/B] [CODE] <?php mysql_connect ("localhost", "root") or die (mysql_error()); mysql_select_db ("records"); $criteria = (int)$_POST['criteria']; $sql = "SELECT * FROM students WHERE "; switch($criteria) case 1: $sql .= "course"; break case 2: $sql .= "surname"; break; case 3: $sql …

Member Avatar for takeshi
0
102
Member Avatar for takeshi

G' day!i have my code here in searching a record..it runs very well..but i want to add an options..i want to add like this: [CODE]<select> <option name="course">course</option> <option name="surname">surname</option> <option name="department">department</option> <option name="email address">email address</option> <option name="student no">student no</option> </select>[/CODE] i want to add that code in my program..and i …

Member Avatar for takeshi
0
733
Member Avatar for almahmeed

Hi, I have developed an application a while ago and used CSS for the formatting of the generated web pages. As I am using Google Chrome, everything was working fine and I have tested it few times on Firefox and noticed slight differences. Yesterday, one of the users complained that …

Member Avatar for diafol
0
172
Member Avatar for hbat66

Hello, I've wound up with a strange problem with my php script. The script goes into a SQL DB and checks the values of two different columns to see if they are equal. If the columns are not equal, then I store all of the possible values in column 1 …

Member Avatar for vaultdweller123
0
186
Member Avatar for catcoffee

Hi! That's me again. And I'm still an idiot, and I need yours help. Terms of tasks: Show photos with the ratings. Problem: Rating display pictures. And if the first base photo have rating 4, the code for all the other photos, too, shows a picture rating 4. What am …

Member Avatar for catcoffee
0
79
Member Avatar for nehashri

hey all i am stuck with this problem while i am trying to make a software. here i have a form that has to be filled by the user. form1, form2, form3 and form4. In form2 there are two radio button 'yes' and 'no'. So when the user selects yes …

Member Avatar for amd_k8
0
109
Member Avatar for aneeka

please help me visualize an online examination, i dont know where to start...:icon_sad:

Member Avatar for amd_k8
0
89
Member Avatar for hno

hi, How can convert an ANSI text file to UTF-8 by php?Or how can make UTF-8 text file with php? Thanks

Member Avatar for amd_k8
0
69
Member Avatar for Mujahid158

I'm developing a simple instant chatting system. I need to do the following; I want to refresh a different page when I click submit. Suppose, I've the submit button on page1, on clicking submit, the page2 should be refreshed/reloaded. How can I do it? I've searched a lot on Google …

Member Avatar for diafol
0
143
Member Avatar for takeshi

Anyone knows how to code in this: when i delete a particular record,it display first "[ICODE]Are you sure, you want to delete?<br>Yes, No"[/ICODE]all i know is in Vb but i dont know in php..i know if-else statement are present in that code..tnx in advance!

Member Avatar for vaultdweller123
0
133
Member Avatar for peko_peko

Hi all, I'm new to PHP and at this stage I'm still learning what is and isn't possible with PHP. I want to add a script to my website that will automatically add the file size next to any link that leads to a non-HTML document. For example, imagine I …

Member Avatar for peko_peko
0
193
Member Avatar for LloydFarrell

Hi all, Over the last week or two i have been working on uploading images to mysql db, Whilst i have the image uploading to the correct location and the name of the image added to the database, i cant understand how to add the image location to the name …

Member Avatar for LloydFarrell
0
198
Member Avatar for azegurb

can you help me what is here [CODE]$this-&gt;contents = $contents;[/CODE] it must be like this [CODE]$this->contents=$contens[/CODE] musn't it? thanks for attention beforehands [CODE]<?php class Box { var $contents; function Box($contents) { $this-&gt;contents = $contents; } function get_whats_inside() { return $this-&gt;contents; } } $mybox = new Box("Jack"); echo $mybox-&gt;get_whats_inside(); ?> [/CODE]

Member Avatar for azegurb
0
74
Member Avatar for takeshi

hi..is there anyone knows how to do that?to be able not to read by anyone my password when they want to view the username and password account..?

Member Avatar for almostbob
0
68
Member Avatar for OmniX

Hi Guys I have been using the DIRECTORY SEPERATOR and from time to time i get a %5C instead of the appropriate / or \ now. Any ideas what is the problem? Thanks, Regards X

Member Avatar for amd_k8
0
88
Member Avatar for muralibobby2015

hello.. i want to do a customizable blog using php. admin can post from admin side. then user can give coments on that post. but this is simple task. but how to display that comment with out refresh the page.

Member Avatar for amd_k8
0
55
Member Avatar for Mike516

I made a registration script my problem is getting the errors to post in the div area. here is a picture: [url]http://screencast.com/t/OTcwNWMxN2Qt[/url] [CODE] <head> <LINK href="css.css" rel="stylesheet" type="text/css"> <title>Registration</title> </head> <div class="roundcont"> <div class="roundtop"> <img src="/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" /> <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post"> <table class="table"> …

Member Avatar for amd_k8
0
70
Member Avatar for sfrider0

I have been working on this a while and have tried just about way trying to delete a row from a database using a button. What I have is a list of websites and data about each on each row. Then next to the row is a Delete button. I …

Member Avatar for FlashCreations
0
9K
Member Avatar for veledrom

Hi, This is my URL [inlinecode]index.php?name=BSC&Subject=C++[/inlinecode] When I do [inlinecode]echo $_GET["Subject"];[/inlinecode], result is [B]C[/B] without ++ I also tried (string) and settype() functions but no luck How do I solve this problem? Thanks

Member Avatar for veledrom
0
156
Member Avatar for nadnakinam

hi everyone, I have designed a web site which works fine in local server. but when i upload it on to server i get this problem, which really annoying me :@ I'm getting this warning, Warning: Cannot modify header information - headers already sent by (output started at C:\...\...\Domain.com\login.php:6) in …

Member Avatar for nadnakinam
0
95
Member Avatar for architact

Hello, I am developing a site on which upon registration the users will receive a personal site with the address username.domainname.com Please tell me how this can be achieved, I think it might b possible with the use of mod_rewrite but I am not sure. Please help me with this …

Member Avatar for architact
0
140
Member Avatar for SamiBH

Hello I want to learn how to make a script, that reads 2 tabels to find and print top 10 users Table1: postname - userid Tabel2: username - id ( userid = id ) the script needs to count and print top 10 users with most posts #1 userA 1000 …

Member Avatar for SamiBH
0
106