39,326 Topics

Member Avatar for
Member Avatar for mathewmoozh

Hi friends, i have developed a new website.My client needs a online supporting chat feature in the website.I havent tried with it yet.I have downloaded the code and implimented many code in the site.But all are showing errors.Please help me.thanks in advance.

Member Avatar for rileyganimator
0
138
Member Avatar for devianleong

Hi, anyone can share some date picker code for me? I'm new to PHP and I saw a lot of free source code in google. Unfortunately I don't know about javascript and they mostly provide javascript date picker source code. Currently I want a php date picker to search a …

Member Avatar for diafol
0
220
Member Avatar for xbat

how do you group by value ? I have it where it selects by drop down... select sum (table) where item group by ?????? VALUE ???? The value I use is select

Member Avatar for xbat
0
159
Member Avatar for Buppy

Hi, I have this situation - an user clicks a link in my site. That link sets a session variable and then redirect the user to another page. That another page then redirects the user back to the previous page, but the previously set session variable is gone. How to …

Member Avatar for diafol
0
171
Member Avatar for saadi06

Hi, I am using tcpdf library to create pdf files and they are password protected.Now I have a condition where I want to merge different pdf files and create a single pdf file and dipslay the multiple pdf files to the user in a single pdf file.I am having problem …

Member Avatar for diafol
0
819
Member Avatar for BadManSam

I want like a ranking system that works something like this. User clicks on something there is a percentage chance that they will suceed. And if they do they get xp. but if they fail they only get like 1 xp. Anyone a mmporg Coder. Because I will Pay up …

Member Avatar for diafol
0
91
Member Avatar for matanc244

Hi i have a pages on my cms and I made a category system now i dont now how to add the category to the pages i want to have an option on the new add of page by the category that i made someone now how to ?

Member Avatar for pritaeas
0
125
Member Avatar for devilhacker

Hi, I have a table with a timedate collumn. I want to get the text of the article and its creation date, than to output them on my page. How can I just get only the date value from a query or php script manupulation?

Member Avatar for pritaeas
0
263
Member Avatar for jckb188

Struggling to get the following code to work. The code works if I just put an individual table in SELECT FROM, but I can't get anything when I try and do INSERT INTO table and then substitute it in. I am a complete noob at this and I know in …

Member Avatar for broj1
0
197
Member Avatar for hwoarang69

Warning: mysql_query() [function.mysql-query]: MySQL server has gone away in C:\xampp\htdocs\a_upload\upload.php on line 71 Warning: mysql_query() [function.mysql-query]: Error reading result set's header in C:\xampp\htdocs\a_upload\upload.php on line 71 GalleryUploadMessageProfileStatistticsChange PasswordDelete Account if(!$sql=mysql_query("INSERT INTO image VALUES(NULL, '$user_id_db', '$image', '$image_keyword_p' , '$image_full_name', '$image_short_name_p', '$image_des_p','$file_size' ,'$image_resolution', 0)")) Warning: mysql_fetch_assoc() expects parameter 1 to be resource, …

Member Avatar for pritaeas
0
206
Member Avatar for MDanz

I've looked everywhere and haven't found a clear step by step tutorial on how to secure sessions/cookies. Here are snippets of my code, i'd like to know how i can improve on session security to prevent fixation/hijacking and cookie safety. This is snippets of code for the user login system. …

Member Avatar for pritaeas
0
300
Member Avatar for Venom Rush

As the title says, I need to stop a user's browser from caching the form they've submitted. Is there any way of doing this?

Member Avatar for Venom Rush
0
227
Member Avatar for ayesha789

Hi, all this is my file expire_show.php it shows expiry of those agreements which will expire with in 90 days from current date. Users have to login to their accounts for viewing these expiry alerts. but they require these alerts on their email. [B]1. how i can format these for …

Member Avatar for urtrivedi
0
1K
Member Avatar for hwoarang69

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\a_upload\index.php on line 114 line 144: while($row = mysql_fetch_assoc($R)) $count = 0; $Q = "SELECT (SELECT image_short_name FROM user) as `image_short_name`" .",`image_id`,`user_id`,`image_short_name`,`image`" ." FROM `image`" ." ORDER BY RAND()" ." LIMIT 5"; $R = mysql_query($Q); echo " <!DOCTYPE html> …

Member Avatar for hwoarang69
0
427
Member Avatar for matanc244

i have a form in one page thet leads me to another page . exemple: when i want to delete a page in my cms , i am click on the icon that is leads me to page called delete.php. i want that when i click the icon the option …

Member Avatar for diafol
0
84
Member Avatar for matanc244

I have a problem to update my sql <?php $host="localhost"; // Host name $username="matanc_cmd"; // Mysql username $password="123123"; // Mysql password $db_name="matanc_cms"; // Database name $tbl_name="content"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // get value of id …

Member Avatar for broj1
0
172
Member Avatar for Khav

Hi Guys First of all i would like to state that i am new in php so my question might appear stupid for the geeks here. I want to create an image downloader in php , that is i need a textbox and a submit button. The user enter each …

Member Avatar for Khav
0
668
Member Avatar for Misbah khan

my code gives undefine index error .. and i don't know how to solve it... i m making online testing program but every eror in every step is undefine index error... ok my html file is <html> <form action = "http://localhost/onlineexam/home.php" method = 'get'> <center><h1>WELCOME TO ONLINE EXAMINATION</h1> <br> <br> …

Member Avatar for Misbah khan
0
186
Member Avatar for BleepyE

Hey guys, Im looking for a simple blog script for a website. It doesnt need to be fancy, just a single admin page and then the blog display page. No styling is required, as I am to add this to a HTML template. If anyone could point me in the …

Member Avatar for nevenov
1
119
Member Avatar for arcticM

if I have a function with 1 param that is default, meaning if it isn't sent in the function call it get's it's value from the value I put in the function definition- like this: function func(a$, $b, $c=null){} I can call this function like this: func(1,2); //$c get's null …

Member Avatar for blocblue
0
132
Member Avatar for spyece

Hello, I have this code which grabs url from a webpage, when i add multiple urls, sometimes some of the webpages does not have images in the div that i mentioned in this php code so it returns with this error : Fatal error: Call to a member function find() …

Member Avatar for pritaeas
0
344
Member Avatar for Octet

I am creating my purchasing system for my game at the moment, but I am struggling on a part of it and wondered if any of you could offer me some guidance? The problem I am facing is adding X amount onto a value but if that means it goes …

Member Avatar for blocblue
0
211
Member Avatar for Djmann1013

Hi, I am having trouble with this chunk of PHP script: <?php $deny = array("Example IP"); if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) { header("location: http://www.google.com/"); exit(); } ?> It works fine, its just when I try to link to a file that has the $deny var, it wont work. I tried using …

Member Avatar for Djmann1013
0
244
Member Avatar for keval007

Hi, I have text file which has lots of text as well as HTML data. There are some line as shown below. 06/30/12 00:40:30.73 Sending Email - Group: 4FD7917824F1B-EMAIL, 0, Message: There are lots of lines like above in text file. I want to extract following data from the entire …

Member Avatar for diafol
0
101
Member Avatar for [csharp]

I try to create dropdown list with informations from title column in sql table, but never succeeds. My connection and query is good. Can somebody to help me with this? mysql_connect(***); mysql_select_db(***); $query = mysql_query("SELECT title FROM test"); Thanks!

Member Avatar for bobgodwin
0
233
Member Avatar for debriscreator

Ok i think i'm getting closer to what I need.. Here's the error msg i'm getting. Error: 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 'table WHERE id = Stef Longo' at line …

Member Avatar for debriscreator
0
279
Member Avatar for raghibkhesal

I have created a page myfunction.php and added two functions: function AppNotify ($Uid,$ Message,$ Data) { return; } function AppNotifyUnfriend($Uid,$ Message,$ Data) { return; } After that I created another page and include “myfunction.php” on these page then create code $done= AppNotify (‘12’,’hello’,’Delete’); $done2= AppNotifyUnfriend(‘12’,’hello’,’Delete’); The problem is when i …

Member Avatar for DarkMonarch
0
87
Member Avatar for adishardis

Hi, I have a database table filled with interesting data. On my webpage I would like to let a user pick two rows in the table and compare the data to see how it differs. Picking what rows to compare would be done by two dropdown lists. The data in …

Member Avatar for adishardis
0
129
Member Avatar for ehpratah

hi i have a little bit of issue just thingking if somebody can give me a hand out here.. the issue is when i compute for a car rate..it will depend on the date of rental and the return date,which is already coverd the problem is it will not really …

Member Avatar for ehpratah
0
213
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
258

The End.