39,395 Topics

Member Avatar for
Member Avatar for aneeka

hey guys, i have this code in php i don't know if this works but there is no error at all. i am trying to get the value from a database and assign it as the value of the combo box. [CODE]echo "<td align=left><font size = '2'><select name='status' id='status' selecteditem='$status'><option>Active</option><option>Resigned</option></select>"; …

Member Avatar for rajarajan2017
0
140
Member Avatar for tanha

Hello everybody, firstly I am new in PHP, and I use the WAMP5 tools which has the following features: i) Apache 2.2.4 (SERVER) ii) PHP 5.2.3 + PECL iii) SQLitemanager iv) MySQL 5.0.41 v) Phpmyadmin I have a table named 'tblStudent' with four fields as follow properties: 1. stID int …

Member Avatar for JimiTster
-1
191
Member Avatar for aMOEBa

Hey guys I am trying to write this application to display members who are celebrating the birthday in a particular week, month. I want the app also to be able to display those who will be celebrating their birthdays in abt 2months. I want to do something like how Facebooks …

Member Avatar for pritaeas
0
151
Member Avatar for rahul8590

I have a couple of input boxes where the user will be entering his/her data . for example: Name:------------- Fathers name:----------- mothers name:------------ when the user enters the data , i need the xml to be generated something like this <family> <name> users name </name> <fname> fathers name </fname> <mname> …

Member Avatar for rahul8590
0
905
Member Avatar for commando_chandu

i m getting subscription id at the time of recurring profile creation but not getting at the time of recurring payment in the ipn response

0
47
Member Avatar for muralibobby2015

some times i am getting this appache error. i dont know why it is comming? [CODE]Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience.[/CODE]tell me what to do?

Member Avatar for rajarajan2017
0
65
Member Avatar for nick3592

hi i have a bunch of files that i need to make undetectable to search engines and from people viewing it because it is very dangerous to show these files to the outside world. I was wondering how i can completely make them unviewable to anyone but me and a …

Member Avatar for keval_hack
0
97
Member Avatar for wish02

i need to print this as a report, how do i export it to word or pdf with seeing exactly what is seen on the browser? because sometimes the format is disorganized. please help! thanks! [code=php] <?php session_start(); if(!session_is_registered(myusername)){ header("Location:main_login.php"); } $userId = $_SESSION['userId']; include "../../../_functions.php"; ?> <html> <meta http-equiv=\"Content-Type\" …

Member Avatar for chrishea
0
143
Member Avatar for nwalker78

hi, not sure if im posting in the correct section but im working on a site registration for a mate this bit has been completed, however i am wanting to extend this and display a plethora of info but i have hit a bit of a wall. iam wanting to …

0
90
Member Avatar for alicem

I just want to scan through a directory containing several subdirectories, each containing several text files, and display the name/word count/character count of each text file in each subdirectory. All I'm looking for is a quick and simple way to do the scanning through all subdirectories finding each file. thanks …

Member Avatar for HavocAngel
0
7K
Member Avatar for reza.adinata

Hi, I have a snippet code below [CODE] <?php //get value of $new from other codes //$new will provide outputs of a new number every time it is executed echo "$new<br/>"; $strFile = "1.txt"; file_put_contents($strFile, $new); [/CODE] The idea is that I want to put a new line of number …

Member Avatar for reza.adinata
0
149
Member Avatar for fumnimda

hi all, i am searching about a secure captcha for my search form and find: - 'Ajax Fancy Captcha' - reCaptcha and also a paper from google research center which talk about rotating picture as captcha. which one is better and more secure?

Member Avatar for ahmadjhoney
0
145
Member Avatar for spetruska

Freebsd 8, PHP5, MySql 5, and Apache 22 I have a file upload program that I'm trying to use to load .zip files to my server. During initial testing worked as planned, unzipping works and proper file created in proper folders... However... in BETA, sometimes, when "Browse"ing to select filename …

0
69
Member Avatar for levsha

I am able to attach a file using SwiftMailer with its name hardcoded. But what if the file is uploaded by a user from an HTML form's 'file' input type control and has to be sent with an email by a PHP script? How do I specify the file name …

Member Avatar for levsha
0
147
Member Avatar for Muazam

Does openable get ignored? if not what does it do? [CODE] function openSomething(openable $obj) { $obj->open(); }[/CODE] openable is a class btw. taken from a book.

Member Avatar for Muazam
0
85
Member Avatar for fajrulakram

hello guys... I'm new here... I got some problem with my action script code. I'm trying to connect the flash file to MySQL database. All syntax seems good and I think the algorithm is fine too. but, when I run the .fla file and i press the button, i got …

Member Avatar for Mrinny
0
129
Member Avatar for ahmed88iraqi

Hi can u please help me with my problem here is my code [code=php] <div name="jokepost" id="wb_Text1" style="position:absolute;left:34px;top:<?php echo $height +45 ?>px;width:690px;height:35px;z-index:2" align="left"> <font style="font-size:19px" color="#000000" face="Arial"><?php echo $joketext ? ></font></div> <div id="wb_Shape1" style="position:absolute;left:14px;top:<?php echo $height +45 ?>px;width:751px;height:78px;z-index:1" align="center"> <img src="images/img0001.gif" id="Shape1" align="top" alt="" title="" border="0" width="751" height="78"></div> [/code] when …

0
45
Member Avatar for jaswinder_singh

hii frnds i hav creates a txt file in server ,i want to open it in notepad of client machine !!can we?? i think it can be passible wit an ative x but i dont know how! plzz help me :(

Member Avatar for rch1231
0
112
Member Avatar for raju_boini525

hi all, i am working on online food ordering project. restaurant create zones (circles based on miles as radies) to delivery the food. comapines registerd for food ordering. the company emplyees select there company we must display the restaurnt (Which are contaning this company in there zones). any idea please …

Member Avatar for raju_boini525
0
286
Member Avatar for captdave

i had bookmarked a site with this type of software but i lost it. i want to create a site similar to face-pic.com, faceparty.com and thailandfriends.com. can anyone point me in the right direction. and help is very appreciated thanks, dave

Member Avatar for Djul
0
174
Member Avatar for antiv_boy

Am working on a php/mysql project that involves displaying long piece of text on a page. The text being that long, I would like a way of splitting up this article into multiple pages that will give my project the ease of navigating through. Any help would be highly appreciated. …

Member Avatar for antiv_boy
0
1K
Member Avatar for Wouldbecomp

Please help; I have input text data from a form into mySQL table, recovered it using php script and written it back to the form using value=var[ ]. If the data has spaces in it, i.e. more than one word, all characters after the first space are lost. But echo …

Member Avatar for Wouldbecomp
0
83
Member Avatar for alex4700

I'm having a hard time understanding where is the problem... I have a class which is responsible connecting to DB and passing queries. (basically Data Access Layer) and it looks like this: [code=php] class DB { private $connection; public function __construct(){ $this->connection = mysql_connect('localhost', 'user', 'pass'); mysql_select_db( 'dbname', $this->connection ); …

Member Avatar for cwarn23
0
128
Member Avatar for davidrooker

Basically I have a site that lists all the translation software’s in the market, the thing is when I register a new software I have a checkbox group with languages to form the “from language” dropdown field in the search, and another checkbox group to form the “to language” field, …

Member Avatar for davidrooker
0
80
Member Avatar for ale89

[B]Hello everyone! I have a query, Can be a user login or registration with php files. For example I have a user folder and folder inside That There Is nick.php, would be the user name pepe.php eg where are the data. And That in the login verify the user exists …

Member Avatar for rajarajan2017
0
81
Member Avatar for waren

I want to hide the table when the user is logon. This is the code; [code] <div style="padding-left:20px"> <div id="welcome">welcome</div> //* I want to view this when it logon. <table id="logon" style="height: 165px;" border="0" cellspacing="0" cellpadding="0" width="794"> <tbody> <tr> <form name="logon"> <input type="submit" name="Submit" class="button" value="Log In" /> </form> </tr> …

Member Avatar for arunmagar
0
305
Member Avatar for faizabest

I have this error.. Can help me to solve this matter? You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '296''' at line 1 1 <?php include("db.php"); ?> 11 <?php 12 $Kod=$_REQUEST['kodpro']; 13 echo …

Member Avatar for rajarajan2017
0
151
Member Avatar for mastermind2

Hi Friends I want to create a product renewal alert with PHP I have three field in SQL Table 1. Id 2. product_name 3. order_date 4. expired_date 5. username Please Help. i want to show the renewal alert before 15 days of expired date

Member Avatar for mastermind2
0
140
Member Avatar for kalidas69

Hello, My requirement is to send message on port in j2me application, i came to know that by using UDH we can deliver a message on port, i try to add the destination port no in smpp class file where $part_no is define but control is not coming over there …

Member Avatar for kalidas69
0
77
Member Avatar for waren

I want to hide the table when the user is logon. This is the code; [code] <div style="padding-left:20px"> <div id="welcome">welcome</div> //* I want to view this when it logon. <table id="logon" style="height: 165px;" border="0" cellspacing="0" cellpadding="0" width="794"> <tbody> <tr> <form name="logon"> <input type="submit" name="Submit" class="button" value="Log In" /> </form> </tr> …

Member Avatar for steventaal
0
99
Member Avatar for xSDMx

Hello, I'm not sure exactly how to do this, but I was wondering if someone could help me out. I have variable $z, and it sets the number of poll options (fields) available ($z was originally a database item set by the administrator). Instead of having $z set by the …

0
67
Member Avatar for sskarth

Hi, I have a small problem and have been trying to figure out a solution for this without any success days. I did search the forum but didn't find any solution. This is my situation. I am generating a chart (using an opens source chart called amCharts) that allows me …

Member Avatar for sskarth
0
233
Member Avatar for BestJewSinceJC

I read on various articles on google that a 'cron job' is used to schedule a task to run periodically on a server. I'm in a situation where I need to schedule a script to run nightly. The script would probably be written in php and update a MySQL database. …

Member Avatar for rch1231
0
94
Member Avatar for k2k

[code] $sql_table_get=mysql_query("select orderline.quantity, menu.item_name, menu.price from orderline, menu, orders where orderline.item_id = menu.item_id and orders.order_id = orderline.order_id and orders.table_num =table".'"$count"'." // problem line and orders.order_status = 0; "); [/code] tried many combo and couldn't make it work yet. basically i just need to know how to combine a $variable and …

Member Avatar for k2k
0
315
Member Avatar for yourock

Hi, I need help on redirect of php scripts. The problem is: I have a page for example [url]www.domain.com/redirect.php?id=34[/url] that redirects to another page, domain2.com/product.php?id=2. I need to create a script that allow me to know the URL of the redirection (domain2.com/product.php?id=2) just by accessing the redirector ([url]www.domain.com/redirect.php?id=34[/url]). Anyone have …

Member Avatar for rch1231
0
690
Member Avatar for vizz
Member Avatar for rch1231
0
106
Member Avatar for nick3592

hi i was wondering if its possible that php can send automated email on a specific date and if so how can i implement this? if not what web program should i use to do this?

Member Avatar for chrishea
0
81
Member Avatar for agr8lemon

Hello everyone, I have a temp/humidity/light sensor in a server room that produces a web page with just raw data like this: [CODE]uN703610TF: 79.9HU:36.4%IL: 0.7 [/CODE] That is the only thing on the page, it's wrapped in HTML and BODY tags, but that is it. What I want to do …

Member Avatar for d5e5
0
75
Member Avatar for richhoggan

I wrote a search form for a database but I would like the user to be able to add sequential rows with an add button. I have tried it a couple of different ways but haven't gotten the results I am looking for. Is this something that can be done …

Member Avatar for richhoggan
0
99
Member Avatar for wrstrong

I have several of my own photos that I need to add a simple watermark to; however, I would like to add stegonography to the watermarked layer in order to put the image information, the page that the image was to be placed on, etc... hidden within the watermarked layer. …

Member Avatar for diafol
0
186
Member Avatar for tulipputih

Hello, I googled about this problem and there are some suggestion to handle this. i have tried but none solve my problem. Errors are shown in line 3, 4 an 5 which code is like below: [CODE] ob_start(); //stop caching header("Pragma: no-cache"); header("Cache: no-cache"); session_start(); [/CODE] can anyone help me …

Member Avatar for tulipputih
0
286
Member Avatar for vaibhav1983

Hi All, I have this URL on my website that is causing a problem [url]http://www.raveportal.com/1347_How_to_list_files_with_*_after_executables,_/_after_directories_and_@_after_each_symbolic_link[/url] There is a forward slash "/" in this. Everything after this forward slash "/" is treated as a new file and "[B]1347_How_to_list_files_with_*_after_executables,_[/B]" is treated as a new directory. If you go to this link, this …

Member Avatar for vaibhav1983
0
146
Member Avatar for mysqlnewbie

Hi, I am pretty new to web development so bare with me. I have a simple problem that I have been trying to solve it for a while now. I have 2 select boxes in a form that when the first select is changed the 2nd select will populate from …

0
178
Member Avatar for mihu

Hi there boys! I think i have a little conversion problem to my application; i am tring to retrive the number of rows in mysql to make the login script and .. it tels me this error; if(isset($_POST['activateLoginForm'])) { $user = trim($_POST['username']); $pass = trim($_POST['passwords']); echo $user."\n"; echo $pass; $conn …

0
36
Member Avatar for sathya123

Hi, I have created contact form and filled details in that text box,click submit.It redirect to other page on that page in status bar backspace button (go back button)should be disable on that particular page.I need code for that and need help how to use that code..........

Member Avatar for chrishea
0
144
Member Avatar for Smudly

Having a few problems with my Admin Page that lists all registered users with some of their information. I have a Delete button (which deletes the user permanently) and a Ban button (which bans user until I unban them). Both of these buttons have their own javascript that asks for …

Member Avatar for Smudly
0
699
Member Avatar for fadi-ft

Hey there how are you doing? I have installed apache server, php, mysql, and phpmyadmin on my new Linux Ubuntu, and I want to start building my PHP projects using any platform such as Eclips. but the problem that I am facing is that I am a new linux user …

Member Avatar for Stefano Mtangoo
0
250
Member Avatar for madihaahmad

In my program,user selects a message via radio button and he can either reply,delete or forward that message. [CODE] <?php include("conpage.php"); $Id =$_POST['radiobutton']; echo "<input type='hidden' name='radiobutton' value='$Id'/>" ; $Option=$_REQUEST['Options']; if($Option=="Delete") { $query="DELETE FROM securityscheme WHERE Id='$Id'"; mysql_query($query); mysql_close($con); } elseif($Option=="Reply") { header("location:ReplyMessage.php"); } elseif($Option=="Forward") { header("location:ShowInbox.php"); } ?>[/CODE] Now,the …

Member Avatar for Hypalink
0
185
Member Avatar for xylude

I have a neat idea for an ajax/php rpg engine and want to get together with a small group of php developers with some free time and make this happen. I really think it could be fun to develop and also fun to see people enjoying the end result, but …

Member Avatar for xylude
0
94
Member Avatar for Hypalink

Hi all! I still consider myself to be a newbie at PHP, but i have managed to develop a good PHP application, thanks in a large part to daniweb members' help and advice. My problem now is, having coded a profile page (profile.php) which displays user information dependent on the …

Member Avatar for Hypalink
0
189

The End.