52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Djmann1013

Hi, I have this code here: **index.php** <?php include 'core/init.php'; include 'includes/overall/overall_header.php'; ?> <h1>Welcome to AwsomeChat!</h1> <p>This is AwsomeChat - a free place just to hang out. This site is made for chatting or socializing with a friend. This site is free, no membership needed to use this site.</p> <?php …

Web Development php
Member Avatar for diafol
0
866
Member Avatar for Resentful

Hello, everyone. I've been attempting to make a proper proxy checker to check for HTTP proxies for a while, yet I've been unable to find one that correctly finds working proxies. The bulk of my code is below. $ch = curl_init(); //initizlize and set url curl_setopt ($ch, CURLOPT_URL, "http://google.com"); curl_setopt($ch, …

Web Development php
Member Avatar for Resentful
0
183
Member Avatar for chira.laura.9

Heloo everyone. I have this code for a form in PHP...but when I use $POST['collection'] or any other from th drop down lists I cannot access the vaalue of the variable passed: <form enctype="multipart/form-data" action="insert_validation.php" method="post"> <table border="0"> <tr><th>Choose category: <tr><td><select name="category"> <?php $sql=mysql_query('SELECT category from Category order by category'); …

Web Development php
Member Avatar for broj1
0
348
Member Avatar for mehnihma

in the string XX is always changed and string can be longer or shorter and it can be without searched word, where XX is a number example: 1 kom. nije naručeno, obično dolazi za 5 dana., slični: sony-6am6ptb1a (0 kom.), sony-s006pb1a (-9 kom.) So from that I need to output …

Web Development php
Member Avatar for diafol
0
148
Member Avatar for GraficRegret

ok so here is the code that is being called <?php require 'core/init.php'; if(empty($_POST) === false) { $username = $_POST['userName']; $password = $_POST['password']; if(empty($username) === true || empty($password) === true) { $errors[] = 'please enter a username and password'; }else if(user_exists($username) === false) { $errors[] = 'we can't find that …

Web Development php
Member Avatar for GraficRegret
0
365
Member Avatar for rpgowned

I know there are many other threads on this but i can't seem to make heads or tails of them and make them work in my code. I have multiple dropdowns on a page with a yes/no answer each question has sub questions if yes is chosen.. I would like …

Web Development javascript
Member Avatar for AleMonteiro
0
181
Member Avatar for mmonclair

I'm working on securing a form that is used for gathering info for online insurance quotes. The problem we've been having is that some insurance agents and rating services have been stealing our form and trying to use it on their sites. Well, there is info that we use to …

Web Development coldfusion encryption session
Member Avatar for mmonclair
0
298
Member Avatar for chris99

I'm having trouble getting my jQuery to work. The .js file is in the same folder as the homepage, and I'm trying to accordion a list using the effects plugin. Here's the jQuery code: $(document).ready(function(){ $('#accordion').accordion({collapsible:true, active: false}) }); Here's the homePage code: <!DOCTYPE html> <html> <head> <title>Santa's Workshop</title> <script …

Member Avatar for EvolutionFallen
0
163
Member Avatar for Clanstrom

I am a php newbie, and I have realised that there are many functions to learn in php, but can anyone point out which ones are the best for beginers? Can you mentions 10 most usefull functions or more?

Web Development php
Member Avatar for diafol
0
221
Member Avatar for mattsearle

Hi I am trying to use the code below more than once within a web page. I have tried changing the id's of the div, getElementid and outDiv, however only one of the scripts will work. Is the outDIV.innerHTML the problem. Inline Code Example Here <link rel="stylesheet" type="text/css"> <style> div …

Web Development html-css javascript
Member Avatar for mattsearle
0
177
Member Avatar for davidmt

Hi, I am a complete beginner with web hosting so apologies if the solution to this is blatantly obvious. Somebody set up my PC so when I got to localhost in a browser I get a webpage they created. I want to host that from here. I downloaded Wampserver 2.2 …

Web Development web-browser
Member Avatar for pritaeas
0
102
Member Avatar for bharanidharanit

hello, I am using Visual Web developer 2008. I am using loginname control. there it displays name as admin. How to get that value to textbox or label. Simply i want to get that value as string. Thanks

Web Development asp.net
Member Avatar for skhan7332
0
175
Member Avatar for Suzie999

I'm thinking of hosting a *name that tune* type game. I don't know anything about PHP or even if it's the languge to use, but I'm hoping someone might put me straight on that matter too. Here is an outline of my needs/scenario. I post a link to a song.mp3 …

Web Development php
Member Avatar for Suzie999
0
281
Member Avatar for amith_ami

hi all.. pls help me.. i want to sum the price of multiple products with its quantity and shipping charges. in my products table all the products have different shipping charges. for ex: product1 shipping charges. product2 shipping charges. shipping to US = $10.99 shipping to US = $14.99 shipping …

Web Development php
Member Avatar for amith_ami
0
137
Member Avatar for vizz

I have 4 div's. **first div** is **Centre div**, 2nd div is **right** of **Centre div**, 3rd dis **left** of **Centre div** and 4th div is **above** of **Centre div** How to detect number of div's and create **Paginated bullet like map** showing position of each div. If number of …

Web Development javascript
Member Avatar for vizz
0
302
Member Avatar for mateusz.baran1

Hello fellows! I have question. Iam doing some project to my school and I have small problem. I have chart (iam using jfreechart) in Chart.java file and after user is loading to his profe he should be able to push button and chart wit his statistics should appear. My problem …

Web Development dataset java java-jsp web-browser
Member Avatar for mateusz.baran1
0
519
Member Avatar for GraficRegret

ok so here is the code I am working with, <?php include 'database/conection.php'; $allowedExts = array("jpg", "jpeg", "gif", "png"); $extension = end(explode(".", $_FILES["file"]["name"])); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/pjpeg")) && ($_FILES["file"]["size"] < 20000000) && in_array($extension, $allowedExts)) { if ($_FILES["file"]["error"] > …

Web Development php
Member Avatar for GraficRegret
0
61
Member Avatar for GraficRegret

ok so I am trying to create a login page for my website, however after following a tutorial on creating all the functions and calls and everything I need to in order to get it up, I upload it to my server and when I try to test it the …

Web Development php session
Member Avatar for GraficRegret
0
102
Member Avatar for din3sh

I'm trying to create a php script to print fibonaaci series. The idea is to add a new number to the series everytime the page is refreshed and print the series. <?php if (!isset($_COOKIE["fno"])) {setcookie("fno",0,time()+3600);} if (!isset($_COOKIE["sno"])) {setcookie("sno",1,time()+3600);} if (!isset($_COOKIE["series"])) { $text="0 1 "; setcookie("series",$text,time()+3600); } $fno=$_COOKIE["fno"]; $sno=$_COOKIE["sno"]; $fibostring=$_COOKIE["series"]; //echo …

Web Development php web-browser
Member Avatar for broj1
0
253
Member Avatar for filch

Hello, been a while since I have been here but I am working on something that has me stumped and I have not been able to solve it nor find an answer that does what I need to do. I have a form that is usually sent to an external …

Web Development php
Member Avatar for diafol
0
234
Member Avatar for realname

Hi there, I have a general question regarding video for web (sort of). One of the departments I work with would like to create a short narrated training video using still photos. Basically what they want to do is have a type of slideshow with probably some basic arrows or …

Web Development video
Member Avatar for tinstaafl
0
160
Member Avatar for arctushar

Hi I want to develop a facebook apps. Where it will take quiz, then merge profile picture in a certificate image. with result. the index.php file is as below <?php include_once "fbmain.php"; //if user is logged in and session is valid. if ($user){ //fql query example using legacy method call …

Web Development api image session
Member Avatar for LastMitch
0
208
Member Avatar for secretply

Is it possible to send data from a webpage but only certain parts of it? For example: Webpage from form: <html> <head> </head> <body> <div>Non-form data</div> <form method="post" action=""> <input type="text" id="field1" /> </form> <div>Other non-form data</div> <?php $field = mysql_real_escape_string($_POST["field1"]); // Database info echo $field . "is in the …

Web Development first-post javascript
Member Avatar for AleMonteiro
0
138
Member Avatar for ganesh641

I am using curl function to login my web site using the Gmail username and password. Its working fine in my local environment but once i moving that file into my client server it returns the response **"HTTP/1.1 401 Unauthorized"**. provied some solution here is my curl function code for …

Web Development client-server http-protocol php
Member Avatar for veedeoo
0
5K
Member Avatar for giovannitao

Hello, Somenone that know osclass script, can hel me to customization search bar. I try to edit inc.search.php but I don't know how can I obtain this result: [Click Here](http://i50.tinypic.com/3537gwi.png) In this search bar tou can see 3 menus: What, Where (with city) and Category. Thanks to all

Web Development operating-system php seo
Member Avatar for gon1387
0
617
Member Avatar for jemz

Hi, can i ask some help ,my problem is that how can i display in the dropdownlist using jquerry. for example that in my database i have 1 table and 2 columns with 10 records or rows. assume that i already querried all the colors in the database,but how to …

Web Development javascript
Member Avatar for stbuchok
0
104
Member Avatar for showman13

For some reason, every time I try to submit a question I get the error message that the code snippet in my post is formatted incorrectly.. I don't even have a code snippet. is it just me or is it something that happens to others?

Web Development php
Member Avatar for showman13
0
194
Member Avatar for missy_mi

i have and error : mysql_fetch_array() expects parameter 1 to be resource, boolean what should i do??where is the problem..??please suggest..Thank you in advance..

Web Development php
Member Avatar for broj1
0
180
Member Avatar for hwoarang69

getting a error at $item_id_g'. its bc of the quotes <?php echo" <button type='submit' onmousedown='func('$item_id_g');'>test</button> "; ?> i also tried this but didnt work <?php echo" <button type='submit' onmousedown="func('$item_id_g');">test</button> "; ?>

Web Development php
Member Avatar for broj1
0
119
Member Avatar for dany12

My code is for wordpress in noconflict mode This code works only on double click not on a single click,any advice or guideness is welcomed. I want to make it work on a single click. Thank you in advance $j=jQuery.noConflict(); $j(document).ready(function() { $j("#icomenu").toggle(function(){ $j("#menu").animate({left:"0px"}); }, function(){ $j("#menu").animate({left:"-280px"}); }) }) ;

Member Avatar for dany12
0
240
Member Avatar for AARTI SHRIVAS

<html> <head> <title>Contact form</title> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> <script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script> <script type="text/javascript"> $(document).ready(function() { var RecaptchaOptions = { theme : 'custom' }; Recaptcha.create('your public key', 'recaptcha_image', RecaptchaOptions); Recaptcha.focus_response_field(); $('#submit_button').click(function() { $.ajax({ type: 'POST', url: 'coustomer_rgistration.php', data: $('form#myform').serialize(), dataType: 'json', beforeSend: function() { var resp_field = $('#recaptcha_response_field').val(); var name = $('#name').val(); …

Web Development api javascript-jquery json php
Member Avatar for AARTI SHRIVAS
0
545
Member Avatar for varma51

<form method="post" action="#"> <table> <tr> <td></td> <td><input name=cars type=radio value=a>Volkeswagon</td> <td><input name=cars type=radio value=b>Ford</td> <td><input name=cars type=radio value=c>Honda City</td> <td><input name=cars type=radio value=d>Renault</td> </tr> <tr><td> <input type="submit" value="submit"></td></tr> </form> > Quoted Text Here so when i did page refreshing after the radiobutton selection.the radiobutton can display as unchecked. can u …

Web Development javascript
Member Avatar for gon1387
0
812
Member Avatar for Venter

hi actually iu'm fetching 5 question id from db and saved in an array. now i'm fetching questions and their respective options from database. so i'want to save the option in seesions or cookies when ever user selected. this is my code for fetching questions & ANSWERS. public function display( …

Web Development php
Member Avatar for broj1
0
2K
Member Avatar for Motifaithed

Hi Guys, I'm working on a project and modifying it's code, I'm new to php, what I want is to speed up the process of the program, before it works like this, there is a page containing all the ID of purchase request, then there is a link to another …

Web Development php
Member Avatar for LastMitch
0
258
Member Avatar for chr.s

Hello, I'm trying to find a way of including a htaccess rewrite to redirect anyone visiting *http://site.com* to *http://www.site.com*. I've tried the following... RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?site.co.uk [NC] RewriteRule ^(.*)$ http://www.site.co.uk/$1 [R=301,L] ...but it broke the paths to all of my assets - adding a "www" where there shouldn't …

Web Development apache
Member Avatar for chr.s
0
218
Member Avatar for dark_storm83

I am trying to setup a custom image hosting solution for a phpbb forum. I know there are ways to host images on the forum but for my purpose I must use an external website to host the images. I already have a custom image hosting script written and functioning …

Web Development first-post php phpbb
Member Avatar for diafol
0
286
Member Avatar for JokerTime

Hey all, iam new at PHP and i have a question. I do a select-query in mysql. $sql = "SELECT name, street, city, y,m,d, email FROM player WHERE `name`= '".$name."' or `city`= '".$city."' or `y`= '".$y."'"; The result i paste in a table like this. while($row = mysql_fetch_array($result)) { .... …

Web Development php
Member Avatar for broj1
0
204
Member Avatar for amyl

I need to include a simple contact form in either the sidebar or footer of an existing website so it appears on every page. This is not a WordPress site, I have seen there are several plugins for WordPress. I need a different solution. I am thinking a php include …

Web Development php wordpress
Member Avatar for amyl
0
239
Member Avatar for ganesh641

One of my server has $_SERVER['HTTP_CONNECTION'] is set to close need to set it to keep-alive in my phpinfo() any idea where to change that?

Web Development php
Member Avatar for ganesh641
0
451
Member Avatar for divyakrishnan

Hi.. I used the following code to download a file from fedora 14 FTP configured(VSFTP) to local machine(Fedora 14). The same code worked fine in windows machine. In fedora machine it listing all the files,but not downloading the files.Showing the error like following "There was a problem". <?php $countfiles = …

Web Development php
Member Avatar for pritaeas
0
204
Member Avatar for jonsan32

Is there any way to get this to work in Internet Explorer? It shows/hides multiple rows in every other browser, but will only show one class's row in IE. Any help would be great. Here's the code. Thanks! <style type="text/css"> li.merk { list-style:none; display: block; width: 925px; padding:8px; margin-top:-20px; } …

Web Development javascript
Member Avatar for Airshow
0
722
Member Avatar for sethwcaton

I'm using the exact code snippet (Step 1 of the Simple Version) from this page hosted by the developers of BreezingForms for Joomla!, modified only to have the correct table and field names, and the name of the select list in the form: http://crosstec.de/media/kunena/attachments/59203/BreezingFormsscriptdev.txt All I want to do in …

Web Development cms html-css php
Member Avatar for pritaeas
0
589
Member Avatar for honhito.troy

Why do I get the following error? and How to fix? Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in/home/gaogier/public_html/pages/monsters.php on line 217 If i add the or die part, I get this message. You have an error in your SQL syntax; check the manual that corresponds …

Web Development mysql php
Member Avatar for pritaeas
0
123
Member Avatar for coder91

I have a button that when clicked produces a PDF report. However I have validation on the page so that if the required fields are left empty when the button is clicked a validation summary appears. This doesn't work though. When the buttons clicked if fields are left empty it …

Web Development asp.net pdf
Member Avatar for coder91
0
108
Member Avatar for richjohn.bulante

i have a problem on how to code for automatic generate an employee id whenever i registered an account in my system. i used asp.net as my front end and Sql Server Database 2005 as my back end.. thnx a lot!

Web Development asp.net c#
Member Avatar for sandeepmittal11
0
3K
Member Avatar for dancks

My code technically works, as it registers the user, but it won't keep the user logged in. (yes, once a registration is successful, they should be logged into their new account). It should go right to the index page on success and have the user logged in. On failure it …

Web Development html-css php session
Member Avatar for Zagga
0
2K
Member Avatar for daniel.conlinjr.1

add user.php <?php include '../_class/_class.php'; $obj = new modernCMS(); //Setup connection vars $obj->host = 'localhost'; $obj->username = 'root'; $obj->password = ''; $obj->db = 'cms'; //connect to db $obj->connect(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="css/main.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DCJR …

Web Development cms html-css php
Member Avatar for daniel.conlinjr.1
0
522
Member Avatar for karlcunanan

Good day Geniuses! I am a beginner and would like to ask for your assistance regarding my Javascript not working ONLY in IE :( I dont know where to start debugging since I only use Chrome and Firefox for testing. Hope someone can help me on this. Javascript <script type='text/javascript'> …

Member Avatar for gon1387
0
1K
Member Avatar for GraficRegret

Here is my code: <html> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>inner_pages</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> .divTagContent { background-color: #F9FBFA; height: 367px; width: 691px; overflow: auto; } .divScrollLinks { background-color: #F9FBFA; height: 370px; width: 205px; overflow: auto; } </style> <script type="text/javascript"> function MM_swapImgRestore() …

Web Development html-css php
Member Avatar for GraficRegret
0
145
Member Avatar for hotelsinger

Hi Folks, I'm brand spankin' new to developing but was assigned a web app to develop in ASP.NET 4 with C#. I am using JavaScript for validation. The problem I'm having is that the date validation alert box that pops up displays a lot of unneccesary time and timezone information, …

Web Development javascript
Member Avatar for hotelsinger
0
711

The End.