39,393 Topics

Member Avatar for
Member Avatar for dani190

Hey guys, we have a grad survey thing we are making and the questions are currently in a form. Within the form we have the regular drop down boxes for the users retrieved from a mysql database.... Can anyone point me in the right direction so that we can change …

Member Avatar for vinothkumarc
0
88
Member Avatar for sreya.n

Hi all, i am trying to convert my video files to flv format using example01.php of phpvideotoolkit .But they are not getting converted to flv format and it is showing following error Warning: unlink(/home/ffplay/public_html/ffmpeg/examples/tmp/1237195115-49be196b79b43-multipass-0.log) [function.unlink]: No such file or directory in /home/ffplay/public_html/ffmpeg/phpvideotoolkit.php5.php on line 2597 FFMPEG ERROR: Execute error. Output …

0
71
Member Avatar for farhan.foxtrot

Hi, I am a beginner for the zend framework. I have viewed the screencast from the zend site and followed them. The summary of the screencasts are: [code] application controllers IndexController.php models views scripts index index.phtml library Zend public .htaccess index.php [/code] The codes are following: index.php: [code] <?php //error …

Member Avatar for farhan.foxtrot
0
96
Member Avatar for tashy

[code]<?php/** *.Hack Name: Shop Hack * Version: 3.0 Beta2 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at …

Member Avatar for nav33n
0
425
Member Avatar for rEhSi_123

Hello fellow members. I am having a bit of a issue with my forum edit. Here is the code to give you an idea: [code=php] <?php if(!$_SESSION['uid']){ header("Location: index.php"); } $action = $_GET['act2']; $actions = array('reply','topic','admin'); if($action){ $admin = isa($_SESSION['uid']); if($action == 'admin'){ if($admin){ // }else { echo "You are …

Member Avatar for rEhSi_123
0
111
Member Avatar for HB25

Hi I am using the code below to validate user when they login to my website, the first part check if user have typed their username and the second part search the table to check user exist. These two parts work fine but the last part the while condition don’t …

Member Avatar for HB25
0
174
Member Avatar for Codethat

Hi, I want to use a php form textfield to change a value in my databas. Statement i want to send the databas: UPDATE people SET name='VALUE FROM TEXTFILED' WHERE id=1 How do i integrate this statement into a php form textfield?

Member Avatar for nav33n
0
71
Member Avatar for claritydigital

Hi, Im needing alil help with this, googled everywhere, but to no avail. I need to search several(the amount could be endless) words in a string, and replace each word with a link using the searched-for value as the text, and id in the link. To achieve this, I am …

Member Avatar for claritydigital
0
319
Member Avatar for tedobg

Hi guys.Im not exactly sure where I have to put this.But this place looked best as its a php forum and my problem is with phpBB.Again I don't really know If I'm posting this in the right place so correct me if I'm wrong. Anyway my trouble is creating a …

Member Avatar for tedobg
0
141
Member Avatar for theimben

Ive got an RSS parser using the DOM. Its got a loop to display each item. I want to have a hidden field on each item then post this to another page. Im having trouble counting each item in the loop. Help please :) This is what ive got: [code=php]<?php …

Member Avatar for pritaeas
0
75
Member Avatar for ochien

Can any body know how to make secure download, thats only member that can download file, so they have me authenticate first. thanks.

Member Avatar for amanuensis
0
87
Member Avatar for dani190

Hello guys, quick question for ya... Here is the code i am looking at [CODE]<?php $conn=mysql_connect("internal-db.s*****.gridserver.com","db*****","*******") or die(mysql_error()); mysql_select_db("db*****_gradsurvey") or die(mysql_error()); function generatePassword ($length = 5) { // start with a blank password $password = ""; // define possible characters $possible = "0123456789"; // set up a counter $i = …

Member Avatar for dani190
0
96
Member Avatar for venkitce

Hi all, Is there any packages in php for subversion? I have been googling for 1 week. Only source I got was in php.net. But I don't know how to install it ,as there was no proper installation guide. Is there any other way to implement versioning using php?

Member Avatar for ShawnCplus
0
45
Member Avatar for jumbla

I am trying to set up an RSS feed for users that they can customise themselves. At the minute, you can customise the feed by appending parameters to a URL eg [url]http://example.com/feed?cat=-3&cat=-4&cat=-5[/url] would exclude categories 3, 4, and 5 (cat is the hardcoded constant name). Is there a way to …

0
57
Member Avatar for rajeesh_rsn

Hi I had a database and a column called "details" in it. I need to select data from that column and show only limited characters of it. For eg: Original : The quick lazy fox jumps over a lazy dog. Display : The quick lazy ... How can I do …

Member Avatar for rajeesh_rsn
0
93
Member Avatar for kazitula

hi when I logged in, the details (user ID & last loggin in time) should show in each pages... can anyone please help me how can I do this? I have got login page with user name and password. when I logged in, it shows the details in the in …

Member Avatar for kazitula
0
72
Member Avatar for jackakos

Has any one ideas about developing PHP pages that includes Microsoft's Silver Light? More specifically, generating pages like the graphics on the micirosft home page.

Member Avatar for jackakos
0
123
Member Avatar for michaelG13

Hello, Im new to that kind of code so forgive me. I have 3 diferent tables players: id_player name_player players_details: id_player position age players_eval: id_player value wage You can see that the ‘id_player’ is in all tables. Now, what i want to do is export on csv and if the …

0
56
Member Avatar for mattaseymour
0
49
Member Avatar for Joanneb24

I am really hoping someone that is a lot smarter than me can help me  I have been given the impossible task of updating our current website. 6 years ago or so I went to uni and touched on PHP etc so far I have managed to revamp the …

Member Avatar for Joanneb24
0
84
Member Avatar for rejoicegants

I am facing problem with running perl script inside php file. Please find my simple perl and php program below. I have installed both php and perl successfully in my windows machine. test1.pl print "Hello from perl! " test.php <?php print "Hello from PHP! "; passthru(“perl test1.pl”); ?> The passthru …

Member Avatar for darkagn
0
73
Member Avatar for Roybut

Hi, I'm not very good at PHP so sorry if this is stupid but I have a database with a table called item. I want to retrieve certain items based on specific criteria so I have written this function: [CODE]function get_item ($item_no, $supp_id, $cat) { global $connection; if ($item_no && …

Member Avatar for darkagn
0
106
Member Avatar for neki

I am creating a simple reservation calendar and have a mysql table 'reservation' with `date_from and date_to` fields. So, according to those dates I am taking red picture for booked, white for the first and last day and blue for not booked. And that is working well. The problem is …

0
53
Member Avatar for Designer_101

Hi The following code is for an advice panel. It should give out a list of members names with a hyperlink to there user_id. Its not complicated. However i seem to be getting this, instead of the actuall data in the table. [B]Advice for Array(name)[/B] This is the code: [CODE] …

Member Avatar for ShawnCplus
0
78
Member Avatar for EdTheUniqueGeek

This is a rather noobie question. I've used Textmate in OS 10 and Notepad++ in Windows. What I am looking for in an editor is a hybrid of both. I am looking for an editor that has HTML templates, like Textmate, but also an FTP client integrated, like Notepad++, rolled …

Member Avatar for chrishea
0
117
Member Avatar for chinmayu

Hi All, I dont ve any clue on how to perform th efeat which i am going to describe below ..... i ve a contact form with an image verification before submitting the data to db ... its working fine .... the problem is when the user makes a mistake …

Member Avatar for chrishea
0
5K
Member Avatar for mrcniceguy

I wrote a script where users in my web can create albums and upload some photos in their album. I need someone to explain to me what i should do to enable members after they open a certain album,and see photos which are four in a row. And then if …

Member Avatar for Designer_101
0
112
Member Avatar for claritydigital

Hi all, Im learning PHP & SQL very quickly, but still have issues with counting this, and incrementing that.... so if someone could help, you'd be(proverbially) teaching a man(woman in my case..lol) to fish.... Im constructing a form which in part, allows user to input instructions. I would like the …

Member Avatar for somedude3488
0
156
Member Avatar for LeBurt

Hi all, I'm using exec() to launch external commands from a web application under OS X Leopard. To put my problem in context, when I launch this: exec ("export", $output); I get this: export OLDPWD export PATH="/usr/bin:/bin:/usr/sbin:/sbin" export PWD="/Library/WebServer/Documents" export SHLVL="1" My problem is with PATH, I need to include …

Member Avatar for magicgunnar
0
254
Member Avatar for Designer_101

Hi I seem to be getting this error on the reply section of my forum. I've never had this problem before and have tried google but found nothing. So, now i turn to daniweb, surly someone must be able to help me here. [B]This is the error:[/B] [CODE]Warning: Wrong parameter …

Member Avatar for nav33n
0
619

The End.