39,323 Topics

Member Avatar for
Member Avatar for kolhal

I am Working a Site for Subbmiting the products in main database Here I am using two table the merchant table and name as merchant_table and main product table name as tbl_product. After login a merchant can add the product in his merchant_product table his product display only in his …

Member Avatar for stymiee
0
58
Member Avatar for fabzster

Hi This is my first post here and I have just started using php so please be kind LOL I have tried to use the script below to do a search on the database but it keeps spitting out [B](Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource …

Member Avatar for MitkOK
0
137
Member Avatar for php_noob

Hi people of the bandwidth world!!! Hey guys How are you today? What does $THIS-> actually do? I'm advancing in OOP programming using PHP.... Please enlighten me on this or if you have resources that explains all this in "ENGLISH" Thanks Guys

Member Avatar for Fungus1487
0
134
Member Avatar for niceware

who have a PHP virsual program ? I know little on PHP, need a PHP virsual program very much.

Member Avatar for bassemyehia
0
144
Member Avatar for marjan_m

I hv make a html file on which I placed 2 fields username and passowrd.I also included a php file named "check.php" The code in the check.php is as follows: [CODE] <body> <? $con = mysql_connect("localhost","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("alauddin", $con); $name=$_POST['txtusername']; $password=$_POST['txtpw']; …

Member Avatar for ryan_vietnow
0
103
Member Avatar for tagz017

hi guys.. need your help for retrieving selected images from the database and display it in thumbnails.. thanks

Member Avatar for flagbarton
0
85
Member Avatar for dmotah

hi, tkx bt i again need ur help guyz! im using a form with post method! bt i want wen the username and password r correct it opens another page, else it comes back to the login! plz watinf thkx

Member Avatar for Pro2000
0
102
Member Avatar for kaleidoscopelex

Im having these problems, it used to work in my website for almost a year then suddenly this error occured.. [B]Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/alexsl/public_html/admin/system/[B]functions.php [/B]on line 291[/B] here's [B]functions.php[/B]: [code=php] <?php // Somery, a weblogging script by Robin de Graaf, copyright …

Member Avatar for stymiee
0
161
Member Avatar for abraham.obando

has any one come across a problem when reading from a socket that sockets information are interchanged. I have a web server and using sockets i get information from another server but it so happened that two users logged in at the same time and their information was interchanged; meaning …

Member Avatar for abraham.obando
0
78
Member Avatar for binoj_daniel

How can setup an automated mailing of datadriven content on some schedule? How can i implement using PHP? Is there any configuration on the Web Control Panel? Any ideas?

Member Avatar for binoj_daniel
0
80
Member Avatar for tanha

Hello everybody, I use the WAMP5 tools which has the following features: i) Apache 2.2.4 (SERVER) ii) PHP 5.2.3 + PECL iii) SQLitemanager iv) MySQL 5.0.41 v) Phpmyadmin Suppose I have four date fields, and I have a button next to each of them, I like when I click on …

Member Avatar for MitkOK
0
67
Member Avatar for Barefootsanders

Hey everyone, I'm trying to populate an array with file information from certain directories. Currently I have an array with all the file names in it. I was wondering if anyone knew a way to get the embedded information within a file. For example, an audio file( mp3 for example) …

Member Avatar for digital-ether
0
73
Member Avatar for shank
Member Avatar for jocrenalix
0
83
Member Avatar for hbmarar

Hi, Wishes. I would like to invite peers here to give me some pointers , tips and hints on "how to" on the following doubt of mine:: Scene 1. I got 4 records listed. I check ALL and click for action. first 3 records got acted upon by a algorithm …

Member Avatar for pritaeas
0
70
Member Avatar for Barefootsanders

Hey everyone, I'm attempting to set up my own web server with apache2 and php5. I set up apache fine and it works. My problem is that when i install php5 my apache wont start. I just get an error message saying "The requested operation has failed." I attached both …

Member Avatar for Barefootsanders
0
79
Member Avatar for Pro2000

I wrote a chat program and I wrote in a page: [CODE] $ip=getenv("REMOTE_ADDR"); if ($ip=="82.23.45.66) { echo 'You cannot login!'; } [/CODE] But some times I see there are 3 computers and much logging by the same IP Address, How can I slove it?

Member Avatar for Pro2000
0
80
Member Avatar for dr4g

Hey, just made the title like that, to grab intrest ;) I'm developing a system at the moment, i'm going to implement a filter to the login section, so that only 5 invalid login attempts can be made, then its temp denied access to login with that username, for 15 …

Member Avatar for digital-ether
0
518
Member Avatar for engrr.faruk

hi, can any one tell me how to traslate date in english format to date in hijri format? Regards, faruk hossain chowdhury

Member Avatar for MitkOK
0
174
Member Avatar for sheejaanna
Member Avatar for wireshop

I've got this script to validate phone numbers. I want to allow numbers 0-9 and the characters -,(,) and + the following seems to only work if the input is all numbers and spaces. Suggestions? [code] if(!ereg("^[0-9\-\(\)\ \+]+$", $phoneNumber)||empty($phoneNumber)){ print'Please enter a valid phone number' ; $error++; } [/code]

Member Avatar for clearstatcache
0
146
Member Avatar for assgar

Hi How can I add 15 minutes to the previous event time (timestamp) to get the next event time. Note: This event time is not in a table. Straight forward adding the two values will probly not provide the correct result. I can get the correct time with Mysql addtime($time, …

Member Avatar for assgar
0
163
Member Avatar for Firestone

I'm trying to email to an array of subscribers to a weekly newsletter. Whenever I try though, I get an error "Bad parameters to function mail()". Heres the loop I'm using to mail: [code=php] $x = 0; $y = 1; while ($x <= $y) { mail($names[$x], "Hey", "Whats up?"); $x++; …

Member Avatar for jamshid
0
84
Member Avatar for tygerberg

Hi Is it possible to use php to display different text each day for my website.

Member Avatar for tygerberg
0
111
Member Avatar for marjan_m

Hi, I want to develop a photo Gallery so kindly guide me abt it.Is it shld be implemeted on a "dynamic PHP page" option frm the dreamweaver? Waiting for the urgent reply, Regards,

Member Avatar for jamshid
0
100
Member Avatar for noman

Hi, i am a new comer in PHP and i have to upload a file in my php web form. I have read some tutorials in which they mentioned that when we go to upload a file in php it saves by default in a temporary directory and after that …

Member Avatar for cereal
0
150
Member Avatar for jabbarmk

Anybody Pls send me the codes(working file) to send email from flash. Using php or asp! [email]jabbarmk@gmail.com[/email]

Member Avatar for macneato
0
141
Member Avatar for ezb

Basicly, I planned on doing a "next/previous" button on my website, but they wont work, I think the problem lies in the server being in safe mode, I was hoping someone could show me how to get around it (keeping safe mode on) cheers heres my code [CODE] if(!isset($_GET['start'])) $start …

Member Avatar for ezb
0
94
Member Avatar for JadeaDragon

So, this is a "next step" for me learning how to pass multiple variables from a form to a database and publish the results. I feel that I'm *holds fingers in air* [I]this[/I] close, but the actual solution is alluding me. Goal: To have user select from dropdown list of …

Member Avatar for JadeaDragon
0
139
Member Avatar for hydn

See attached image below . Any ideas? The rest of the output is: [quote]Array ( [attach/attach.gif] => Array ( [0] => 16 [1] => 16 ) [bmp.gif] => Array ( [0] => 16 [1] => 16 ) [doc.gif] => Array ( [0] => 16 [1] => 16 ) [gif.gif] => …

Member Avatar for hydn
0
84
Member Avatar for Eko

I have a list of users(signed for a newsletter).I'm retrieving the list from a database when the admin clicks on a button. [B]There are maximum 10 users diplayed per page[/B].For example,if I had 30 users in the database,I would have 3 pages of users(Page 1,2,3); [B]For each listed user ,I …

0
63

The End.