39,320 Topics

Member Avatar for
Member Avatar for bbinais

i want the code for if user try to access the login screen for more than 3 times with invalid password then account should lock plzzzzzzzzzzzz......

Member Avatar for bbinais
0
457
Member Avatar for sunny124

Hi, I'm trying to insert data into array after I retrieve it from database but I keep getting this error message: 'Fatal error: Cannot use object of type stdClass as array in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\DeliciousCupcakes\system\application\models\cupcake.php on line 22' Please help me. The framework I'm using is codeigniter. DefaultDirectory.php file …

Member Avatar for sunny124
0
258
Member Avatar for bbinais

please help me.... i want a error message "invalid user name or password" when i input wrong username or password in the login page. i can do it in an another page .but i need the error message in the same loginpage like gmail(between username and password). this is my …

Member Avatar for bbinais
0
4K
Member Avatar for zlloyd1

I have a project I am near completing except I cannot properly test it because the array uses sessions and is full of useless data now. I have an HTML entry form that feeds data to this PHP script: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <title>Directory</title> …

Member Avatar for zlloyd1
0
155
Member Avatar for mbhanley

Can anyone tell me if I am going in the wright direction with this, or if there is a better way, I am trying to create a session check so that if logged in clients change the url id number example.com?id=192 it won't show other clients contents. Its the first …

Member Avatar for paulrajj
0
176
Member Avatar for nasablast

I have an input form in which the user fills in several fields. I want to display the contents of these fields on a page right after the user hits submit. I am not sure how to call the last entered record. Also, to further complicate the issue, there is …

Member Avatar for nasablast
0
111
Member Avatar for tcollins412

i am writing a forum and here is the code for the inserting the topics in the database[CODE]<?php include "dbconnect.php"; $tbl_name="forum_question"; // Table name $topic=$_POST['topic']; $detail=$_POST['detail']; $name=$_POST['name']; $email=$_POST['email']; $datetime=('d/m/y d:i:s'); $sql="INSERT INTO $tbl_name(topic, detail, name, email, datetime)VALUES('$topic', '$detail', '$name', '$email', '$datetime')"; $result=mysql_query($sql); if($result){ echo "Successful<BR>"; echo "<a href=main_forum.php>View your topic</a>"; …

Member Avatar for chrishea
0
360
Member Avatar for nyler01

Hey there php masters, Please help me in creating a script that will be able for a user to upload his/her photo and display it on the left side of the page.. like the profile photo in facebook. i dont need a photo gallery. just ask to upload a photo …

Member Avatar for Sorcher
0
89
Member Avatar for haloreachrankm

hey just wondering who do you guys use for your domain names and webhosting i was looking at namecheap for my domain and hostgator for hosting, there is also go daddy but i heard they can be a pain your feedback is appreciated thanks. [img]https://imageshackau.com/sports/113/b/happy.gif[/img][img]https://imageshackau.com/sports/114/b/happy.gif[/img][img]https://imageshackau.com/sports/122/b/happy.gif[/img] [img]https://imageshackau.com/sports/77/b/happy.gif[/img]

Member Avatar for chrishea
0
157
Member Avatar for bjeffries

I am getting this error, and dont know what I should do to fix this. Column 'uptime' in order clause is ambiguous uptime = date uploaded set to NOW My Query: $select = ("SELECT * FROM photo_album, video ORDER BY uptime DESC LIMIT 10"); Maybe I cannot call a query …

Member Avatar for bjeffries
0
89
Member Avatar for stephen_UK

Hi there I would be grateful if you could point me in the right direction with this issue please: Only PAGE 1 loads regardless of content of $choice. [CODE]if ($choice='yes') { ?><script>location.replace("http://~PAGE 1");</script> <?php } else { ?><script>location.replace("http://~PAGE 2");</script> <?php }[/CODE] Thanks in advance Stephen

Member Avatar for stephen_UK
0
76
Member Avatar for Shankye

Hey friends .. Can anyone give me idea on how to Create a button similar to like button of facebook .. I think they use complicated API n all .. I want it to be simple but useful .. Can anyone help me with this please ..

Member Avatar for Shankye
0
106
Member Avatar for himanshumishra

Please help me to write a PHP code for following . i have name , address , loanno (unique) , fup as fields in my database loandata. i want a screen in which i enter a loan number and it should search the loan no. in lonono and if data …

Member Avatar for himanshumishra
-1
321
Member Avatar for realnsleo

hi all .. i have developed an application in php and i want to start marketing it. the downside is i have put in alot of hard work into developing it. sleepless nights, tears, booze, and the last thing i woulf want is for some idiot to steal and manipulate …

Member Avatar for Moderns
0
103
Member Avatar for AliHurworth

Hi, can anyone help with formatting a date range query in MySQL? It's just a form to enter two dates, and a second page to run the query and show the output. The form looks like so: [CODE]<form id="getdate" action="tracking_result.php" method="post"> <table> <tr> <td> <input type="radio" value="single" checked="checked" name="type"/> </td> …

Member Avatar for AliHurworth
0
257
Member Avatar for rolfhorror

I have a page and a large form with many texareas (lot of text, I've made a cms system) and my form is kinda "heavy", I use some javascript to update it and then save/post form with php submit and $_POST variables and that bit. I have given this javascript …

Member Avatar for rolfhorror
0
219
Member Avatar for rime

The file is called test.php, It takes username and check if it is blank in the same page and show a message.. I wrote the code but its not working.. please help. test.php: <html> <form method="post" action="test.php"> User Name : <input name="UserName" type="text" id="UserName" value="User Name" size="20" maxlength="30" /> <input …

Member Avatar for Borzoi
0
208
Member Avatar for Joe34

Okay I have a php form builder. I have a preview of the form the user is building. When the user submits the form the html form is built and the html code is displayed inside a <textarea>. It's all fine but, if I put a text area tag inside …

Member Avatar for mahavir123
0
75
Member Avatar for MDanz

I want to loop the below code until $grade=80, is the code below correct [code]<?php include "grade.php"; $getgrade = new Grade(); // create an instance of the class(Grade) echo "<ul id='navigation'>"; for($grade=0;$grade<80;$grade+10){ $max = $grade+9; echo "<li><a href='#'>$grade-$max%</a> <ul><li>"; $getgrade->results($grade+9); echo "</li></ul> </li>"; } echo "</ul>"; ?>[/code] the page isn't …

Member Avatar for pritaeas
0
55
Member Avatar for zlloyd1

I have been trying to get this directory to add data into an associative array for an assignment I am working on but I keep getting useless results no matter what i try and so I thought I would check here for advice. This is the HTML form that is …

Member Avatar for zlloyd1
0
135
Member Avatar for opsryushi

Okay, I currently have IPB, and I really like it. It's quite powerful. But I like the way phpBB allows you to sort of export news articles to a front page before your forums, etc. So I'm thinking about switching. IPB vs. phpBB... Advantages, disadvantages of each? Which would you …

Member Avatar for shaniadavid
0
637
Member Avatar for zlloyd1

Hello, I am trying to create a directory of information to be stored in an associative array as strings and I have been having a problem figuring out how to get multiple entries into the array. My entry form (an HTML page) does work and collects the information and sends …

Member Avatar for zlloyd1
0
142
Member Avatar for bjeffries

I am trying to make the page title the same as the gallery title on my site. This is my method, but it doesnt work. on the page after I call the title from the database: [CODE]$pageTitle = $row['title']; //page title $page = array(); $page['title'] = 'Gallery - $pageTitle';[/CODE] Then …

Member Avatar for bjeffries
0
140
Member Avatar for tcollins412

Ok, so i have a log in and a register script. Today i put a md5() encoding mechanism on it so it encodes the password when it is sent to the database. Now, how do i encode all of the passwords that were already inside the database? if anybody could …

Member Avatar for diafol
0
192
Member Avatar for kevindougans

Hi there, Does anyone know of any systems or potential methods or hazards to implementing an access queue on a website. Basically we have a client whos a major fashion retailer doing a big sale and MAgento can't cope. I need to limit the amount of online users to 100 …

0
55
Member Avatar for bt.mehta
Member Avatar for TheIdiot

I have a project that I am working on where subscribers will receive an update via email containing links to notices. These notices can only be viewed by registered members, so in order to do that I have a login page and script. I am using [CODE]$ticket = clean($_GET['ticket']);[/CODE] to …

Member Avatar for Fbody
0
190
Member Avatar for nonshatter

Hi all, Does anyone know of any software/classes that can be used to generate images of network diagrams? We are using a tool called Graphviz using Perl at the moment but the diagrams are looking a little bit dated! The networks will be pretty small, consisting of 3 or 4 …

Member Avatar for chrishea
0
1K
Member Avatar for ditty

i have a long string which contains a url. I want to extract that url from that particular string. Please help me.

Member Avatar for edussooriya
0
378
Member Avatar for Mrki77

Hi everybody, I have a specific problem, and cant get over it. For my latest project I need a simple PHP script that display an image according to its ID sent through URL. Here's the code: [CODE]header("Content-type: image/jpeg"); $img = $_GET["img"]; echo file_get_contents("http://www.somesite.com/images/$img");[/CODE] The problem is that the image doesn't …

Member Avatar for karteek.vemula
0
1K

The End.