52,566 Archived Topics
Remove Filter ![]() | |
Hey all, I would really appreciate it if you can help me with this problem. The basic idea, read all the files in a folder, and print them as links to each file. Which does work. But now, after it gets out of the foreach loop, I need it to … Web Development php | |
hi every body i build login page in visual web developer using vb with standard create user control which have username,password,email,security question and its answer the question is how to customize create user control so i need only from it email and password without security qustion and security answer and … Web Development asp.net | |
hello every one. i new in this stuff and i have a question. i put imagemap in my website and i want to use the hotpoints to popup new window. i add this thing: [CODE] <body style="direction: rtl"> <form id="form1" runat="server"> <div> <asp:ImageMap ID="ImageMap1" runat="server" Height="376px" ImageUrl="~/7777.png" Width="559px" EnableTheming="True" onclick="ImageMap1_Click"> … | |
theres nothgin wrong with my ajax, it works and is sending other variables but whe i want to send "pood" from [CODE]function farmers(pood, happy)[/CODE] i twill not work. now when i call the function it goes like this [CODE]onclick="farmers('pisslet', 'popcocky')"[/CODE] now it will not send PISSLET, what do i do? … Web Development javascript | |
I purchased a template for the sole purpose as it had a page I need for my business and website to request information for customer quotes and I have everything figured out EXCEPT for the checkbox part of it. I have no idea what to do and have spent the … Web Development php | |
Wow, I have no clue what I'm doing.. I'm trying to make a random game and if you roll a 6, you will win 500 rp and I'm trying to insert the 500 rp into the user who is logged in ($_SESSION['username'). But I... just don't know where to begin. … Web Development php | |
Sorry very very new to php , obviously my code below is wrong. What should the code be? [code=php]$result = mysql_query("SELECT * FROM TEST Where Name LIKE 'Smith%'") or die(mysql_error()); // Print out result while($row = mysql_fetch_array($result)){ echo "There are ". $row['COUNT(Surname)'] ."; }[/code] Thanks If anyone can help Web Development php | |
Hey there everybody! Me and a couple of others are currently making a CMS but we got a problem :( Here is the code: [code=php] function ImportSQL() { $conn = mysql_connect($_POST['host'] . ":" . $_POST['port'], $_POST['user'], $_POST['pass']); mysql_select_db($_POST['vision_db'], $conn); $db_content = @file_get_contents("../sql/Database.sql"); $query = mysql_query($db_content); if(!$query){ return mysql_error(); }else{ return … | |
ex: If user=1 send to user1.php page or if user=2 send to user2.php. else redirect to user page login page. Web Development php ![]() | |
I have a page I am putting together that has a drop down box, and allows me to choose an item from the drop down, and then it queries the database matching from the drop down to a table field and then grabs all database entries that match. That part … | |
hi want to learn javascript and i'm using ubuntu 9.04.i have google chrome and fire fox with enabled javascript. All things are good but when i write a js file and open it in browser but nothing happening html code loads but js not any hint why . Web Development javascript ubuntu | |
[code] <script language="Javascript"> window.onresize = function (){ alert("Thanks for resizing!"); } </script> [/code] Is there any reason this gets sent twice to IE? Is there anyway I can make it so it will wait until the user is done resizing before it sends it(IE problem)? Web Development javascript | |
Hello, I am wondering, is there any way to create a form inside of a php page? If so, how? thanks, -l. Web Development php | |
I created a php script: [ICODE]#!/usr/local/bin/php <html><head><title>PHP Test</title></head> <body> <?php print( "Hello World<br />"); ?> </body></html> [/ICODE] created an htacces file [ICODE]AddHandler cgi-script .php DirectoryIndex index.html index.php [/ICODE] changed the permission [ICODE]chmod 711 hello.php chmod 644 htaccess [/ICODE] This does not work: [url]http://xyz/~username/hello.php[/url] By making the hello.php to hello.txt the … Web Development php | |
i have a crystal report and now with using crystal report viewver want to display it on page .. I want to display the crystal report when the page is loaded .. so i have placed a crystal report viewver in the page and wants to put some codes in … Web Development asp.net | |
Here is the code that counts all the image files from a group of folders in the binary folder. The problem is that when it counts the file, if i have 1 file in the first folder(88x31) and another one in a second folder (120x60) it will count 3 instead … Web Development php | |
Hello, [LIST] [*]I want to protect my external javascript(and css also) from outside people, who steal my javascript. [/LIST] [LIST] [*]but this is impossible using client-side language. [/LIST] [LIST] [*]so can anyone tell me a method to [B]hide external javascript(and css) by using sever-side language???[/B] [/LIST] thank you Web Development javascript php | |
I need to create a file to use as a template in coldfusion, so I need to insert cold fusion code to a sql database table using cold fusion or create a file with cffile? Every thing I try to use,it doesn't work because I think it is reading the … Web Development coldfusion session | |
Hi there, I solve a problem with append the values into the value atribute of input. If I click on some html element, I need this text of element put into the input as its value. The problem is that I don't know, how to put several values into the … Web Development javascript | |
Hi, I'm getting trouble while implement the code of image rollovers. Please find the below code. [CODE] <a href="http://www.quackit.com/javascript/image_rollovers.cfm" onMouseOver="/pix/smile.gif" onMouseOut="/pix/nosmile.gif"> <img src="/pix/nosmile.gif" width="100" height="100" border="0" name="jack"> </a> [/CODE] My actual intention was image rollovers by using the onMouseover event handler to swap the first image with the second image. … Web Development image javascript | |
i have write a javascript code in dreamweaver mx 2004 : here is the screenshoot of my page : [IMG]http://i576.photobucket.com/albums/ss210/aripurwahyudi/albumin-correction-formula-view.jpg[/IMG] Summary for the picture is : input in : Body weight, actual albumin, target albumin, is a number : decimal and or absolute number i need this tabel work if … Web Development html-css javascript | |
I am new to PHP so please explain to me like you would to a child ^_^. I am trying to write a simple php script and keep getting this error: Parse error: syntax error, unexpected T_STRING in /home/alertsfortraders/www.addictedtotrading.com/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 14 [code=php] <?php $wpusername = $_POST['wpusername']; … Web Development php ![]() | |
Hi everyone. I am trying to figure out if it's possible to write a PHP or JavaScript that changes the background image every time the browser refresh button (or F5) is pressed. I haven't seen it done this way, however I have seen it done for banners and other images. … | |
Hi, can you pl help me on the submission of a form when submit button clicked the form content have to send as a mail. Web Development php | |
![]() | Hey everyone I'm new to php and I was wondering what does the * mean in php? I tried to search for it on google but it searches for anything if I put in a * Is that what it means in php? anything? Web Development php ![]() |
Below are the codes for viewing the database and updating the database.... There are some errors which i m not understanding and i am confused... Please help me out Code for viewing the database is below. [[CODE]<html> <body> <?php $con = mysql_connect("localhost","root","manish"); if (!$con) { die('Could not connect: ' . … Web Development php | |
I have adauga_tablou_db.php who contain this php script: [CODE]<html> <head> <link rel="stylesheet" href="/style/MYSTYLE.CSS" type="text/css"> <meta name="verify-v1" content="52vQ/BcSvsm6MlAsynpikrmlr2b9x0Q5Xam38QWYKcc=" > </head> <body> <table bgcolor="#ffffff" width="100%" height="100%" align="center" border="0"><tbody valign="top"><tr><td width="100%" height="100%" align="center"> <form name="formular" action="adauga_tablou_db.php" method="POST"><table><tbody valign="top"><tr><td><p>Nume tablou</p></td><td><input type="text" name="nume_tablou" /></td><td></tr> <tr><td><p>Numar inregistrari</p></td><td><input type="text" name="numar_inregistrari" /></td><td></tr> <tr><td></td><td><input type="submit" name="adauga_tablou" value="Adaugă"/><input type="reset" name="reset" … | |
using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.OracleClient; public partial class _Default : System.Web.UI.Page { OracleConnection objConn; OracleCommand objCmd; String strSQL; protected void Page_Load(object sender, EventArgs e) { String strConnString; strConnString = "Data Source=pcrm195;User Id=wllnew;Password=wllnew;"; objConn = new … Web Development asp.net open-source | |
i have write a html code in dreamweaver i just make built in table in a form, by 4 coloumn and 2 row 1st row for the titling of part in row below each coloumn of second row containing 3-4 radio button that each radio button representation a value number … Web Development php | |
I am looking for away to Generate Name a from Text Document on Server. Example would be: If I save a text document in the server like at [url]www.example.com/txt/names.txt[/url] How would I be able to generate 1 name at random? Web Development php | |
When members upload a picture to their profiles if the extension is .jpg, or .png everything is fine; however, if the extension is all uppercase .JPG or .PNG, the photo still uploads but doesn’t display. What could be causing this? I’ve pasted some code below but I’m not sure if … | |
hello pls somebody help me with this,i am trying to use a session to insert in to the database a user_id of a user who is posting a topic in to the topic table to act as a foreign key in the topic table. but i kept getting 0 in … | |
I've just launced a site and members sign up and create profile pages. We are discovering if they type the "&" symbol and/or other symbols like "<" it results in a catchable fatel error when you try to go to that members profile page. Please Help! Web Development php | |
Firstly I would like to thank all of the members of the forums, as I find their assistance invaluable and have helped me indirectly by providing answers to other peoples questions that were similar to my own, however I am currently stuck on the following issue. I know there are … Web Development javascript | |
Hi I can't get my toggle button to work so once again I'm here hoping for some good soul to help me. Below is my jQuery code. I have 2 css clasess 1st is play with a referenace to jpg play and the 2nd one has reference to pause.jpg. All … Web Development html-css javascript javascript-jquery | |
hi all, i had a php page which contains a list of images in a table. When i click on submit button i those values should be inserted into database. I need this by using ajax. I had tried something but i am not getting values inserted into database. so … Web Development php | |
We have three different accounts on our website that members can sign up to but one login page. How can I set it up so when a user logs in they are taken to the correct account based off their user id? Right now when someone logs in they are … | |
Hi, I need help passing variables in php. I have an html page describing a job with an id number(jobdescription.html). -when the user clicks on a submit button, I want to open another html page (jobsubmit.html) with a form and have the job id autofill into a form field named … Web Development php | |
Hi, I have a small question. I am developing a php code and it has nested if else statements and it has like 7-8 nested if and else statements. I am looking to reduce the nested if else to reduce the complexity of understanding the code. Is there a better … Web Development php | |
I have a block of code from a prototype.js (ajax code) sample and I want to modify it in order to isolate a piece of the code to make it more maintainable: The original code looks like this ([COLOR="red"]red[/COLOR] is what I want to move):[CODE] function dofill( ) { new … Web Development javascript | |
Hi everyone, So i have the following code which is used so i don't have to have .php at the end of my files and also more importantly to view members profiles by having there username after my domain. Unfortunately if the user has a space in their name you … | |
Hi There I may be asking a question about something that is not do-able, but, here's my question Does anyone know if it is possible to let a visitor to my website upload a file to my server, without using the normal form file upload? maybe upload with ftp. I … Web Development file-system flash php | |
Hello everyone, I am doing a login form in ExtJS + PHP, but it does not work. (authentication failed each time) . Here's the code: ExtJS part: [CODE] <script type=text/javascript> Ext.onReady(function() { Ext.QuickTips.init(); var loginForm = new Ext.FormPanel({ url: 'login.php', title: 'Login to goodTalk', frame:true, bodyStyle:'padding:5px 5px 0', width: 252, … Web Development javascript php | |
Hi all, I'm hoping I'm posting this in the correct forum. I'm working on a project where a user purchases a downloadable item via Paypal. Once the user has made the purchase, he or she is return back to the site where the purchase is recorded to the database. Everything … Web Development php | |
Hi Guys, I am trying to implement FormsAuthentication in my asp.net website. I am using VS-2005. The login page in my application is "Default.aspx" from this page I want to redirect the user to "FirstForm.aspx". However, if I type the address of the target page when in login page I … Web Development asp.net web-browser | |
Hey guys, i've been having a go at / learning some php for the last 4 weeks or so. its been really interesting. ive however hit a problem that i cannot find a solution to. Here is the website in question http://apnb.du-z.com/ every sixth or so refresh in the 'Hot … Web Development php ![]() | |
this probably has a simple solution but i cant seem to see whats wrong with it [CODE]<?php //Form Data //error seems to occur here echo "<h1>Registration</h1>"; $submit = $_POST['submit']; $fullname = $_POST['fullname']; $username = $_POST['username']; $password = $_POST['password']; $repeat_password = $_POST['repeat_password']; if ($submit) { } ?> //between these two points … Web Development php ![]() | |
fck editor image upload failing in my server. images are not uploading. but it is working in my localhost.....plz tell me what to do? Web Development php | |
Hi, Can someone help me with a javascript function that identifies <onmouseout> what radio button has been selected so that a message prints in a <div> further down the same page prior to submitting the page. e.g. If Radio Button value="train" is selected Print "You have chosen the image Train: … Web Development javascript | |
So basically, as soon as my page loads I need to have a pre-loaded date to my drop-down boxes and in my textfields that came from my database as you will see if you go over my code. My drop-down boxes are auto-filled with the months-days-years because of my javascript. … Web Development html-css javascript-jquery php |
The End.