Forum: PHP Dec 14th, 2008 |
| Replies: 5 Views: 620 the easiest way to do that, by having the following code:
$linkback=$_SERVER['HTTP_REFERER'];
$trusted_links=array("http://www.daniweb.com", "http://www.daniweb.com");
$found=0;... |
Forum: PHP Dec 14th, 2008 |
| Replies: 2 Views: 1,140 thanks alot for the link.. i didn't really get what by what you explained but i'll try to understand more about mp3.. maybe i can get some knowledge from it.. |
Forum: PHP Dec 13th, 2008 |
| Replies: 2 Views: 1,140 Is there anyway to get metadata of an mp3 file using php? Even just the track length. Thanks. |
Forum: PHP Dec 12th, 2008 |
| Replies: 6 Views: 4,531 check this page
http://mediumexposure.com/techblog/smart-image-resizing-while-preserving-transparency-php-and-gd-library |
Forum: PHP Dec 10th, 2008 |
| Replies: 6 Views: 4,531 actually, I myself use it and its really working.. |
Forum: PHP Dec 10th, 2008 |
| Replies: 6 Views: 4,531 <?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... |
Forum: PHP Dec 4th, 2008 |
| Replies: 6 Views: 610 i spotted something also which perhaps can solve your problem
$que_id = uniqid(que);
should be
$que_id = uniqid($que); |
Forum: PHP Dec 4th, 2008 |
| Replies: 6 Views: 610 have you to tried to check the mysql errors?
echo mysql_error();
or an alternative to the insert statement
$db->query("INSERT INTO tbl_CT_Responses |
Forum: PHP Dec 3rd, 2008 |
| Replies: 6 Views: 610 you should try echoing the query first just to check that it really works out
echo "INSERT INTO tbl_CT_Responses (Response_ID,Questionnaire_ID,Response_Date)
VALUES... |
Forum: PHP Dec 3rd, 2008 |
| Replies: 8 Views: 586 i don't know if this will really work or not but instead of having
extract($row);
$recordnum = stripslashes($recordnum);
$firstmiddlename = stripslashes($firstmiddlename);
$lastname =... |
Forum: PHP Dec 2nd, 2008 |
| Replies: 6 Views: 664 There are 2 ways to pass an information in web.. It is either through POST or GET..
if you see and extension of index.php?id=1 .. it means that the page is trying to send an information. This is... |
Forum: PHP Dec 2nd, 2008 |
| Replies: 3 Views: 543 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. |
Forum: PHP Dec 2nd, 2008 |
| Replies: 11 Views: 3,411 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... |
Forum: PHP Dec 2nd, 2008 |
| Replies: 6 Views: 1,277 sikka_varun and cwarn23
thanks alot for the codes..
I make some modifications to fit my need from your work guys.
basically the changes are adding a parameter so that I can choose what date... |
Forum: PHP Dec 1st, 2008 |
| Replies: 8 Views: 791 @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 |
Forum: PHP Dec 1st, 2008 |
| Replies: 6 Views: 1,277 @cwarn23
great! thanks alot for the code..
i haven't tried it yet.. but will let you know if there are any problems with it.. |
Forum: PHP Nov 29th, 2008 |
| Replies: 50 Views: 5,045 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... |
Forum: PHP Nov 29th, 2008 |
| Replies: 8 Views: 1,302 or use the include("default.php") inside index.php |
Forum: PHP Nov 29th, 2008 |
| Replies: 6 Views: 1,277 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
... |
Forum: PHP Nov 29th, 2008 |
| Replies: 8 Views: 1,302 this might be a little bit different from what you want but you can place an index.php file inside myhost/docs/default and place a code index.php which will redirect you to any page that you wish in... |