39,323 Topics
| |
(I want to make free subscription area where members' info is deleted from mysql when 30 days old) I already have have a members login script.... but i have to manually delete users.....what i really need is to know how to make member expire after so many days with a … | |
Hello, I'm just starting to use PHP after years of working with ASP, so pardon me if this sounds like a very basic question, but how do I get PHP to acknowledge zero (0) in a form field. Whenever the user enters "zero" and hits submit on the PHP form, … | |
Hi, I have a form with a field for an email address to be filled in and sent using a php script. i need help with the following 1: i want the an email to be sent to the email address that the user has just typed into the form … | |
Hello I am not really good at php or programming and I need a llittle help: I need a value to be "converted" to an image; so if the value is "eg.3" it should show eg. "img3.gif" (the images are stored in a folder) The value is displayed with this … | |
Dear, I am doing a site for chatting application. How can i detect the other person started typing for displaying he is typing... I also want to display an (alert) , what i mean is , if we typed a text and go to an another tab and if we … | |
Hi Guys Im developing an application and im inserting users to my database but i want to make sure that a username can only be one, no usernames are the same.. How wud i do that in PHP.. | |
please help out in figuring the code that opens a session for registered users after reading the input choices provided by the user and redirecting to a mysql query page that displays a list of data in check button options....my project intents to allow a user to select from a … | |
hi im still a beginner in PHP and this is the code i have so far and it only calculates value of two numbers put in manually. I want to generate two numbers and add the values. [code] <form name="form1" method="post" action=""> value1: <label> <input type="text" name="value1"> </label> <p> </p> <p> … | |
Hi, I have large number of records in the database.Each page displays 5 records.I am using a query "select * from tablename limit 0,5";When ever user clicks next button the limit starting value increased by 5.When user click previous button the limit value decreased by 5.Now,my problem is i want … | |
Hello friends this is manish once again i am not new to php but i have got some problem in my code that is working on our previous server but now it is not working what should be the reason i have the following which work fine in our previous … | |
hello, i am doing check all checkboxes in a single click. i have multiple groups is there in one page. but first block is working. from second block onwords it is not working. plz help me. here is my code [CODE] <script type="text/javascript"> function checkstate(chkname,k) { //alert(chkname); //var chk="chkall"+k; //alert(document.getElementById("chkall"+k+"[]").checked) … | |
Hi, I have installed NUSOAP and i get error messages 100% even from examples. My PHP knowledge is fair. Here is my situation (that cant be changed). A user on a 3rd party site clicks "BUY". The response to that is a URL to me containing a GUID and the … | |
can any1 help me with my final year project :( plzzzzzzzzzzzzzz HELP EMAIL ME on <snipped> | |
l need to make the following which is a joomla result button open in a pop up window onclick="document.location.href='[php echo JRoute::_("index.php?option=com_poll&id=$poll->slug".$itemid); ]'" /> | |
hello I'm new to this I have not knowledge and I want to install a php script for classified web site but I can't find the connection string? some body help please, thank in advance TD. | |
i am getting error at $sql = "SELECT role FROM users WHERE username = '$username' and password = '$password'"; $result = mysql_query($sql); as ----Query was Empty---- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>username:</td> <td><input type="text" … | |
I HOPE YOU ARE ALL FINE) In my web i`m using image magic or GD library to resize photos when someone upload them to the server. This makes me create alot of thumbnails for a single photo. So i`m asking if their is any function in PHP which can resize … | |
Below is the the code where I am trying to to update my food items into the database but am failing to do it, any corrections will be helpful. Thanks in advance [code] <?php // set database server access variables: $host = "localhost"; $user = "root"; $pass = ""; $db … | |
I am making my own CMS website and the body content is echoed onto the page however some of the page content is php code but the actual code is echoed out. How can i make it so that it works properly. Code: [CODE]<div id="form"> </div> <h1>Form</h1> <br /> <?php … | |
I have a textbox on my form. I type in some text, then I submit the form, and it seems that my script doesn't see the text in the input element and treats it like empty: [CODE] <?php $invname = $_POST['invname']; if($invname == '') {print "You have not entered the … | |
The web server is Apache. I want to rewrite URL so a user won't know the actual directory. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL: piecework.mydomainname.com/en/11 I added the following statements in .htaccess: [CODE]RewriteCond %{HTTP_HOST} ^(?!www)([^.]+)\.mydomainname\.com$ [NC] RewriteRule ^(w+)/(\d+)$ /$1/%1/%1.php?%1_id=$2 [L][/CODE] Of course I replaced mydomainname with my domain … | |
Hi people, I have a huge data stored in my database server and am currently trying to work out a script in order to update my data in the server. This update comes from an Excel spreadsheet. I did search on Google/Yahoo and found websites like PHPExcelReader or PHPExcel. My … | |
i have make my own system. the system is about application for a leave using online. the problem is, when i using Internet Explorer8 the submenu cannot be click. there is the coding that i have attach with. [B](admin_phpddm.php)[/B] [CODE=php]print "<!-- PHP Drop Down Menu 0.4 by Stefano SteO Arcidiacono … | |
I thought I would let you's php gurus know that I am starting to come close to cracking the Sha1 algorithm. And surprisingly it is an easy one to crack. So I would recommend switching to something like the whirlpool algorithm. | |
Can someone tell me why I cant get anything to echo properly with this? <?php session_start(); $_SESSION['company'] = $_POST['company']; $_SESSION['firstName'] = $_POST['firstName']; $_SESSION['lastName'] = $_POST['lastName']; $_SESSION['phone'] = $_POST['phone']; $_SESSION['email'] = $_POST['email']; ?> ... This is on one page <h2><a href="Conference_Start.php">Personal Information</a></h2> <p>Company Name: <?php echo $_SESSION['company'] ?> <br />First Name: … | |
i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox … | |
I need to design a site which has an iframe that links to pages on another site. the site would work as usuall in the iframe. the site when running directly works fine passing out all the session variables, but when working in the iframe the session variable loses out … | |
i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox … | |
Hi all I have simple PHP News publishing script and it has pagination system. This script also has an option to display only active news which activated by admin. it displays one big picture at the center and four little picture at the right side. but it has little shortage. … | |
Hi All, Below are two files, one being the index page, and one being the functions page. My problem is when i use a function it just gives me a blank screen. The echo at the top of the index page is simply a sanity check. Do i have an … |
The End.