Posts
 
Reputation
Joined
Last Seen
Ranked #164
Strength to Increase Rep
+13
Strength to Decrease Rep
-3
96% Quality Score
Upvotes Received
91
Posts with Upvotes
77
Upvoting Members
60
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
59 Commented Posts
~256.80K People Reached
Member Avatar for loopylouis

Hi i own an online game and i wish to know weather there is a way to disable my members from changing the URL in the url bar and only allow them to click links. If they change the URL in the url bar i would like it to header/re-direct …

Member Avatar for Shoaib_10
0
3K
Member Avatar for ayesha789

Hi, I can show data from the database using query [CODE=php] <?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . mysql_error()); } $a= $_POST["SiteId"]; mysql_select_db("abc", $con); $result = mysql_query("SELECT * FROM sitepinfo WHERE SiteId='$a'"); echo "<table cellpadding=2 cellspacing=2 width=100% > <tr> <th bgcolor=#5D9BCC>SiteID</th> <th bgcolor=#5D9BCC>Maintained By</th> </tr>"; …

Member Avatar for AhsanZaman
0
8K
Member Avatar for tryphy

Hi guys... I want some help of how to call images from a folder.... Its like..v have a folder called images and it has many images in it.....but i need only 6 images to display in a php webpage...when the webpage is reloaded, it displays another images...its like its displaying …

Member Avatar for cereal
0
3K
Member Avatar for floatingDivs

Hi Daniweb, I'm trying to create a basic, grid-based (table-layout) calendar using PHP. I'm in the planning stages currently, but need some help coming up with an effective way to display empty boxes (for instance, November starts on Monday, so the left-most box (Sunday) needs to be empty. December starts …

Member Avatar for diafol
0
108
Member Avatar for php2sheik

Hi all, How to integrate Payment Gateway in php? Please send the PHP script for payment gateway integration or any other useful links for this? Thanks in advance

Member Avatar for Sudhir_1
0
365
Member Avatar for ryy705

Hello, How can I declare an array as a class variable? For example I can do: [CODE] <?php class test { private $name = 'john'; public function getName() { return $this->name; } } ?> [/CODE] But how can I make the following work? [CODE] <?php class test { private $name …

Member Avatar for pritaeas
0
4K
Member Avatar for adams2887

hi i am trying to upload an image but it doesn't work I have been trying for ages but without any luck. I was wondering if anyone would be kindly enough to take a look at it. Basicly i'm getting my echo error message "problem uploading image" displayed constantly, even …

Member Avatar for Raju_3
0
710
Member Avatar for elamigosam

Hi I am interested in a basic, and simple code for to check for a user and make sure he only has access to such pages, I am just starting to undestand PHP, if you can help me and not make it really complicated, it would rally help . tanks.... …

Member Avatar for pp0007
-1
316
Member Avatar for gpoo

Hi Friends, Currently, i'm working on sms processing. I need to create an application to receive and store the sms in database. I have tried this with vb.But i didn't work perfectly.Could anybody help me on how to receive sms and store in php without using any third-party software? Since …

Member Avatar for wayneh
0
556
Member Avatar for Hendo

Hello all, I'm trying to have a multi-colored border for a generated table on my website. The table is a 2 column, 18 row table, and I want the top 6 rows to be bordered in green (or cell shading in green), while the rest of the table uses the …

Member Avatar for Hendo
1
228
Member Avatar for rainhider

This is the drop down list of security questions: [CODE] <form action="ddlprocess.php" method="post"> <select name="security1"> <option value="placeOfBirth">What city were you born in?</option> <option value="childhoodFriend">Who was your childhood best friend?</option> <option value="mothersMaiden">What is your mother's maiden name?</option> <option value="mothersMiddle">What is your mother's middle name?</option> <option value="fathersMiddle">What is your father's middle name?</option> …

Member Avatar for raithier
0
194
Member Avatar for JeniF

Hello to all! I have an online manual (developed in php)that my company would like to revise for printing purposes. What I need to do is have this manual setup to include page numbering on the printed version so the instructor can reference pages during training sessions. They have expressed …

Member Avatar for caroleesuserid
0
736
Member Avatar for showman13

Good Afternoon... I have an email function that I have been using for a long time to send mail to our membership. But now I need to be able to send a .pdf as an attachment to them. I expect that it should be a pretty simple process, but no …

Member Avatar for pratziyer
0
141
Member Avatar for rm_daniweb

Hi All, I just want to share my code. A lots of website said that php is on server side and javascript is on client side...they said we cannot run php on javascript... here's how we can run php function when you click call the onchange events on javascript. [code=php]function …

Member Avatar for talad
0
3K
Member Avatar for majoorpa

I am a newbie to php. I am simply trying to validate input from a login page. However I am always getting a positive boolean value when username is entered or not. Following is my code for the login page; [ICODE]<form method = "post" action = "entering.php"> LOGIN <br /> …

Member Avatar for senthil.nila
0
220
Member Avatar for somedude3488

I recently applied for a PHP programming job and they required me to do a coding challenge. One of the challenges involved simulating the card game war which I found intriguing. I "over-engineered" it as they requested, but I still don't think it was good enough for them. Is there …

Member Avatar for masterdeveloper
2
668
Member Avatar for scorpionz

Hello to all first of all. This is Scorpionz. I am working on PHP OOPS these days, I am having a little problem in my Connection class, with Database. Lets have a a look. [code] interface db { public function connect(); public function close(); public function error(); } class mysqldb …

Member Avatar for rsiljat
0
375
Member Avatar for angelic_devil

i want to create a folder on server using php and make it writable so tht i can upload files to it using form... can someone help me with script on making folder and making it writeable on server. thanx

Member Avatar for vikramrawale
0
1K
Member Avatar for sillyboy

I usually listen to music while I'm browsing here, what are you listening to right now? EL-P - Fantastic Damage

Member Avatar for Helianthus
0
5K
Member Avatar for UzuNarU

Hey everyone, I'm having a little trouble with creating a 'dynamic' calendar with events called from a MySQL database. So basically I would like to have the Month automatically change when the month changes, and highlight the days which have events scheduled, and make those days links to my thickbox …

Member Avatar for UzuNarU
0
695
Member Avatar for wiliclip

Hello I am getting this error - even if object database is initialized in class that is in database.php and then included in session.php that gives an error. I've tested the thing in another script jok.php that is bellow and it works there. I've already lost 1 day on this …

Member Avatar for mmnnbbv
0
2K
Member Avatar for oldezwe

Here is the code for my login page <!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>Login</title> <style type="text/css"> #apDiv1 { position:absolute; width:200px; height:115px; z-index:1; left: 608px; top: 201px; } #apDiv1 form table tr td { font-family: "Trebuchet MS"; } </style> </head> …

Member Avatar for oldezwe
0
247
Member Avatar for leoblanc

Hi all, I am creating a new login form, different from the default login, but when i try to connect to the database. it said password is not correct.. I just realised that password is encrypted. but i dont know what kind of algorithm it uses. I am using joomla …

Member Avatar for leoblanc
0
338
Member Avatar for veledrom

Hi, Is tere any difference between these two codes or is it just a matter of taste? Thanks var days = new Array('Sunday','Monday'); var days = Array('Sunday','Monday');

Member Avatar for veledrom
0
122
Member Avatar for cancer10in

Hi Experts! I have a question and will be grateful if you can help me out with some ideas. In an online hotel or ticket booking reservation system, normally a user is allocated a specific time to complete their registration / payments etc and during that time the system holds …

Member Avatar for somedude3488
0
213
Member Avatar for techite

I need to fetch content from a file that is located at a URL say "http://example.com/sample.html?user=." This file will contain data in the following format:- Item =Name|Unit=1 QTY|Market=INDORE|Price=5000|UpdatedDateTime=Jun 27 2012 8:149PM After this line a <br> tag is used. How do I store the content into database. What I actually …

Member Avatar for diafol
0
149
Member Avatar for veledrom

Hi, Let's say I have a textarea to collect user inputs. Someone turns up and writes a html code (eg. a table of something, or a img tag with src to naked image, a div with 10000px width and height ....) instead of plain text into it. It wouldn't be …

Member Avatar for veledrom
0
132
Member Avatar for <M/>

How do I sort this loop? I can't sort it because I just began learning PHP, so I don't know as much as most of you users... Can anyone help me? <?php $red = array(); $x=0; $min=500; $max=2000; echo "<table border=\"1\">"; for($row=1;$row<=20; $row++){ echo "<tr>\n"; //Need table ONE to have …

Member Avatar for somedude3488
0
218
Member Avatar for cereal

Hi! *Minimize HTTP requests*. One of the suggestion I always read is to combine files, so I made a little Class that merges files on the fly, the supported formats are CSS and Javascript. With little efforts, I think, it can work fine also with JSON and CSV. Usage is …

Member Avatar for cereal
1
330
Member Avatar for cjohnweb

So I am trying to do a neat little script in a wordpress plugin that replaces matching keywords with links to other articles on the site. I think I'm done all except one little thing down here below. I need to fix the preg replace function. It should match anything …

Member Avatar for cjohnweb
0
372