39,320 Topics

Member Avatar for
Member Avatar for abhisriv
Member Avatar for thomasbe

Hi everybody I need a help. codes below are written by someone else. I have a mysql database, html form to login to this database: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>1</title> </head> <body> <h4>Please provide correct username and password:</h4> <form enctype="multipart/form-data" action="login.php" method="post"> Login: <input …

Member Avatar for thomasbe
0
118
Member Avatar for Tenaciousmug

Ok, I have all my functions working along with the real_escape_string(). Now I just need to find out WHY the password check isn't working properly. Whenever I try to login with the username: Dyl and the password it was signed up with, it says "Dyl is an existing username, but …

Member Avatar for ppetree
0
134
Member Avatar for baudday

Attached is a picture of the database layout I'm talking about. I would like to list out all the shirts in the database along with which categories they are in, and which textures and colors they come in. These are all many to many relationships, and hence the linking tables. …

Member Avatar for ppetree
0
124
Member Avatar for ppetree

I want to do an old C/C++ trick where I can conditionally define a function. for instance I want to conditionally output a string (debugging) so I can have some outputstring() interspersed in my code. Instead of adding/removing these during development, I want to turn them on/off. Is there a …

Member Avatar for ppetree
0
135
Member Avatar for mobo57

Brain going mushy, please help! My code: [CODE]$reguser = $_COOKIE['ID_my_site']; function curPageName() { return substr($_SERVER["SCRIPT_NAME"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); } $currentpage = curPageName(); echo "$currentpage";[/CODE] Connect to the db then: [CODE]$query = ("SELECT rstextresume FROM scuserspro WHERE profilemng = '$currentpage'")or die(mysql_error()); $result = mysql_query($query); if($result == false) { user_error("Query failed: " . mysql_error() . …

Member Avatar for mobo57
0
72
Member Avatar for nonshatter

hey guys, I'm trying to simply use the mail function. I'm using ubuntu 8.10 and have installed sendmail. My php.ini config is: [CODE]; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i[/CODE] and for testing purposes my php is: [CODE]$to = …

Member Avatar for nileshgr
0
72
Member Avatar for Erco21

Hi! I have txt file containing something like: User1 123434 User2 435345 User3 234234 User3 234924 Now, i need to delete one user from that txt file, along with number that is after the user so lets say that i entered in delete form: User1 , then i would like …

Member Avatar for chrishea
0
105
Member Avatar for anuraggautam77
Member Avatar for chrishea
0
41
Member Avatar for Trekker182

Hello everyone, I'm in the process of learning php in a class and had a quick question for one of my assignments. I am uploading a file to a server which the user can name the directory. However, after they upload the file, I have to give them the option …

Member Avatar for chrishea
0
89
Member Avatar for BTW8892

Hello, I am trying to link up a certain row i am outputting on a site. How would i go about putting multiple lines inside of one echo statement. [code=php]echo "<a href='profile.php?player_id=>'".$row['gamertag']."</a>";[/code] That is the current code i am using, but it is now, working, any idea on how to …

Member Avatar for Will Gresham
0
62
Member Avatar for gazzy1

How can i create a php file that export my selected mysql database to a execel or csv form i have my own database named as "users" that have 10 tables i want to php file that export my "users" databse to ms excel and which when run on the …

Member Avatar for diafol
0
63
Member Avatar for wesleysoccer

Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 314 This is what I'm getting in my wordpress login screen...can't login to …

Member Avatar for Manuz
0
206
Member Avatar for shanthi.juturu

hi, I have used Ajax validation for my form, in my form there are two radio buttons both has separate fields and my requirement is to validate only the selected radio button fields but its validating for both radio buttons, can u please suggest what to do?

Member Avatar for Manuz
0
44
Member Avatar for therest

Hi! I try to write my thumbnail creator script, no trouble with image load, resize cut, watermark, etc, but memory handling! File is submitted by simple file form. [CODE]function makeLog($logthis) // this is only for tracking mem usage { $handler=fopen("log.txt","a"); fwrite($handler,$logthis . " \r\n"); fclose($handler); } function handleImgUpload() { $fTName=$_FILES["Filedata"]["tmp_name"]; …

Member Avatar for therest
0
214
Member Avatar for ayesha789

Hi this is my Form , when User fill form and by mistake he click on back button. I want when he open it next time all values be there, so he cant type again [CODE]<form name="form1" method="post" action="checklogin.php"> <input name="myusername" type="text" value="Enter Your Username"onfocus="this.value=''" /> <input name="mypassword" type="password" id="mypassword" …

Member Avatar for F-3000
0
147
Member Avatar for flynismo

Hi everyone, I am having a lot of trouble with this... I am using PHP/MySQL. What I have is a dating website. One of the tables in the database is called "users" which has many fields in it, storing the usual info (id, name, email, etc). What I want to …

Member Avatar for flynismo
0
114
Member Avatar for Darkwolf33984

I am working on a Joomla Website and Have Installed Jomsocial however I keep getting some syntax errors. The files and folders are exactly where they are supposed to be I believe its just the code and I cant see it. below is where my errors are said to be... …

Member Avatar for EvolutionFallen
0
80
Member Avatar for chr.s

Hi First of all, I apologise if I'm not posting in the correct place - I'll gladly ask elsewhere if deemed necessary. I've got a reasonable amount of experience with HTML and CSS and so far have only ever built websites that I know I'll be maintaining. So although updates …

Member Avatar for F-3000
0
143
Member Avatar for zia zia

Hi Guys... I'm making a form with the ability to delete users. But don't know how to do it... My form structure.. users.php ---- Lists a user with options like edit user / delete user. (His details are displayed from database on my html page in a table.) For delete …

Member Avatar for therest
0
1K
Member Avatar for mmsiva
Member Avatar for chrishea
0
25
Member Avatar for muralibobby2015

hello.... i am fully confussing with this problem. i have to display sorting order from my table. i have table like this. [CODE]auto_id,firstname,passportno(int).[/CODE] now i am displaying [CODE]order by passportno[/CODE] but here i saw very funny issue. i have passport nos like this.....[CODE]077,100,099,088,101,1000.[/CODE] now after executing the query [CODE]"SELECT * …

Member Avatar for EvolutionFallen
0
93
Member Avatar for reviloera
Member Avatar for chrishea
0
70
Member Avatar for zia zia

I just want to know if this is the correct syntax for updating data in the database. [CODE]<?php $user_id = $_GET['user_Id']; $qry = mysql_query("SELECT win_id,win_net_drives,win_asset_no,win_new_pc,win_requirements,win_uid FROM windows_application WHERE win_uid = '".$user_id."'"); $db = mysql_fetch_array($qry); if($_GET['process'] == 1){ $drives = $_POST['network_drive']; $asset = $_POST['win_asset_no']; $newpc = $_POST['new_pc']; $winreq = $_POST['win_requirements']; $qry …

Member Avatar for rajarajan2017
0
155
Member Avatar for ayesha789

Hi, this is my option value. June is my Default selected Value, but there is a small issue. When Users select any month like January-2010, when he/she click on submit button. Page will show again June in Option. But I want which the user selects. [CODE=php]<td> <label>Billing Month <span class="small">Like …

Member Avatar for rajarajan2017
0
132
Member Avatar for tulipputih

Hi everybody, I would like to have functionalities & interface like this [url]http://www.bluenile.co.uk/diamond-search?filter_id=0&track=head[/url]. Currently, the search result and checkbox are presented as in the above example. However, I am not sure of where should we keep the checked value to have something like in the bottom. ( all selected record …

Member Avatar for tulipputih
0
264
Member Avatar for healthbasics

Can anyone tell me what the best option for getting the dynamic title AND dynamic meta description on my particular site setup would be? I have an index.php but all of the individual page content is stored in a subdirectory called \html\ it's stored as .html files and is called …

Member Avatar for vibhaJ
0
76
Member Avatar for ayesha789

This code is about months and year options. When you change the months or Year and press Submit button it will show selected month and year which you sleclet. This will be helpful for you all.

0
130
Member Avatar for dan1992

i have done a login form but its giving error :9 can somwan help me[B] index.php[/B] [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <title>Login Panel</title> </head> <body> <form action="login.php" method="POST"> Username : <input type="text" name="username" > Password : <input type="text" name="password" > <input …

Member Avatar for dan1992
0
170
Member Avatar for teddy99

Hi all, Here's my first post. I have a problem which I've worked on for a while now. I'm new to php, html, scripts, but I'm a very quick learner and have worked in IT for years, so hopefully someone can point me towards what I need to do/learn to …

Member Avatar for pzuurveen
0
103

The End.