52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for winbala5

Hi all, I had two website in different servers. Both website had same headers. so if login one server website and going to another website i want same session in this website. how to pass the session values to this server. And also if logout server means both servers sessions …

Web Development client-server php session
Member Avatar for winbala5
0
278
Member Avatar for strongard63

in a site http://www.example.com/ there are files one of them is called images that contain images when I try to access http://www.example.com/images/ , although the address is 100% true , I get a white blank empty page why??? and how to get the content of http://www.example.com/images/

Web Development php
Member Avatar for strongard63
0
154
Member Avatar for phpNewbie

I have a names database with only 4 fields (Sex, Origin, Meaning, Starts With) and html search form for those same 4 fields. Can anyone give me the php code so that if anyone fills in any or all of the form fields, the results from the database will be …

Web Development php seo
Member Avatar for tqmd1
0
14K
Member Avatar for KingGold171

Hello Daniweb members. Im looking to create a script which checks the current date and time (of web server to ensure a pre-set time zone) and display a message. *What i'm aiming for the script/s to do. *Check current date and time *If day = eventDay BUT time = before …

Web Development display php web-server
Member Avatar for KingGold171
0
799
Member Avatar for Walter Faber

so i found this script which is perfect.. it loads all my content from my ftp and randomizes them.... BUT you always have to refresh the site.. my question now is.. how can i add a fixed frame or just a button which allows me to refresh the pictures instead …

Web Development php
Member Avatar for noelthefish
0
218
Member Avatar for turpentyne

I have a bit of script for a footer section that is to expand up, when the user rolls over it - and go back down, when they are not over it. Everything works fine, it seems. But not quite in Internet Explorer. The content inside of the three "ie-curves"-classed …

Member Avatar for turpentyne
0
389
Member Avatar for rjony321

Hi Master, please help me, i could not insert my multiple checkbox selected value into my table. please see and help me. its insert only one value like first one. here is code: **HTML code: ** <td width="75%"> <input type="checkbox" name="whats_include[]" value="Breakfast" > Breakfast / <input type="checkbox" name="whats_include[]" value="Lunch" > …

Web Development mysql php
Member Avatar for diafol
0
378
Member Avatar for evangelion89

Hi, I want to access a web service and get the response in json using javascript. The web services can respond in json and gives me a table of records with a specific campus. I input the campus code in the text box and create the url. Now, I want …

Web Development http-protocol javascript json
Member Avatar for spatlola0422
0
1K
Member Avatar for vbdotnetlover

Dear Sir, I have following codes <?php $var2=""; $name=""; if (isset($_POST['button1']) && !empty($_POST['text1'])) { $name=$_POST['text1']; if ($name=="1") { $var2="1"; }else{ $var2="0"; } } ?> <html> <head> <title> First form </title> </head> <body> <form name="aa" action="textboxes.php" method="Post"> First<input type="text" name="text1" value=""><br> Second<input type="text" name="text2" value="<? echo $var2; ?>" disabled><br> <input type="submit" …

Web Development php
Member Avatar for rpv_sen
0
97
Member Avatar for João_5

Hello guys, i have been away in the last few days, because of work, so i am on again. I am trying to ping a series of hosts and then add info about the ping in a row. I have a DB called ad, with a table called ping with …

Web Development mysql php
Member Avatar for João_5
0
391
Member Avatar for Ramesh Konda

Hi guys, Am using RedBeans ORM in PHP, Today only am going through the RedBeans ORM, i think RedBeans is the Very simple to manage database. But am getting doubt at which is better to use either rows(queries) or beans. `$sql = 'SELECT author.* FROM author JOIN club WHERE club.id …

Web Development php
Member Avatar for cereal
0
335
Member Avatar for monkeytherat

This (http://jsfiddle.net/dPrXM/) is supposed to make two more fields appear when you click the more button, but it is unfortunately not working. I cannot for the life of me figure out why, but I am convinced that it's something very simple and probably pretty stupid.

Web Development display html-css javascript
Member Avatar for designershiv
0
345
Member Avatar for old_apache

Hi I have a partial view, where my partial view will be called from Menu. When i call it, do server send only the partial view, or send all view (header, menus, footer)?

Web Development asp.net software-architecture
Member Avatar for pitic
0
170
Member Avatar for Yousha

Plz Help me I'm creating a form-View in asp.net 2010 and successfully upload all my data on the Form View but my problem arise when i edit the data in the form, it does not update the data. Following is my code. <%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" …

Member Avatar for ryan.ally2
0
406
Member Avatar for govindgupta
Member Avatar for diafol
0
102
Member Avatar for mario90

Hello i'm using javascript code to redirect visitor to random link like the example below but sometimes i get error 404 response :( var pageArr = ["http://google.com", "http://yahoo.com", "http://bing.com", "http://youtube.com", "http://facebook.com"]; document.location.href = pageArr[Math.ceil(Math.random()*5)]; ps:the code does exist in external js file what the problem here ? i'm not coder …

Web Development http-protocol javascript seo
Member Avatar for mario90
0
256
Member Avatar for cobalt555

I was wondering if anyone could show me how to take a string that is entered and then find that string and use it as my unit of measure . I also have to find a number that is part of a string. for example: How many feet in an …

Web Development javascript
Member Avatar for DavidB
0
120
Member Avatar for sohail.comsians

i would like to develop a chatroom with video calling so help me. Is there any function to call the webcam on page??

Web Development php video webcam
Member Avatar for isaac.iji.5
0
277
Member Avatar for isaac.iji.5

i want to creat a post script to auto insert new codes on my site when a member post a picture or video buth it dsnt seem to be working just like posting coments and suggestions in a forum

Web Development php
Member Avatar for isaac.iji.5
0
134
Member Avatar for anuran

iam trying to create a smotth transition between 3 images inside a div using jquery. i have managed to get the needed opacity transition on moving mouse to any side of the div.Now i want to have some change in position also like this [Click Here](http://www.adhamdannaway.com/) But iam changing the …

Member Avatar for anuran
0
434
Member Avatar for mysybet

Hello ! i'm working in dreamweaver , and i have 2 lines : $part="..\fl1\"; echo "OK"; Dreamweaver produce an error in second line. if i change the first line to $part="..\fl1" everything is ok. what is the problem with the \ character at the end ? thank you.

Web Development php
Member Avatar for diafol
0
174
Member Avatar for tqmd1

Dear Sir, I have following code <html> <head> <title>Javascript function </title> <script type="text/javascript"> function hello(){ var xx=eval(form1.text1.value); var yy=eval(form1.text2.value); if (xx>0 && xx>yy){ alert("Amount 1 is greater") form1.text3.value=("Amount 1 is greater") }else{ alert("Amount 2 is greater") form1.text3.value=("Amount 2 is greater") } } </script> </head> <body onload="form1.text1.focus()"> <center> <h1 style="color:#2c80d3 ">Javascript …

Web Development php
Member Avatar for diafol
0
179
Member Avatar for jacob21

$newtypeid=$_REQUEST['newstype']; $action = (isset($_REQUEST['action'])&& $_REQUEST['action'] !=NULL)?$_REQUEST['action']:''; if($action == 'ajax'){ echo "newtypeid is".$newtypeid; -------------- //some stuff here } How to get $newtypeid value inside if statement.

Web Development php
Member Avatar for diafol
0
262
Member Avatar for leroy green

Hey all, this is kind of a 3 part question/request. I have a contact form where I want online users to fill in their name, email and message and press submit to send that information to the site admin. I want to do 3 things with this. 1) I want …

Web Development asp.net html-css web-browser
Member Avatar for leroy green
0
297
Member Avatar for davidjennings

Hi all, I am trying to connect to a remote server, I am using the IP address server name and folder to connect, not sure if ths is working? I am aslo getting an error on the final foreach loop (`foreach ($files as $file) {//print array`) Warning: Invalid argument supplied …

Web Development client-server php
Member Avatar for diafol
0
402
Member Avatar for Hannah Sibongile

Ive tried everything, even typing the whole thing again from scratch but it doesnt seem to work. Please help about the error on line 9. Coding below: 1. <?php 2. $name = $_POST['name']; 3. $surname = $_POST['surname']; 4. $company = $_POST['company']; 5. $email = $_POST['email']; 6. $contact = $_POST['contact']; 7. …

Web Development php
Member Avatar for Hannah Sibongile
0
212
Member Avatar for Eagle.Avik

hi how can i fetch data from the database and stroe it into session variable. my code: $sql = "SELECT password, fullname, username, active FROM ".$mysql_table." WHERE (username = :username OR email = :username) AND password = :password"; $statement = $pdo->prepare($sql); $statement->bindValue(':username', $_POST['username']); $statement->bindValue(':password', md5($_POST['password'])); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); if …

Web Development mysql php session
Member Avatar for Eagle.Avik
0
272
Member Avatar for nadiam

var tabLinks = new Array(); var contentDivs = new Array(); function init() { // Grab the tab links and content divs from the page var tabListItems = document.getElementById('tabs').childNodes; for ( var i = 0; i < tabListItems.length; i++ ) { if ( tabListItems[i].nodeName == "LI" ) { var tabLink = …

Web Development javascript
Member Avatar for noelthefish
0
3K
Member Avatar for eduardar

How can I change the time that the images of my website (www.eduardlid2013.com) change faster?

Web Development image
Member Avatar for eduardar
0
223
Member Avatar for Nadera

Hello, I have a form that retrieve the data from the database, which it depends on the expenses ID, then I want to send email to the employee to notification him that his expenses claim has rejected. The problem is on the phpmailer that does not take the value of …

Web Development php session
Member Avatar for AARTI SHRIVAS
0
178
Member Avatar for malisubhani

Hello I would like to know how can we make speech to text PHP based application. Any API reference and tutorial.

Web Development api php
Member Avatar for noelthefish
0
158
Member Avatar for dany12

Hy my apache2.4.6 is not reading htaccess files My 000-default.conf file is <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # …

Web Development apache php wordpress
Member Avatar for dany12
0
3K
Member Avatar for vbdotnetlover

Dear Sir, I have modified your codes once again as <?php if (isset($_POST['button1'])){ $name=$_POST['text1']; }else{ $name=""; } if ($name) { echo 'My name is ' . $name; }else{ echo 'No name entered'; } ?> <html> <head> <title> First form </title> </head> <body> <form name="aa" method="POST"> Name <input type="text" name="text1" value=""> …

Web Development php
Member Avatar for vbdotnetlover
0
139
Member Avatar for DTSCode

im writing a firefox addon to append signatures to posts in cplusplus.com, but im having a little trouble, as it has been a long time since i wrote in javascript. right now i just want it to verify that i am in fact on the c++ forums and if it …

Web Development javascript regex web-browser
Member Avatar for DTSCode
0
317
Member Avatar for Kentopencart

I have opencart 1.5.6 with Swedish language file I get an error code when the customer should register an account 2013-11-16 14:54:16 - PHP Warning: Can not modify header information - headers alreadycreated late by (output started at / customers/1/b/6/mittföretag.se/httpd.www/catalog/language/swedish / account / register.php: 1) in / customers/1/b/6/mittföretag.se/httpd.www/system/engine/controller.php on line …

Web Development php
Member Avatar for Dani
0
116
Member Avatar for fheppell

I wrote this code to integrate with filepicker.io, it takes the URL of the file and gets the header information: $info = curl_init() or die('error 1'); curl_setopt($info, CURLOPT_RETURNTRANSFER, 1); //curl_setopt($info, CURLOPT_PORT , 8089); curl_setopt($info, CURLOPT_URL, $url); curl_setopt($info, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($info, CURLOPT_NOBODY, true); //curl_setopt($info, CURLOPT_SSL_VERIFYPEER, 0); curl_exec($info); if(!curl_errno($info)){ $response = curl_getinfo($info); …

Web Development api php
Member Avatar for diafol
0
629
Member Avatar for nadiam

this is my php code for my profile.php. it is to display the users name after login. <?php session_start(); require "connect.php"; if($_SESSION['name']) { $name = $_SESSION['name']; $query = mysql_query("SELECT name FROM register WHERE name ='$name'"); $numrows = mysql_num_rows($query); if(1 == $numrows) { while ($rows = mysql_fetch_assoc($query)) { echo "Welcome, ".$rows['name']."!"; …

Web Development php
Member Avatar for nadiam
0
299
Member Avatar for gahhon

![454d3e17a16836952cb76f6c54023cc7](/attachments/large/3/454d3e17a16836952cb76f6c54023cc7.jpg "454d3e17a16836952cb76f6c54023cc7") I am trying to create a form something like this, but inside the box container i will let the end-users to do the survery. How to do this? Thanks for in advanced.

Web Development asp.net
Member Avatar for gahhon
0
146
Member Avatar for erminasrcutp

this is my search.php , however once user has view one data user will want to update one location / status . I can not do the Edit.php . Can someone please help me ? Search.php <html> <head> <title>::Home</title> </head> <body> <div id="header"> <img src='banner.png' align='middle' width='101%' height='110%'> </div> <div …

Web Development html-css mysql php
Member Avatar for rpv_sen
0
253
Member Avatar for erminasrcutp

Can someone help me to fix this problemmm pleasee. Notice: Undefined index: id in C:\xampp\htdocs\draft3\Edit.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\draft3\Edit.php on line 6 Edit.php <?php include'e.php'; if(!isset($_POST['submit'])) { $q="SELECT * FROM myaduan WHERE id= $_GET[id]"; $result=mysql_query($q); $myaduan=mysql_fetch_array($result); } ?> <h1>You …

Web Development php
Member Avatar for rpv_sen
0
209
Member Avatar for gahhon

Any guidelines that able to print customize a page with custom header and data passing? I found a solution, but that is print the repeater/gridview without customize the page.. What i need is print a page with customization. ![36e1d0310329124ba8fce2070ac095ff](/attachments/large/3/36e1d0310329124ba8fce2070ac095ff.jpg "36e1d0310329124ba8fce2070ac095ff") The Red Cross indicates to remove while in print preview. …

Web Development asp.net
Member Avatar for gahhon
0
204
Member Avatar for tqmd1

Sir I have following codes <?php if(isset($_POST['button1'])) { $aa = $_POST['text1']; echo ("My name is " . $aa); } ?> <html> <head> <title>First form</title> </head> <body> <form name="aa" action="mix.php" method="POST"> Name<input type="text" name="text1" value=""> <input type="submit" value="display" name="button1"> </form> </body> </html> These codes work fine. I am beginner so I …

Web Development php
Member Avatar for diafol
0
127
Member Avatar for gahhon

ValidationExpression="^.*(?=.{7,})(?=.[a-zA-Z])(?=.*[\d])(?=.*[\W]).*$" This is the expression for the password, 1. At Least 7 2. Alphanumeric required 3. Special Characters But can i check the textbox must not be empty other than using RequireFieldValidator.. Due to i going to apply Ajax ValidatorCallOutExtender, is hardly to display both validator..

Web Development asp.net
Member Avatar for gahhon
0
101
Member Avatar for baldford

This code does not work properly. The code does execute but i am unable to see where the file should be uploaded to. I checked the default directory referenced by the php.ini file but to no avail. [code]<?php $to = "nextphaze@live.com"; $firstname = $_REQUEST['firstname'] ; $lastname = $_REQUEST['lastname'] ; $mobile …

Web Development pdf php
Member Avatar for Baldford_1
0
267
Member Avatar for erminasrcutp

Hi , How can I show CaseID once user has fill up the form . My database : CaseID , Name , Feedback The form will require user to enter name and feedback . After submit button is enter , the CaseID should be show to user . How can …

Web Development
Member Avatar for Muhammad Anas
0
162
Member Avatar for fheppell

When I open a page the page loads for a very long time and no errors appear in the logs. I've run it through a syntax checker which told me there was one more opening parenthasis than expected, but didn't give me a line number, so I have no idea …

Web Development api html-amp php
Member Avatar for iamthwee
0
317
Member Avatar for grafic.web

Hi there, this is the code of my contactcontroller.cs : using ContactMvc.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace ContactMvc.Controllers { public class ContactController : Controller { // // GET: /Contact/ [HttpGet] public ActionResult Index() { return View(new ContactMessage()); } [HttpPost] [ValidateAntiForgeryToken] public ActionResult Index(ContactMessage post) …

Web Development asp.net software-architecture
0
160
Member Avatar for nadiam

So im not too sure if im posting this in the right forum. please dont be angry! new at daniweb so basically what i wanna know is how to save real time date into database. what i have is a page with tabs of month and in each tab the …

Web Development mysql php
Member Avatar for JorgeM
0
1K
Member Avatar for techyworld

Hi am creating a java web application using jsf framework. I generate report using BIRT report. i create a table but when i view the report the line and border of the table is not displaying. how to make it appears? Anyone can help?

Web Development java-jsp
Member Avatar for cool_zephyr
0
166
Member Avatar for cool_zephyr

hey how can I handle no-mapping found exception in spring dispatcher?? so that, if no-mapping to a controller is found in the dispatcher, I would like to redirect the user to a separate Resource not found page Suppose I have only 2 pages in my web application, "/about", "/help" and …

Web Development java-jsp spring-framework
Member Avatar for cool_zephyr
0
1K

The End.