39,393 Topics

Member Avatar for
Member Avatar for Kavitha Butchi

Hello all, For creating dynamic title tags, I tried using [code=php] <title>welcome<?php echo '$pagetitle';?></title> </head> <body> : : <?php : $pagetitle = '$row[2]'; ?> //closing rest of the tags. [/code] I get nothing displayed on title ! So i changed the code to, [code=php] <html> <head> </head> <body> : : …

Member Avatar for Kavitha Butchi
0
207
Member Avatar for mm2409

dear frnds, i hace wrote this code to generate unique id for questionnaire and a query to save it into database with two more value (response id and date) individually i have checked and unique id function is working. even insert query is also executing correctly. but when i put …

Member Avatar for xarz
0
161
Member Avatar for JRiga

I'm trying to develop a game that can be played by 2 players on different clients, and I can't figure out the mechanism how the server can communicate to both sites for the same game. A move on one browser gets communicated to the server, and the server must reply …

Member Avatar for JRiga
0
117
Member Avatar for nil_gh_80

Hello friends, I've a category table, the structure is: category{ id int(11) autoincrement, name varchar(255), parentid int(11); } Now a node can have multiple child nodes and grand child nodes. now if I want to get all childnodes and grandchild nodes of a node id what should i do ??????? …

Member Avatar for chrisranjana
0
158
Member Avatar for webdude12

I have a PHP script I am trying to convert to PERL and need some help. Here is the code in PHP [code] $store_list_name = $prod[10]; $category = $prod[11]; $sub_category = $prod[12]; $searchfor = $store_list_name . "->" . $category . "->" . $sub_category; $getcat = mysql_query("SELECT * FROM categories WHERE …

Member Avatar for chrisranjana
0
120
Member Avatar for nishant52

I want to pass my form data to default file of a directory. For eg:- My default file for a directory is "Default.php". If i give, <form action="Directory"> </form> , then the form data should be passed to "Default.php". Is this possible ?? If so how ??

Member Avatar for xarz
0
140
Member Avatar for addsf1

I keep getting this message what is wrong with my sacript??? Parse error: syntax error, unexpected $end in /home/sites/thefieldinggallery.co.uk/web/contact_form.php on line 65 here is the php script: [code=php]<?php /* subject and email Variables */ $emailSubject = 'Crazy PHP Scripting'; $webMaster = 'info@thefieldinggallery.co.uk'; /* Gathering Data Variables */ $nameField = $_POST['name']; …

Member Avatar for peter_budo
0
148
Member Avatar for websurfer

Hello, all: was wandering, how can I have php create a thumb frame of a movie?? (like youtube where only a frame of the movie appears which then when you click takes you to the movie itself to play...) I am looking to create a small gallery of movies, but …

Member Avatar for digital-ether
0
336
Member Avatar for Anil4u

Hi all, How to add google adsence module in Drupal, please can anyone help me, when i integrated then it asking for Google AdSense client ID, register in google adsence , but i have not that client id, please help me for this, i am able to test in the …

Member Avatar for digital-ether
0
58
Member Avatar for Aamit

[code] <?php if(isset($_POST["send"])) { $name = $_POST["name"]; $email = $_POST["email"]; $msg = $_POST["msg"]; echo(" Hello!<br />"); if(empty($name)) { echo(" - There was no name!<br />"); } if(empty($msg)) { echo(" - There was no message!<br />"); } // IF THEIR ARE NOT EMPTY if(!empty($name) && !empty($email) && !empty($msg)) { //code for …

Member Avatar for digital-ether
0
121
Member Avatar for asifkamalzahid

ftp_ssl_connect problom i run my php program for uploading file from my server to another server. it works with normal ftp connection but it has problom with ftp_ssl_connect function. it gives me an error u calling an undefined function (ftp_ssl_connect) i read the follwing information on the php.net site about …

Member Avatar for xylude
0
120
Member Avatar for parhs

Hello. I have downloaded some ready projects and i saw that they seperate html from php. They are echoing everything through a class.For example they make a class for <html> tag for <body> etc. This is driving me insane.Whats wrong with just having some classes and then mix html and …

Member Avatar for parhs
0
148
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Member Avatar for tuse
0
81
Member Avatar for stealthmode

Hi all, I put some initial values in a form field to help the user, i use php to extract the form data and send it via email. How do i get the initial value in the text field to stop appearing in the email. example, I have a name …

Member Avatar for sikka_varun
0
95
Member Avatar for parhs

Hello.. I couldnt find anything for this topic. I know how to connect to a mysql database and close the connection.But that means that for every script a connection should be established and closed. Is this right and ok for big projects? About 200 concurrent users for example; Having a …

Member Avatar for pkpandit
0
128
Member Avatar for haru-chan

I have a string that should control if the checkbox array is checked or not when i open the page... I made a string which contain a value of 0 & 1 and deal with the string as an array if 1=checked note: I retreive my checkbox values from the …

Member Avatar for haru-chan
0
71
Member Avatar for FTProtocol

Hey, Just wondering how i would go about connecting to a php file from a console based app. Any ideas would be greatly appreciated.

Member Avatar for FTProtocol
0
103
Member Avatar for asifkamalzahid

if i have file name "file" on my ftp server in some folder and i want to upload a new file with same name "file" at the same folder. so it will create problom or it will modifiy the existing file. i have the following error message 1 Warning: ftp_fput() …

Member Avatar for asifkamalzahid
0
124
Member Avatar for veledrom

I have just installed LAMP and want to create a folder to store all the php and html files. After that run them in [url]http://localhost[/url]. Where and how do i create a folder to store all my files to be executed? Thanks

Member Avatar for veledrom
0
88
Member Avatar for nil_gh_80

Hello friends, I'm in a serious problem....... I have a change password application for registered users......I've applied javascript to check wheather fields are blanks or not but incase if someone press spacebar in new password and retype new password fields then it accept it . Now I want to block …

Member Avatar for nil_gh_80
0
122
Member Avatar for Bob Arctor

Hello all, Newbie and running out of steam here. I have a form passing the checkbox value to a db. The db is essentially 2 fields news and id (auto-increment). I'm pretty baffled as how to extract the data. Ideally I would like to give each form submission a unique …

Member Avatar for Bob Arctor
0
440
Member Avatar for VernonDozier

I have some simple php code. It worked fine on the old server, but now I am getting an error on the new server. Both former and present servers are Linux. [code=php] <?php function ConfirmationEmail () { $from = "mo@abc.com"; $recipient = "bill@yahoo.com"; $cc1 = $from; $cc2 = "mo@gmail.com"; $subject …

Member Avatar for blocblue
0
193
Member Avatar for almualim
Member Avatar for PomonaGrange
0
160
Member Avatar for Venom Rush

Well the title pretty much says it all. I'm reading through a php OOP book and I'm having trouble understanding why you'd want to create an abstract class. Can anyone perhaps shed some light on this for me as I haven't found any resources that explain this well enough.

Member Avatar for digital-ether
0
159
Member Avatar for devon.philip

A cookie is a flat file that stores tiny bits of information. It is stored on the client’s machine and is passed to the client when they visit your site. Each cookie can store anything from usernames to number of visits to a site. This tutorial will teach you how …

Member Avatar for digital-ether
0
125
Member Avatar for RuneMan

I am developing a website which encrypts every user's password with sha1() method and is stored in the database. Now the problem is I want to offer a recover password function for my users. but i dont know how to get the password from the salted string Help me!!!

Member Avatar for digital-ether
0
109
Member Avatar for snowsurfer32

does anyone know a good blog software program? if so shoot me a link Intermountain web solutions. drew Korent. Thanks.

Member Avatar for PoA
0
94
Member Avatar for dizid

hi :icon_neutral: , I want to make a radio button checked if the form is already submitted. The form and output are on the same page. I have 2 (later more) radio buttons and i want the form to 'remember' the state of the button, e.g. insert a checked="checked" text …

Member Avatar for dizid
0
119
Member Avatar for smartness

I use the News-Engine 1.5.1 script in my website. He worked perfectly till now. It was replaced on the server now the MySQL. PHP 5.2.4 and MySQL 5.0.51 versions run on the server. During the run of the site, I get the following error message: Error message: Query fatal error: …

Member Avatar for blocblue
0
62
Member Avatar for snowsurfer32

Hey everyone so someone answered my question but i need some help some one recommended huggins email program ... the problem is i dont know how to put it on my website could some one tell me how to install it. thanks... intermountain web solutions. drew kornet

0
50

The End.