39,402 Topics

Member Avatar for
Member Avatar for dss

Hello, I have a youtube script but it need ffmpeg on server. Can anyone let me know how to install ffmpeg on server where and what i need for that. Thank you

Member Avatar for diafol
0
144
Member Avatar for Shanti C

Greetings For all..... I have number of products in mysite...I want to show short url for all my products in my site...How to make them dynamically...Is there any thirdparty tool??? Or any information would be appreciated.. Thanks in advance.... Shanti..

Member Avatar for diafol
0
87
Member Avatar for itsrahulk

Hi, I am having xampp installed on my windows xp service pack 3 machine.i am trying to do the url rewrting on local system in .htaccess file.but there is no output of the url rewriting. So i want to know, is url rewriting possible on windows having apache webserver installed? …

Member Avatar for jcanaway
0
104
Member Avatar for hallyhey

I am trying to learn this but I am so not logical and I'm lost as all hell. Anyway I'll just copy paste what I've already put on yahoo answers. Can you help me figure this out this php? So far this is what I have and I'm lost on …

Member Avatar for jcanaway
0
99
Member Avatar for xuexue

hi there, need some help: i have a command button in which it will generate a textbox whenever it is clicked, thus, if it is clicked 5 times, then 5 textboxes will appear. please help me with this, i want to code this using PHP or even HTML..

Member Avatar for sibizulu
0
141
Member Avatar for BlackPhoenix

Hi everyone, As the title of my topic says, I created a javascript loop that had some PHP code inside of it, hoping that every time the javascript function ran, it would re-call the PHP code inside of it. Turns out my hopes failed - the PHP code is only …

Member Avatar for almostbob
0
133
Member Avatar for anu.reka85
Member Avatar for diafol
0
162
Member Avatar for Menster

Hi guys, I am trying to create an application to serve on the web which is an integration of a java application and some php for mostly presentation functionality. Has anybody here successfully done anything like this before, and if so how? Please help. In dire need here. Thanks in …

Member Avatar for kireol
0
186
Member Avatar for satyajittilekar

hi, i am working on a project where i have to display an image gallery. All the images are stored in mysql and i have to display them and related info one by one using NEXT and PREV buttons. can anyone help me with this. thanx in advance.

Member Avatar for diafol
0
132
Member Avatar for muralibobby2015

hello...this is one way andeasy way to optimize database table. [CODE]dbConnect() $alltables = mysql_query("SHOW TABLES"); while ($table = mysql_fetch_assoc($alltables)) { foreach ($table as $db => $tablename) { mysql_query("OPTIMIZE TABLE '".$tablename."'") or die(mysql_error()); } }[/CODE]

Member Avatar for diafol
0
90
Member Avatar for toasty525

I have a mysql table with the following data in it: user_id score 1234 28 4654 -15 5986 15 3657 10 If i have PHP select the score column for user 5986 how could i then have PHP calculate the next highest score in the MySQL table ?

Member Avatar for pritaeas
0
143
Member Avatar for peddiraju86

how can i book cinema tickets from my own website like bookmyshow.com pls help me

Member Avatar for whiteyoh
0
43
Member Avatar for anu.reka85

haiZ... i need good tutorial site for php .... some thing i searched not comprehensive...

Member Avatar for muralibobby2015
-3
86
Member Avatar for whiteyoh

Hi all, Firstly not sure if this is a php or jps question or both I have a system, which uses session for security, with a timed cookie for time validation. In the menu of the system there will be an option, which will redirect to a jsp server. What …

0
65
Member Avatar for lifeworks

hi im new to writing functions - still havent gotten to classes yet :) and having some trouble understanding which function can access which variable... i have declared an array outside of any function... then i call a function, pass it a list(array) of urls and need to cycle the …

Member Avatar for network18
0
72
Member Avatar for indoreankita

My session destroys automatically after every 25 min if the page is idle. how can i prevent it and do session destroy only when browser is closed. Please help

Member Avatar for venkat0904
-1
96
Member Avatar for toasty525

Hi, i have the following snippet of php that i wrote but cant figure out why it wont work all the variables have been set before hand. Heres the PHP: [code=php]echo "<table border='1'> <tr>"; if ($win_score > $lose_score) { echo " <th>Winner</th> <th>Loser</th> <th>Win Score</th> <th>Lose Score</th> </tr>"; while($row = …

Member Avatar for network18
0
92
Member Avatar for ayesha789

In Db ch is a field with default value "Click here to view" and when I clicked it shows image (reference path stored in DB) in blank new window. Now I want to show this link as submit button and in action i want another page which shows details. [CODE=php] …

Member Avatar for musthafa.aj
0
100
Member Avatar for sarithak

hi i want to display my webpage as F11 mode(fullscreen)...when i click on some message.. i dont want to display statusbar,addressbar....i want to set the same functionality like F11 mode... Thanks in advance..

Member Avatar for network18
0
85
Member Avatar for CFROG

I'm having a bit of a problem with my page protect script. I've been working on my backup server for the past week or so making changes to the site. I uploaded all of the changes to the main site today and now every single page that includes my database …

Member Avatar for CFROG
0
152
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
622
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
274
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
136
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
227
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
193
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
95
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
77
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
55
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
119
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
422
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
112
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
239
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
224
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
117
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
165
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
128
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
98
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
148
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.