39,402 Topics
![]() | |
i've been doing while loops for this problem .. i dont think its the right way though. i have a set of boxes each with a boxid(apart from the first), which is the id(mysql) of the previous box. [quote]e.g. box 1 has id 1 box 2 has id 2 and … ![]() | |
Hey guys, Do you guys have any idea on this error? This errr showing up on my Contact Form before you input the data field like name, address etc.. Is there a way to fix it? [CODE]Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started … ![]() | |
i am trying to submit a form in javascript, and then process it in php. and it will not work. can you please help? this is the code: [CODE] <?php if ($_POST['markcomplete']=='yes'){ $taskid=$_POST['taskid']; $query="UPDATE tasks SET status='0' WHERE uid='$id' AND id='$taskid'"; $result=mysql_query($query); if ($result){ echo "<script>location.href='?goto=taskmanager'</script>"; }else{ echo"fail"; } } … | |
Hello, I am using a script to process subscriptions on our sites - I can sucessfully get the subscription payment to process, I am having issues processing a cancel IPN request. [CODE] // assign posted variables to local variables $item_name = make_safe($_POST['item_name']); $item_number = make_safe($_POST['item_number']); $payment_status = make_safe($_POST['payment_status']); $payment_amount = … | |
hi, guys i have a problem here. i have a form which creates a new table for each new user and that user will have a monthly update of his salary now im confused how to go about this. do i need to create a new table or how to … | |
hi I downloaded a php script but it is encoded this is the encoded file <?php $OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14}.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OO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qIISdbfCyAkOkmdKseISleAtEydtdfvaqhfKseISlu9tlXBXyONLweqKgGftGy7ldXWKHGYSLqb1VudKzOmSL2ytsnwUL2GtjSwJzybKseQSsOFAsrbAzDGKgNbKseQSsOFAcGc1VKfKseISlKd0qhfKgOYtoybJCGYKLWBKCOGKHfheskwaC2GJlf7ldXyJ3XDJseQAwu9tjZ5K3kmCzkgSgOFAjOfC3eQA3rhvEmveseQAwu9tjZ5K3kmCzSGAj2hCz9dUgOFAlbfKgOYvEmvSL2hJwufKg93xE5qKgGFSEmvBRh= what is this encoded system and How I decode it... Please help me...this is very urgent... | |
Hi guys, I have a shopping cart finished for my site but I do not know how to make checkout function that will link to my cart.php I will show u my codes [B]index2.php[/B] [CODE]<?php session_start(); include_once'../config.php'; include_once'../_header.php'; if(isset($_GET['page']))//get info from a get variable inside url { $pages = array("products", … | |
Below is a piece of code i,ve configured with, It's giving me an Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/****/public_html/****/g.php on line 265. The information stored in the database can accessed be accessed by other pages, using the same code. but its not possible … | |
Hi Everyone, I am trying to create a login page for my "intranet" site that is authenicated via a MySQL database and Apache. I am having difficulty on where to start and how to carry the session information from the login to the other pages, i.e. for submitions etc. Can … | |
I currently have a linked table from two tables in one database. I would like to add information from a third table contained in another database. The code for the current table is: [CODE] <?php $con = mysql_connect("","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("", $con); … | |
![]() | Hi, Anyone know where I can get PHP source for a basic free contact form? I've googled and found quite a bit but I have no idea how to configure it to actually send emails, so I'm hoping there is one that I can download that I can test and … ![]() |
I have this link, and when you click on it, theres a GET variable lets say domain.php?page= [CODE]$_GET['page'];[/CODE] and if page equals a variable, I can echo out a form. So what if that form has a link to edit, but its under domain.php?page=[B]form[/B] oh and I have set this … | |
Hi Is there anyone who know How to capute a whole HTML file and convert itto Excel for example <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="description" content=""> <title>Fourth Year Computer Technology Time Table</title> </head> <body> <p> </p> <p> </p> <table cellspacing='4' cellpadding='4' border="1" align="center"> <tr> <td>Day</td> <td>Time</td> … | |
Hi all, Please bear with me on this as i have not long been learning how PHP works and am still learning VB.NET slowly. I have been testing the code for PHP using the Apache webserver. The problem i am having is, this is the function i am using with … ![]() | |
Hi All, (EDIT: Amazingly, I clicked on another thread to give myself a break from coding and i found half the answer immediately. Thanks Pritaeaus [url]http://www.daniweb.com/forums/post1478160.html#post1478160[/url]. However, when validation is not passed I still get the messed up page so if anyone can help, I'd be most grateful.) (EDIT 2: … | |
Hello everyone, I have a text file which has some values structured as below -------------------------------------- 1 2 3 4 -------------------------------------- Then i made a PHP file which can receive checkbox values (always receive 2,3 & 4) from another HTML file as below [CODE]if($_POST['Button']){ $check = $_POST['$boxname']; foreach($check as $chk ){ … | |
Hello, I have created a webpage where I use a simple command line tool [oggz-tool] to cut a section of the video. It works fine but the only problem is that when the new file is created, it is owned by www-data and not by the user I created which … | |
Hello guys, i need a text box editor for users to post their own article, the article is stored to a database. I've been searching and i have not found what i need. I dont require a mega-advanced one, just so people can write an article. I hope someone can … ![]() | |
Hi to all, Sorry, if I do not put this post in correct place.. I download GCC 4.5.1 compiler program, and I want to upload it (or connect it ) with website to help a users to write codes and compile them and check if they have error or not. … | |
please help to validate my username i know its simple but i can't get it i want only to validate the first 4 input of the username should be a letter. i try to use the preg_match function but i can't get it correctly. | |
I have to make a website in my Php course..I want to gather some ideas what website i should make..any ideas Please | |
Hi there! I have this function in jQuery that is suposed to toggle a div, according to each different record I click, in order to toggle an upload form. However I can't seem to get it to work properly. Anyone could help? I really need this working today :( jQuery … | |
Hi am kinda stuck here, so please if anyone could help me,i have 2 domains working on same hosting, one is Main Domain and other Addon, am using mail() function in Addon Dowmain website. everything is working fine, problem is script is running on addon domain but when people get … | |
I have an html div [CODE] <div id="myDiv"> <table border="1" bgcolor="#FFFFFF" width="600"> <tr style="text-align:center"> <td>Subject Code</td> <td>Subject Title</td> <td>Credit Hour</td> </tr> </div> [/CODE] Now, I want to have a button by which i can convert this <div id="myDiv"> to image or .doc.... can any one help me | |
Hi I've been all over these discussions and still cannot find the syntax that works! When I echo $co and $bus, they both print on screen as they should. But when I try to update the mysql records using the following php, the business_name field data gets erased instead of … ![]() | |
Hi, am currently using this script to protect/encrpty info in the address bar,but i thnk its not very strong. cn any one help me make/find a more secure one, thanks. [CODE]<a href='articlesdetails.php?pif=ixhsuwu9xyysysjj300&yisu=uuwuwuwzuab&jsn=733888559jdjdjdeyey&tsyi=378hyxbh738hssh272sh&zy9stxyw=w­272bs2637shuw727hhshs377ywwwyw&id=$id'>[/CODE] | |
i have used redirect------header("Location example.php"); but getting an error the error is----cannot modify headers. headers already used there is no html in the page... but the current page("example.php") is a redirected one it worked fine for me in my local wamp server... but when hosted it says this error... help … | |
Hi.. Please help me in creating a script that will show the hidden textbox if a checkbox is checked.. I don't have any idea on how to do this. Thanks in advance.. | |
I am trying to implement a bruteforce check on a loginpage. It logs the logins from a certain ip. If there are more than 10 it will stop saving the logins in the database and will set the $nopage variable to 1. [CODE]$ip=$_SERVER['REMOTE_ADDR']; $res_check_bruteforce=$teste->query("select count(id),max(time) from bruteforce where ip='$ip'"); echo … | |
I am trying to implement a CSS hierarchical unfolding menu on a site. The thing is, it needs to be dynamically populated from the results of a database query. I previously had the menu working but then it was ‘hard coded’ and not built on the fly. Menu description: 2 … | |
i want search ,whene i want search this time show all same information from sql server using by php code case "search": $ID=$_POST['ID']; $bodyInfoText="$ID"; include("db_connect.inc.php"); $SQL="select * from tbl_person where kamal='%$ID%'"; $result=mysql_query($SQL,$con); if($result): if (mysql_num_rows($result)==1): $bodyInfoText="show_user_info.inc.tpl.php"; else: $bodyInfoText="$ID $Pass inValid user"; endif; else: $bodyInfoText="Fail to select :".mysql_error($con); endif; break; but … | |
hi frens.. i have this piece of code, which is not working the way i thot it would. i want to check if the $key exists in array $rowid, where $key also comes from database. lets say, key exists for the 1st iteration (it prints exist), but if key exists … | |
Hi There, I create an SQL statement to retrieve some data from DB. However I can not do the third if statement! my code; [CODE] $search = care_query(" SELECT contact_number, role, is_active FROM contact_roles WHERE contact_number='$mn' AND is_active='Y' AND role like 'S%'; "); while($row = care_fetch_array($search)) { $role= $row['role'];echo "<pre>"; … ![]() | |
I have an image on top of my logo image, used for login purposes in my index.html page. The logo code works perfect in loading my index.html page when clicked on. The code - [ICODE]<div id="Logo"> <div id="lmenu5"> <a href="Login.php"><img src="Images/Top Menu/Login.png" alt="Login or register." name="Login" width="130" height="43" id="Login" title="Login … | |
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent ![]() | |
What is wrong here ... as verb_id and item_code is being entered into the database as "0" ... even the date is like 0000/00/00 ... Thanx in advance !! [CODE]<?php $verb_description=$_REQUEST['verb']; $item_description=$_REQUEST['item']; $post_description=$_REQUEST['post_description']; //to fetch verb_id $verb_sql="SELECT verb_id FROM tbl_verbs_master WHERE verb_description='$verb_description'"; $verb_id=mysql_query($verb_sql) or die(mysql_error()); //to fetch item_code $item_sql="SELECT item_code … | |
I have a combo box "verb" that displays a field of database .. when the user selects "other" from the drop down ...a div named "choicetext" appears and user enters his choice of verb .... The below code is of the action page ..in which i want to insert the … | |
Hi Friends.......... I want to upload images from my mobile via gprs into server in php( just like facebook). I don't have any idea how to do that...... Plz help ................ Plzzzzzzzzzzzzzzzzzzz | |
I am developing a website in php mysql. In the home page i am showing only one link for demo purpose and the other links are blocked. There is a login link on top. Only after successful login the home page is reloaded showing all the blocked links. So what … | |
I'm trying to get my page to redirect back to another page after the form has been submitted to its self via $_SERVER[PHP_SELF] . I've tried using the header(Location) script but to no avail. Anyone know of an easy way to do this? Right now.. when my page is submitted … | |
I have the fields of three. There are Criteria, Line, and Customer. I use CodeIgniter as my php framework. In this case, if I want to choose Line fields (dropdown), I have to choose Criteria first, the line fields is disabled until I have criteria choosen. The same thing as … | |
i need a piece of code to break down the data brought in from the MYSQL database im creating a small forum type on my website but with my layout if the user writes 5 lines it shows it all on 1 line and shows the bottom scroll bar, i … | |
I am not quite understanding how this how ereg and Preg_match thing works. I am trying to prevent users from creating a username that is less than 3 characters, with no capital letters, and no special characters and cannot be a reserved user id such as root, admin, and operator … | |
.Is there any way that i can get texts from a php form to supply it on another php form. and place it on the title attribute of my <a> tag. for example: <a href="" title=" //this is where i want to place the retrieved texts from my other php … | |
Hai Friends While running my application i got this error. How to solve thsi error. Plesae send me any idea. PHP Warning: Cannot modify header information - headers already sent by (output started at /home/mixpublic_html/includes/common.php:244) in /home/mix/public_html/MiX/program/include/main.inc on line 673 Thanks Vssp | |
Hi, On my website I have a lot of folders with lists of article links. I want to display the number of links in these lists on the folders people select, so they know how much articles are inside a folder and where to search. I've looked for help creating … | |
I have an online orders database which prints fpdfs for delivery notes and off hire notes. I have looked into digital signitures on fpdf but have not found anything useful. Would it be possible to use a very simple paint program on the web inserted in your orders page where … | |
Alright, so I am working on this new site and for the registration, I am using a template I have used plenty of times in the past. Now, this one snippet I am showing you will check if the username is either too short or too long, or if the … | |
Hi i am wondering could anyone help me understand a file upload code. I am currently working on a website like mediafire, raipidshare and the rest of them. I have taken down codes of all sorts and some i got to work but had errors. I don't understand as i … ![]() |
The End.