39,392 Topics

Member Avatar for
Member Avatar for jay_412

i have this date format `04:00` and I want to echo it to two drop down boxes, `04` for the first box and `00` for the second box by clicking the Edit button. The value `04:00` had been already display in the form page and I want it to be …

Member Avatar for diafol
0
101
Member Avatar for chavansoft

When I do an attachment, I could see additionally “ATT00407.txt” is getting attached along with this email which is empty. Please look into this issue. This is reflected only in the outlook my code is : [code] $headers = "From: $from_name < $from_email >"; $email_txt =''; $semi_rand = md5(time()); $mime_boundary …

Member Avatar for slyme
0
142
Member Avatar for vijaysoft1
Member Avatar for cwarn23
0
134
Member Avatar for just asif

hi to every one i want to built a programe in php in which when two string is provided by user then these strings are compared and it shows the similarity between them in % form as i result.is there some one to help me?:(

Member Avatar for cwarn23
0
64
Member Avatar for chavansoft

Hello, writing a file with more than 10000 lines, cause the page never ending loading. please help me to solve it. this is the code i have used $store contains really 10000 lines $fp = fopen($imgpath, 'w'); fwrite($fp, $store); fclose($fp); After this code i have redirect script, but that is …

Member Avatar for cwarn23
0
119
Member Avatar for jay_412

Im having trouble to use this function FillList ($sql, $selected=0) from my Mysql Class.. I want to implement it to a dropdown box in my page this is the full MysqlClass.php <?php // Read the database name for the site //PostgreSQL-PHP include "mysqldb.php"; class MySqlClass { //this are the global …

Member Avatar for jay_412
0
190
Member Avatar for thegreatdanton

Hi, i'm just looking for some advice in relation to retrieving data from a MySQL database and displaying in nice looking rows. Basically, what i want to do is call the data into separate rows similar to what is on [URL="http://www.rent.ie/houses-to-let/renting_dublin/dublin-city-centre/"]here[/URL]. I'm not sure if these are separate divs or …

Member Avatar for diafol
0
112
Member Avatar for maddogmain

This may be out of place but I'm about to give up on this non-paid task. The company I work for has a news website, that's so cluttered and the IT folks are so out of touch, that our locally produced news is not indexed by Google...or anyone else. My …

Member Avatar for almostbob
0
104
Member Avatar for daddy89
Member Avatar for Bliss C

Unfortunately I seem to have forgotten everything I ever knew about PHP and MySQL (which wasn't a lot anyway) and I've had one hell of a headache all day which is somewhat clouding my thinking. :X I have two PHP includes on a current site I'm working on advertising a …

0
61
Member Avatar for HelenLF

I wonder if this can be done. I have a select drop down box where the options are populated form a field in a database table something like this. $SQL = "SELECT DISTINCT category FROM atable ORDER BY category"; $result = mysql_query($SQL); echo "<select name='addCategory' size='6'>"; while ($db_field = mysql_fetch_assoc($result)) …

Member Avatar for HelenLF
0
116
Member Avatar for ashwani2711

I have an existing JSP website which I would like to painlessly add CMS functionality to. The site is a intranet portal and is backed by a database etc. however some pages like News and Events etc. I would like the user to be able to edit using a simple …

Member Avatar for chrishea
0
88
Member Avatar for vijaysoft1

if some one is posting a spam content like this , what we do . Tell me any way in php (or HTML) to prevent this , means i want to display any long text in my fixed size table ( eg: 500 pixcel width) Suppose some users didn't press …

Member Avatar for vijaysoft1
0
147
Member Avatar for Jord09

Hi I'm really puzzled on this one. I'm sending data from a form to be written on a line inside a file. However I've tested this a few times now and occasionally the line will end early when writing and it really messes things up due to another process depending …

Member Avatar for Jord09
0
104
Member Avatar for ramjo

Do you of any site sites that has open source on KMS or any website that i can go to see what king of information i can get on how to create on php.

Member Avatar for hireaprogrammer
0
143
Member Avatar for vairvixen

I have a sendmail.php script which evaluates whether or not certain pieces of information are available and/or are within the correct parameters. Within this code I have defined two variables : [code] $maxsamples = 3; $minsamples = 1; [/code] I also have another variable which is a summation of several …

Member Avatar for darkagn
0
112
Member Avatar for Untam3d

I have this form, and this antinjection. I have checked for anti injection in three places and it still is quite easily injectable. Code: [code]<?PHP $sql_server = "localhost"; //<-- MSSQL server address/ip $sql_user = "sa"; //<-- MSSQL username $sql_pass = "sa"; //<-- MSSQL password $sql_data = "database"; //<-- MSSQL database …

Member Avatar for Untam3d
0
103
Member Avatar for crohole

I has build a tool that can detect all inbound link to my website. I try it with a website that have high link popularity and there is more than 1000 inbound links in there. But there is no way to view more than 1000 inbound links with yahoo API. …

Member Avatar for pritaeas
0
76
Member Avatar for AmericanGastro

I'm looking into developing a forum for medical purposes, however, although I have developed several websites in the past (mainly via Photoshop and Dreamweaver), I have never worked with forum software before. I am battling with whether or not to go with Invision Power's new Version 3 or VBulletin. I …

Member Avatar for AmericanGastro
0
223
Member Avatar for Samir

I'm not a programmer, but I did study C for a while. I can figure out how to find functions, look at their syntax, see examples and then try them. So here's my siutation. I want the url of the output of a web site into a php variable. Here's …

Member Avatar for Samir
0
126
Member Avatar for seangdy

Hi Everyone I want to clear my session after browser is closed. Have any idea? Thanks in advance

Member Avatar for digital-ether
0
239
Member Avatar for Stefano Mtangoo

Hi, I have a WAMP based Site and would like to user path as a variable instead of fixed path. I tried variable like [CODE=PHP] $sgospel = "$server./sgospel/"; $include_path = "$sgospel./includes"; echo($server); echo($sgospel); [/CODE] Results are: [QUOTE] [COLOR="Red"]C:/wamp/www/ C:/wamp/www/./sgospel/ [/COLOR] [/QUOTE] When I put [CODE=PHP] $f_path = "$include_path/inc.terms.php"; echo($f_path); [/CODE] …

Member Avatar for digital-ether
0
211
Member Avatar for quickbird

Hello! I didn't knew where to post this so i posted it here. I am trying to make messages limit.e.g. i am having 100 messages in database and i want to display 10 messages per page and the next page will appear below the last post.Just like here in Daniweb.com.But …

Member Avatar for tux4life
0
65
Member Avatar for michael100101

If anyone is familiar with Mambo Content Manager, I would like to know how the system saves configuration settings to configuration.php. I would like to implement this idea into my own site, but I cant figure out how a PHP page rewrites and saves another page on the server. Anyone …

Member Avatar for digital-ether
0
172
Member Avatar for Javs

Hi everyone. I am selling a product and i would like to use a selection of affiliate networks.. As far as i know these affiliate companys track the sale there companys affiliates make by inputting code into your html. is this correct? If so if i were to use 50 …

Member Avatar for digital-ether
0
106
Member Avatar for himanshu_roy81

hi, i have a problem,that is i have 2 datatables.in that tables item_id is uniqueidentifier and primary key column for both tables.remaing columns are diffrent columns.if i insert the data generate only item_id same guid for both tables,in remaing data is saved remaing columns.plz help me.i search a lot of …

0
81
Member Avatar for cwarn23

I was thinking of a new project for making a bot that scans daniweb for information and enters useful information into a database then people can ask the website questions and php+mysql will provide answers in paragraph form for the user to read. Is this ok on the legal side …

Member Avatar for cwarn23
1
302
Member Avatar for cwarn23

Hi, I found that my linux (CentOS) server hasn't got any of the php extensions installed but can't seem to find any easy way to do it. Can anybody guide me the easiest way to install the php extensions curl and gd. A google search has showen dozens of lines …

Member Avatar for cwarn23
0
651
Member Avatar for Tekkno

In order for my users to log in they have to activate their account through email. The activation works fine. The trouble I am having is displaying a message at login if the user has not activated. Here is the activation script: [code=php] <?php require "connect.php"; if(isset($_GET['u'])){ //make sure that …

Member Avatar for Tekkno
0
229
Member Avatar for gcombe

I need help with this. I am sure its an easy thing.. but I am stumped for some dumb reason.... all this works just fine.. but what I want to echo out is fname and lname of each person once they are selected as well as the next section of …

Member Avatar for cwarn23
0
60

The End.