39,320 Topics

Member Avatar for
Member Avatar for IanArcher

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 …

Member Avatar for diafol
0
146
Member Avatar for HasNor

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?

Member Avatar for HasNor
0
95
Member Avatar for jacob21

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

Member Avatar for pritaeas
0
65
Member Avatar for KJThaDon

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 …

Member Avatar for pritaeas
0
94
Member Avatar for Commando112

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&amp;C-Relived Control Panel</title> </head> <body> <span>Login Successful</span> <form name="form1" method="post" action="logout.php"> <input type="submit" name="Submit" …

Member Avatar for edwinhermann
0
101
Member Avatar for bo0ga

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 …

Member Avatar for Mehmaan
0
300
Member Avatar for geneh23

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 …

Member Avatar for Graphix
0
173
Member Avatar for geneh23

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 …

Member Avatar for geneh23
0
167
Member Avatar for brob5000

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 …

Member Avatar for Trevor Mills
0
1K
Member Avatar for abelingaw

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' "; …

Member Avatar for asprin
0
181
Member Avatar for ARKaMAN

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 = …

Member Avatar for NinjaMediaD
0
366
Member Avatar for Karrashin

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 …

Member Avatar for asprin
0
229
Member Avatar for joshmac

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 …

Member Avatar for joshmac
0
171
Member Avatar for Cuchara2

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 …

Member Avatar for Cuchara2
0
257
Member Avatar for josephkn

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

Member Avatar for pritaeas
0
43
Member Avatar for harintfs

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, …

Member Avatar for pritaeas
0
548
Member Avatar for subrataa

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, …

Member Avatar for subrataa
0
151
Member Avatar for Szabi Zsoldos

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 …

Member Avatar for Szabi Zsoldos
0
132
Member Avatar for vijayram
Member Avatar for pzuurveen
0
54
Member Avatar for Joe34

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 …

Member Avatar for pritaeas
0
2K
Member Avatar for andy106

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(); ?> …

0
134
Member Avatar for adolf23

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 …

Member Avatar for adolf23
0
87
Member Avatar for simplypixie

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 …

Member Avatar for simplypixie
0
203
Member Avatar for c++learner

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 …

Member Avatar for c++learner
0
162
Member Avatar for trektrak

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 …

0
67
Member Avatar for TheDumbNerd

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 …

Member Avatar for TheDumbNerd
0
340
Member Avatar for thumbcop

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! …

Member Avatar for thumbcop
0
116
Member Avatar for ceteris

[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); …

Member Avatar for diafol
0
166
Member Avatar for issaru07

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]

Member Avatar for issaru07
0
207
Member Avatar for swebdizajn

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 …

Member Avatar for Habitual
0
1K

The End.