39,323 Topics
| |
[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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
Hey, Just wondering how i would go about connecting to a php file from a console based app. Any ideas would be greatly appreciated. | |
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() … | |
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 | |
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 … | |
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 … | |
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 … | |
hi friends, i want to get backup from MySQL DB by use php code. | |
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. | |
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 … | |
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!!! | |
does anyone know a good blog software program? if so shoot me a link Intermountain web solutions. drew Korent. Thanks. | |
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 … | |
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: … | |
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 | |
Hai I am sathiya i display my database records using PHP . i display radio buttons to select the candidate. and at last i will give submit button to update . But i want to update each and every candidate by clicking the radio button seperately by using AJAX. please … | |
Hi I'm a total newb at php and mysql but using Dreamweaver I've managed to create a php webpage containing a series of checkboxes (I think of them as tags) and a text field (for URLs) that allows me to enter data into a database. I've done a test post, … | |
I have code to propagate a drop down list that displays people's names. The problem is that the first name and last name are separate fields in the database, and I can only get the drop down list to display one of them. Here's my code: [code=php]<?php $result = mysql_query("SELECT … | |
Hi, I'm a newbie and am having a problem with either my where clause in my sql statement or something else, I think its the where because if I take that out the script works fine... Here is the error I get: Warning: mysql_fetch_array(): supplied argument is not a valid … | |
I'M running a site on PHP 5.2.6, Apache 2.2.9 (shared hosting). Most of the site uses a CMS (MODx) but I have one section using home-rolled scripts. I have a file that gets included into these that checks user status by looking for the MODx session vars. On one script, … | |
hello guys i need put banner on 'my account table'. banner should included reflink of member or user who's accessing this page. here is banner picture: <img src="http://i35.tinypic.com/349ciza.jpg" border="0"> and here is all php code of my account table: [ICODE]<?php include_once('header.php'); if(isset($_COOKIE["usNick"]) && isset($_COOKIE["usPass"])){ $user = $_COOKIE["usNick"]; $myDb->connect(); $sql = … | |
Hai all, <span >Test_Ajax</span> On mouse over of Test_Ajax I want display a tooltip which display the value of a variable (which is declered in php file). For doing this task how should I co-ordinate ajax, js, php and html files | |
Hi I am trying to open the explorer window using php code .But i got the security issue .Please help me how to solve the issue. [code]<a href="file:///opt" target="_blank">adas</a>[/code] I got this error message Please help me how to fix the issue Security Error: Content at [url]http://localhost/test.php[/url] may not load … | |
Hi, I have a problem in sending mail in HTML format using PHP mail() function. The problem is that the HTML is not rendered in microsoft outlook (showing raw data) but in yahoo it is good and the HTML is rendered and shown correctly. These are the mail agent I … |
The End.