39,402 Topics

Member Avatar for
Member Avatar for ike185

Hello guys, I and my project team at varsity finished up a website with a database back end. We developed it on a Windows system but now deploying to a Unix server. We used the Yellow duck framework. We've managed to work out compatibility issues as Unix is very sensitive …

Member Avatar for ike185
0
148
Member Avatar for god_1896

hi all; Sory for disturbanced, Im just newbie in PHP really needed your help Smiley, basically i have created three dropdown list. but I got a problem to display the value on selected category. here is my problem, I create a three dropdown list which is passing each parameter, when …

Member Avatar for srilakshmitr7
0
84
Member Avatar for Ayobami
Member Avatar for sahdev86

hai guyz...1st of all i would lik 2 thank to those who teach me on how to do an announcement...now i got new problem...im doin online food delivering system within campus...so user can view the food and if the user click buy, they can view the name, price n description …

Member Avatar for sahdev86
0
113
Member Avatar for ChintuChowdary

hi Drag the image flexible through mouse(expanding the image). could u plz send the code for this.

Member Avatar for praveen_dusari
0
141
Member Avatar for Shanti C

Hello Friends... Tell me how to store my product information in xml file using php ... Is this is a replacement of my database... Please tell me any information on this... Thanks in Advance.. Shanti

Member Avatar for Shanti C
0
102
Member Avatar for forwardlookguy

Hey everyone, I want to use mysql to list all of the makes of vehicles and I want the user to be able to click a make and the years that make were made pop up. Is there a way to do this using PHP? I've got the makes to …

Member Avatar for forwardlookguy
0
161
Member Avatar for mrcniceguy

Please i need someone who can help me Display Date from Mysql which is in format YYYY/MM/DD to DD/MM/YYYY the code below sends data to mysql but when i`m displaying date it comes in YYYY/MM/DD. [code] <?php include"config.php"; $comment=$_POST['comment']; $news_id=$_POST['news_id']; $name=$_POST['name']; //$rece_user=$_POST['rece_user']; $query="INSERT INTO newscomment (name,news_id,time,comment,date) VALUES('$name','$news_id',CURTIME(),'$comment',CURDATE())"; $result=mysql_query($query); if($result){ //echo"<i><b><font …

Member Avatar for mrcniceguy
0
139
Member Avatar for antwan1986

Hi everyone and thanks for reading! I've been handed a freelance job to make a purchase order system for an interior designer. Currently whenever they run out of stock they use a spreadsheet to generate a fax like page, print it and then fax it off. She now wants this …

Member Avatar for heenix
0
125
Member Avatar for MiloMan

Posting this for a friend here is his question... Thanks in Advance. hey, this is my first post on these forums, i have just started learning php after doing no coding whatsoever for a while. i have to successfully get past this first, so here goes. i have a site, …

Member Avatar for antwan1986
0
150
Member Avatar for Bunhok

Dear All, [B]I have problem with two value search, Please kindly see my code below:[/B] [code=php] <? require("../Dbconnect/db_connect.php");?> <form action="./" method="get"> <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"> <tr><td width="91%" align="right"> <select name="Catid"> <option value="0" selected>All Categories</option> <? $cats="select * from tbljobcat order by Catname asc"; $catre=mysql_query($cats); while($catr=mysql_fetch_array($catre)){ ?> <option value="<?=$catr['Catid']?>"><?=$catr['Catname']; …

Member Avatar for heenix
0
208
Member Avatar for gargg321

Hi all, I am writing a PHP script that executes shell commands on a linux machine. When I run this script on Linux system, it waits while it executes the command and store the result in a PHP variable. But when I run it on a web browser, the browser …

Member Avatar for digital-ether
0
335
Member Avatar for Clipper34

Hey guys, sorry if i posted this in the wrong forum. My question is, say if you have a PHP Shell used via the internet. How would you go about of uploading a file and deleting a file? Thanks, Clipper34.

Member Avatar for heenix
0
126
Member Avatar for developerx9

Dear php developer, I am a student of computing doing non commercial research into how php developers create web sites. Would you please take 5 mins to answer 6 questions on your approach to php web developing located at [url]http://webdeveloper.active.ws/[/url] Many thanks for your help [email]surveyx9@yahoo.co.uk[/email]

Member Avatar for R0bb0b
0
149
Member Avatar for php2sheik

[code] order table orderid orderdate cust_name address itemno itemname qty price totalprice 54 12/09/2008 xxx yyy 5 cake 5 5 25 54 12/09/2008 xxx yyy 3 choclate 5 3 15 55 13/09/2008 www uuu 7 rice 6 6 36 55 13/09/2008 www uuu 8 biscut 1 10 10 55 13/09/2008 …

Member Avatar for heenix
0
224
Member Avatar for assgar

Hi I am having problems with sessions. When using Internet Explorer I can pass sessions to other pages. I cannot pass sessions when I use Mozilla Firefox. //at the top of the page session_start(); //value passed $last_login = $_SESSION['s_last_login'];//last user login history PHP.ini: //This is my PHP.ini file session configuration …

Member Avatar for R0bb0b
0
121
Member Avatar for ribot

Hello, I've got a problem with get data. To display a form I use GET data, visiting the url: [icode]page.php?a=b[/icode]. When entering the page there is a form with POST method: [icode]<form method="post">[/icode] The problem is, that when I submit this form, the get data [icode]a=b[/icode] still remains in the …

Member Avatar for ribot
0
101
Member Avatar for antwan1986

Hi all and thanks for reading. I came accross a function on the internet for creating a <select> box out of an array. I understand all of the code except for a few things: [CODE] <?php function dropdown($name, array $options, $selected=null) { // Begin the select tag. $dropdown = "<select …

Member Avatar for antwan1986
0
162
Member Avatar for ezzio

Hi I hava a small application on oracles forms 6i and I run it over windows terminal service I am looking for an easy way to translate from forms to PHP does anyone knows any tool for this purpose?? thanks in advance

Member Avatar for WilliamJohn
0
658
Member Avatar for mohammed2raja

I want know more about session and cookies. How it maintain and what is it use using php. where all session variables are stored in differnet web server. How session is maintained in Apache server and ISS server. All depth information about server with example. Please give me some url …

Member Avatar for Shanti C
0
103
Member Avatar for shadowrider

im tryin to open a pop up calendar in tab window using php but on normal pages calendar pops up but when i try to use that in tab window it doesnt why cant anybody tell me

0
68
Member Avatar for jokumoku

[B]This is the verification code i put in my webpage [/B] [ICODE]<?php if ($use_verification_image): ?> <label for="commentform_verification">Image verification:</label><br /> <input name="verification" type="text" id="commentform_verification" class="comment_form_text_box"/> <br /> <img src="<?php echo $commentsystemfolder; ?>comments_verificationimage.php?r=<?php echo md5(uniqid(time())); ?>" alt="image verification" name="commentform_verificationimage" width="70" height="10" id="commentform_verificationimage"/><br /><br /> <?php endif; ?>[/ICODE] [B] the above code is …

Member Avatar for praveen_dusari
0
220
Member Avatar for yasmena

i need help in my project, i need to get the mous focus on the username text field in the admin page but the problem is the body & head of the page is in another page so when i use onload="focus();" and get the element by id e cant …

Member Avatar for R0bb0b
0
132
Member Avatar for antwan1986

Hi all, I have a question about mysql_real_escape_string. Is it just used for login scripts or is it also used for inserting data to a database. My problem is this: [CODE] $connection = mysql_connect("*****", "*****", "*****"); $database_select = mysql_select_db("*****", $connection); $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $firstname = stripslashes($firstname); $firstname …

Member Avatar for antwan1986
0
148
Member Avatar for Zurompeta

Not sure the title I gave this was appropriate, but I will try to describe my problem as best as possible. Basically, I'm trying to find the correct url reference for the mkdir() function. Let me type up a FTP Structure diagram to help: [code]{ROOT} -inventory -FF -<I am here>[/code] …

Member Avatar for Zurompeta
0
84
Member Avatar for mohammed2raja

echo "<meta http-equiv=Refresh content=0;url=login.php?nflag=".$nflag.">"; Here i pass PHP variable nflag. Can any body tell me where this variable(nflag) is store. So when i use the statement ; $nflag=$_GET['nflag']; and get that value. Where the value of 'nflag is stored', ans from where _GET[] array is formed. What are the default …

Member Avatar for mohammed2raja
0
304
Member Avatar for mohammed2raja

In php file I write ; echo "<meta http-equiv=Refresh content=0;url=login.html>"; Here i load a login.html file. Along this i want to pass a php variable(suppose $nflag) content to login.html file, so that i can use it in javascript within login.html file. Please Help me.

Member Avatar for cwarn23
0
1K
Member Avatar for eackouye

hi there, i have a program in which a student will check his failed subjects on the previous semester and see the result on the next page. The next page will provide him the next semester's set of subjects and will tell him if there were subjects he need to …

Member Avatar for eackouye
0
65
Member Avatar for ChintuChowdary
Member Avatar for cwarn23
0
86
Member Avatar for keanan

I have a form where I am using an image as the submit button. When I click on the button the form submits however when I press 'enter' the page simply refreshes. In my PHP code I use the submitok_x value to check the x co-ordinate value - if it …

Member Avatar for keanan
0
157
Member Avatar for phpsnook

hai when converting a data from excel to mysql....how to preserve the new line character and the white space.? any suggestions?

Member Avatar for R0bb0b
0
58
Member Avatar for rickya100

Hello, Thanks for checking this out. Basically I have a form that uploads an image and stores it in a folder. I then run a thumbnail function on it and store a thumbnail version of it in a sub folder. That all works but the bit I'm getting stuck on …

Member Avatar for cwarn23
0
280
Member Avatar for udaydesai

[B]Hello Friends[/B], plz anybody help in finding out this, i need help in webservices with php using nusoap method. iam new working on this webservices, plz anybody help me. here is the code written, [code=php]<?php /* * This gets the list of methods */ $client = new SoapClient("http://204.15.103.87/MCM/Messaging?wsdl", array('trace'=>1)); $func_list …

0
78
Member Avatar for rosepleasure

Hi, I am a newbie here. I have some wondering thing. Can all friends give me your comment, what do you think about the programmer who keep all their backup files on the server? For example: We use osCommerce to make our shop but every time when make a change …

Member Avatar for rosepleasure
0
168
Member Avatar for John Sunier

I just joined and posted on the Mac OSX forum but I think this one might be more appropriate. I have an urgent need for advice and assistance on installation of a Mac-compliant banner management ap for my banner-supported publication. My webmaster gave me OpenX and it's simply not working …

Member Avatar for mexabet
0
50
Member Avatar for servis

hello, I don't know whether should I post my problem in this forum or some else. However, is there any method to auto select css tab with corresponding link. I mean to say when ever you open any link from web site its corresponding css tab automatically shows selection(highlighted). I …

Member Avatar for Shanti C
0
310
Member Avatar for hbmarar

Hi, wishes. I would like to know what exactly is ogone about? I am sure somenoe here might have integrated it for ecommerce site. I am a bit confuised over this. I would like to get some tips and tricks on integrating ogone with Virtuemart. Thanks in advance Regards saffron

Member Avatar for hbmarar
0
97
Member Avatar for php2sheik

i want to connect mssql(microsoft sql server 2005), when i connect the following error displayed. why this error mssql_connect() [function.mssql-connect]: Unable to connect to server: note:in my system mssql 2005 is not installed..i connect server which is in another system connected through LAN. if i connect the sqlserver 2005, is …

Member Avatar for Shanti C
0
134
Member Avatar for ayshasherilps

can anybody please tell me how to insert and retrieve an image stored in a database using php and mysql.the way i m doing now is by storing the file in a server and filename in the db.but the problem with that is while retrieving the image doesnt show up.db …

Member Avatar for R0bb0b
0
130
Member Avatar for emhmk1

Hi all, This is going to seem a very basic sort of question so here goes.... i have a form with a couple of checkboxs and what i want to do is echo the selected checkbox. for example; if checkbox 1 is submitted then an image will be shown in …

Member Avatar for emhmk1
0
84
Member Avatar for mrcniceguy

I`m displaying a certain number of result from mysql database. My problem come when i need to display for example 4 result in first row,the other 4 in the second row and so on. the code below displays all the results but each in its own row [code] <?php include"config.php"; …

Member Avatar for mrcniceguy
0
95
Member Avatar for mrcniceguy

In my Database(mysql) i have 100 members registered,Now there is page i want to display only ten members, but after each page refresh i want other ten members to display at the very same place Meaning replacing the current shown members. Any one with the idea on how i can …

Member Avatar for mrcniceguy
0
86
Member Avatar for php2sheik

i want to connect mssql(microsoft sql server 2005) using php, when i connect the following error displayed. why this error mssql_connect() [function.mssql-connect]: Unable to connect to server: note:in my system mssql 2005 is not installed..i connect another db which is in another system connected through LAN. if i connect the …

0
56
Member Avatar for dudegio

Hello guys! Greetings to everyone! I have tried the following code but it doesn't display images, it only stores data. [B]Here's the code in displaying images:[/B] <?php if ($submit) { $link=mysql_connect("localhost","root","1234"); if(!$link) die("Could not connect to MySQL"); $db=mysql_select_db("test",$link); $data = addslashes(fread(fopen($form_data, "rb"), filesize($form_data))); $result=MYSQL_QUERY("INSERT INTO binary_data (description,bin_data,filename,filesize,filetype) ". "VALUES ('$form_description','$data','$form_data_name','$form_data_size','$form_data_type')"); …

Member Avatar for eyeboston
0
377
Member Avatar for justted

Hello, It seems my IF ($email_settings == "0") isnt working properly. I am trying to get it so that IF a setting in a table field is set to 0 then it continues and executes the info between the {} which is to send an email. However, if the IF …

Member Avatar for Franky_Fr
0
138
Member Avatar for bear24

Hi, I got a question here. I know the code to refresh the page is [code] echo "<meta http-equiv=\"refresh\" content=\"0;URL=user_dlist.php\">"; [/code] But how should i go about changing this code: [code] echo "<a href='view_topic.php?id=".$id."'>View your answer</a>"; [/code] Please assist! And thanks a lot! bear

Member Avatar for bear24
0
124
Member Avatar for phpsnook

hai! im working on a php/mysql based mailmerge project ..........but i have certain querys 1.does php offer support to write in MSword? 2.how to place data from mysql in desired place at MSword template..... pls do give suggestions ....

Member Avatar for Shanti C
0
44
Member Avatar for bubai

i want to create functionality like mailmerage in the web. is that possible in php? if posible how i start? basically it works when get First name,Last name address in any where of the document it display there and when save, it also store in database.

Member Avatar for phpsnook
0
42
Member Avatar for nike123

A little help, required with this insert.php script, which is meant to add a new user to mysql user, unfortunately when this script is executed, and username and password inserted, it doesn't actually add the new MYSQL USER, instead i just get the error message . <?php if(isset($_POST['add'])) { include …

Member Avatar for phpnukes
0
323
Member Avatar for bear24

Hi, I have a problem here and i need some help. I like to know how to link php code to other pages. The following is the entire code : [code] <td bgcolor="#FFFFFF"><? echo $rows['topic'];?></td> [/code] This echo out the topic, but i want this topic to be a hyperlink …

Member Avatar for bear24
0
98

The End.