39,320 Topics
| |
Hello friends... I have one question that why session variable are stored on server side, what is reason behind this. If it is stored on client side what will be disadvantage. | |
Hi, I'm creating a Joomla website for a client and it's a vertical menu and one of the links expands when clicked on. I know it's a Joomla default and it worked fine until I started to change the button images. It worked when it was text but now it … | |
hello everybody i want to learn that how online file converters works and also want to implement it please provide me good references for it. i shall be thankful to you | |
anyone got any experience with using the login with fb option?? im thinking of implimenting it into a site of mine but im not sure how it works, the fb documents are terrible and give no knowledge of anythin, and all the tuts are useless! i kno how it works, … | |
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\baby\mail_result.php on line 16 [CODE]<?php $contact_us=1; include("dbconnect.php"); include("funksione.php"); include("header.php"); include("left.php"); include("tbl_begin.php"); $from=$_POST['email']; $sender=$_POST['name']; $headers = 'From: $sender' . "\r\n" . 'Reply-To: $from' . "\r\n" . 'X-Mailer: … | |
Hi and for the past 4 days, I have been trying to make a secure spam-proof blog with no login. I manage to embed a lot into a demo but the following code I know works (as I have made it work on my forum login) but has an error … | |
[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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>The Book Center</title> </head> <body> <?php include('header.html'); //shtohet pjesa e kodit qe gjendet ne fajllin header.html // ne variablat perkatese ruhen vlerat perkatese qe vijne nga fajlli paraprak $bookid=$HTTP_POST_VARS['bookid']; $title=$HTTP_POST_VARS['title']; $datereal=$HTTP_POST_VARS['datereal']; $cost=$HTTP_POST_VARS['cost']; $pages=$HTTP_POST_VARS['pages']; $genderid=$HTTP_POST_VARS['genderid']; … | |
Helloo Guys...i have worked with PHP for almost two years and my Editor was Notepad++ then three weeks ago shifted and started using PHPEDIT )) BUT FOR I AM LOOKING TO KNOW WHICH PHP FRAMEWORK IS BETTER,BECAUSE I WANT TO START WORKING ON IT. PLEASE I NEED YOUR SUGGESTIONS. | |
I wrote rewriteurl statement that removes .php extension, but it is not working.. Here it is the .htaccess code. [CODE] Options +FollowSymLinks Options +Indexes RewriteEngine on RewriteCond %{HTTP_HOST} ^3gphone\.in$ [NC] RewriteRule ^(.*)$ http://www.3gphone.in/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/ RewriteRule ^(.*)index\.php$ /$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule … | |
I made two scripts register.php and register1.php, the register.php takes the values and register1.php process them and stores them into a mysql database. after i fill in the form and press submit, I get an error. I am using mySQL 5.5.8 Register.php [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <html> <form action="register1.php" … | |
Hi Frnds.. plz check below code & tell me how to create DB table,inserting values for checkboxes.... its urgent plz.. [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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>shopping</title> </head> <body class="bg"> <table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td> </td> </tr> … | |
Hello everything, I am not uderstanding what i did wrong. Everything looks good but before they submit the information it should ask to re-enter the password. Can someone help me out to understand this. Here is my code [CODE]<?php function showForm($strMessage){ echo "<h1>".$strMessage."</h1>"; echo " <p>Note: fields marked with '*' … | |
Hi, I am having some trouble with my login PHP script. My Code is below ( Please let me know if you see any errors with it ) Thanks! [CODE] <?php session_start(); require("db.php"); if(isset($_SESSION['SESS_LOGGEDIN']) == TRUE) { header("Location: " . $config_basedir); } if(isset($_POST['submit'])) { //Check to see if they are … | |
Hi, So i've tried asking this question many times and haven't been able tp come up with an answer so i'm trying again in a much more understandable way, well i'll try.. [B]Scenario -[/B] [LIST] [*]Ok if you think of facebook, there are many different users. [*]These users are able … | |
Hi. I'm having a problem with that code. Im getting this error: [I]Warning: mssql_execute() [function.mssql-execute]: message: Error de conversi�n al convertir una cadena de caracteres a datetime. (severity 16) (Translate: error converting string to datetime) Warning: mssql_execute() [function.mssql-execute]: stored procedure execution failed[/I] But I dont use datetime in this script! … | |
I don't program in PHP so looking at similar code and hacking it has not worked well. Perhaps someone here can help me get started. I'm a genealogist and would like a simple script to determine when someone was born based on their age on a particular date. For example, … | |
I have a bit of a strange situation. What I want to be able to do is if a html form is submitted have a php include() or something that would callup a seperate external website url and look for an instance of the phrase Invalid user credentials on the … | |
Hi everyone. So I'm trying to make a thumbnails for the products from my shopping cart. A script wa suggested to me which is this: [url]http://shiftingpixel.com/2008/03/03/smart-image-resizer/[/url] Which looks simple and nice. The problem is this: When I merge the script and my code together I get this (the file is … | |
Hi! I'm not sure if there's something i'm missing... I want to implement the Wordpress Gallery Plugin into my site. I want it to be present just after the navigation (which would be stuck to the top if the browser window almost as if it were in header). I'm sure … | |
In ubuntu10.10 i have created a php file, info.php and when I go to my browser and type the url: 127.0.0.1/info.php it pops up the window asking open or save the file,i choose open so it asks for the application to open with( refer the screen shot)Please help. | |
Hi all, I have just created a social site and i was wondering if there is a way to make notification pop up on the side of screen and fade just like facebook? but in php? Please add links to other website to help me get on the right path. … | |
Hello dear friends.. I have some confusion in following code. <?php session_start(); $_SESSION["name"]= "abc"; session_destroy(); echo $_SESSION["name"]; ?> as I am assigning value to session variable, after assigning I am destroying whole session but after destroying as I echo $_SESSION["name"] it show value. It is printing value even session has … | |
Hello I've got a problem whereby I need to block access to my survey, I do not want a situation where a user can access the survey by just entering the URL of the survey, the survey has been integrated with mediawiki. Thanks in advance kgizo | |
I have a problem with my links getting added a extra subdirectory found to it when that link doesnt even exist I have tried everything possible, such as ../ to specifying to exact folder location within the links Here what are the correct links are: [url]http://localhost/xampp/website/newsletter.php[/url] [url]http://localhost/xampp/website/admin/login.php[/url] When I click … | |
hello, i am trying to add a feature in my contact form that create a link with visitors submitted 'TITLE' and 'URL'. Have a look at this code! ***In this code [B]$attn = Visitors submitted URL[/B] and [B]$visitor = Visitors submitted title[/B]. [CODE]$todayis = date("l, F j, Y, g:i a") … | |
Hi, I'm new here, seems like a nice forum so I'm gonna start. I need to make table which gets info from mysql sortable. Now, I have idea to make it with switch and case's but thing that gives me problem is two $_GET's in address. What I mean is … | |
I want to write rewrite rule for page url that have no .php extension.. for example [B][url]http://www.3gphone.in/brands.php[/url][/B] into [B][url]http://www.3gphone.in/brands[/url][/B] Here is my code, but it is not working.. [CODE] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^([^/]+)/$ $1.php [/CODE] | |
Hi everyone My problem is that i am using javascript form validation for the first time and have made a function "Validateform()" to validate "emailid" field in my Form. Now the problem is that it's not working. Now in my registeration form when i enter a wrong email id for … | |
HELLOOOO Daniweb! I'm stuck at an issue that I can't seem to get around with my standard pagination codes I've used in the past. I'm developing a business directory and as with most of those, the listings are priced according to hierarchy: - sponsored (category sponsor, always on top) - … | |
I have a few questions about PHP. I am a newbie and still a little confused. Now when you do a form for php do you put everything on one page or use links for the page. Such as HTML,PHP and the form. Or can the form just be on … |
The End.