39,402 Topics

Member Avatar for
Member Avatar for ajbest

I have a bit of a stumper that I am hoping someone has a fresh idea on. [B]The Problem:[/B] I have a client that owns 3 domains all selling similar products. The domains are all very interlinked together for various SEO purposes. I need to be able to have a …

Member Avatar for ajbest
0
215
Member Avatar for -==Zero==-

Hello first code I need to know the code to get data from mysql table that have a letter a i mean i have a table called "Games" there's a games start with a b c d e f g h I need to retrieve games That begin with (( …

Member Avatar for -==Zero==-
0
213
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
271
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
113
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
115
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
307
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
76
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
126
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
55
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
130
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
170
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
89
Member Avatar for murgesan

PHP, JSP, ASP.NET Which one best for web development ? web development are same , but platform is different , and also the working envirment are different ? so please suggest which is now day best development in web ? and also the large application in web ?

Member Avatar for peter_budo
0
300
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
224
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
271
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
133
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
57
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
100
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
153
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
114
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
126
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
178
Member Avatar for mayreeh
Member Avatar for chrishea
0
59
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
93
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
65
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
235
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
195
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
166
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
76
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
225
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
297
Member Avatar for mingis

Newbie question sorry! I have read the documentation on apache.org and I understand the basics, but the way rules interact with each other is confusing me! I have the following .htaccess file, it checks whether a file or directory exists and ignores it if it does (because the page can …

Member Avatar for decade
0
117
Member Avatar for wimmer

I am a newbie with php and was hoping someone can help me out. I am creating my first dynamic site in php and have gotten stuck. I have one page with 100's of links. I need all these links to load the same page but I need the server …

Member Avatar for wimmer
0
327
Member Avatar for vinothaviji

In php delete the row in html table: Hi to everyone, I have a problem in deleting the single row in html table.In html table each row has a delete link and auto_increment id.if u click the delete link the particular row has been deleted in both the html table …

Member Avatar for rpv_sen
0
160
Member Avatar for Joshua Kidd

Hello, I want to do something with my link. And by this I mean. I want to do this: [url]www.example.com/mypage.php?id=10000[/url] But is there a way to do that samething but display it like [url]www.example.com/10000[/url] or [url]www.example.com/mypage.php/10000[/url] ?? Would this have to be done through a .htaccess file?

Member Avatar for Joshua Kidd
0
141
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'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = …

Member Avatar for OmniX
0
117
Member Avatar for aecha

Anyone can help me with this code? I try to make it upload the photo but its cannot save and get this error.. Warning: fopen(Waterfall.jpg) [function.fopen]: failed to open stream: No such file or directory in C:\AppServ\www\pqs\hra\data_entry.php on line 13 Warning: filesize() [function.filesize]: stat failed for Waterfall.jpg in C:\AppServ\www\pqs\hra\data_entry.php on …

Member Avatar for aecha
0
127
Member Avatar for nexter

please solve my problem Parse error: syntax error, unexpected T_STRING in /home/vhosts/www.changs.tk/index.php on line 8 [CODE]<?php if ($NoTemp) { $CONFIG; Return (1); } $EXTRA_ENGINE="exchange_box.php"; $PAGE_TEMPLATE="index.html"; $PAGE_TEMPLATE="login_page.html"!!session_active()$CONFIG$_GET$CONFIG$CONFIG; $_GET("do_login")$page; $LANG_msg$LANG_msg; $page("LANG",$LANG_msg); $_GET$_GET; Return (1); ?>[/CODE]

Member Avatar for ctaylo21
0
296
Member Avatar for saybabs

I really want someone to tell me on FREE web hosting site that i can upload my project in order to TEST it before i do the final hosting. I appreciate your usual efforts.

Member Avatar for toms ace
0
155
Member Avatar for davy_yg

image_gallery.php [CODE] <?php $i = 0; //while ($data = mysql_fetch_object($result)){ for ($rows = 1; $rows<=3; $rows++){ echo "<tr>"; for ($cols=1; $cols<=4;$cols++){ if ($i >= $numRows) break; echo '<td style="text-align:center;">'; $data = mysql_fetch_object($result); echo '<div style="width:100px;font-family: verdana; font-size: 11px;">',$data->title; echo '<a href="'.$data->path.'" rel="lightbox[roadtrip]">'; echo ' <span style="border:0px;"><img border="0px" class="reflect" src="'.$data->path.'" width="100" …

Member Avatar for davy_yg
0
144
Member Avatar for emailcrombiez

I have a pretty simple question about RewriteRule. I am using the isset($_GET['p']) function to call pages into my index.html so when you click on a page the address in the address bar appears like this: [CODE]http://site.com/?p=contact[/CODE] I would like to get rid of the ?p= in front of the …

Member Avatar for emailcrombiez
0
119
Member Avatar for ghostdog_alex

Hello, I have a newoffer php page wich has a form for inserting new data in a mysql database. When the page newoffer.php is opened, a new record will insert with the values NULL. When the form is completed, the record will update with the new information. But if the …

Member Avatar for ghostdog_alex
0
108
Member Avatar for maxelcat

Hi All I am sure this is easy, but I can't make it work I have two variable $sectionID and $categoryID. There are a whole pile of conditions that these could have but I want to pick out two: when $sectionID==4 and $catergory!=21 and $category is !=27 How do I …

Member Avatar for maxelcat
0
98
Member Avatar for AdriftUniform

Hi all, I am sorry if I have posted this in the incorrect place but I couldn't see an Apache section. I am working on some ReWrites and ReDirects in my htaccess file, my reason for doing this is because I am developing a new design and layout for an …

Member Avatar for AdriftUniform
0
196
Member Avatar for nauman_mirza

I am trying to connect with afilias using php code below. [CODE]$ctx = stream_context_create(); $fp = stream_socket_client('inforfcote1.afilias.net:700', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx); if (!$fp) { print "Failed to connect $err $errstrn"; return; } else { print "Connection OK<br />"; } [/CODE] I get "connection OK" when I execute the script. …

0
54
Member Avatar for jogesh_p

hi i am not clear with the socket connection in php, because before starting a new topic i want to clear with the experts(you all guys), why we use socket connection??

Member Avatar for jogesh_p
0
133
Member Avatar for davy_yg

style.css [CODE] #footer { height: 120px; width: 985px; float: left; background: yellow; margin-top: 190px; position: relative; } [/CODE] This is just a part of css code. Basically I am creating a footer underneath my web which consist of many pages. I wonder how to set its footer location since each …

Member Avatar for davy_yg
0
118
Member Avatar for davy_yg

banner_manager.php [CODE] <?php //require("include/header.php"); //if (!$_SESSION['login']){ // echo "Anda tidak berhak mengakses halaman ini."; // exit(); //} include ("includes/koneksi.php"); //$_REQUEST['simpan'] = isset($_POST['simpan']) ? $_POST['simpan'] : ''; //$_REQUEST['link'] = isset($_POST['link']) ? $_POST['link'] : ''; //$_REQUEST['gambar'] = isset($_POST['gambar']) ? $_POST['gambar'] : ''; //$_REQUEST['id'] = isset($_POST['id']) ? $_POST['id'] : ''; //SIMPAN DATA if …

Member Avatar for davy_yg
0
304

The End.