39,320 Topics
| |
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 … | |
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 … | |
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 … | |
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.......... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hello... i am doing one concept.but i have no idea to do that concept. plz nybody give an idea for that.... actually there is a site which have the registered restaurents on that site at the same another side user registration is there. now user login then automatically display distinct … | |
One of our clients is using a webhost that blocks all emails sent from an unknown i.p. address....basically blocking any email forms being used on their server. The hosts have said for emails to be sent via their server the form needs to act as if the email was sent … | |
hi guys i have to Write Square(n) function that prints a square of different sizes. The size of the square is given as input to the user. Please enter an integer value n: 10 *********************** * * * * * * * * * * * * * * * … | |
Hi, what i'm really trying to find out is how to run 2 queries and get the result of them in a single file. The code goes Below, the problem is that the printed result comes only from the first query the second query result is displayed as 1st query … | |
Hi, I am trying to insert data to the database , but i could not successful . Please help me to find outh the error in my code. [CODE] <?php $action=$_REQUEST['action']; if($action=="insert") { $customer_name=$_POST['customer_name']; $plan_opted=$_POST['plan_opted']; $Payment_Mode=$_POST['Payment_Mode']; $customer_id=$_POST['customer_id']; $Plan_term=$_POST['Plan_term']; $cheque_no=$_POST['cheque_no']; $l_f_no=$_POST['l_f_no']; $payment_frequency=$_POST['payment_frequency']; $cheque_date=$_POST['cheque_date']; $agent_name=$_POST['agent_name']; $inst_amount=$_POST['inst_amount']; $agent_code=$_POST['agent_code']; $date_commencement=$_POST['date_commencement']; $late_fee=$_POST['late_fee']; $paid_till_date=$_POST['paid_till_date']; $instalment_no=$_POST['instalment_no']; $misc_charges=$_POST['misc_charges']; … | |
Ok so i have gotten a script for a game (as a basis I'm hardly using any of it) and I was wondering if anyone wanted to help me to completely change it. Now I don't have a heap of money so I can't really give how ever helps me … | |
can i get a txt file with INCLUDE function ? and how do the search ingines work ? and how to get a file that contain pictures like headers that contain pictures and javascript to my php page ? | |
I have below out using print_r(); how can i display individual like i want to display [currency] => USD [rate] => 1.3000 how to use foreach Thanks [CODE]$xml = simplexml_load_file("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml"); echo $xml->getName() . "<br />"; foreach($xml->children() as $child) { echo $child->getName()->currency . ": " . $child . "<br />"; echo … | |
guys . i need your help . I want you to suggest to me a project that i can do in php to see if what i know in php is enough or not . So please suggest to me | |
Basically I have a database and a form set up that enters information into the mysql database using php code. This works perfectly. The problem I'm having is writing a php sequence to send an email that confirms the user wanted to post the information. I would also like the … | |
Can somebody just drop me a code that I can use to forward a web page to some body's e-mail ? I am still a beginner for PHP. If you are not able to give the codes, I appreciate if I can get the general direction. Thank you very much. … | |
hi pl z suggest me some best j-query calender plug-in which can restricted the year like i want to see only years between 2000-2010 then it will not display me the year2011 calender | |
Here's the situation: I have a dictionary database. I use special characters in the pronunciation (like this: 'hə.lə.ba.lu). However, when I use a PHP script to output this data, the special characters get replaced with question marks. Like this: 'h?.l?.ba.lu I've read a lot on this topic, but I'm not … | |
[ATTACH]15899[/ATTACH] [ATTACH]15900[/ATTACH] Hello, i need to explode ( first img ) and put it in a table ( just like second output ) but i S*ck at exploding. kindly help me out in this Thanks in advance Regards Daniel Euchar | |
| Hi Guys I want to write a program that extracts links from a url and then adds them to a mysql database. I have found some nice examples ie [CODE=php]<? function getlinks($url) { $data=file_get_contents($url); preg_match_all('/(href|src)\=(\"|')[^\"'\>]+/i',$data,$media); unset($data); $data=preg_replace('/(href|src)(\"|'|\=\"|\=')(.*)/i',"$3",$media[0]); return $data; } //now to use the function echo "<xmp>"; var_dump(getlinks('http://www.google.com.au')); echo "</xmp>"; … |
Hi, I want to make a php validation for textbox which limit user to enter only character. i using following code [CODE]function validate_alpha($val) { return eregi("[^0-9]",$val); } [/CODE] if i type 123 it will give error. that is ok. but when i type keval123 it doesn't produce error. how to … | |
am showing a report in a table, after fetching data from mysql. my client wishes to have this html report into an excel file too.. Suggestions required.. Either * button click call another php page and save to a predefined location * create xls file everytime i generate report. plz … | |
How to store password in MYSQL ? i created the new page, [B]index.html[/B] [CODE]<form action="calc.php" method="POST"> Username: <input type="text" name="username"> Password: <input type="password" name="password"> <input type="submit" name="submit" value="Submit"> </form> [/CODE] and clac.php, [CODE]<?php $username = $_POST['username']; $pass = $_POST['password']; if ($username == "a" && $pass =="abc") /* here i set … | |
Hi, I have tried Microsoft webmatrix, It is very good. Is there any way to debug the PHP script ? If debugging PHP script is supported, then it will be a great IDE for PHP. If you don't know about Web Matrix, Check it here. [url]http://www.microsoft.com/web/webmatrix[/url] | |
| Hi All I am trying to create script which will update the database every 24 hours to reset a row back to 0. My web host cron job panel does not work so that is why i am asking you for help. I will be very grateful for any help. … |
consider form . id,username,age,etc if i enter id all other field should get filled automatically. can anyone tell php code . as i dont know asp.net. suggest some sites please |
The End.