39,323 Topics

Member Avatar for
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
73
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
85
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
95
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
44
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
56
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
91
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
70
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
121
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
55
Member Avatar for mattaseymour
0
48
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
81
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
71
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
104
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
51
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
77
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
114
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
110
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
154
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
251
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
617
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
71
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
67
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
89
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
143
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
68
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
64
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
146
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
92
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
111

The End.