38,020 Topics

Member Avatar for
Member Avatar for muralibobby2015

hello.. i did livechat script using php & mysql. in that multiusers can chat with admin. admin simultaniously gives replys to users. actually first time newuser send a msg to admin automatically new chat box appear. for that i used onload event. now new user come to chat with admin …

Member Avatar for shishtawitch
0
72
Member Avatar for veledrom

Hi, I want to show the image as well as printing the id, name, time etc with it. How can I do it? First code prints all the data as it is without showing image. Second code shows image without other info. Thanks This code returns binary code of image. …

Member Avatar for programmersbook
0
219
Member Avatar for Vodlink

Hello i am working on a project to create a wiki site and i have to create a profile page where it displays the username and a list of pages they can view and a seprate list of pages they can view and edit. i have no idea how to …

Member Avatar for diafol
-1
82
Member Avatar for garyy

Hi, I'm getting the following errors in my php code. Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 18 Notice: Undefined variable: page in C:\wamp\www\testsite\pagination.php on line 27 Any help much appreciated. Here is my PHP code: [code] <?php include("connect.php"); // How many adjacent pages should be shown on each …

Member Avatar for garyy
0
487
Member Avatar for zhoufenglei

i have set "session.gc_maxlifetime = 10" in php.ini ,and is reboot apache service.but when i request the example pages after a minites ,the session is active still.the code is : [code] <? session_start(); echo $_SESSION['Login']; ?> <!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; …

Member Avatar for Da_Lawdog
0
113
Member Avatar for firefly91

When I include these 2 functions on a page I seem to get this error: [B]Warning: Cannot modify header information - headers already sent by (output started at /home/vmtgiqlm/public_html/fftest/encryption.php:43) in /home/vmtgiqlm/public_html/fftest/check_login.php on line 40[/B] I don't know why that would happen as these functions do not output any text. Anyway …

Member Avatar for firefly91
0
93
Member Avatar for polegon

Script for register your web site to 3 SE: [CODE]<?php // The following code is required to properly run Web Human Emulator require("../../Templates/xweb_human_emulator.php"); // This script submit your site to 3 Search Engines // Google // MSN // Yahoo // for request more SE please write to humanemulator@gmail.com // ======================= …

Member Avatar for polegon
0
198
Member Avatar for rajeesh_rsn

Hai, I likes to know the exact process of php captcha verification. As best of my knowledge the process is as follows 1. First create a randon string 2. Create an image and write this string into that image. 3. Then store the string variable in a hidden field in …

Member Avatar for pritaeas
0
53
Member Avatar for sam023

error_reporting(0) is used to hide error message..!! i want to hide server message but i what to show other error msg in place of server message..!! that can be possible..? Thanks,,!!

Member Avatar for network18
0
127
Member Avatar for rajeesh_rsn

Hai, I had the following code to create an image verification in my php page. Everything working fine. But I need to increase the size of the font in this image. Please help me Thanks in advance Rajeesh my code looks as follows [ICODE]session_start(); $md5 = md5(microtime() * mktime()); $string …

Member Avatar for network18
0
91
Member Avatar for Xamas

I'm build a huge xml->mysql data importer ar parser from outer server. And I need a script example, what to do with big [CODE=PHP] $xml = simplexml_load_file('plane.xml'); if($xml) { for($lvl1=0; $lvl1<(count($xml->Trip)); $lvl1++) { for($lvl3=0; $lvl3<(count($xml->Trip[$lvl1]->Hotels->Hotel)); $lvl3++) { // Fill an array with the travel data $element['trip_id'] = (string)$xml->Trip[$lvl1]['id']; $element['description'] = …

Member Avatar for digital-ether
0
428
Member Avatar for nickora

has anyone installed wordpress on a joomla website and tried to integrate users? Im weighing up the pro's and cons of doing this to a couple of sites, I dont need the users to be integrated just yet, but it is something I think might come up in the future …

Member Avatar for digital-ether
0
149
Member Avatar for Longoro

Can someone help me with this please? I’m playing with a stat tracker, and with the code snippets below I’m trying to get the total result for each page stored in the database. The problem is that I get this warning when I run the script: [B]Warning: mysql_result() expects parameter …

Member Avatar for antonkejr
0
426
Member Avatar for Stefano Mtangoo

I have afunction to retrieve data and it gives error. Please correct me! [CODE=php] public function getswachapter($book, $chapter){ //SELECT * FROM table1 INNER JOIN table2 ON table1.id=table2.id; //remember to sanitize inputs $sql = mysql_query("SELECT * FROM kiswahili WHERE Chapter = '{$chapter}' AND Book = '{$book}'")or die(mysql_error()); $limit = mysql_num_rows($sql); $query …

Member Avatar for Stefano Mtangoo
0
114
Member Avatar for bigjoke

Hi everyone, i am going to be tackling creating pdf files using php on the fly... php would get information from the database and then create a pdf copy of the relevant info gathered. Now, first things first, i need to check if my php installation can accomplish the task. …

Member Avatar for kvprajapati
0
87
Member Avatar for scorpionz

Hi This is scorpionz Hope everyone is fine. Here is the reason of this thread: I have a site with such url: [url]http://www.testsite.com/details.php?cart=44[/url] this is a site definitely giving the result of some detail page. means specific Product details. Let suppose having Product name: Xyzabc now i want this link …

Member Avatar for techniner
0
157
Member Avatar for muralibobby2015

hello, i want to do chat script in php. actual requirement is user chat with only with admin. if admin is in online user chats directly. otherwise that chat msg will go to admin mail. at this time another user may come to chat with admin another chat box will …

Member Avatar for muralibobby2015
0
87
Member Avatar for vishalonne

Hi Every body Once again I'm in problem and want some help from you all I have written a small code to search a particular value in MySql database and then to display the record based on that value - Like to search a Employee code in database and then …

Member Avatar for venkat0904
0
143
Member Avatar for whitestream6

How do you get this to work? - well, for more than simple <strong> and <i> tags - I'm trying to get a HTML table in as an array, if this is possible! Any advice is appreciated!

Member Avatar for Airshow
0
94
Member Avatar for darjana
Member Avatar for codewalkz

I can't seem to limit the result to a desired number. I have this code: [code]//GET THE TOTAL OF LEVEL 2 $result = mysql_query("SELECT COUNT(*) FROM agents WHERE (sponsor = '1' or sponsor = '2' or sponsor = '3') LIMIT 0,1")or die(mysql_error()); while($row = mysql_fetch_array( $result )) { $lvl2parent = …

Member Avatar for pritaeas
0
140
Member Avatar for sleign

ok I know there's a way around this otherwise radio buttons and checkboxes wouldn't ever be used in forms...so I've been trying to figure this one out... I have a dynamic form that consists of an associative array. Each row in this form consists of: name, id, 3 radio buttons …

0
110
Member Avatar for loveisblind

hello. I have a drop down menu that pulls from a mysql database. I know its connecting fine and there is actual items in the drop down menu because I echoed them. However when I look at my drop down box, you cannot see the options! I know the items …

Member Avatar for venkat0904
0
151
Member Avatar for R3Slick

Hello, Im having trouble with creating page that will search a database for the values entered. I have a Search.php file that has this [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Payroll and Timesheet Management Website</title> <link rel="stylesheet" type="text/css" href="styles.css"/> </head> <body> <?php writeHeader(); ?> …

Member Avatar for nav33n
0
206
Member Avatar for shishtawitch

how can i change the following url [url]http://www.mydomain.com/dir[/url] to [url]http://www.mydomain.com/dir/[/url] with htaccess

Member Avatar for kireol
0
69
Member Avatar for xuexue

pagination works well, it even displays the rows i wanted, however, my problem now is that i cannot access or it does not display the next rows from my database, i think there is some problem with regards to my next/previous/last/first links,, please help me asap, tnx! [code=php] $result = …

Member Avatar for futhonguy
0
239
Member Avatar for Anubhav kumar

Anybody can u help me with full source code and I have facing the problem to make the tree like your structure,how and where i used html code your posted code. Suppose I have to make unlimited IDs in tree then how can go the tree on another page of …

Member Avatar for codewalkz
-2
142
Member Avatar for sleign

I've been working at this most of the day, trying to figure out how I can accomplish this sort of form, even looking through countless sites for anything vaguely close to what I'm trying to do for help on logic or syntax behind this (to little to no avail, of …

Member Avatar for sleign
0
116
Member Avatar for sim_pack

hello.. i'd like to confirm if the printer function "printer_open()" without parameters opens the printer connected to the user/client computer? or does it look at all network connections including the web for the presence of a printer? thanks..

Member Avatar for sim_pack
0
233
Member Avatar for mcx76

Hi, I am making php from.Everhting is working fine.I am receving result as below.I want to space before Tel no.Please be advice how i can do. Thank you. --------------------------------------------------- Email Result -------------------------------------------------- General Info Request Name: Khan 1665 Bloor Street Mississauga L4X3T4 Tel:647-290-0000 Email: [email]hanyon@gmail.com[/email] Best Time To Contact:11am Message …

Member Avatar for mindful123
0
209

The End.