39,323 Topics

Member Avatar for
Member Avatar for Moderns

Hi mates, I have a php page called "get_http_vars.php" that's hidden and not browsed in browser and only used to receive HTTP GET response variables from remote server. The problem the value of $_SESSION['id'] is empty when the HTTP GET variables are received (I mean when the page gets response …

Member Avatar for Moderns
0
184
Member Avatar for Sorcher

Hello! I am trying to understand how i could make a profile page for each of my members. They all got an unique folder and i need to make something for the index. I was thinking...can i get the last word in [url]www.example.com/u/user22[/url] and compare "user22" to the $_session['username'];, and …

Member Avatar for nuttyniall
0
165
Member Avatar for dudzkie

hello there, i'm currently studying php and i have no idea about some codes im trying to learn how to compute a total amount that i called from a database its like this i call this data from a database using SELECT * FROM Item Price book 5.00 pencil 3.00 …

Member Avatar for mschroeder
0
88
Member Avatar for kischi

Hi, I've made a form and it can send an e-mail with the text the person filled out. But now I'm trying to do so the person can upload a file and that will be included in the e-mail as an attachment. I think the problem is that I don't …

Member Avatar for kischi
0
157
Member Avatar for kirtan_thakkar

I want to get details of user when he registers with my website for security reasons. I need ip and date and time I guess. Is there anything else I need to cache while registering? How to get ip,time and date? And time will be in which timezone? I want …

Member Avatar for kirtan_thakkar
0
2K
Member Avatar for xclone

Hello, We have a customized service desk script which makes use of send-mail to send out emails. But we have had an error with a regular expression function preg_replace for quite a while now. The original developer has left the organization and I am trying to take over but its …

0
47
Member Avatar for soomro_moon

can anyone help me out. why this code is not working? i want that whatever date is in requst ship field add 10 days in that and show that in next filed cancle ship field.can anyone help me out. [CODE] <? $a = uniqid(); $b=$a; $d=date("m-d-y"); function data_copy() { $r_s_d …

Member Avatar for Shanti C
0
94
Member Avatar for Sarao

[code] <style> font-size: 14px; font-weight: normal; font-family: Tahoma, Geneva, sans-serif; } .bar { font:"Free 3 of 9 Extended"; font-size:14px; } .K2 { font-size: 14px; font-family: tahoma, Geneva, sans-serif; } .ff { font-family: "Courier New", Courier, monospace; } --> </style> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' …

Member Avatar for SEOCoder
0
149
Member Avatar for guggilosmodz

Can you please tell me where i am going wrong i am trying to insert just the username and stuff into my database and its not showing up please help me ASAP! it is connecting to the server okay its just that for some reason its not showing up in …

Member Avatar for lyrico
0
87
Member Avatar for branding4you

me again ... been google'ing the last 3 days to slide images accross a php page, does anyone know of any to pull these image names from a folder in the directory of a website? Thanx mike

Member Avatar for branding4you
0
103
Member Avatar for oree

I am trying to have a search bar where user will input a string ($var) which after i will search that sting in the field named: "itemname". i will search all the different tables in the database and create a new temporary database named: searchtable. seachtable should contain all the …

Member Avatar for oree
0
113
Member Avatar for soomro_moon

why this code is not working? can any one help me? [CODE] <select id="cboOptions" name="cbo0ptions" onChange="displayDiv(this.value)"> <option selected="selected" value="">choose</option> <option value="1">Order 1</option> <option value="2">Order 2</option> <option value="3">Order 3</option> <option value="4">Order 4</option> </select> <div id="1" style="display:none;"> <fieldset> <legend>order line</legend> <table> <tr><td>Item ID</td><td><input type="text" readonly="" value="<? echo $c = uniqid(); ?>" /></td></tr> …

Member Avatar for jkon
0
116
Member Avatar for Macko888

[CODE]<?php function graphImage($numachieved, $weektarg) { //working out how many days are in the month $day = (date('t')/4.33333); //week1 $day1 = $day; //week2 $day2 = ($day*2); //week3 $day3 = ($day*3); //week4 $day4 = ($day*4); //tagert for the week $perWeek = $numachived; //height of graph $numtarg = ($weektarg*1); $numtarg2 = ($weektarg*2); $numtarg3 …

Member Avatar for jkon
0
296
Member Avatar for phouse512

Hello all, I have a decent knowledge of php, but I have no idea how to approach this problem, or even if this requires php for that matter (I'm open to learning what this would require). In a certain area of my website, I have updates/messages from an admin being …

Member Avatar for chrishea
0
62
Member Avatar for skald89

I have a form on page 2 and I want the information submitted on the form to be sent to page 3. How do i do that?

Member Avatar for skald89
0
2K
Member Avatar for Sarao

Hello, I am sorry to bother you all again. I am creating a script, which is used for storing the parcels sent. Now, I have done everything. Just need to add one feature. I have a MYSQL field named TRACKING which will hold tracking information or reciept numbers of the …

Member Avatar for kuink
0
187
Member Avatar for cjay175

Using Wordpress with update_user_meta and php array. Had a quick question regarding dynamic input fields and posting it to php. [CODE] <input type="text" name="test[]" /> [/CODE] These fields get added dynamically as well using jquery which works fine, the issue im having is posting the array individually. To save this …

Member Avatar for cjay175
0
101
Member Avatar for Imratzio

Hi all, I have an error that once user has submitted information the header could not enter information. [CODE]Warning: Cannot modify header information - headers already sent by (output started at F:\root\xampplite\htdocs\fyp\top.php:62) in F:\root\xampplite\htdocs\fyp\login.php on line 219[/CODE] Heres my code [CODE]session_start(); include_once'top.php'; include_once "config.php"; //include_once "html.php"; switch (@$_POST['do']) { case …

Member Avatar for Imratzio
0
117
Member Avatar for JBLDW

I am trying to put together a script and need to be able to list a number of countries and to then say, in the script, if the country is listed in the above do something... The problem is that I do not want to have to specify each and …

Member Avatar for JBLDW
0
235
Member Avatar for burningcandle10

i want to convert this code to php, which will be used in wordress and i want this code to float on browser thanx [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Related Posts Slide Out Boxes with jQuery and CSS3</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="description" content="Related …

Member Avatar for Szabi Zsoldos
0
163
Member Avatar for diginamics

First page adds a new job number, then the order page loaded with the job number id as a get id. Basically there is a while loop in the order page which shows products/services client can order and he chooses what he requires 'one or eight services' (8 in total) …

Member Avatar for diginamics
0
166
Member Avatar for sillverstixx

I get this error while executing this code: [CODE] for( $iii = 0; $iii < $tot_layers; $iii++ ) { $Lrow = mysql_fetch_array($Lresult); if($HTTP_POST_VARS[$Lrow['name']] != 'spacer.gif') { if($nulavatar == false) { $sprite_1 = @$imagecreate($phpbb_root_path.$sprites_path.'/'.$HTTP_POST_VARS[$Lrow['name']]); $nulavatar = true; } else { $image = @$imagecreate($phpbb_root_path.$sprites_path.'/'.$HTTP_POST_VARS[$Lrow['name']]); @imagecopy ($sprite_1, $image, 0, 0, 0, 0, $tot_width, …

Member Avatar for sDJh
0
254
Member Avatar for chakebubu

I woulld like to try out motion detection using a webcam in PHP. Would it be possible to do it in Windows? I have already done a google search but the script available is for Unix

Member Avatar for sDJh
0
38
Member Avatar for jehuie

Hi, I'm a total newb. I'm wanting to test out a PHP program so I installed apache on my Win7 machine along with PHP. I actually used the wamp install that installs the above along with MySql and some other goodies. Anyway, it all seemed to install fine but when …

Member Avatar for kuink
0
178
Member Avatar for Venugopal Ravi

Hello, I am working on a project now, in which i need to find the local business listings eg: i will get the business name and zipcode from user and i need to business lisitings found at various search engines like google, yahoo, bing, yelp etc., to more precise i …

Member Avatar for chrishea
0
115
Member Avatar for Witblitz

I am using an XML parser to get product info from a supplier site, I then break it into an array. What I need to be able to do here is to search for a specific model number code and it's accompanying data into a new single array. How do …

Member Avatar for Witblitz
0
101
Member Avatar for thr

Hello i want to create a site that has features like google android market or iphone app store! i dont know what programming language or framework is better to create sites with these features. i am familiar with c++ and java programming language.i want to choose best programming language for …

Member Avatar for thr
0
69
Member Avatar for captain.don

Hi all!! i have PHP script (3 files) for upload images on my hosting server.This script changes the name of images in a unique format before uploading onto the server.I just need to print the name of image file and its path where the image is getting uploaded (like [url]http://www.johnsgallary.net/imageuploader/uploaded_files/124abc.jpg).Please[/url] …

Member Avatar for Shanti C
0
256
Member Avatar for CasTex

Hi everyone, I am successfully creating an image with php, but I want to make it hyperlinked. But I cant do it. Here is my script: [url]http://www.forumistan.net/7tepe/olus.php?site=www.bodrumlife.com[/url] PHP Code: [code=php]<?php header("Content-type: image/png"); $yaziyaz = "Alexa: 3,493,231"; $yaziyaz1 = "Pagerank: 3"; $string = $yaziyaz; $string1 = $yaziyaz1; $im = imagecreatefrompng("resim.png"); $orange …

Member Avatar for onlymani
0
188
Member Avatar for nyler01

Good Day, I am looking for threads here in daniweb which will contain my question but the return is not similar to my problem.. Please help me.. i don't know what to do with this. I just want to store date field in mysql database but i can't here is …

Member Avatar for rajvinoth
0
140

The End.