39,320 Topics

Member Avatar for
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
81
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
106
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
68
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
92
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
74
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
52
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
114
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
143
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
414
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
78
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
109
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
231
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
221
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
114
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
161
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
125
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
95
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
146
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
145
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
100
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
95
Member Avatar for gary89

Hi Guys, Its my first post here, and hoping to find some help.. I have installed a spiderPoll v1.1 system on my server, the problem is I cant seem to be able to vote.. It displays everything correctly but when I try and vote it will not recognise my vote.. …

Member Avatar for gary89
0
204
Member Avatar for daneuchar

[code=php]<?php # Script 16.7 - activate.php // This page activates the user's account. require_once ('includes/config.inc.php'); $page_title = 'Activate Your Account'; include ('includes/header.html'); // Validate $_GET['x'] and $_GET['y']: $x = $y = FALSE; if (isset($_GET['x']) && preg_match ('/^[\w.-]+@[\w.-]+\.[A-Za-z]{2,6}$/', $_GET['x']) ) { $x = $_GET['x']; } if (isset($_GET['y']) && (strlen($_GET['y']) == 32 …

Member Avatar for almostbob
0
89
Member Avatar for abrocketman

Hi I have used this file numerous time and it always worked, and I out of the blue I get this error now i have checked the script but i cant seem to find anything wrong. [CODE] <? function upload_image($img, $ext, $id) { $uploadpath = $_SERVER["DOCUMENT_ROOT"].'/css/news-images/'; if ( ($img != …

Member Avatar for kireol
0
44
Member Avatar for tatt727

Hi, I am trying to workout how I can changed the buttons I have for sorting the fields in the table into hyperlinks. I have worked out how to do one, but what about if there are several forms on the same page? Thanks [CODE]<?php //Connect to server $conn = …

Member Avatar for almostbob
0
113
Member Avatar for abhishektiwari

I have a application where which uses asp.net and php both.So i need a web hosting where i can run both into one.Can anyone suggest me the name of the hosting company where i can run that application. Thanks in advance!!

Member Avatar for ShemoPT
0
111
Member Avatar for proprasee

i have 10 buttons by default colour is red. for each click its colour changes to blue then red that was implemented. The problem is i ahave an array of 10 elements.initially value 0. when button changes to blue corresponding value changed to 1 for red -0 how can i …

Member Avatar for dasatti
0
180
Member Avatar for new_divine

how to resize and make the thumbnail view of the photos like in facebook or other sites without distorting the photos

Member Avatar for muralibobby2015
0
93
Member Avatar for jeet_portal

Hi... I have a small doubt about php print statment. pls let me know if there is any reason Here is a doubt for me. [CODE] <?php $a=08; print $a; ?> [/CODE] why its output is 0.

Member Avatar for jeet_portal
1
106
Member Avatar for R3Slick

like in my previous posts, I have a search.php file and a searchResults.php file. There is a drop down menu on the search.php file and it has various methods to search a table in my DB like EmployeeID, EmpName, Team, Department, and Manager. i got all the rest working; however, …

Member Avatar for R3Slick
0
107

The End.