39,316 Topics

Member Avatar for
Member Avatar for edz_berlin

i'm newbie in php. need more help to finish my project..i have 3 page: 1st page : status button(i'm using image button for each status and have 5 status button) code for image button: [CODE] <a href="negeri-semak.php" ><INPUT TYPE="image" value="" src="pictures/icon/image005.gif" width="230" height="37" border="0" id="RAKAN MUDA" onclick="javascript:this.form.submit()" name="BTN" alt="RAKAN MUDA"></a> …

Member Avatar for pzuurveen
0
583
Member Avatar for BenzZz

Error messages should be displayed within the html if certain fields on my member register form are left empty, if they are invalid types or if the username entered already exists. I've tried adding a record with an already existing username and it does direct to the member registration failed …

Member Avatar for BenzZz
0
268
Member Avatar for chandbasha

Hi, How to know the cron is working or not. i am getting mail from cron but how to know whether the functionality is working or not. i am getting mail like this [B]Cron Daemon [email]root@ip-xyz.ap-southeast-1.compute.intern[/email]al to me show details 4:59 AM (11 hours ago) --2012-01-10 04:59:01-- [url]http://www.xyz.com/reports/status.php?provider=6[/url] Resolving [url]www.xyz.com[/url]... …

Member Avatar for pritaeas
0
160
Member Avatar for daniel36

i am trying to create google adword sandbox account and display the information returned by sandbox for it i hv installed google adword library and installed it.and made a code index.php which is[CODE]<?php require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php'; $username = "rmvd for security"; $password = "rmvd for security"; $currencyCode = "USD"; $developerToken = …

0
75
Member Avatar for Virangya

hi, how can i select only unique string out of a series of iterating strings? for example, i have this folder which contains number of files with quite long names. i have used readdir() to find all the files. assume that the name of the file has an format. eg: …

Member Avatar for Virangya
0
187
Member Avatar for freakunleash

Hi All, Need your help. I'm trying to create a small movie DB for my personal use. I have a input form from where I'm collecting all the data as an array and processing through PHP to MYSQL. I have three tables where I have tried to create many-to-many relation …

Member Avatar for diafol
0
202
Member Avatar for MeeDeggi

I need some help with radio button data and how to code it in PHP to insert the data into MySQL. Here is my [B]Form Code[/B]: [CODE]<form method="post" action="update.php"> First Name: <br /> <input type="text" name="fname" size="35" /><br /> Last Name: <br /> <input type="text" name="lname" size="35" /><br /> Phone …

Member Avatar for Red_Rain
0
210
Member Avatar for Red_Rain

Hey guys New to PHP and programming in general. I am writing my first PHP form to spit out some "instant" answers based on user input. Basically, i want the form choices to change automatically(without page reload) depending on the choices made before it . I do not know AJAX …

Member Avatar for Red_Rain
0
139
Member Avatar for vectro

This is partially in reference to these threads: [url]http://forums.cpanel.net/f5/fastcgi-fcgid-php-ini-per-user-100133.html[/url] [url]http://forums.cpanel.net/f5/individual-php-ini-files-php-fcgi-php-cgi-160398.html[/url] I more or less followed the instructions there and I came up with the following settings: [b]/home/username/public_html/cgi-bin/php.fcgi[/b] [code] #!/bin/sh export PHP_FCGI_CHILDREN=1 export PHP_FCGI_MAX_REQUESTS=10 exec /usr/local/cpanel/cgi-sys/php5 [/code] [b]/usr/local/apache/conf/userdata/std/2/username/custom.conf[/b] [code] AddHandler php5-fastcgi .php Action php5-fastcgi /cgi-bin/php.fcgi [/code] [b]/usr/local/apache/conf/includes/pre_virtualhost_2.conf[/b] [code] Action php5-fastcgi /cgi-bin/php.fcgi …

0
145
Member Avatar for sainigks

Hi every one, i am making a database table which count how much times page reloaded. i have create a variable in session and assign it a value "0"; now i want when page reloaded this value of session variable will increase with 1. how can i do this. please …

Member Avatar for DariusG
0
1K
Member Avatar for PF2G

Hi, I got this function on index.php: [CODE]//user 'logado' ou nao function is_logged() { if(isset($_SESSION['username'])) { return true; }else{ return false; } }[/CODE] And i want to use it on top.php (on top is the banner and the menu). [CODE]<div> <ul class="menu"> <li class="top"><a href="index.php" class="top_link"><span>Página Principal</span></a></li> <li class="top"><a href="inscricao.php" …

Member Avatar for DariusG
0
113
Member Avatar for sidra 100

hey can i transfer pictures through sockets through php? how can i do it if its posible.i want to send n receive pictures

Member Avatar for mikulucky
0
68
Member Avatar for fika

i have 3 different table in 1 database.. and i want to let my user see their own profile by using search.. but, my user will divide by those 3 program and their details may be only in one table.. how can i let my user choose their program using …

Member Avatar for diafol
0
144
Member Avatar for sidra 100

hi m making aregisteration form for employees. n validate its some very basic field. but the problem is that if i enter wrong it shows me the error and says click here to refill as told by me but when i enter the correct data even then it shows click …

Member Avatar for sidra 100
0
215
Member Avatar for RockyMtnHi

I have a loop that writes out data for franchises. It works the first time through, but not the 2nd. Here is the page where the data is written out: [URL="http://184.172.137.97/~royl21st/1.php"]http://184.172.137.97/~royl21st/1.php[/URL] Here is the code that spits out the wrong data after the first successful loop. Any ideas? [code] $areaCodeData …

Member Avatar for pritaeas
0
215
Member Avatar for chandbasha

Hi, How to change the csv file's header. In my csv file i am having header as name and email. I want to change it with first_name and emailid without any data lose. Please give me solutions..........

Member Avatar for pritaeas
0
79
Member Avatar for newbie14

Dear All, I am using fpdf to generate a report but one of the field I need to be multicell as the contents can be few lines long. Below is the codes what happens now is that the multicell will be few lines long but the rest of it will …

Member Avatar for newbie14
0
949
Member Avatar for tieastie

Hello, i am a newbie on php programming and try working on my last project in my school. My program is to compare 2 different xml file, it working well at first. but when i tried to add more xml file to compare, the page keeps telling "Fatal error: Call …

Member Avatar for tieastie
0
937
Member Avatar for capton

I knew radio buttons allow for a single selection, but mine allows multiple button selection. please i need a solution. thanks.

Member Avatar for capton
0
1K
Member Avatar for rotten69

Hi all, I haven't changed anything in the config file in phpMyAdmin folder. I don't know why the WAMP server gives me this error. Although everything was working perfectly yesterday. Does anyone know how I can fix this problem? [CODE] You don't have permission to access /phpmyadmin/ on this server. …

Member Avatar for rotten69
0
106
Member Avatar for FakeTales

Hey guys , i am working on a login page that will only allow an admin login , if the user is part of a trade account or is classed as a customer i would like them to be redirected. [CODE]<?php session_start(); if (isset($_SESSION["superUser"])){ header("location: index.php"); exit(); } ?> <?php …

Member Avatar for FakeTales
0
2K
Member Avatar for vizz

Can anyone help me for email message parsing and header parsing for reading multilingual email messages?

Member Avatar for diafol
0
90
Member Avatar for PsychicTide

Hello fellow daniwebians, I seem to have run into a problem echoing MySQL/HTML and am hoping one of you may be able to point me in the right direction. I'm trying to echo portions of HTML(if there is an event for that date) inside HTML that's not echoed, so it …

Member Avatar for PsychicTide
0
148
Member Avatar for jonnyboy12

Hello all. I am making a website that requires put reviews into my database. I have restaurant sections. I want to have reviews stores per restaurant. When it comes to mysql data tables i can only imagen having one column for reviews then giving each picture an id to accociate …

Member Avatar for mikulucky
0
71
Member Avatar for sidra 100

hi m trying to make a login page. m trying that when username and password is confirmed it shows name of customer with welcome message and further page appears accordingly. this is my code for login GUI [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"> <!-- DW6 --> …

Member Avatar for sidra 100
0
257
Member Avatar for liphoso

I am new new to PHP and would like some help. I have read as much as i could but could not get any help hence why i donot even have code i had tried. Assume a database names "sales" with fields" fieldOne" and "fieldtwo". using sql and PHP how …

Member Avatar for liphoso
0
109
Member Avatar for samueal

Hi, I need a Php library or Code to convert images to a video. If i give few images as input, the library should convert it to a Video and it's output should be a video file!! Where can i find this library?? Need some help?

Member Avatar for diafol
0
730
Member Avatar for issaru07

hi everyone, i encounter problem when trying to create a form page to upload images to images folder and imagelocation will store information for the pathname where the image will be located ( will be used for display image in future) the code below does not have any error when …

Member Avatar for diafol
0
180
Member Avatar for uvishere

Hi to everyone, I want to add a new page in the site, [URL="http://greatwayonline.com"]www.greatwayonline.com[/URL]. It is the site of GREATWAY MAGAZINE. you can see the thumbnail titled epaper on the right side of the magazine. My problem is that I want to make its epaper site. My requirements are:- 1) …

Member Avatar for blocblue
0
204
Member Avatar for PF2G

Hi, DaniWeb I'm trying to do a validation form, but when i "submit" and forgot some of the textbox's it gives the error, but erases the textebox's previously filled. Here's the code: [CODE]<?php include ('database_connection.php'); if (isset($_POST['formsubmitted'])) { $error = array();//Declare An Array to store any error message if (empty($_POST['username'])) …

Member Avatar for diafol
0
313

The End.