52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for amishraa

Slight problem when embedding HTML inside PHP. Problem #1 logon php page contains the form for user to login. With successful login, it brings up the user to the resume page. In order to maintain the uniform design throughout all the pages on the site, the logon page contains the …

Web Development html-css php
Member Avatar for amishraa
0
223
Member Avatar for michael1999

Hi i have multilang website when you entered homepage default site if you are from polonia it redirect to you polonia page this script works perfect but the problem is if you are trying to see [url]www.server.com[/url] instead server.pl and if you are from polonia you not able see because …

Web Development php
Member Avatar for michael1999
0
103
Member Avatar for nasablast

This is currently the code I am using: [CODE]<?php //connect to database include 'global.php'; $case = date(ymdHis); //get form data $p1_firstname = addslashes(strip_tags($_POST['p1_firstname'])); $p1_lastname = addslashes(strip_tags($_POST['p1_lastname'])); $p2_firstname = addslashes(strip_tags($_POST['p2_firstname'])); $p2_lastname = addslashes(strip_tags($_POST['p2_lastname'])); $p3_firstname = addslashes(strip_tags($_POST['p3_firstname'])); $p3_lastname = addslashes(strip_tags($_POST['p3_lastname'])); $city = addslashes(strip_tags($_POST['city'])); //register into database $register_case = mysql_query ("INSERT INTO cases …

Web Development php
Member Avatar for brewbuff
0
82
Member Avatar for niths

hi all, i am doing a website where the client can upload images.. and for storing that images i am using this amazons3. so now i am in a confusion, like how to give path to store in amazons3.. can anyone suggest me.. Thank you.

Web Development asp.net
Member Avatar for itknowledge_now
0
88
Member Avatar for PeterWaij

I hope somone can help me. I made a page and used jquery for a popup page. In the popup page i have 15 images. I want the user to select a image and once the image is clicked it must be displayed on the main page. I have tried …

Member Avatar for JCWD
0
124
Member Avatar for kkjay

Hi Guys. Still learning PHP and I have been trying for the last few hours to display thumbnails from a database unsuccessfully. I would like them to be in the format: image1 image2 image3 image4 image5 image6 image7 image8 image9 etc. regardless of the number of rows returned. My sql …

Web Development php
Member Avatar for kkjay
0
817
Member Avatar for mushget
Member Avatar for pritaeas
0
85
Member Avatar for anita_86

Hi! I am trying to find a hint about Hierarchical login panel in PHP which authenticates the login user and gives rights as per his position in hierarchy like follows: [QUOTE] Administrator-> Manager -> Business Developer | Programmer -> Marketing Executive [/QUOTE] Where login rights are descending as per user …

Web Development php
Member Avatar for pritaeas
0
67
Member Avatar for ryathegr8

hi this is my code for forget password module..... i dont know why its not working....:(( i have attached the snapshot as well.... plz help me.... error is while updating..... [code] string strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new SqlConnection(strCon); objcon.Open(); string str1 = "'"+txt_EmpFP_Uname.Text+"'"; string str2 = "'" + …

Web Development asp.net dataset
Member Avatar for kvprajapati
0
71
Member Avatar for borillion

Im trying to implement JCarousel in my site and have some confusion about what to do, two files, one called similar_products_stack which contains the query: [CODE]<?php $similar_items = array(); $category_in_now = zen_get_products_category_id($_GET['products_id']); for($i=0;$i<4;$i++) { $products_query_raw = "SELECT p.products_id, p.products_type, pd.products_name, p.products_image, p.products_price, p.products_model, p.manufacturers_id, p.master_categories_id FROM " . TABLE_PRODUCTS . …

Web Development javascript javascript-jquery php
Member Avatar for Airshow
0
163
Member Avatar for anita_86

Hi!, I have a contacts table in MySQL and I want output in a select menu. Problem is, some rows dont have any record in it, and it is displayed in very odd way as it outputs blank fields and some data in between. My overall code is: [CODE]<?PHP $query=mysql_query("SELECT …

Web Development mysql php
Member Avatar for pritaeas
0
120
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......

Web Development php
Member Avatar for bbinais
0
467
Member Avatar for dips255

I am facing a problem on setting up some cookies with asp on IE6 and IE7 I need to set following cookies when user logs in to his account. Response.Cookies("crmadmin_login_id") = session("login_id") Response.Cookies("crmadmin_cuser_id") = rsbrokercrm("cuser_id") crmuserlevel = cint(rsbrokercrm("cuser_level")) Response.Cookies("crmadmin_level") = crmuserlevel Response.Cookies("cid") = rsbrokercrm("c_id") Response.Cookies("company_name") = rsbrokercrm("Company_Name") When I comment …

Web Development asp session
Member Avatar for ArtistScope
0
113
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 …

Web Development apache php php-codeigniter
Member Avatar for sunny124
0
260
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 …

Web Development html-css php
Member Avatar for bbinais
0
4K
Member Avatar for shailaja mohite

hi i had create classic asp one application in which send emails using smtp server using my domain name but it display error("transport of connect to the server failed") how to send emails..

Web Development asp email
Member Avatar for ArtistScope
0
285
Member Avatar for Disloxic2

Hi Guys, I need the following code to allow all common image formats, not just .jpgs, as I now need to display animated .gif images, as well as .jpgs. How could this be done? Many thanks, Dave ps: the code below uses a loop to count through the 7 images, …

Web Development image javascript
Member Avatar for Disloxic2
0
101
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> …

Web Development php session
Member Avatar for zlloyd1
0
158
Member Avatar for tarwara

I have used mailing in asp on local host which worked fine but The prob has occurred when i hosted the pages the error message is: Failure sending mail. and the code i am using: [code] Dim message As New MailMessage message.From = New MailAddress("xxx@gmail.com") message.To.Add(New MailAddress("xxx@yahoo.com")) message.Subject = test …

Web Development asp asp.net visual-basic
Member Avatar for jugosoft
0
978
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 …

Web Development mysql php session
Member Avatar for paulrajj
0
179
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 …

Web Development display php
Member Avatar for nasablast
0
113
Member Avatar for kloupe

I would like to implement the Galleon Forum on my website but my hosting company does not allow createObject tag. If someone has converted the Galleon coldfusion forum to use on goaddy hosting please let me know how. Can someone please let me know how to convert this statement to …

Web Development coldfusion
Member Avatar for arrgh
0
258
Member Avatar for ALFA-FOXTROT

My code doesn't really matter, it sends and retrieves the correct info, but the question persists... How can I verify if the action after my $.ajax call is done and if not perform until done? Sometimes it performs the action sometimes it doesn't, it loops the request in this case …

Web Development javascript
Member Avatar for Airshow
0
181
Member Avatar for montherz

[B]Hi i am reciving XML File and trying to send a rspone to it my code is:[/B] [CODE] string sProcess = ""; XmlDocument objXML = new XmlDocument(); DateTime NowD = DateTime.Now; String DateD = NowD.ToString("yyyy-MM-ddThhmmss"); try { sProcess = "Load XML"; objXML.Load(Page.Request.InputStream); objXML.Save(@"D:\Payment-" + DateD + ".xml"); objXML.Load(Request.InputStream); XmlNode rootNode …

Web Development asp xml
Member Avatar for William Walseth
0
177
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>"; …

Web Development php
Member Avatar for chrishea
0
387
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 …

Web Development php
Member Avatar for Sorcher
0
92
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]

Web Development php
Member Avatar for chrishea
0
161
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 …

Web Development mysql php
Member Avatar for bjeffries
0
93
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

Web Development php
Member Avatar for stephen_UK
0
80
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 ..

Web Development api php
Member Avatar for Shankye
0
110
Member Avatar for croker10

Hi All, I am trying to output an excel workbook that I created else where in the program through a Response.Write() call. The issue I am having is that when I call the Response.Write(); it shows the download dialog for the excel file which it is supposed, but when opened, …

Web Development asp.net microsoft-office
Member Avatar for croker10
0
689
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 …

Web Development php
Member Avatar for Moderns
0
106
Member Avatar for nithyavelumani

How can i make a save file as option in Ajax response? This response returns files in 3 different formats. I have to ask User to save file as in thet format. (Hope i have to open some Save file prompt) Can anybody tell me? Thanks

Web Development javascript
Member Avatar for Airshow
0
130
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 …

Web Development cms first-post javascript php
Member Avatar for rolfhorror
0
221
Member Avatar for soft_coder

Hi! I am a developer. I am using jquery to create a modal dialog. I am using the following code snippets. Please tell what is going wrong: [CODE]<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.7.custom.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.min.1.4.js"></script> <script type="text/javascript" src="jquery-ui.min.1.8.js"></script> <script type="text/javascript" src="jquery.min.1.3.2.js"></script> <script type="text/javascript" src="jquery-ui.min.1.7.2.js"></script> [/CODE] [CODE]$(document).ready(function () …

Member Avatar for soft_coder
0
152
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 …

Web Development php
Member Avatar for Borzoi
0
217
Member Avatar for 3vilwyatt

Hey guys, I am doing a very simple POC regarding Instant Messaging using Struts. So I was able to do login and sending message. However, I am confused on how I can get the messages display to my POC if the other person is replying. The idea that I am …

Web Development api javascript
Member Avatar for Airshow
0
282
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 …

Web Development php
Member Avatar for zlloyd1
0
138
Member Avatar for Saikumar Adep

how to connect to The sql server 2005 express edition give me webconfig file with connection string to connect send me the complete file so that i'll try to understand the whole connection to the database thanking u

Web Development asp asp.net
Member Avatar for Saikumar Adep
0
93
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 …

Web Development html-css php
Member Avatar for zlloyd1
0
149
Member Avatar for jamesw

Hi, I'm fairly new to ASP.NET with C# and I have created a GridView with a Checkbox template field which displays files in a directory on the server. I am wanting to use DotNetZip to allow the user to download selected files as a single zip file. Below is the …

Web Development asp.net file-system
Member Avatar for kvprajapati
0
1K
Member Avatar for prasath03

Hi, I need a JavaScript Validation for Dynamic Drop Down Box when clicking the submit button. But the drop down box attribute name and id should be same for all drop down boxes. I tried below code but its not succeeded, its work well when there are multiple drop down …

Web Development javascript
Member Avatar for Airshow
0
239
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 …

Web Development php
Member Avatar for bjeffries
0
142
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 …

Web Development php
Member Avatar for diafol
0
197
Member Avatar for bt.mehta
Member Avatar for CIPL
0
80
Member Avatar for Rohlik

Hi guys, I have a problem with this rule in .htaccess [ICODE]#RewriteRule ^(.*).xml $1.php?%{QUERY_STRING}[/ICODE] I need this rule transfer to Lighttpd web-server system. Very big thanks.

Web Development apache web-server xml
Member Avatar for pritaeas
0
137
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 …

Web Development http-protocol php session
Member Avatar for Fbody
0
193
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 …

Web Development perl php
Member Avatar for chrishea
0
1K
Member Avatar for melek@2011

I have a page that displays all movie of various cat. and i designed it to help people in my community click any old movie want to watch and it will send it through a URL parameter to the view video page. So any movie clicked is filtered on the …

Web Development coldfusion data-structure mysql
Member Avatar for arrgh
0
321
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.

Web Development php
Member Avatar for edussooriya
0
380

The End.