39,320 Topics

Member Avatar for
Member Avatar for ikel

What is the difference between "&" and "?" in http://www.website.com/count.php&sessionid=myid and http://www.website.com/count.php?sessionid=myid Thanks, ikel

Member Avatar for ikel
0
189
Member Avatar for tqmd1

Dear Sir, When I try to launch wamp server then it show an error message. Please see error message in following links http://html.net/forums/download/file.php?id=710 http://html.net/forums/download/file.php?id=709 Please help

Member Avatar for tqmd1
0
77
Member Avatar for ankii572

hii, i am new to php and i wanna create a library management system with the help of php and procedure function in mysql so that i also got the security on my localmachine. bt i want to login the user with the help of access card and fetch all …

Member Avatar for diafol
0
219
Member Avatar for Indians

this is my login page coding. my login form html coding and php coding is in same page. now if login successful it will redirect to mainpage.php and then if login failure it will show the error message on same page (login.php). how to do that? i tried something but …

Member Avatar for minitauros
0
11K
Member Avatar for Eagle.Avik

i am having problem with converting my sign in script with pdo here is my script if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['form_name'] == 'loginform') { $success_page = $_COOKIE["redirect"]; $error_page = 'signup_error.php'; $indexlogcheck = 'home.php'; $mysql_table = 'users'; $crypt_pass = md5($_POST['password']); $found = false; $fullname = ''; $session_timeout = time()+60*60*24*30; try …

Member Avatar for Eagle.Avik
0
262
Member Avatar for Octavian_1

I have a login scrip (downloaded from the internet) that I have adapted to my database. I However have a problem with linking from the login to a page in my system with details of the user that has logged in. The users table on which the login system is …

Member Avatar for Octavian_1
0
357
Member Avatar for rmoloruntoba

Can anyone help me. my site did not show for the first time on the net because I use php and smarty, but it is showing on localhost

Member Avatar for pritaeas
0
101
Member Avatar for saybabs

Hello there, I have an issue with displaying uploaded images as thumb nail on a web page. I have close to 70 items. I want each of the images to be linked also to another page in order to see the detail of that particular item. Please, i need help …

Member Avatar for EvolutionFallen
0
76
Member Avatar for dlmagers

I am studying for a test and I am trying to figure this out, Could someone please help me with this answer? I think it might be number 2, (/^\d{5}$/) I am not sure. What are your suggestions? 1. /[d5]/ 2. /^\d{5}$/ 3. /+\d[5]?/ 4. /$\d5^/

Member Avatar for pritaeas
0
202
Member Avatar for TIM_M_91

Ok so i'm trying to validate my input string for location however its working if input is empty but i'm trying to validate the input for 'Greenwich' but that isn't working. Can anyone see what is wrong with my code: <div class="elements"> <label for="location">Location:</label> <input type="text" id="location" name="location" size="25" /> …

Member Avatar for tiggsy
0
147
Member Avatar for brandon66

This is whats returned from a print r in php how would I work with this? SimpleXMLElement Object ( [@attributes] => Array ( [version] => B000 ) [ReturnMessage] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => 1825050393 ) ) [1] => SimpleXMLElement Object ( …

Member Avatar for brandon66
0
134
Member Avatar for Clanstrom

I'm having hard times, learning desing patterns. And, I've been reading quite a lot. But, I'm only interested to know, about two things: Adapter & Factory patterns. From what I undestood, (*which is close to nothing*) Factory Pattern helps create objects on the fly Adapter Pattern helps adapt your class …

Member Avatar for pritaeas
0
212
Member Avatar for phpfreek2007

Hi, I have multi tif image (multiple page tiff image having more than one page included in single image). I want to read this tif image using PHP since I need to edit certain portions of image using php library. Can anyone guide for steps to achieve this? Thanks in …

Member Avatar for mikepeal
0
366
Member Avatar for Eagle.Avik

why is the code below is not working? $sql = "SELECT password, fullname, active FROM ".$mysql_table.""; $sql = $sql . "WHERE username = :username, password = :password"; $statement = $pdo->prepare($sql); $statement->bindValue(':username', $_POST['username']); $statement->bindValue(':password', md5($_POST['password'])); $statement->execute();

Member Avatar for minitauros
0
557
Member Avatar for Priti_P

Hello, I have installed Ldap module for my Drupal 7 from http://drupal.org/project/ldap site. But am totaly black what to do next in this. :( Any document for this? What are next steps in this - *Where to do settings for connection LDAP and contacting with it? Please help! or any …

Member Avatar for Priti_P
0
125
Member Avatar for mbhanley

Hi, I am having an issue, any suggestions will be great. I am trying to fetch records from 3 tables on conditions to retrieve the correct data. So far it brings up 2 of the same results as there are two image file names with the same product id's in …

Member Avatar for rch1231
0
186
Member Avatar for smdjilani

I have unix ubantu softwere.when I run any php filE in my firefox i got only a pop up window where to save the file ? what should i do?

Member Avatar for AARTI SHRIVAS
0
108
Member Avatar for chrisschristou

hello dear friends i would like to show a text (message ) only if users is login (connect) i use this code but i have a error <?php if ($_SESSION['MM_Username']) empty { echo "<h4>please log in before adding to BASKET</h4>"; } ?>

Member Avatar for chrisschristou
0
196
Member Avatar for aMOEBa

Hey guys I am scripting with PHP and I need to write a web page that has a print page link which when clicked prints out a print friendly page. Thanx in advance.

Member Avatar for geoamins2
0
219
Member Avatar for annyangel

# There is a code of crud operations in php using classes. plz help me to correct the error # Warning: mysql_query() expects parameter 1 to be string, resource given in C:\wamp\www\new\customers.php on line 44 <?php class Customers { private $name; private $id; private $desc; private $con; public function __construct($name,$desc) …

Member Avatar for annyangel
0
363
Member Avatar for Eagle.Avik

hi, i am building a cms, when a user(already logged in) post anything, the script will check if the user is already exist or not if not it will create a new account(only save username and useremail) for the cms, so i can keep track of users. ok, so i …

Member Avatar for simplypixie
0
912
Member Avatar for davy_yg

Hello, I basically trying to create a login form that works that will carry me to the admin page after login. This is what I did so far: models/admin/login_model.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* Author: Jorge Torres * Description: Login model class */ class …

Member Avatar for LastMitch
0
379
Member Avatar for rhodoscoder

I'm trying to create a simple blog and for some reason , it doesnt retrieve the dummy content from the mysql database. here is my entire code <?php $db_host = "host"; // Place the username for the MySQL database here $db_username = "root"; // Place the password for the MySQL …

Member Avatar for tpunt
0
157
Member Avatar for accra

Hi all, I have this ajax script that accepts only one value at a time. I want to send more than one value to mysql for processing... but am not so good with javascript, pls point me in the right way....thanks // auto select vehicle # and fleet # <script> …

Member Avatar for accra
0
406
Member Avatar for TIM_M_91

Ok so I've created a random captcha that uses integer numbers however I wish to only used char's. Therefore what must I do to this code: <?php session_start(); $code=rand(1000,9999); $_SESSION["code"]=$code; $im = imagecreatetruecolor(50, 24); $bg = imagecolorallocate($im, 22, 86, 165); $fg = imagecolorallocate($im, 255, 255, 255); imagefill($im, 0, 0, $bg); …

Member Avatar for techofunda
0
133
Member Avatar for bharathidass

how to create the dynamic page in online shop(eg:if i add the product detail and image then press sumit mean how to create the next page with image )

Member Avatar for LastMitch
0
108
Member Avatar for Rizi004

Hi there! I have a PHP code that post on timeline everthing is working perfectly fine only it show text two times i have attached the code and the image please tell me where is the issue. <?php $re4=mysql_query(" SELECT FBID FROM users WHERE U_ID='$U_ID' "); while ($ro4=mysql_fetch_assoc($re4)){ extract($ro4); } …

Member Avatar for LastMitch
0
728
Member Avatar for annyangel

** # plz help me to implement this code in php class # ** index.php <?php $connect=mysql_connect("localhost","root",""); mysql_select_db("crud",$connect); $username; $password; if(isset($_POST["insert"])){ if($_POST["insert"]=="yes"){ $username=$_POST["username"]; $password=$_POST["password"]; $query="insert into user(username, password) values('$username', '$password')"; if(mysql_query($query)) echo "<center>Record Inserted!</center><br>"; } } if(isset($_POST["update"])){ if($_POST["update"]=="yes"){ $username=$_POST["username"]; $password=$_POST["password"]; $query="update user set username='$username' , password='$password' where id=".$_POST['id']; if(mysql_query($query)) echo …

Member Avatar for LastMitch
0
136
Member Avatar for hemanshurpatel

Hello there, I have a script which logs in to imap email account and processed that script. Today that script suddenly stopped working. I may have done php upgrade on my system I'm using fedora 18 64 bit with php version PHP 5.4.20 (cli) (built: Sep 19 2013 09:03:36) Copyright …

Member Avatar for LastMitch
0
195
Member Avatar for accra

Am creating a registration form for my app. Am bit confused an to if i should use Phpmailer or Swiftmailer to send activation link to user email. What about the delivery time of emails? Also are there any examples of the two...

Member Avatar for LastMitch
0
111

The End.