39,323 Topics
| |
ok i am currently having a problem with my shopping basket. it works fine when you go to a product and select to add it to the basket, it shows on there and you can go back to shop by clicking on the products link and add as many items … | |
Hello friends, Am having a membership website and i need some help. How do i code any login required (member's) page to automatically (log out) request relogin after 5 minutes of idleness of the page? and how do i redirect the member back to page where he was loged out … | |
im trying to set up a calendar using the code from the following site, however i have only got up to the code displayed below, which the site says it should show a calendar however im getting this error. I do however want to set up the whole calendar to … | |
hi all, In my projects page we can create a project i;e projectname and allocate some memory. we had restriction for memory allocation. when we allocate more memory than the available memory then it wil show a popup as 'Insufficient memory'. so wen we click ok button the page where … | |
hey i have two tables in a database that i will like to join in the below code, but i cant. i can only use one table at a time. $result = mysql_query("SELECT name,price from products WHERE itemid = '$id'",$cxn) or die ("Unable to retrieve information from database"); if i … | |
hello, i have to share products in facebook from my site. i used ths code for share. [CODE]<a href="http://www.facebook.com/sharer.php?u=http://<?=$_SERVER['HTTP_HOST']?>/blockbuys/details.php?route=product/product&product_id=<?=$fetpro['auto_id']?>&t=<?=$fetpro['productname']?>"><img src="images/facebook.jpg" /></a>[/CODE] but product image is not displaying in facebbook. how to do this task? thnks. | |
Hi, So basically I have a php file that fetches database records and displays it. Now i would like to add the ability to edit each record using lightbox. here is the main file [CODE=PHP] <?php $username="root"; $password=""; $database="lhs_anniversary_banquet"; mysql_connect("localhost",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM … | |
Hello, I would like ask you how works the FLV Metadata, i use it in order to analyse video streaming websites such as YouTube. It analyses the video header only or the whole video? [CODE]<?php class FLVMetaData { private $buffer; private $metaData; public $fileName; private $typeFlagsAudio; private $typeFlagsVideo; public $VCidMap … | |
I use php for web building . my html table sorting ( js ) not working . it is working in other table but not working in my php page . | |
hi - i have coded a seacrch box and its results are displayed in a tabular form. i have also a print button which when pressed shud create a pdf based on that table that is displayed. for this i have a separate page called pdf.php. i am using ezpdf … | |
Yesterday I setup a message/note script for a "view project" page. It seemed to work fine. Today I went to test it out a bit more and on random occasions I get stuck in a confirm loop. Screenshot: [url]http://rawrgv.com/images/screenlnl.png[/url] I tried unsetting the form submit variable, but that doesn't seem … | |
Okay, I"m developing a program for community service for a local company. It is my first point of sale but I'm only seeing one complication. I've chosen php and it will be storefront only. The Reason its php is because they want to allow vendors to view how much they've … | |
OK this code here should include "lol_url" file: [CODE] <?php $file = 'lol_count.txt'; $data = @file($file); $data = $data[0]; if($handle = @fopen($file, 'w')){ $data = intval($data); $data++; fwrite($handle, $data); fclose($handle); } header('Location: '.include ('lol_url').''); ?> [/CODE] the "lol_url" file contains an url address, such as: http//www.example.com How can I make … | |
Please bear with me as I'm new to PHP. Yesterday, I was working on an HTML form and everything was working fine (PHP would process the information and send an email as expected), but when I started this morning nothing happens. A couple weeks ago I installed WAMP using mostly … | |
hi all im looking to use a select mysql query - but im trying to query the database against a users logged in sessions. I have the sessions working correctly but I am unsure how to included the session data in my sql select query. here is my users session … | |
[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) … | |
can i use websitebaker without a server, like using localhost. I am trying to develop a small website and i am using windows xp. Any help is highly appreciated. thanks in advance... | |
Hello All, I'm new to DaniWeb. I am trying to find php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar, coupon section. Real Estate, Dining, Shopping, and Hotel and Motel guide also. I have an advance user login … | |
Hi All, When i open my site in IE Browser i am getting as 400 image downloading in the status bar.How can i avoid this in my site.Can any one help me in solving this problem.Its urgent.My site is getting slow also due to this. | |
hi,can anyone plz help me..the coding wuz ok,it generate the image from in my directories except it shows a blank image...i don't know wats the prob,plz help me... here is the coding... <?php // connect to mysql server $link = mysql_connect('localhost', 'root', 'abc123'); if (!$link) { die('Not connected : ' … | |
hi all please send me the code of autosuggest with database in php and in the html only textbox autosuggest fill with database. Reply as early as possible. | |
How can I join MySQL tables from different databases when the only similar field is the primary key of the first table in Php? | |
Hi all i need to know if there is by a way by any chance to delete unused images from my virtual directory or wwwroot folder dunamically on the user request using php ? thank you all | |
hi below is the code i am using to try and execute a pdf report. now the following code i saved in a separate file in the website folder itself. and in the form that contains the print button, when clicked i want it to execute the code in the … | |
Hi, I need something like recursion wherein the query repeats itself using it's result to start the NEXT - SAME - QUERY. I made 1 but it just simple reecho the same result. [CODE]// KUNIN ANG ID NI KURIMAW $root = $_GET['id']; $result = mysql_query("SELECT COUNT(*) as count, id, sponsor … | |
[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) … | |
Hi all, I'm having problems passing my variables using thru the url. Here's the code. [CODE =php] $connection = mysql_connect($dbhost, $dbusername, $dbpassword) or die (mysql_error()); mysql_select_db($dbname, $connection); //i use this line to test that variable id has been passed. //this also happens to be the error point $test = "select … | |
For example. You got 1 list with 3 options. a b c once someone select a it instantly appears a text through php under the list or above it. Without to reload or anything else. I have seen it before 100%. pseudo code [CODE] <li> <option 1> a</o> <option 2> … | |
Dear All, Sorry for my frequent questions in this forum. I have came here with a lot of questions. I need help in socket programming in php. For example, Lets consider I have a ip number and port number. Using this ip and port values i want to send a … | |
I have 50+ domains I have parked and instead of using GoDaddy's default parked page I created my own to generate ad revenue or at the very least help increase Google PR. Currently Im using [CODE]<?php echo(preg_replace('/^[a-z]*./','',$_SERVER["HTTP_HOST"])); ?>[/CODE] to display domain.com throughout the page. However, my next step is to … |
The End.