39,402 Topics

Member Avatar for
Member Avatar for Shanti C

Hello.. I want to compare my database date with current system date and i can do some oprations by that.. Wating ... Shanti

Member Avatar for Shanti C
0
157
Member Avatar for madristaa

Hello friends i need help with onclick and onsubmit events At the bottom of my page I have two button 1)save 2)submit. When the user click on save button it will go to save_button.php page When the user click on submit button it will go to submit_button.php but It will …

Member Avatar for samarudge
0
363
Member Avatar for crazynp

Hi,Will anyone plz suggest me on how to build a html file from rss feed and store it in a webserver or is it possible to make and store html file from the contents of mysql database using php and then store the html file in the webserver. Thanks in …

Member Avatar for alan_ot
0
394
Member Avatar for rajeesh_rsn

Hi i need ti delete a file from the server using php. I wrote the code and working fine in my localhost . But when i uploaded in to my ftp server then the following error came. code: [ICODE]if($phototo<>'defaultv.jpg'){ unlink('../share/'.$phototo); } header('Location: '.'manage_auto.php');[/ICODE] -------------------------------------------------------------------- Directory permission is 777 ------------------------------------------- Error: …

Member Avatar for somedude3488
0
126
Member Avatar for mangel.murti

hi all, Donn't know much php........... i want that when user register,his registration date store in db.i want to use server date not his system date in db. thankx in adva...

Member Avatar for Designer_101
0
142
Member Avatar for rajeesh_rsn

Hi i had a database table which stores images in columns. ie [ICODE]idno + image name + name 1 | lal.jpg | raj 2 | lal2.jpg | raj2 3 | lal3.jpg | raj3 .....[/ICODE] Now I need to show this images and these names in a page as 3 columns.... …

Member Avatar for mrcniceguy
0
76
Member Avatar for achiman

SQL QUERY if ($_SERVER ['REQUEST_METHOD'] == 'POST') { if ($_POST['mylist1'] == 'm2') { $sql="SELECT Products, TABLE 1"; $rs=odbc_exec($conn,$sql); } elseif ($_POST['mylist'] == 'm3') { $sql="SELECT Products, Table2"; $rs=odbc_exec($conn,$sql); FORM 1 echo ' <form name="input" action="kkl.php" method="GET"> <div align= "left"> <b>City:</b> <select NAME="list1"> <OPTION VALUE="m1"></option> <OPTION VALUE="m2">London</option> <OPTION VALUE="m3">Paris</option> <OPTION VALUE="m4">Tokoyo</option> …

Member Avatar for nav33n
0
92
Member Avatar for stevehart808

Hi guys, hoping someone can shed some light. I have a script that I've been using for a while to submit a date to Mysql. Its been working fine but now I'm trying it on a site I'm building and when I hit submit NO date is entered into Mysql. …

Member Avatar for stevehart808
0
87
Member Avatar for tominic

So I've created an array based on posted information (a big list of numbers separated by lines which has then been exploded) So this array may contain numbers from 0-100 or whatever So I have one array of numbers Now for each number I want to find out many numbers …

Member Avatar for nav33n
0
87
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
89
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
74
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
426
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
112
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
72
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
320
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
76
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
97
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
47
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
58
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
94
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
73
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
124
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
57
Member Avatar for mattaseymour
0
50
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
79
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
113
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
157
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
620
Member Avatar for HelenLF

I have some product details on a page which are produced dynamically from a database. When the user makes a selection, they choose the number of items they want to purchase from a list box. Each item has a very limited stock - sometimes only 1 or 2. A form …

Member Avatar for HelenLF
0
73
Member Avatar for ripper1510

I have a problem with a weird character appearing in my text it is "Â". What is it? Its is just before "Â<<" on my pagination script. There is nothing wrong with the actual writing it just appears on the script after it has run.

Member Avatar for almostbob
0
70
Member Avatar for rmlopes

Hello I have a web application developed with php, using the Zend Framework. This application has a page that launches an external, C++, application. I was trying to do this using proc_open to start the job in background mode, save the handler to keep track of the process that will …

0
91
Member Avatar for rohnni

<?php session_start(); $ss = $_SESSION['event']; if ($ss != "eventcal") { $type = $_POST['type']; if($type=="auth") { include "checkauth.php"; }else{ include "authlogin.php"; $block = true; } }else { $block = false; } ?> Notice: Undefined index: event in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 3 Notice: Undefined index: type in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 6 Notice: …

Member Avatar for rohnni
0
146
Member Avatar for Rooking

I am an experienced python programmer, however I was aske to make an audit program in php or html. I have no clue what is going on here.. I need help. I created this outline for a program. The program is going to have checkboxes. Depending on what checkboxes are …

Member Avatar for nav33n
0
70
Member Avatar for maloken

Hi, I 'm in need of help, I need to code a timer for a turn based txt based rpg game using SQL and PHP, I have a small idea of how this'd work but not sure I was thinking of using: [code=PHP] /* $time = (time() - time()+ 60); …

0
65
Member Avatar for rariti

Hello, I am still learning php, and got stumped with how to generate dynamic variables. I normally do something like this after I do my query SELECT to get all the data from the row. [CODE] $ID = $row->ID; $parentID = $row->parentID; $name = $row->name; $color = $row->color; $location = …

Member Avatar for rariti
0
155
Member Avatar for Designer_101

Hi I wonder if anyone could help me with this idea. I would like to automatically redirect a user once they have logged in. An good example would be like daniweb's, a page appears saying 'you will be redirected in 3 seconds otherwise click here'. Is this done through javascript, …

Member Avatar for mschroeder
0
95
Member Avatar for achiman

please can anyone tell me how i can create a form with check boxes and also a submit button using post.

Member Avatar for achiman
0
113
Member Avatar for frank754

Thanks for your help in the past, and this forum is great. I have a question about dates, and in searching, there are huge amounts of results, but very hard to narrow it down to exactly what I'm asking. In using PHP, I have some variables pulled from mysql databases …

Member Avatar for nav33n
0
163
Member Avatar for MoDe52

Hi guys, Iam trying to make some code to check if author of the book is already exist on its authors table or not so if he already exist : get his id number if not exist : insert it to authors table then get its id number i try …

Member Avatar for nav33n
0
93

The End.