38,023 Topics

Member Avatar for
Member Avatar for diafol

Hi All, I'm in the middle of building a new login/registration class and was going to apply a hashing function to the pw and an activation token, when I came across the hash_hmac function. I've tried finding out more about it, but info is pretty scarce. Could anybody shine some …

Member Avatar for diafol
0
268
Member Avatar for Simon180

abit like the title am looking for a way to scan my full database and to look at each accounts email address and to find any emails the same and then count them can anyone show me how this is done ? thanks below is my basic db table [CODE] …

Member Avatar for Simon180
0
101
Member Avatar for jpizzolato

I am entering text into a textarea field and pressing the return key to force a new line. But when the contents of the textarea field is displayed I am seeing the new line html tag <br /> symbol (see below). How do I stop these symbols from displaying and …

Member Avatar for ajbest
0
111
Member Avatar for Stefano Mtangoo

Since I decided to reinvert the wheel and write a growing MVC, I though having a template class will be cool. Now I have never done any complex templating apart from simple include kind of templating. Now I wrote this base class and here is my concept is explained below. …

Member Avatar for Stefano Mtangoo
0
303
Member Avatar for bravemarshal

pLEASE TAKE A LOOK AT THE TUTORIAL IN THIS LINK: http://forum.codecall.net/php-tutorials/13410-register-upload-photo-have-new-page-each-user-after-registration.html . i HAVE SPENT TIME TRYING TO KNOW WHAT IS WRONG WITH THE regmee2 file but can't still tell. I am no longer sure if it is also a table or a called procedure. Can anybody tell me if …

Member Avatar for ddymacek
0
73
Member Avatar for topsege2007

i want to design an application where registered members will upload their passport photograph along with some basic information on a form. These members should also be able to view thier profile showing there passport. Please I need someone to help me with a script.

Member Avatar for ddymacek
0
123
Member Avatar for samsnov

Please can someone help me out here, I know that this is not the right place for this forum but I assumed that experts would be here to help me out too as I have written to wordpress but no response. 1st: how can I remove image file link in …

0
52
Member Avatar for dr.4030

hi every body i have template that it contains this type of java script for displaying wallpaper in the main screen : [CODE] <!-- JAVASCRIPT TRIGGERS --> <script type="text/javascript"> $(document).ready(function(){ $("a[rel^='prettyPhoto']").prettyPhoto({ theme: 'dark_square' }); }); $.backstretch("images/background-home.jpg", {speed: 'slow'}); </script> [/CODE] and i wanna change it to this form : [CODE] …

Member Avatar for cwarn23
0
126
Member Avatar for phorce

Hello, Does anyone have any experience with phpwebsocket by google? I'm having a problem connecting to my server... Here is the two files: (server.php) [code] #!/php -q <?php /* >php -q server.php */ error_reporting(E_ALL); set_time_limit(0); ob_implicit_flush(); $master = WebSocket("[server_IP]",12345); $sockets = array($master); $users = array(); $debug = false; while(true){ $changed …

Member Avatar for cwarn23
0
168
Member Avatar for sdjewani

I am working on drupal and i am using AuthName "Restricted Area" AuthType digest AuthUserFile /www/myproject/.htpasswd AuthGroupFile /dev/null <Files admin> require valid-user </Files> in htaccess and my htpasswd file contain admin:yYUhGhiABVJGI sanjay:aeGwcBYMSYUKc but I am unable to login. any suggestion

Member Avatar for cwarn23
0
85
Member Avatar for kuldeep04

Hi All I have one .pdf file and I want to read with this file using PHP. and I know that i need pdf library for do that but i haven't any information about that so, please give me detail info for that library also...! Thanks in advance.

Member Avatar for sdjewani
0
1K
Member Avatar for wimmer

This is the first time I have ever tried to use mod_rewrite and have been stuck for a couple days. I am trying to change [url]www.mysite.com/example6.php?id=games[/url] to [url]www.mysite.com/example6/games[/url] Is this even achievable? Any advice will be very much appreciated!

Member Avatar for somedude3488
0
223
Member Avatar for emiola

Hello, I need my web users to send an uploaded file along with their registration data. The form will be sent via email while at the same time, the uploaded file will be stored in a folder on my server. Take a look at the code please: [CODE] <?php if(isset($_POST['email'])) …

Member Avatar for somedude3488
0
255
Member Avatar for Buppy

Hi, I have a web page where users can log in and then in various sections the page shows some data about the user - like email address, phone number, name, last name, etc (about 30 values in total). In your opinion, what's better - saving the data into session …

Member Avatar for somedude3488
0
129
Member Avatar for phorce

Hello, I was building a web chat system using jQuery, PHP, and mysql and it's working, the thing is that someone informed me that it will strain the server if I do it this way, and suggested I used "Comet Polling" for it, but I have never heard about it …

Member Avatar for diafol
0
54
Member Avatar for davy_yg

product_category.php I am writting the following codes. I would like in the input name Kategori value <?php $kategori; ?> to pull data from nama_kategori in kategori table (in phpmyadmin) whenever I press EDIT. But this is not the case, whenever I press Edit the Kategori box value remains empty. Why …

Member Avatar for davy_yg
0
98
Member Avatar for jpknoob

Hello, i am trying to write a bit of script that will add a delivery cost based on the country code which is provided from a form. Everything works, except my last else statement. As an example, i am trying to make the delivery 1.15 if the country code is …

Member Avatar for jpknoob
0
151
Member Avatar for rahulvramesh

How do i do this automatically, anyone know of a script , given a username, it creates a user account and email address. plz help me

Member Avatar for diafol
0
111
Member Avatar for webramesh

Hi, Someone please help me out that why my pagination page no 1, 2,3 ,. . .>> continued to the next line, is there any way to fix it in one line. [B][U]Here is my Script[/U][/B] [CODE] <!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> <?php require("conn1.php"); …

Member Avatar for diafol
0
123
Member Avatar for ronysios

i can upload to MYSQL, with user generated content, picture included... when i access the information, everything appears but the picture, just the pictures file name is listed (no pic) is my code wrong?... am i missing something? would appreciate any help [CODE]define(`uploadpath`, `htdocs/phpsessions/images`); { $pix=$_FILES['pix']['name']; $target=uploadpath . $pix; echo"$target"; …

Member Avatar for ronysios
0
170
Member Avatar for mayreeh
Member Avatar for chrishea
0
57
Member Avatar for mayreeh

how do i get total values in a row by grouping into diffrent categories. here is my code bt its getting oll totals in a row for now.. <?php require_once('connect.php'); ?> <?php $query="Select Amountspent from Moneyout"; $result=mysql_query($query); $total=0; while($row=mysql_fetch_array($result)) { $total=$total + $row['Amountspent']; } echo "Total is:" . $total; ?> …

Member Avatar for chrishea
0
88
Member Avatar for siva28

am new bie to PHP... I want script for contact web page mail go to mobile phone. for example contact form having name, contact number, description. after that fill these details click the send button mail send to particular mail . so that mail will intimate to my mobile .please …

Member Avatar for chrishea
0
63
Member Avatar for Nahiyan

Hello, So I wrote a PHP script which will return all the contents of a table using Mysql. I want to set a limit so that PHP will display only 30 rows and divide them into pages like [1,2,3...] dynamically and the PHP script will detect the page using GET …

Member Avatar for diafol
0
233
Member Avatar for rpv_sen

I am facing problem on sum of dynamic array value. For example : [B]tablename : totalamt[/B] ref_no | Amount 1 | 58 2 | 12 3 | 11 i am using check box to select the ref_no. now i am selecting 3 check box now and submit it. Now it …

Member Avatar for diafol
0
192
Member Avatar for shg234

Hi, I'm not very much used to with this kind of things, trying to call a class variable from a different page... Please look at the code below: [B]class.php[/B] [CODE]class bag{ private $no_of_items=0; private $sub_total; public function update(){ $this->no_of_items = $this->no_of_items++; return true; } }[/CODE] [B]index.php[/B] [CODE] $cart = new …

Member Avatar for broj1
0
155
Member Avatar for madz015

Hi Everyone, Can someone explain to me where I got wrong with my code. I'm trying to pass a session variable from page to page, from the first to second page the value is still there but on the succeeding page the value is gone. I have ensure that the …

Member Avatar for madz015
0
7K
Member Avatar for Annuscha

Hi, I have a problem getting the value of my arrays into my database. I have 2 sections, the thing is the first section adds all the correct values into the database, where the second section adds 0 to the question_id variable. Form Page: [CODE]//Section 1 $countquestion = 0; $query …

0
74
Member Avatar for DemonGal711

Alright, I've been curious about making a code that can send a text message. I figure if it's possible to send emails with php, there's probably a way to do the same with a text message. I did come across this [URL="http://www.daniweb.com/web-development/php/threads/382740"]thread[/URL] which seems to be using a gateway to …

Member Avatar for cwarn23
0
223
Member Avatar for davy_yg

input_berita_static.php [CODE] $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $isiBerita = isset($_POST['isiBerita']) ? $_POST['isiBerita'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = mysql_query("SELECT * FROM static_page WHERE id =".$_REQUEST['id']) …

Member Avatar for cwarn23
0
292

The End.