39,320 Topics
| |
I have a drop down menu on a remote page whose source i can only view/copy but cannot edit it , so i am attempting to reconstruct the page from the source code of the currently existing one. I want to select all options from the menu when so i … | |
Hi all, i have a problem when my system is not workable if running on the server, but at local host it run as usual without error.. when i want to insert the data it show "Data Not Inserted". Why it happen? | |
Hi, I am using query string in my page. It is working fine for only characters for example [B]javascript[/B] showing all the post related to javascript if i use [B]Html & css[/B]its not working. Query not execute because of & symbol. any solution | |
Ok so what I though should be pretty easy has got me going crazy. I cannot figure out a conditional statement to get this to work the way I need it to. This is my first page index.html which is a form and will post to the next page below … | |
Hi, what is the best replacement for session_is_registered? Here is my code Main Page [CODE=PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <? session_start(); if(!session_is_registered(myusername)){ header("location:index.php"); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>C&C-Relived Control Panel</title> </head> <body> <span>Login Successful</span> <form name="form1" method="post" action="logout.php"> <input type="submit" name="Submit" … | |
I have an option to take an independent study next semester related to websites. I basically teach myself a programming language of my choice for the semester, and do a project for my professor at the end. He suggested either advanced java or php. I asked him which would help … | |
Hey everyone, I'm sorry for re-opening this again but I have a log in script that someone gave me on here and it works on my local server..but when I upload it to godaddy..it doesn't work right..it keeps saying my user info isn't correct when It clearly is..and It's connected … | |
Hey everyone, so I have a change password form and script to go with it..but when I change the password to letters, symbols such as (#$%$) and numbers, it still tells me my input information is incorrect whether it be username, old password or new password...why is this? here is … | |
I've written a moderately-sized Web application that utilizes MySQL and PHP5. I have an on-going problem where Microsoft Internet Explorer 6 (IE6) and Microsoft Internet Explorer 7 (IE7) lose the PHP Session ID cookie (PHPSESSID). Of course, when this happens, the application loses track of the current user and the … | |
I am trying to display an alert box using javascript in my login php file. When a user logged in using a wrong username or password, then a messagebox will display. This is what i have so far: [CODE] $query="SELECT * FROM info WHERE username ='$user' && password ='$pass' "; … | |
Any idea what I did wrong? 'WHERE id =' at line 16 I am not sure why it says line 16 but I think it is talking a bout line 64. [CODE]<?php include 'resources/init.php'; if (isset ($_GET['id'])) { $q = "SELECT * FROM Client WHERE id = {$_GET['id']}"; $result = … | |
Hello everybody, I'm trying to make a simple page, build from several div's. I have a Header-div (yellow), a Navigation-div (green), a Content-div (pink), a Socialmedia-div (grey) and a Footer-div (red). All div's have a fixed height except for the content-div, I'd like this div to auto size itself. This … | |
I have a php wizard for an application that does the MySQL insert but it comes back with an error message, and I can't seem to figure out what. Any help is greatly appreciated. Insert Statement [CODE]CREATE TABLE `{dbprefix}permissions` ( `ID` bigint(20) unsigned zerofill NOT NULL AUTO_INCREMENT, `permKey` varchar(30) NOT … | |
I have a form which submits comments onto a page. When the comment is submitted I'm using jQuery to submit the variables and then return me a success message. I have also coded a way of reloading my <div> tag which contains a PHP include file, but I receive a … | |
Fatal error: Cannot make non static method JCacheStorage::test() static in class JCacheStorageCachelite in /home/cocomoto/public_html/libraries/joomla/cache/storage/cachelite.php on line 273 | |
| Dear, I am using following code to show php page in popup window <form name="myform" method="post" action="payhistory.php"> <input name="pay_his" type="submit" class="memberhistory" value="Payment history" onclick="myform.target='POPUPW'; POPUPW = window.open('about:blank','POPUPW','width=550,heig ht=400','scrollbars = yes','title= ' );" /> </form> // working good Now I want to use Php header location function instead of using form, … |
Hi.. Any one please tell me what is the method going on after this link : (download button) [url]http://www.cell93.com/angels/wallpapers/[/url] Please help me out... Here is a php file in server named “download.php” , I tried using too many php code to active download like this but each of every time, … | |
Hi guys, Working on a table. Each of the entries has an A or B in the 'tip' field. I order them by 'tip' how can i add a special row for the first entry of the A or B series from the query? I know it's not an IF … | |
Hi everyone, I need syntax for pageloadevent function,javascript or php | |
Let's say I have the letters... A,D, and G And O (It's special) How can PHP make all possible combinations with these words by using all or as little amount of letters as possible? (But special letters must be included in each scramble) For example PHP would go through those … | |
Hi I am trying to get the active state for my foreach loop for my magento site. I have have tried everything, but it just wont work.. here is my code: ksort($catArr); foreach($catArr as $postion=>$catId){ $_category = Mage::getModel("catalog/category")->load($catId); ?> <?php if($_category->getIsActive() ) { $caturl = $_category->getURL(); $catname = $_category->getName(); ?> … | |
I have an application that assigns room numbers to student when they are registered. If one person is using the software to register students it works perfectly but when multiple people are using the software through peer to peer network it sometimes give problems by assigning the same room number … | |
I used to have a major problem on my old hosting package where emails from my website to yahoo/bt just disappeared into the ether. I have since changed hosts and re-formated my mail scripts to use phpmailer SMTP and all generally appears to be working much better. However I seem … | |
Hello! What I'm trying to do is allow a user to create a database and tables by supplying the database and table names through text fields. It is pretty generic unsecure at this point but I'm just trying to learn it currently and I am the only one that is … | |
Hello, I need help on this, I know this is possible...I'm creating a time login page by entering a single code.. no username but just a code.... and so far I only can display the login members only directly called from sql table using php by using this code [CODE]<?php … | |
Okay, so instead of the ID's of each record showing up in the form that is dosplayed for the user, there are radio buttons. I want to create it as when the user clicks on one of the radio buttons, that record is selected. Then the user, clicks on the … | |
Hi, I'm trying to code a PHP page with a textfield, a button and one link, every time I click in the button the value is added(sum) to a variable and when I click the link I can see the value of this variable somewhere in the page. please help! … | |
[B]i have create a login page and registration how can i view table from database to php output and to change password.[/B] [B]heres my login.php[/B] [CODE]<?php session_start(); $username= $_POST['username']; $password= $_POST['password']; $password=md5($password); if($username&&$password) { $connect=mysql_connect("localhost","root","") or die("Coldn't connect"); mysql_select_db("phplogin") or die("Couldn't find db"); $query=mysql_query("SELECT * from users WHERE username='$username'"); $numrows=mysql_num_rows($query); … | |
can i check is there any wrong with this? it prompted me error in line 5 Parse error: syntax error, unexpected T_IF [CODE] <?php session_start() if (!(isset($_SESSION['email']) && $_SESSION['email'] != '')) { header ("Location: login.php"); } [/CODE] | |
I have a question for all you experts who have had similar experiences as me: Is there a solution for this malware on the site? An infection on the Linux server, where we're constantly in the Wordpress script generates files of type wb 5433712.php antimalware program is a malware called … |
The End.