Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K
~14.4K People Reached
About Me

Student and part time web designer

Interests
Playing football (or some call it soccer), skateboarding, watching history channel! :P and eating ice…
Favorite Forums
Favorite Tags
php x 20

13 Posted Topics

Member Avatar for nishant52

this might be a little bit different from what you want but you can place an [B]index.php[/B] file inside [B]myhost/docs/default[/B] and place a code index.php which will redirect you to any page that you wish in this case default.php

Member Avatar for shalini_8
0
4K
Member Avatar for lonestar23

[code=php] <?php //header ("Content-type: image/jpeg"); /* JPEG / PNG Image Resizer Parameters (passed via URL): img = path / url of jpeg or png image file percent = if this is defined, image is resized by it's value in percent (i.e. 50 to divide by 50 percent) w = image …

Member Avatar for selular88
0
1K
Member Avatar for somedude3488

hi kkeith29! Im looking for an ajax/php/mysql driven chat in which most probably Im going to modify a little bit to fit my soon-to-open-website.. I found bunch of them around the net but most of them are hard understand.. (I'm still new to php) so maybe, im just wondering if …

Member Avatar for joeidee
3
900
Member Avatar for xarz

I don't know how to explain this correctly but just some sample for you guys so that you can really get what Im trying to say. Today is November 28, 2008 3 days from now is December 1,2008 Im looking for a php code, which can give me the exact …

Member Avatar for chetan.akarte
0
157
Member Avatar for dewhickey

I think I agree with kkeith29.. This might not answer your question directly on how to move a certain data from one table to another but instead, you can add a new column in the database which indicate whether it is archived or not. Well, let's assume that archived data …

Member Avatar for almostbob
0
5K
Member Avatar for nil_gh_80

@cwarn23 yeah, I agree with your code also.. I use it the same way.. just add htmlentities to make sure that there will be no sql injections.. :P

Member Avatar for BeachyUK
0
449
Member Avatar for squarkman

the easiest way to do that, by having the following code: [code=php] $linkback=$_SERVER['HTTP_REFERER']; $trusted_links=array("http://www.daniweb.com", "http://www.daniweb.com"); $found=0; while($trusted_links){ if($linkback==$trusted_links){ $found=1; break; } } if($found==0) die("You cannot access this page"); else echo"Welcome!"; [/code] i think the code is basic enough and simple to understand. :) by the way, according to [URL="http://www.php.net/manual/en/reserved.variables.server.php"]PHP $_server …

Member Avatar for Fungus1487
0
153
Member Avatar for xarz

Is there anyway to get metadata of an mp3 file using php? Even just the track length. Thanks.

Member Avatar for xarz
0
168
Member Avatar for rouse

i don't know if this will really work or not but instead of having [code=php] extract($row); $recordnum = stripslashes($recordnum); $firstmiddlename = stripslashes($firstmiddlename); $lastname = stripslashes($lastname); [/code] you can try [code=php] $recordnum = stripslashes($row['recordnum']); $firstmiddlename = stripslashes($row['firstmiddlename']); $lastname = stripslashes($row['lastname']); [/code]

Member Avatar for Aamit
0
156
Member Avatar for blunt57

There are 2 ways to pass an information in web.. It is either through POST or GET.. if you see and extension of [b]index.php?id=1[/b] .. it means that the page is trying to send an information. This is like saying [I]im going to pass variable [B]id[/B] which has a value …

Member Avatar for snadboy6371
0
2K
Member Avatar for mm2409

you should try echoing the query first just to check that it really works out [code=php] echo "INSERT INTO tbl_CT_Responses (Response_ID,Questionnaire_ID,Response_Date) VALUES (".GetSQLValueString("",`int`)."," .GetSQLValueString($que_id,`int`)."," .GetSQLValueString(date('Y-m-d'),`date`) .")" [/code]

Member Avatar for xarz
0
162
Member Avatar for nishant52

if you already change the default file for that folder using mod_rewrite, i think you can just use the directory name as a value inside the action. You don't need to include the default.php anymore.

Member Avatar for xarz
0
140
Member Avatar for xarz

As you know it. I'm a new member in this cool website. I have been around this site for almost a year. This is one of the website that I look upon when I have problems with my php codes and stuffs. Anyways, I was planning an introduction of myself …

Member Avatar for xarz
0
203

The End.