52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lloyd.farrell.7

Hi everyone, got really strange issue with a template I have started to build. I am continually getting the follwing error message Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent Even though the only code I have on my page is <?php session_start(); ?> <!DOCTYPE html> …

Web Development php session
Member Avatar for minitauros
0
389
Member Avatar for 4fridi

I have script which has search engine to find mp3 songs, i need that if someone search the site with free mp3 songs or mp3 free songs both keywords has free keyword. i have redirected with header(); function through my coding in php but what about previously indexed urls with …

Web Development php
Member Avatar for 4fridi
0
295
Member Avatar for MargateSteve

We recently had our account suspended (without warning - thanks 1&1) due to exceeding server load. The reason this happened was there were quite a few divs that were refreshing (via Ajax) every 9 seconds to give a 'live update' on the site (it is a sports site so this …

Web Development javascript
Member Avatar for minitauros
0
189
Member Avatar for Borzoi

Hi everyone. It's been a while since I've needed help with a PHP problem. Hopefully someone here knows what I'm doing wrong because I can't see it. I am trying to use rename() to rename an image file which is in a subdirectory of a subdirectory the script is running …

Web Development php
Member Avatar for Borzoi
0
222
Member Avatar for mpc123

Hi I am trying to get to download images into a file from database field urls onto my server as there is lots of them. I think im on the right track. I currently have an error Parse error: syntax error, unexpected T_STRING in getimages.php on line 11 Hope someone …

Web Development php
Member Avatar for mpc123
0
144
Member Avatar for wplay

Hi all, I'm currently using imagemagick to resize gifs for my site. But the compression doesn't seem really good. I've already tried optimizing it the best way I could, but it isn't satisfactory. Does anyone have recommendations for a better option? Tumblr's gif compression seems to be the best I've …

Web Development php
Member Avatar for pritaeas
0
275
Member Avatar for rolanduk

Hy All Im here again to ask for you help. I still in the begining to launch the site, and i found a major error. The theory is the following. I planning to start a Pay per download site, which mean the members upload a file and when somebody want …

Web Development file-stream http-protocol php
Member Avatar for rolanduk
0
324
Member Avatar for aqualove

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="icon" type="image/png" href="images/ump-logo.png" /> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Universiti Malaysia Sabah</title> <link rel="stylesheet" href="jquery.mobile-1.0.min.css" /> <link rel="stylesheet" href="_assets/css/jqm-docs.css"/> <script src="jquery.js"></script> <script src="_assets/js/jqm-docs.js"></script> <script src="jquery.mobile-1.0.min.js"></script> </head> <body> <div data-role="page" class="type-index"> <div data-role="header" data-theme="f"> <h1>Sistem Kompaun Pelajar</h1> <a …

Web Development html-css listview php session
Member Avatar for Webville312
0
184
Member Avatar for bradly.spicer

Hey all, Been trying to work this out. But I'm stumped! Got a database running on Moodle. Want to create an external script which uses the usernames and passwords from the table moodle_user and the db Profiled_Moodle. Here is my page so far: <?php include 'header/config.php';?> <div id="Container"> <?php if …

Web Development php
Member Avatar for bradly.spicer
0
197
Member Avatar for siss

Do anyone here knows flex builder? I'm a beginner in this language. I have written a code for cloudstack api request and signature generation using hmac to authenticate the user account. here the command is 'listzones'. The output will be in xml shwing the list of zones available in the …

Web Development adobe algorithm api
Member Avatar for siss
0
442
Member Avatar for ze0001ng

My web pages are written in JSP and want to put online. Could you recommend some free web hosting? I searched, but can not find the one I want. Thank you.

Web Development java-jsp
Member Avatar for radhakrishna.p
0
305
Member Avatar for HansK

I am trying to parse the XML for Vimeo clips, so that I can populate the thumbnail, Title and description on an ASP page. I can set the tartget to the Vimeo XML file, but cannot for the life of me get the actual content, let alsone isolate and use …

Web Development api asp daniweb-api xml
Member Avatar for HansK
0
408
Member Avatar for muralibobby2015

i just want to add html text to the famous image slider supersized. This is their demo page : [url]http://buildinternet.com/project/supersized/slideshow/3.2/demo.html[/url]. i want to display title for each slider. how to do this? anybody suggestions thanks

Web Development html-css javascript-jquery php
Member Avatar for LastMitch
0
277
Member Avatar for varunsara

Guys, please let me know is anybody aware of the below doubt. php taking hosting server date and time but am in need to find the client time and date who accesing the site. otherwise how to find the date & time in server time zone .

Web Development client-server php
Member Avatar for eburlea
0
417
Member Avatar for napninjanx

I've been trying my best to read books on Java and Ajax no luck :/

Web Development
Member Avatar for napninjanx
0
219
Member Avatar for lttleastig

I am making a google chrome extension which pops out a div when you click on the comment box on a post in facebook and everything seems to be working perfectly. Except it only works for the posts that are first loaded with the site and not the ones which …

Web Development javascript javascript-jquery
Member Avatar for LastMitch
0
228
Member Avatar for amkaos

Hi: i search as to why my database wont send out emails and find this forum. i find the exact code im using in this forum.. it originally is for xaamp. i need to have it work from my server: http://www.daniweb.com/web-development/php/threads/412468/how-to-send-mail-to-email-address-on-mysql-database. i posted on https://gist.github.com/amkaos/5608094 but i can post code …

Web Development email github mysql php
Member Avatar for amkaos
0
389
Member Avatar for jonow

Hi, i have a form that when filled out sends and email. I want to be able to validate it, so check that all the fields are filled using PHP. I have found this website: [URL="http://www.phpjabbers.com/phpexample.php?eid=27"]http://www.phpjabbers.com/phpexample.php?eid=27[/URL] that i used to validate it but i am not sure how to combine …

Web Development email php
Member Avatar for Squidge
0
1K
Member Avatar for asif49

Hi I have an event listener attached to something which will fire a lot based on some user action that has occured on the page or some javscript change. Unfortunately it will be something like 5 or 6 fires in the space of 250ms and I am only interested in …

Web Development javascript
Member Avatar for paulkd
0
239
Member Avatar for adeeb.keyaam

**Here is my code below:** <?php if(isset($_POST['create'])) { // db connection $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "emanage"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); // prevent mysql injection foreach ($_POST as $key => $value) { $_POST[$key] = mysql_real_escape_string(strip_tags($value)); } …

Member Avatar for Webville312
0
254
Member Avatar for Maideen

hi I have created the php report using below code. It works fine. But My problem is to group the data example # Date Code Name Rate Qty Amount# 15.01.2011 0001 Milk 4.01 50 200.50 15.01.2011 0125 Choklet 30.00 10 300.00 15.01.2011 0241 Drink 12.50 12 150.00 16.01.2011 5461 Meat …

Web Development php
Member Avatar for Maideen
0
2K
Member Avatar for mohammed.ismail

How to run the interactive PHP shell from the command line interface?

Web Development php
Member Avatar for annaharris
0
103
Member Avatar for sonu611

I have a strange problem, I have a domains and a subdomain [url]http://client.spry-forms.com[/url] (login using demo/demo) [url]http://spry-forms.com/ClientAdmin[/url] (login using demo/demo) The server is setup with only tomcat 6.0.18.0 Both the above domains are mapped to tomcat/webapps/ClientAdmin. When some one logs in from the second url, the link CREATE NEW FORM …

Member Avatar for abhisu
0
2K
Member Avatar for jLamp

Dear Friends, I've generated Image Slider using WOWSlider. Now I wants to add tooltip to that Image Slider. It's mean, when user hover mouse on the each slider each tooltip should be displayed. How can I do it?? Please help me friends.

Web Development image javascript
Member Avatar for diafol
0
165
Member Avatar for PF2G

Hello, I did this search engine just for one table: <?php $button = $_GET ['submit']; $search = $_GET ['search']; if(strlen($search)<=1) echo "Search term too short"; else{ echo "You searched for <b>$search</b> <hr size='1'></br>"; mysql_connect("localhost","root",""); mysql_select_db("rmworshipers"); $search_exploded = explode (" ", $search); $x=1; foreach($search_exploded as $search_each) { $x++; } $constructs ="SELECT …

Web Development php
Member Avatar for diafol
0
148
Member Avatar for sambulo.senda

` $options[] = array( 'title' => __('Donate to the theme developers', 'default'), 'desc' => __('Note :Donate to the Developers of this theme, Donate any amount to keep the themes free ' , 'default'), 'id' => '', 'std' => '', 'type' => 'sep' ); How do I add a link to …

Web Development php
Member Avatar for diafol
0
224
Member Avatar for asif49

I have script which will run across multiple pages I don't know about. Say I want to replace some text within it. I attempt to do it by looping through every element on the page and checking if it matches the regex before replacing it but keep getting this... SCRIPT5007: …

Web Development javascript regex
Member Avatar for asif49
0
166
Member Avatar for Ridji

Hi guys, I'm new here. I have a problem with connecting to my sql database. Everytime when I want to log in, I get this : Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\novi\funkcije.php on line 9 Warning: mysql_query() expects parameter 2 to be resource, boolean …

Web Development mysql php
Member Avatar for Webville312
0
129
Member Avatar for NardCake

Hello! Currently I am working on a PHP project on my own that is slowly growing, before I really get it out there I want to begin working on some documentation. It's just that I'm unsure on how documentation is usually created, best practices on writing it, and how it …

Web Development php
Member Avatar for diafol
0
241
Member Avatar for GlenRogers

I have a load of images overlapping, I just done this by giving a css style of margin:0 -20px 0 -20px;. They overlap the one on the left and the one above, its to unioform looking. Is there any way to use js/jquery to give a class a random z-index? …

Web Development javascript
Member Avatar for GlenRogers
0
727
Member Avatar for dourvas

hallo there, Its a very complicate problem and i wiil try to be as brief as i can. I hope you ll be able to understand my description. i ve coded a script that works perfect in my localhost. When i uploaded the files to a server some things just …

Web Development apache php
Member Avatar for diafol
0
175
Member Avatar for maxpaine69

Hi all, My problem is this, i want to do the globalization inside the master page, but not having luck, it works fine in the page but not in the master page.

Web Development asp asp.net
Member Avatar for LastMitch
0
112
Member Avatar for Nero Basanta

I am working on an Assignment Problem, a part of Operation Research but the problem am facing is how to assign the task to the agents and then the anomaly where the algorithm has to repeat it self when it is not able to perform the assignment.

Web Development algorithm php
Member Avatar for diafol
0
71
Member Avatar for cgull

Hello, I need help with sliding down an element. When it is sliding down I want the parent's div height to change so it will contain the sliding element. My html: <div class="sliderBox"> <ul> <li> <div class="main"> <div class="publicationTitleOuter"> <div class="publicationTitleInner">Kouga/Uitenhage</div> </div> <p class="issueDate">8 MAY 2013</p> <div style="margin-top:10px"></div> <div style="width: …

Web Development javascript javascript-jquery
Member Avatar for cgull
0
357
Member Avatar for riahc3

Hello How can a small (I imagine jQuery UI popup) popup hover over a page then disappear after x seconds?

Web Development javascript
Member Avatar for JorgeM
0
93
Member Avatar for maxpaine69

HI all, I have an page apaearing inside a control, but i needed it to acesso an label in the master page. This page is not related to the master page because it it was the master page would open with it. My questions: its there a way to acess …

Web Development asp asp.net
Member Avatar for maxpaine69
0
131
Member Avatar for McLaren

Hello, We are sending email using these settings: $config['smtp_host'] = 'ssl://smtp.gmail.com'; $config['smtp_port'] = 465; $config['protocol'] = 'smtp'; $config['mailtype'] = 'html'; $config['smtp_user'] = 'email@gmail.com'; $config['smtp_pass'] = 'password'; $config['smtp_timeout'] = 40; Thats ok it works. For few days. Later it stops sending. THen we go to gmail acount in web interface to …

Web Development email php
Member Avatar for McLaren
0
647
Member Avatar for SoulofchaOs

There's a error when I run this jsp file --> **" pstmt.executeUpdate();".** **"org.apache.jasper.JasperException: An exception occurred processing JSP page /TestAdd.jsp at line 39"** My code essentially have a text box for users to enter a value, and then the value is sent to the MySQL database. Any help is appreciated …

Web Development apache java-jsp mysql
Member Avatar for peter_budo
0
308
Member Avatar for Cravver

I need to make that when you use a color picker the hover styling would work too. So far I've only got background and border bottom working here is the code below (uses JQuery): var customElements2 ="#search .submit_input, .reputation.positive, .members li.positive"; var customElements = ".maintitle, #community_app_menu > li.active > a, …

Web Development javascript
Member Avatar for LastMitch
0
739
Member Avatar for zacharysr

so i have a problem, i'm trying to make a live chat where two members can chat without having to refresh the page, and i have got everything work up to where you start typing in the textarea, well i'm trying to check for the "enter" key to be pressed, …

Member Avatar for zacharysr
0
248
Member Avatar for xuexue

Hi! This is my code to get the difference of two dates in Javascript. var today = new Date(); var dd = today.getDate(); var mm = today.getMonth()+1; //January is 0! var yyyy = today.getFullYear(); if (dd < 10) { dd='0'+dd } if (mm < 10) { mm='0'+mm } today = …

Web Development javascript javascript-jquery
Member Avatar for xuexue
0
2K
Member Avatar for maharrington

Hi, I've had a look through the forum(s), however, can't seem to find a solution to my issue (and I don't understand the PHP Manual). Basically, got a website linked to a database, trying to pull data from one table and display onto the website where appropriate. I have the …

Web Development php
Member Avatar for minitauros
0
231
Member Avatar for dina85

require("conn.php"); $sql = "select * from pemohon where kp_baru='$kp';"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { if($row == TRUE) { echo $row['kp_baru']; // can display } else { echo "No KP tiada didalam pangkalan data."; // can't display } }

Web Development php
Member Avatar for dina85
0
157
Member Avatar for janicemurby

hya ive created a edit profile page for members to fill in and now i need that information to go to members profile page how do i do this ive tried several tutorials in youtube but get nowhere with them i dont need the register or login got that already …

Web Development php
Member Avatar for minitauros
0
197
Member Avatar for rubai

I have a problem want to be solved. I have three pages. page1.php, page2.php page1.php has a form with two text field. one text field is for name and another is for number. there is a submit button and a "next" button too. using session I want show given name …

Web Development php session
Member Avatar for diafol
0
2K
Member Avatar for kakalahori

ok here is the login function from my class user which parent class is a Db connection file <?php require_once("DBConnection.php"); class User extends DBConnection { .... .... ... ... public function Login() { $sqlSelect = "select `UserName` from `user` where `UserName` = '$this->userName' and `Password` = '$this->password'"; $result = @mysql_query($sqlSelect, …

Web Development mysql php sql
Member Avatar for diafol
0
216
Member Avatar for mjsmitten

I have some functions that returns nothing or some value (obvious), and also having a little trouble with the if and closing, is there a good way to do this? I want to return the value after checking if any of the strings are not empty. Actually it is a …

Web Development php
Member Avatar for diafol
0
168
Member Avatar for dhani09

I'm using the following code for my paging on my script <?php $pn = 0; $result = mysql_query("SELECT * FROM tbl_product WHERE category = '$cat' ORDER BY id ASC "); $nr = mysql_num_rows($result); if (isset($_GET['pn'])) { // Get pn from URL vars if it is present $pn = $_GET['pn'];// filter …

Web Development php
Member Avatar for minitauros
0
124
Member Avatar for fheppell

I've got an upload script that generates some stuff in relation to uploads eg File foo.jpg uploaded succesfully<br /> File bar.tiff failed to upload! ... This is all part of a variable called `$message`. How could I pass this to another php script? Thanks for any help

Web Development php session
Member Avatar for fheppell
0
200
Member Avatar for dina85

i want to print out my form using onClick="window.print()".. but the output is not same with display form in browser. for the information, i use CSS to positioning the layer or <div>..

Web Development javascript
Member Avatar for dina85
0
103

The End.