39,402 Topics

Member Avatar for
Member Avatar for R0bb0b

This is actually a combination js, php, htaccess question so it could go in either one of those categories. I, like every combo server/client/ajax programmer like to mix my php with my js. I'm just curious about something, I know that you can configure .htaccess to refer to new extensions …

Member Avatar for R0bb0b
0
116
Member Avatar for besart

Hello, I am trying to develop a little application in PHP, but I need your help. When a user open an account or login, some information should be stored in his/her computer (cookies). And then if he/she logged out and try to open another account it should dipaly the message: …

Member Avatar for R0bb0b
0
103
Member Avatar for dimitrijejankov

Hi I'm a 15 years old student from Serbia. I have a problem.I wanna use C# to send some informations to php.PHP manages those informations.And later i wanna that some other person with the same application recives those informations.And the problem is i don't know how to do this. [B]Please …

0
50
Member Avatar for OmniX

Exactly what the title says with working demonstration please. I know the code but I am unable to get it working. [code=php] function q($a) { return mysql_query($a); } function a($b) { return mysql_fetch_assoc($b); } $abc="select * from table"; $bcd = q($abc); $cde = a($bcd); echo $cde[$column]; [/code] Thanks, Regards X …

Member Avatar for somedude3488
0
168
Member Avatar for flashyflashy

Hi I'm using the 2 pieces of code typed below to set the character set to utf8 (so that I can output russian characters on page, and then to output it on web pages. I have tried to set the character set to utf8 so that russian characters appear properly …

Member Avatar for martin5211
0
66
Member Avatar for justinman

I recently discovered that IE6 will display a blank screen if you are in SSL and you click on a link that points to a UTF-8 page. However, if you refresh the page will be displayed. However, even if the page contains a link to itself, clicking on the link …

Member Avatar for martin5211
0
101
Member Avatar for einfoway

We are creating one application in which we pick a form from other website and show it on our website. Once the user fills the form and clicks on submit data is submitted 3rd website. This requirement is one of our application specific. With help axaj we have done so …

Member Avatar for digital-ether
0
79
Member Avatar for makbot

Hi I have programmed a 5x5 'grid' of square buttons and need to store the buttons the user clicks on (in order) so that i can ask them to recall the sequence later. I think this requires server side scripting and installed XAMPP for PHP on my mac... I have …

Member Avatar for digital-ether
0
139
Member Avatar for akshit

hi guys... i wanna select a single cell (not full row) from one MySQL table and insert the value into another table. The datatype of the (value being extracted) and the (column of insertion) are the same. somebody pls help...

Member Avatar for digital-ether
0
193
Member Avatar for confusedofphp

Hi all, Im very new to php. Currently im creating an online exam system which uses php and mysql as the database. I have registration and login page which works pretty fine. I had problem when it comes to question page. I have about 20 questions. As soon the user …

Member Avatar for somedude3488
0
119
Member Avatar for peter_budo

Does anybody know how to setup PHP on Tomcat 5.5? I found this tutorial [URL="http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/"] http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/ [/URL] but i can't get it work. Can somebody help? Thank you

Member Avatar for gauravgarden
0
187
Member Avatar for ishlux

Hi.....is this code right......... [code=php]<html> <head><title>auto alto system</title></head> <body> <table> <tr> <td> category</td> <td><select name="category"> <option value="sercategory">service category</option> <option value="servicetype">service type</option> <option value="services">services</option> </select></td> </tr> </table> <?php include 'database.php'; $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { echo $row['servicec']; echo "<br />"; } if($_POST['category'] == "servicetype") { …

Member Avatar for ishlux
0
85
Member Avatar for CAPSLOCK
Member Avatar for einfoway
0
1K
Member Avatar for johnvanderjagt

I am developing a form for a birdbreeders club. With this form people can order rings. On the page [url]http://www.info-sec.nl/bodyringenbestelling.htm[/url] there are two forms. The second form people can place an order. There are 10 rows, but normally people do not use all 10. How can I prevent that also …

Member Avatar for Shanti C
0
70
Member Avatar for ibrahimssani

Please am new to web application development. Can anyone help me out, am trying to specify 2 different folders for picture and video upload and would like the link to those files stored on mysql databaes. The html code i used for video and picture upload are: [code] <form action="<?php …

Member Avatar for ibrahimssani
0
96
Member Avatar for marsh4u

Hi all, am a web developer with average PHP skills and I need some help for you guys. I have a table online that has data and a link in one of he columns: i.e. after a reader performs a search, he has the option to download a file. Files …

Member Avatar for marsh4u
0
109
Member Avatar for ishlux

Hi all, Can i know how to do the checkbox validation........ i used the code below but its not validating..... [code]var val; for(i=0;i<3;i++) { if(form2.elements['contype[]'][i].checked) val=1; } if(val==0) { alert("Select type of your Contract") return false; }[/code]

Member Avatar for vicky_rawat
0
87
Member Avatar for pedramphp

I want to code like this but I am limited the Problem is I dont want to brint the If statement out of the heredoc what is the solution [code]echo<<<ENDSTRING <div> if($i==2) $i is 2 </div> <div class='ProDividerA'></div> ENDSTRING;[/code] thanks Pedram

Member Avatar for R0bb0b
0
110
Member Avatar for Kavitha Butchi

Hi all, Instead of passing the variables to the other page and coding mysql queries there.. Is it possible that we can use the mysql(DELETE...) query within the anchor tags in the same page? <a href >... to delete a particular row in mysql table? Like having a link called …

Member Avatar for Kavitha Butchi
0
538
Member Avatar for adaykin

Hello, I have the following code, with 6 rows in the database for my query, although the mysql_fetch_row function is only able to get 5 out in my web page. I'm not sure what is wrong with my code, here it is: [CODE] $connection = mysql_connect("my server", "user", "pass") or …

Member Avatar for antwan1986
0
231
Member Avatar for chriscapetown

Hi. This is a piece of code that I wrote for a one of my modules in Joomla 1.5, and im afraid im not skilled enough yet to do this procedure in the correct way.. Please can someone help me structure this code in the right way - the actual …

Member Avatar for digital-ether
0
211
Member Avatar for php_azar
Member Avatar for php_azar

hai all, in the parent window by clicking an anchor tag i am showing some data's fetching from the database in an iframe using get method.when we pass through the get method the datas may be hacked by the attacker.So how i can submit the iframe file from the parent …

Member Avatar for R0bb0b
0
52
Member Avatar for grr

I'm making a virtual pets script. Example of problem: User 1 creates a pet named "PET". User 2 creates a pet named "PET". Should be: User 1 creates a pet named "PET". User 2 creates a pet named "PET" but gets an error saying that the name is already taken. …

Member Avatar for grr
0
90
Member Avatar for devin.lawks

I have a php-based form mailer tied to a rather lengthy service order form, and was wondering if there was any effective way to manage the output from the form mailer so it's all laid out in an easy-to-read structure, like a table, perhaps? If I need to clarify at …

Member Avatar for antwan1986
0
131
Member Avatar for tanha

Hi. I have two forms with the following names and properties: 1. register.php --- ----- action="register-exec.php" --- method="POST" 2. register-exec.php --- action="register-exec.php" --- method="POST" After submitting the register.php, I used session in register-exec.php to store the value of the register.php for later use as follow: [CODE]session_start(); $_SESSION['bookTitle'] = $_POST['txtBookTitle']; $_SESSION['bookInfo'] …

Member Avatar for tanha
0
118
Member Avatar for nilantha_php

s12HCharges Summary For the Mobile Service No 0712069069 (Mr. . .) of Account 1863480 _________________________________________________________________________________ Service Package Description : Corporate package for 750 CommBill No : 7810912 (s0B &d#DCall charges &d@ Outgoing Calls - 750SP-1 25/04 - 24/05 931.00 (s3B TOTAL CALL CHARGES ...................... 931.00 (s0B &d#DValue added services usage …

0
66
Member Avatar for kuldeep04

Hello All, I want to convert my all PDF data into HTML format using PHP script.so, anybody can help me to do that?

0
96
Member Avatar for chriscapetown

Hi, Im having trouble getting this piece of code to function correctly. It inserts the data fine, and all works well, but I cant seem to make it only insert if there isnt already an entry with the same $text. What I want it to do is this: Insert the …

0
62
Member Avatar for ishlux

Hi all, i tried this code but its giving error fatal error: Call to undefined function equals() in D:\xampp\htdocs\demo\contractor_new.php on line 152 [code=php]<?php include 'database.php'; if(category.equals("sercategory")) { $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { echo $row['servicec']; echo "<br />"; } } else { echo 'error'; } …

Member Avatar for ishlux
0
131
Member Avatar for Rockout101

I have started a new website and I know basic HTML but I am clueless with PHP. I need to set up a login system where members can save their info on the site. I need to learn PHP, cookies, and a login system. Thanks.

Member Avatar for cwarn23
0
105
Member Avatar for cwarn23

I have been working on a php login system which is basically finished but needs one thing cleaning up. When the session is created/registered, a cookie is created. And according to firefox, the cookie will expire when the session ends. However, the session ends (according the the rest of my …

Member Avatar for nav33n
0
6K
Member Avatar for OmniX

This is the best forum I have seen on the internet (and would liek to have something similar down the track) but for the mean time... Is there a possible tutorial on how to make the most simplest workable forum? Then slowly implement upgrades and features in time? Thanks, Regards …

Member Avatar for Shanti C
0
61
Member Avatar for Besherek

Hi folks, I have a small Paging problem, was wondering if anyone could help me out with. I have a blog that I need to page after a set number of blogs. The Next and Previous links work fine and so does the Page number Nav. However, my page number …

Member Avatar for Besherek
0
343
Member Avatar for Kavitha Butchi

Hello All, I have this strange problem .. I am using require function twice in a single program to call two different programs.Each one of them has their own database connections. The page doesnot execute completely untill I hit refresh.:-/ It works as if those functions are executing one-after-the-other while …

Member Avatar for Kavitha Butchi
0
144
Member Avatar for shadowrider
Member Avatar for PatMcCrackIt

hi everyone.. I honestly don't know if this should be in the php forum section but here it goes. I am trying to create a fansite for a band and i would like to have all of their lyrics on my site. I do not want to create a new …

Member Avatar for nav33n
0
264
Member Avatar for 1andyw

My isp web server is separated into ‘www’, which parses php, html, etc; and ‘private’ which does not parse. What are the practical limitations of placing files in the private section. I am setting up a content management system for off campus work. Anyone know of a decent tutorial or …

Member Avatar for alphaseinor
0
169
Member Avatar for TashaAt

Does anyone here know PHP Job Site? I am urgently looking for help on this software!

0
44
Member Avatar for enim213

here's what i already have, whenever i click a specified letter like for example 'A' it must print out and count how many countries starting with that letter. The problem is whenever the count is greater than the specified limit, when i clicked to page 2, it shows also countries …

Member Avatar for enim213
0
106
Member Avatar for DMayo

I'm using CUROPTL_FOLLOWLOCATION and it works on my local server (a laptop running win XPand php 5) When i transfer the code to a linux server, CURLOPT_FOLLOWLOCATION seems to take forever and then does not redirect (my page does not display anything). I know this is the problem because when …

0
66
Member Avatar for Nameste

i installed it all correctly and everything, i'd recently tried WAMP5 and that didn't work either so i moved to XAMPP when i go onto localhost and type into the URL my file from notepad called index1.php it doesn't work i tried localhost/index1 and localhost/index1.php it doesn't work it says …

Member Avatar for buddylee17
0
77
Member Avatar for isomillennium

Is there a way to allow the php tags with the strip_tags() function ? i've tried strip_tags($text, '<?>') and strip_tags($text, '<? ?>') but it doesnt work .. any help would be appreciated thanx ..

Member Avatar for isomillennium
0
92
Member Avatar for OmniX

I have been reading books and articles and I have seen various mysql functions (mysql_query, etc) being used inside php functions and those php functions be called everything the php programming requires a query, etc. So what do you think are the best practices, etc? Thanks, Regards X PS: I …

Member Avatar for nav33n
0
71
Member Avatar for FerrumBat

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. PHP ver: 5.2.6 apache ver:2.2.9 Mysql ver:5.0.51b However I'm getting errors on the second table: [QUOTE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Member Avatar for nav33n
0
174
Member Avatar for chriscapetown

Hi, I have a select like below in my form, I want a second box to populate but differently for each activity. I would like to do this by means of something like this (case method really).. Any help would be much appreciated.. been struggling with it. Thanks alot, Chris …

Member Avatar for matudustrauss
0
133
Member Avatar for swefil2008

I need a routine for printing out to pre-printed paper forms. We recently had a programmer install in our office software written in php , and to be used locally through localhost on our pc, mysql, php and apache2.2 all installed, the software is working well, however we have a …

Member Avatar for casper_wang
0
149
Member Avatar for seangdy

Please help me corect my code. I want to insert image into mysql with php but it can't. my code wrote as below: Table: CREATE TABLE `TblClothes` ( `ClothesID` int(11) NOT NULL auto_increment, `ClothesName` varchar(100) NOT NULL, `Description` varchar(800) NOT NULL, `Colour` varchar(100) NOT NULL, `CSize` varchar(100) NOT NULL, `Price` …

Member Avatar for casper_wang
0
145
Member Avatar for aparnesh

Hi Friends Till now, I have been coding my PHP files mainly in Notepad. I had used a few PHP IDEs earlier, but were not satisfied. I found them too cumbersome and some were quite unstable. Now it's becoming rather tedious to edit in Notepad. So I am looking for …

Member Avatar for casper_wang
0
118
Member Avatar for ditty

I have a list box for multiple selection. It contains some main list and sublist. My aim is no one couldn't select the main list. for eg: Project manager Arun Pradeesh Team Leader Madhu Jibin Anybody couldn't select the main heading such as Project manager and Team Leader.. Pls help …

Member Avatar for ditty
0
218

The End.