39,323 Topics
| |
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 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 … |
The End.