17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for humbug

Here's my predicament. I Have managed to send and retrieve some HTTP requests using the GET method successfully using the following code: [code=php] function send_to_host($host,$method,$path='/',$data='',$useragent=0){ // Supply a default method of GET if the one passed was empty if (empty($method)) { $method = 'GET'; } $method = strtoupper($method); $fp = …

Web Development first-post php
Member Avatar for hielo
0
167
Member Avatar for serkan sendur

[CODE]<!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></title> <script type="text/javascript"> function doSomething() { alert("works"); } window.onload = function() { var btn = document.createElement("input"); btn.type = "button"; btn.value = "click"; btn.onclick = "doSomething();"; document.body.appendChild(btn); } </script> </head> <body> </body> </html>[/CODE] What is the problem?

Web Development javascript
Member Avatar for hielo
0
183
Member Avatar for Andrieux

I have IPB 2.3.5. I need to decrypt (or encrypt) the passwords from the database so I can compare them to user input from another page. So, how does anyone happen to know how IPB encrypts their passwords? (Or how to decrypt them?)

Web Development php
Member Avatar for Andrieux
0
646
Member Avatar for chriscross86

hi, there...i need help.im not sure if my codes are appropriate.. [code=asp.net]<asp'Label id:"lblreport" runat="server" text"type of report"></asp:Label> <asp:dropdownlist selected="true" value="annually"></asp:ListItem> <asp:dropdownlist selected="true" value="Monthly"></asp:ListItem> <asp:dropdownlist selected="true" value="weekly"></asp:ListItem> <asp:dropdownlist selected="true" value="Daily"></asp:ListItem> </asp:dropdownlist>[/code] im getting error telling 'cannot have multiple selection'.

Web Development asp.net
Member Avatar for sonakrish
0
139
Member Avatar for jeffreyjs

HI, I am currently creating a personal website which i uses Dreamweaver build in rollover image for buttons, and at the same time i am using Shadowbox for the gallery, but i realise that the auto generated code for the rollover is interfering the Shadowbox from working properly, is there …

Web Development javascript
Member Avatar for jeffreyjs
0
112
Member Avatar for jedi_ralf

Hello, I have not had a huge amount of experience with regular expressions. Any help you can give is greatly appreciated. I have an input file like this: [CODE]Name: Bob, Age: 20, Details: Likes chocolate Hates lettuce, Location: London Name: James, Age: 42, Details: Sometimes goes swimming, Location: New York …

Web Development php
Member Avatar for jedi_ralf
0
179
Member Avatar for PinoyDev

Good dat to everyone.! Ive just so tired just to finished my thesis. Ive got problem in php summing up while looping and filtering. here is my code: [code=php] mysql_select_db($database_enamysqldb, $enamysqldb); $query_recpayment = "SELECT amountpaid, username, SUM(amountpaid) FROM paymentsummary WHERE username = %s and foryear = %s and forlevel =%s", …

Web Development php session
Member Avatar for PinoyDev
0
94
Member Avatar for progurammaar

[url]http://www.levelopacity.com/[/url] go to this site and chk out the footer.... its always there...i mean kinda sticky or fixed....how to do this.....

Web Development php
Member Avatar for progurammaar
0
94
Member Avatar for shadiadiph

Hi I don't get this it works fine but any file i upload that is over 300kb doesn't get emailed or saved to the server but if i upload two files for example 260kb 290kb they both upload and are both saved to the server. here is what I am …

Web Development php
Member Avatar for shadiadiph
0
96
Member Avatar for ahmksssv

Hi fnds... i am doing polling system to a perticular topic. i want to display yes/ no results in progressbar, after submittimg user vote(yes/ no) from radio buttons.... everything i can do, but the only problem is display results in progress bar.... plz give me a suggetions....how can i do....

Web Development php
Member Avatar for ahmksssv
0
105
Member Avatar for rEhSi_123

Hello everybody, I am trying to implement a private message system into a website I am working on but I am not sure as how to do this. I know I can use phpBB to do this but not sure on this aswell:$ I was wondering if any body could …

Web Development php phpbb
Member Avatar for rEhSi_123
0
119
Member Avatar for diafol

I've had a good trawl through search and Google, but can't get to grips with a problem. I don't know if it is possible, but here goes: A friend asked me to install a few mods to his phpBB3 site. No problem. However, there were a few that required SQL …

Web Development mysql php web-server
Member Avatar for diafol
0
594
Member Avatar for gangsta gama

Hello all, I played a game a few years ago that said if you didn't click on adds within a week you character would retire. There was a way to get your character back. I thought it was a good idea. I am a noob to php and i want …

Web Development google-adsense php
Member Avatar for gangsta gama
0
146
Member Avatar for elangobala

Hi i m developing jsp application. In my system the screen resolution s 1024*768 pixels.It will shows the web page properly.While viewing the same page in my friends room his system resolution s 800*600 pixels it will be of in different form of shape and nature.How to make the page …

Web Development java-jsp
Member Avatar for peter_budo
0
119
Member Avatar for swit

Hello every one, i am new here so i would appreciate any help wit this. i am trying to call a url using javascript in an html select statement as follows; echo "<select>"; for ($i = 0; $i < $pages; $i++) { ?> <option value='' onClick='javascript:window.location.href= "index.php?option=<?php echo $option; ?>&task=view&limit=<?php …

Web Development html-css javascript php
Member Avatar for swit
0
224
Member Avatar for Ramy Mahrous

I want to speed ChechBoxList's getting the selected items, the normal approach is [code=c#] foreach (ListItem li in checkListBox.Items) { if (li.Selected) { } } [/code] but if I've 6000 items in the CheckListBox, that's mean I should go through the 6000 items to know which is selected. Performance POOOOOOR!!! …

Web Development asp.net
Member Avatar for Ramy Mahrous
0
132
Member Avatar for Stefano Mtangoo

I have been learning PHP for sometimes and it is interesting. Can anyone point me to good PHP/MySQL tutorials for newbie :) So far I have been playing with simple PHP scripts like Forms etc. Thanks all

Web Development mysql php
Member Avatar for Stefano Mtangoo
0
101
Member Avatar for Xessa

Hi. I tried dragged and dropped an SqlDataSource and then click "Configure Data Source". From there i start a new connection and select my server. Under "Select and enter a database name" listbox i can not see anything. So i try to attach a database file "NORTHWND.MDF". When i try …

Web Development asp.net mssql
Member Avatar for Xessa
0
191
Member Avatar for maydhyam

Hello, Quick question...For the email code in the PHP script to work, do I have to make any server settings? or make any accomodation for the type of server it is being run on? If so, then please guide me... The application is located on a Linux server.

Web Development php
Member Avatar for jprahst32
0
156
Member Avatar for masterOFwww

Hello. I'm trying to select users from database that were last active today or yesterday...but there is a problem... When a user logs in, it stores both date and the exact time. So when i want to select user from db that logged in today or yesterday i must use …

Web Development mysql php
Member Avatar for almostbob
0
141
Member Avatar for l00pylou

Hi folks I have set up an form that when submitted sends an email, however I want to suppress the information in the email if it is left blank in the form. an example of the existing PHP code I have is [code]?php $to_email_address = "someone@someone.com"; $from_email_address = "$email"; $replay_email_address …

Web Development email php
Member Avatar for l00pylou
0
109
Member Avatar for FerrousRex

I'm relatively new to ASP .NET and I was wondering if anybody knows about any good reference books? Thanks in advance for your help.

Web Development asp.net
Member Avatar for FerrousRex
0
106
Member Avatar for PinoyDev

Good day. I was able to take a nightmare of my code regarding to disable a button. This code derive from a member post in this site. it will retun errror.! [code=php] <?php if($totalbill==0) { $disabled="disabled=true"; } else { $disabled="disabled=false"; } echo "<input name="enrlclick" type="submit" class="style18" id="enrlclick" value="Enroll Now" ".$disabled">"; …

Web Development php
0
67
Member Avatar for PinoyDev

Good day.! Thank you for all your support to all my thread. By the way Ive got some error regarding of mysql query. I want to load all data from the table depending on the table name on the variable.!I dont know whats wrong with my query below.! [code=php] $coursesubject=$row_reclog['tablename']; …

Web Development php
Member Avatar for PinoyDev
0
185
Member Avatar for gangsta gama

Ok guys, I have a problem. I am a total noob coming to php so was was going to set it up. I was following this tutorial: [url]http://www.youtube.com/watch?v=cSN34q47BXY&feature=related[/url] I got XAMPP all set up. But one problem, my computer can save .php files. How do I get this to work? …

Web Development php windows-vista
Member Avatar for gangsta gama
0
92
Member Avatar for ahmksssv

Hi frnds.... i am working on file handling.. I need to display text from my file... here i got everything, but the alighnment is totally looks like notepad...i want to display same clarity(styles) which my original file having... plz give me any solutions asap.. Thanks & Regards..

Web Development php
Member Avatar for almostbob
0
138
Member Avatar for PinoyDev

Good day.! I am having problem with passing the parameter value. I have a page called index.php. This page has a textbox named "username" when the user login and type his/her user name in the textbox named "username" i want the data of that user to be displayed in the …

Web Development php session sql
Member Avatar for PinoyDev
0
168
Member Avatar for nil

[COLOR=blue][B]Hello all,[/B][/COLOR] [COLOR=blue][B]I want autocomplete textbox facility like google in my application and i searched on the net and i found some articles that shows i've to use ajax(combination of javascript and xml) but they are using .dll file component but i don't want to use any kind of .dll …

Web Development asp.net google javascript xml
Member Avatar for kanuja01
0
152
Member Avatar for chriscross86

hi, im doing a project on 'courier management systems' . i am using asp.net as the application and mysql as the database. im not clear on how to integrate mysql with asp.net... i would appreaciate if some description plus some examples are posted on...thank you

Web Development asp asp.net mysql
Member Avatar for freshfitz
0
137
Member Avatar for marjan_m

Hi, I need to get a table in javascript n i wrote this code: [CODE] //mainMenu is the table name var x = document.getElementById("mainMenu") //then i need to get it's left margin so i wrote var x = document.getElementById("mainMenu").style.marginLeft; [/CODE] But it is giving error that x is null. Can …

Web Development javascript
Member Avatar for marjan_m
0
171
Member Avatar for cheapterp

Could someone help me figure out how to disable user accounts in ColdFusion? What I am trying to achieve is this: When a user makes 5 successive invalid attempts, his/her account will be temporarily locked for 20 minutes, after which they can try logging in again. If after the first …

Web Development coldfusion
Member Avatar for arrgh
0
155
Member Avatar for rajeesh_rsn

Hi I had a captcha script in my web page. Some thing like this.. [CODE]session_start(); $md5 = md5(microtime() * mktime()); $string = substr($md5,0,5); $captcha = imagecreatefrompng("images/captcha.png"); $black = imagecolorallocate($captcha, 0, 0, 0); $line = imagecolorallocate($captcha,233,239,239); imageline($captcha,0,0,39,29,$line); imageline($captcha,40,0,64,29,$line); imagestring($captcha, 5, 20, 10, $string, $black); $_SESSION['key'] = md5($string); header("Content-type: image/png"); imagepng($captcha);[/CODE] It …

Web Development php
Member Avatar for rajeesh_rsn
0
183
Member Avatar for neoseeker191

I have an ASP script that gets information from an Order Form. I have it so it displays the data. I would like to take the data displayed and send it in an email. How do I go about doing that. I've looked at tutorials on google but I dont …

Web Development asp email web-server
0
92
Member Avatar for dmanw100

Hello! I'm just learning JavaScript and I was wondering if clients can view external JavaScript files? I would like to (potentially) use JavaScript to validate passwords to log into my site. Would this work/ is there a better way?

Web Development javascript
Member Avatar for almostbob
0
149
Member Avatar for serdas

i am using this code to send pm, after i send a pm it says "You have successfully sent a private message!" and the boxes under for user to send again if they like but i would like to show only "You have successfully sent a private message!" if the …

Web Development php
Member Avatar for serdas
0
103
Member Avatar for jeffreyjs

Hi, I have this website which uses javascript to compute some mathematics... However, the script appear not to be working on firefox whereas the I.E and safari are working well, can someone help me with this, does Firefox have problems executing javascript? Thanks... the below code is where the problem …

Web Development javascript mathematics
Member Avatar for gurshan
0
244
Member Avatar for peter_budo

After numerous issues with my first hosting I got new deal. Now I want to get my blog move to its new home, but I hit the wall with simple WAR deployment Here is catalina.log [code]INFO main org.apache.catalina.core.StandardService - Starting service Catalina INFO main org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache …

Web Development apache java-jsp web-server xml
Member Avatar for stephen84s
0
168
Member Avatar for lifeworks

Hi Ive been using the nl2br function on text that users input... which has been great, but if they want to edit that text later, its riddled with <br />'s etc... is there a way of stripping these html tags out of the code before its displayed in the 'edit' …

Web Development php
Member Avatar for Rhyan
0
121
Member Avatar for forzadraco

target.php: xas xjahs dajdh ajdhjas da d xxxx na dh ada hd main.php: <?php // removal malicious script by forzadraco $filename="target.php"; $existfile=@fopen($filename,"w"); if($existfile){ echo "file berhasil dibaca \n\n"; }else{ echo "file gagal dibaca \n\n"; } if( false == ($str=file_get_contents( $filename ))) echo "Could not read file."; else echo "File contents: …

Web Development file-system php
Member Avatar for cwarn23
0
168
Member Avatar for dreamer14

Hi iwould like to check if there is any function that allows me to take the last 4 char or a String? Or the 1st two char of a String? I require this because i require to have a auto increase product id. Example current productid stops at WA0059. When …

Web Development java-jsp
Member Avatar for dreamer14
0
123
Member Avatar for apollokid

Hi all I searched forum but couldn't fine the right answer I was looking for. I found a script online to help me with uploading a record to my database and the file to directory and name to database. I cannot get it to work and I cannot pin point …

Web Development image php
Member Avatar for apollokid
0
92
Member Avatar for naura

I send mail in asp.net using kerio .It work fine when i use string variable to get id But i use textboxes to get id it gives following err: [code]Read from Stream threw an System.Exception: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the …

Web Development asp.net
0
75
Member Avatar for queenc

hi can anybody tell what the error is Fatal error: Call to a member function insertseeks() on a non-object in php

Web Development php
Member Avatar for queenc
0
79
Member Avatar for serdas

would you know why would a text comes back in one line, i am trying to implement this pm system where i posted for some other isue, but this one is strange. when i am composing a message and keep writing, in the message body i have the similar window …

Web Development php
Member Avatar for mschroeder
0
194
Member Avatar for smahaf

Hi I have the following PHP search results page I am trying to configure the results page so that regardless of what is searched or what search fields have or do not have data the results are allways ordered by lastname. If I use Order by lastname in the initial …

Web Development php
Member Avatar for smahaf
0
106
Member Avatar for jamello

how do I send a text file to a printer connected to the client's computer. I have a vb.net app. running currently with internet explorer only browsers. I constructed some texts based on the inputs from the user and need to (a) save it on the client file system (b) …

Member Avatar for sreenivas.sudha
0
197
Member Avatar for Traicey

A user have to register to the site using Her existing email address as a user name so I need to send an email to the user's email address once her registration to my site is successful can anyone provide me with a code ASAP please

Web Development asp.net email
Member Avatar for Traicey
0
629
Member Avatar for dudegio

Hello everyone! Im new to the language Php and i need your help. Please help me on how to generate a text document or an *.xls file using Php. Data to be generated are taken from the database. Thanks and hoping for your response.

Web Development php
Member Avatar for candlelight
0
121
Member Avatar for jakx12

ok so the code inserts into the database a default status when the user sign ups. But I get an error saying: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''status' ) Values(`asd.asd`, …

Web Development mysql php
Member Avatar for mschroeder
0
162
Member Avatar for Doops

I am currently working on a project where I want to allow a customer to update their details through a web interface. I am using C# codebehind. On page load I am setting the values of the textbox using the existing customers details. The idea being, the user sees the …

Web Development asp asp.net user-interface
Member Avatar for Doops
0
95

The End.