41,412 Topics

Member Avatar for
Member Avatar for roti_john

Hi all, I would like to know is it possible for php do the images matching?Example, user upload the image and search from similar/ same picture? Thanks

Member Avatar for roti_john
0
115
Member Avatar for vaultdweller123

Hi everyone....I have a problem on my php date function... and i hope someone will help.... the PHP date function outputs incorrect results... It outputted incorrect date which is 8 hours late.... and i found out that the timezone has been set to UTC. So ive search the net and …

Member Avatar for tarunkhatri
-2
140
Member Avatar for Kairu

So. I've decided to make a browser based MMORPG. But I need some advice on where I should start with the whole thing... I've got ideas, and knowledge on HTML, CSS and JavaScript. From what I've found PHP and MySQL is needed also, and I know very little on them, …

Member Avatar for athlon32
0
171
Member Avatar for jimSp

I have a newsletter that sends out a notification to members with in 30 days of expiring. The way it works is the script populates an <option> from the members table who fall with in the thirty days. All I want to do is be able mask the $to recipients …

Member Avatar for jimSp
0
184
Member Avatar for masterjiraya

[CODE=PHP]<?php echo "<html> <head> <title>QUIZ-FINALS</title> </head> <body background=fatcat.jpg> <form method=post> <table border=0> <tr><td colspan=3><b>Enter eight Score:</b><br></td></tr> <tr><td><input type=text name=1></td><td><input type=text name=2></td><td><input type=text name=3></td><td><input type=text name=4></td></tr> <tr><td><input type=text name=5></td><td><input type=text name=6></td><td><input type=text name=7></td><td><input type=text name=8></td></tr> <tr><td colspan=4><input type=hidden name=h value=true> <center><input type=submit value=Compute></center></td></tr> </form></table> <br>"; if($_POST['h']==true) { $n[0]=$_POST['1']; $n[1]=$_POST['2']; $n[2]=$_POST['3']; $n[3]=$_POST['4']; …

Member Avatar for poojamakhija
0
149
Member Avatar for jithusdani

Hi Folks, I have put my whole PHP code and MySql in server and I want to access the files in Client System through LAN . I am using the [B]wampserver[/B] in the server system to execute the script. So please let me know about the procedure to do the …

Member Avatar for sDJh
0
82
Member Avatar for Sagitarian

I have to update a site that has a few hundred html pages and uses frames. The admin wants to rid the site of the use of frames. I have gotten as far as to replace the frames w/php by including dynamic URL for the navigation menu. Here is my …

Member Avatar for Member #120589
0
132
Member Avatar for MacAdam

Hi, First of all, I'm no database expert. See me as managing a project where this problem occurs. We are building a system that will enable us to roll out Windows Patches automatically to all Windows systems we manage. We use WSUS on SQL Server 2005/SQL Express. The application will …

Member Avatar for MacAdam
0
170
Member Avatar for mjenn2

We've had an old website move server but am having lots of problems with it, plus it's been nearly two years since I did any PHP so any help would be greatly appreciated. Have sorted some problems out but am stumped by this one. Have stripped the code down to …

Member Avatar for mjenn2
0
116
Member Avatar for nadnakinam

Now code looks like this... [COLOR="Red"][B]No links(page navigaton links) working...[/B][/COLOR] i think(not sure) problem @ line no 55, 66 & 77...(query part of URL). [CODE]<?php //CONNECTION TO DATABASE! $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="accounts"; // Database name $tbl_name="login"; // Table name $tbl1_name="details"; // …

Member Avatar for nadnakinam
0
146
Member Avatar for dokinah1
Member Avatar for poojamakhija
0
271
Member Avatar for jjtao

U get the following error on my one page Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/www/users/stealtf/components/com_aclassf/top.php on line 111 This is my coding [CODE]<?php /** * This file is part of Almond Classifieds Component for Joomla! (site:[url]http://www.almondsoft.com/j[/url] ) * Copyright (C) 2008-2009 AlmondSoft.Com. All …

Member Avatar for poojamakhija
0
183
Member Avatar for scias23

i can't get this from working. i want to execute these two queries ebcause i want to insert data to two separate table. is it possible to do this with one query? this is what i've got so far: [CODE=php] $sql = "INSERT INTO login SET studNo = $studNo, userName …

Member Avatar for liamfriel
0
265
Member Avatar for nilusara

in my web server all pages i develop targeting internet explorer browser but other browser can open it but not view properly.therefore i need to forcefully open it in internet explorer.if user open it in other browser than IE it gives a message box saying "The site is best viewed …

Member Avatar for Troy III
-1
305
Member Avatar for dourvas

hallo there, i ve implemented a log in system which works just fine. i have a simple form username and psw and when the user pushes the button "ok" i check into mysql database if those names exists. if yes, i create a session and i keep some variables so …

Member Avatar for pritaeas
0
109
Member Avatar for nadnakinam

i'm getting warning in all pages where i used session function... warnings are displayed before redirecting to the page... some help to solve this... here the warning message, [COLOR="Red"]Warning:[/COLOR] session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php:2) in C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php on line …

Member Avatar for poojamakhija
0
101
Member Avatar for CFROG

Being new to php I'm still trying to learn different ways to do things. Once I know that something works I tend to just stick with that method but I often wonder if it's even the best way to do it or should I be doing something differently. What I …

0
84
Member Avatar for InsaneVr6

I for the life of me can't get this to work and I get no errors. [B]admin.php[/B] [CODE=php]<html> <head> <title>Admin Area</title> </head> <body> <? //connect to mysql //change user and password to your mySQL name and password $conn = mysql_connect("host","username","password"); if (!$conn) { die('Could not connect to the database: ' …

Member Avatar for InsaneVr6
0
120
Member Avatar for curlz

Hi everyone, I'm very new to the whole php-thing. Would like to broaden my horizons.

Member Avatar for ayoungpretender
0
38
Member Avatar for genieuk

Hi, I hope someone can help me. My site been using cookies and i have decided to scrap cookies after finding to many security holes which i myself was able to hack in testing. I have looked online and found nothing that is want i am after even my php …

Member Avatar for genieuk
0
285
Member Avatar for sugumarclick

Hi all I like to display the next and previous content's teaser for every node in drupal(PHP CMS) . .Is there any module available for this issue.. next and previous content's teaser should be of the same taxonomy of same content type.. Suppose if i a news is displayed in …

Member Avatar for sugumarclick
0
146
Member Avatar for GregoryHouseMD

I know how to process a contact form to a mail, but this is the first time I'm using checkboxes and I have no clue on how to send it... here is the html code part: [CODE]<form id="form1" name="form1" method="post" action=""> <table width="100%"> <tr class="info"> <td width="100" align="center" valign="middle">No. of …

Member Avatar for sureronald
0
91
Member Avatar for toad78

I would like to convert information from a MySQL dbase table to PDF, but only certain columns within the table. I've heard about many PDF class programs, but the people who've recommended them can't seem assist me with using the program. I may be a novice with PHP, but would …

Member Avatar for Member #120589
0
144
Member Avatar for phutisemenya

hi, guys. i need a code that works like this one but using table row instead of option. thanks [CODE] function RightButton_OnClick() { var AvailableLB = document.getElementById("selection"); var LinkedLB = document.getElementById("selected"); for (var i=0; i < AvailableLB.length; i++) { if (AvailableLB.options[i].selected == true) { LinkedLB.options[LinkedLB.length] = new Option(AvailableLB.options[i].text,AvailableLB.options[i].value,AvailableLB.options[i].focus(),AvailableLB.options[i].selected); AvailableLB.options[i] = …

0
73
Member Avatar for Boronia

Hi I got a online reservation website and I am having a problems with reservation forms. Forms were ok until couple of months ago. When you submit the reservation form it doesn't go to the admin e-mails but all reservation are kept in the database. it's a php/ mysql database …

Member Avatar for Boronia
0
184
Member Avatar for lcyew

Hi. I'm doing exporting from .php to .pdf now and face a little problem here. I've found something like below and I think it might be helpful for me to do exporting to pdf. [CODE]<?php $mypdf = PDF_new(); PDF_open_file($mypdf, ""); PDF_begin_page($mypdf, 595, 842); $myfont = PDF_findfont($mypdf, "Times-Roman", "host", 0); PDF_setfont($mypdf, …

Member Avatar for digital-ether
0
151
Member Avatar for grr

[CODE]function fafaconnect($db_host, $db_user, $db_pass, $db_name) { @mysql_connect($db_host, $db_user, $db_pass); @mysql_select_db($db_name); } if ($link = @mysql_connect("localhost", "admin", "pass")) { echo "pass-"; } else { echo "fail-"; } if ($select = @mysql_select_db("zushee")) { echo "pass-"; } else { echo "fail-"; } if ($newlink = fafaconnect("localhost", "admin", "pass", "zushee")) { echo "pass"; } …

Member Avatar for Stefano Mtangoo
0
149
Member Avatar for amail

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in activation.php on line 11 Invalid Validation Code what is wrong here? [CODE]<?php session_start(); include "mysql.php"; $c; if(!$_GET['code'] || !$_GET['act']) { die("Invalid Use Of System."); } else { $code=$_GET['code']; $cq=mysql_query("select * from confirm where code=$code",$c); if(mysql_num_rows($cq)== 0) { die("Invalid …

Member Avatar for CFROG
0
272
Member Avatar for egturnkey

Hello friends, let us cosider [CODE]$a[1]['en'] = "ok";[/CODE] and we have a form with submit option as following [CODE] <form method=post> <tr> <td>name :</td> <td><input type=text name=PlanName></td> </tr> <tr> <td><input type=submit name=submit value="xx"></td> </tr> </form> [/CODE] and its php code [CODE] if(isset($submit) && $submit == 'xx') { $q1 = "insert …

Member Avatar for omoabobade
0
105
Member Avatar for waleed66

Hi, I am creating a website where users will be able to submit forms. In the form they will be able to submit text and uploaded images. With regards to uploaded images, once they are submitted, what is the best way to save them? Is it to a MySQL database …

Member Avatar for omoabobade
0
77
Member Avatar for InterfaceDesign

hi, I need to create a 5 page website with the following features: . upload ten images with one paragraph of text . the ten images with the text will be displayed on One html page together . On the index page of my website, I want a scrolling to …

Member Avatar for omoabobade
0
69
Member Avatar for shadwickman

Hello, I know you probably get quite a few threads asking this, but the DaniWeb search didn't pull up what I was looking for. So here we go: I have a page that I've made as "private" by including my access control script at the top. The access control script …

0
159
Member Avatar for Kruptein

I got a table that is made up as followed: [icode=table]region_id,...nation_id[/icode] the regions are countries, the nations are names users choose. I want to have a world map showing which nation has which region, Is this possible? I'm not sure how to do this, but maybe something with <map> and …

Member Avatar for Member #120589
0
94
Member Avatar for mano123

while surfing through internet i came across a new type of php scripting (atleast i've never heard of it) by the name of 4image php script..so can anyone tell me what is this scripting?? i mean its contents and how to write it using php etc etc i'm a student …

Member Avatar for almostbob
0
71
Member Avatar for amail

hi. I have been working on this page for a while and all I get is errors...(this time: Parse error: syntax error, unexpected $end in /header.php on line 291) can someone please help to fix this? [CODE]<?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE html …

Member Avatar for pritaeas
0
170
Member Avatar for arindamtech

Hello Php Champs, I am new in php , I am getting this problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent I have written the following code at the top of header.php [code=php]<?php ob_start(); session_name(); session_start(); ?>[/code] I am new, failed to understand what could …

Member Avatar for cwarn23
0
97
Member Avatar for dipunm

I just finished a wordpress theme and all was ok. Problems only started once we added more articles... I don't know if this is firefox or what, but here is what happens.. [CODE] <li id="post-83"> <a class="block" href="http://www.website.com/great-british-refurb/2009/" rel="bookmark"> <h2>British Refurb</h2> <div class="subtext"> WRITTEN BY: Name <br> POSTED ON: 28/09/09 …

Member Avatar for dipunm
0
123
Member Avatar for j_limboo

Please advice once the session is created by A client and B client logs in with the same username and password I want to logout A client Is this possible? [CODE] <?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) …

Member Avatar for j_limboo
0
81
Member Avatar for nadnakinam

[CODE] <?php //CONNECTION TO DATABASE! $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="accounts"; // Database name $tbl_name="login"; // Table name $tbl1_name="details"; // Table1 name $con=mysql_connect("$host","$username","$password"); mysql_select_db("$db_name",$con); $show_all=$_POST['rg01']; // Show All //echo $show_all; if($show_all!="") { $sql="SELECT * FROM $tbl1_name WHERE sex='$show_all'"; $result=mysql_query($sql); } else { echo …

Member Avatar for cwarn23
0
152
Member Avatar for gpss

Hello! I need help.. please.. i'm new at php... but i need to make this: i have a database (postgreSQL) on a server... now on my webpage, i want to insert (manually-in my webpage) like with a text box, i insert there the client name (and other box's for the …

Member Avatar for gpss
0
160
Member Avatar for hynt

I keep getting PHP T_STRING errors. It says this: [quote]Parse error: syntax error, unexpected T_STRING in /home/a1558762/public_html/forum/cache/skin_cache/cacheid_1/skin_global.php on line 186[/quote] Line 186 is as follows [code=php]<strong>{$this->lang->words['pc_replies']}</strong> {parse expression="intval( $items['pmData']['mt_replies'] )"}<br />[/code] I tried changing punctuation, but nothing has helped. Thanks in advance.

Member Avatar for CFROG
0
62
Member Avatar for genieuk

Hello everyone again, When a user logs in a cookie is set on the users computer called genieuk_logged_session The value in the cookie is a random id created using a random key that the script creates, if i can i need to compare the value of randomin id in the …

Member Avatar for CFROG
0
85
Member Avatar for 123468743867143

Need instruction. Please. [B][COLOR="red"]Situation:[/COLOR][/B] Most of my site pages start with the following: [COLOR="Green"]<? include("include/common.inc.php"); top(); left(); middle(); bottom(); function middle(){ ?>[/COLOR] My include/common.inc has the head, title, meta tags which means they look the same on EVERY single page of my site (hundreds of pages!). Not good for SEO. …

Member Avatar for Eng.h
0
472
Member Avatar for SuntechWebsites

Hello, I have a client that wants his users to be redirected upon login to a page that displays only information that pertains to this user. Kind of like a bank site that only shows their account. I need to know 1. How to do that type of redirect 2. …

Member Avatar for CFROG
-2
134
Member Avatar for dips255

hello i'm beginner with php/mysql on windows xp platform i've worked with ms sql server in which we have query analyser to work with queries, i am not familier with running queries on my sql i've installed mysql-essential-5.1.39-win32 from [url]http://dev.mysql.com/downloads/mysql/5.1.html[/url] but do not know how to operate with it please …

Member Avatar for Kruptein
0
98
Member Avatar for genieuk

Hi, Can someone tell me if i can use the below query. When i click submit button SQL says: [QUOTE]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE username = 'genieuk'' at line …

Member Avatar for genieuk
0
82
Member Avatar for bufospro

Hi, I use a upload form to upload images first in a server directory and then I would like to save file in a database. My questions : 1. I would like to change the name that image is saved like that : Image_1.jpeg or Image_1.gif whatever type. 2. I …

Member Avatar for bufospro
1
93
Member Avatar for gpss

Hi! I need a great favor... if someone could help i really appreciate... heres the deal: i made one year ago a webpage with a database on isQL*plus ([B]pl/sql[/B]) language.. on my webpage i have this (i will show images to you understand better what i mean): [URL="http://img36.imageshack.us/img36/5783/gerirjogadores.jpg"]http://img36.imageshack.us/img36/5783/gerirjogadores.jpg[/URL] code: [CODE]procedure …

0
68
Member Avatar for muralibobby2015

hai friends, i want to code for send a short msg(sms) to my clients mobile phones through my website. anybody help me

Member Avatar for digital-ether
0
96
Member Avatar for moon_isha1

i m using windows, xampp, with appache sever. plz tell me from the first how to send mail in php on localhost ... this is really pizzing me ... plz its very urgent plz help me thank you...

Member Avatar for network18
0
367

The End.