39,326 Topics

Member Avatar for
Member Avatar for davy_yg

I have the following error: (include_path='.:/usr/share/php:/usr/share/pear') in /home/sloki/user/masterli/sites/masterlink.co.id/www/cgoods/banner.php on line 15 Line 15: include("includes\koneksi.php"); That error appears after I upload my website online. Why is it ?

Member Avatar for simplypixie
0
131
Member Avatar for -==Zero==-

Iam Making Register & Login System Thats My Code [CODE]<?php include ('func.php'); include "Admin/config.php"; ?> <!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" dir="rtl" lang="ar"> <head> <title>ÇáÊÓÌíá</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1256" /> <link href="favicon.ico" rel="icon" type="image/x-icon" /> <link rel="stylesheet" type="text/css" href="Style.Css" /> </head> <body> <?php include "header.html" ?> …

Member Avatar for -==Zero==-
0
179
Member Avatar for nakresimin

hi, i looked all the codes but i could not really see it - i dont really understand coding-. after registration this website send an activation code but i want to make the user active when they actually register. can you please help me what i should look for or …

Member Avatar for diafol
0
99
Member Avatar for mohamedasif18

Hello guyz.. Now am currently doing a SMS portal site . I have 2 frames like , <frameset rows"" cols""> <frame src"page1.php">Page1</frame> // Navigation <frame src"page2.php">Page2</frame> // Main Content </frameset> Navigation : Static main Content : Dynamic || By this case when user press F5 the Main content frame goes …

Member Avatar for mohamedasif18
0
260
Member Avatar for jola.chmiel

Hi, im making my new CakePHP project and I've got some problems with validating data, which comes from form. I mean i do know how to add custom rule but i don't know how should regex for 9 numeral telephone number looks like. [code] function checkPolishNumber($inputValue){ $regex = 'what to …

Member Avatar for jola.chmiel
0
203
Member Avatar for TheDumbNerd

Okay, so instead of the ID's of each record showing up in the form that is displayed for the user, there are radio buttons. I want to create it as when the user clicks on one of the radio buttons, that record is selected. Then the user, clicks on the …

Member Avatar for diafol
-3
117
Member Avatar for chandbasha

Hi, I have a url like this product.php?id=xyz how to create url like category/subcategory/productname/id/ Now i have edited like RewriteRule ^(.*)/(.*)/(.*)/(.*)/$ /100bestbuy/%QUERY_STRING}product.php?id=$4 but it is throughing errors. if it is not possible give me any alternate way. please help me.....

Member Avatar for diafol
0
68
Member Avatar for vedro-compota

Hi there) I'm trying to install PHPUnit - does anypne know how to solve this problem ? = [QUOTE]Failed opening required 'PHPUnit/Framework.php'[/QUOTE] I can find the solution ib the internet! big thanks in advance)

0
68
Member Avatar for badface

Hey guys...How can i put buttons for print,email and pdf in my web...Buttons like those in many joomla template....

Member Avatar for diafol
0
38
Member Avatar for phorce

Hey, I'm building my own platform mainly for a project, but, for my own personal use as well.. I'm also changing the style of programming that I do it in, and, setting up some rules.. I just wondered if there are any disadvantages to the way that I am setting …

Member Avatar for phorce
0
197
Member Avatar for daniel36

the code below is not working [CODE]<?php $product=array(); $plicense_key=array(); $count=2; $product['0']="The life of game"; $product['1']="The game of life"; $product['2']="Congo"; $plicense_key['0']="xf456-sdfrd"; $plicense_key['1']="xf456-sdfrd"; $plicense_key['2']="xf456-sdfrd"; $to=$user['email']; $subject="Thank you for purchasing"; $txt= "Thank for purchasing our product.your product related information is-"; for($i=0; $i<$count; $i++) { if($i=0) { $txt.="product:Licence_key"; } $txt.=$product[$i]." :".$plicense_key[$i]; } echo $txt; …

Member Avatar for diafol
0
147
Member Avatar for Riogan

Hi guys, My project is chatting system in PHP and I need some help in delete friend from friend list I have already add friend function but remove friend does not work I don't know can any one help me quick this is add friend code: this code in utile …

Member Avatar for Riogan
0
130
Member Avatar for daniel36

I am unable to understand how to use email address of user at another place in same page of code [CODE]$message2 = Swift_Message::newInstance() ->setSubject($row3['subject']) ->setTo(array($user['email'] => $user['username'])) ->setFrom(array($core->site_email => $core->site_name)) ->setBody($newbody2, 'text/html');[/CODE]

Member Avatar for pritaeas
0
78
Member Avatar for GreaseJunkie

Hi everyone, thanks for reading this. I am trying to write some code so that a vote button won't allow a person to vote unless they are registered and logged in. I have this written, but it's not outputting properly. I'm pretty sure I am not encoding the URLS properly …

Member Avatar for GreaseJunkie
0
4K
Member Avatar for Stickie

What am I doing wrong? I've stored the date in american format (yyyy-mm-dd) and want to output it in european format (dd-mm-yyy). This is my code. [code=php] //ZENDING $result = mysql_query("select ID, Bestemming, Afkorting, Datum FROM Zendingen WHERE ID ='" . $znding . "' ORDER BY ID, Bestemming ASC") OR …

Member Avatar for Stickie
0
147
Member Avatar for daniel36

Can any one make a documentation of the query for me the query code is [CODE]"SELECT t.*, SUM(t.item_qty) as count, t.created, t.status, t.ip, t.active as tactive, SUM(t.downloads) as file_downloads, FROM_UNIXTIME(t.file_date,'%M %e %Y, %H:%i') as registered, t.id as tid, MAX(t.file_date) as file_date," . " \n p.id as pid, p.title, p.description, p.expiry, …

Member Avatar for pritaeas
0
82
Member Avatar for Pytho

Hi all Microsoft has what I want. When you write to their forums and you type the title for your thread, a list will appear under the input box. It looks like the image attached. Well, I have a MySQL database which contains a name field. There is something like …

Member Avatar for pritaeas
0
143
Member Avatar for raphie

I would like to add an advanced print form into a customer web site. They have an online web form but they also want to have the form break apart into sections as PDF files so it's distributor print out only the sections they need. The full order form is …

Member Avatar for dean8710
0
2K
Member Avatar for Trn32

Hi All, Kindly note that I'm new to this forum. Hope that you can help me. I have a VB.Net application that must connect to online MySql database. I already have a MySql database and I connected to it from VB.net using the MySql connector (new instance and direct connect). …

0
98
Member Avatar for peter20

Hi, I downloaded a code for creating a pdf via php. It is called [URL="http://www.tcpdf.org/examples.php"]tcpdf[/URL] I would like to change the header with other text, But I can't find the file I have to modify. Also I would like the line of header lower Could you help me ? Thanks …

Member Avatar for broj1
0
1K
Member Avatar for bflack

Hello guyz, I need some help about downloading MULTIPLE files on php. I've used while loop by checking if the checkboxes were checked but when I continued on clicking the download button, all the system downloads is just 1 file. Why is that?.. any suggestions would be appreciated. Thanks. I've …

Member Avatar for bflack
0
8K
Member Avatar for ptara1

I have a script that looks at a database of hours for stores. The table is set up by ID, Day, Hour Open, Hour Closed. The time is in military hours, 1pm = 13:00:00 hours. Currently it doesn't work correctly. Wondering if anyone could just give me a pointer on …

Member Avatar for ptara1
0
208
Member Avatar for labise

How can i add a pop-up window with below code? [CODE]<a href="inventory_images/<?php echo $id; ?>.jpg">View Full Size Image</a></td>[/CODE]

Member Avatar for jcarbillon
0
109
Member Avatar for jacob21

How I can do: 1. Upload multiple files into folder. 2. Then fetch those files that had saved in a folder. (I have to upload once but fetch again and again ) 3. and Then attach those files one by one and send to specified email/s.

Member Avatar for jcarbillon
0
175
Member Avatar for anonymous55

I have finished doing PHP from w3schools in about a week.Here are the topics that were covered. PHP Basic PHP Syntax,PHP Variables,PHP String,PHP Operators,PHP If...Else,PHP Switch,PHP Arrays,PHP While Loops,PHP For Loops,PHP Functions,PHP Forms,PHP $_GET,PHP $_POST PHP Advanced PHP Date,PHP Include,PHP File,PHP File Upload,PHP Cookies,PHP Sessions,PHP E-mail,PHPSecure E-mail,PHP Error,PHP Exception,PHP Filter …

Member Avatar for jcarbillon
0
215
Member Avatar for mehdi.yazdani

hi i create a page that select 6 item form certain table in database and then in each page it shows 6 item of them order by id desc and now i decided to increase the number of item for displaying in each pages to 12. so the question is …

Member Avatar for diafol
0
108
Member Avatar for baig772

Hi all i am new to kohana 3.2.x i used to work on kohana 2.3.x the directory structure is not same in both cases so i am getting problem while posting my form to any controller. [CODE] <form action="<?php echo url::base();?>admin/validateLogin" method="post"> <h3>Enter Your Credentials:</h3> <fieldset> <p><label>Email:</label><input type="text" name="email" /></p> …

Member Avatar for fobos
0
223
Member Avatar for dipusubhasis

[CODE] $appr2 = mysql_query("SELECT from_date FROM mrfs WHERE `mrf_id`='$row[0]'") or die (mysql_error()); $appr3=mysql_fetch_row($appr2); $appr4 = mysql_query("SELECT to_date FROM mrfs WHERE `mrf_id`='$row[0]'") or die (mysql_error()); $appr5=mysql_fetch_row($appr4); $date=date("m/d/Y"); $date1=date("m/d/Y", strtotime("$appr3[0] -8 days")); if($date>=$date1 && $date<=$appr5[0] ) [/CODE] The code above says to compare two dates present date and from date and present …

Member Avatar for fobos
0
110
Member Avatar for dipusubhasis

Hi guys i am new to this forum facing some issues with my php code. The code below says on click go to cart.php I want to add a condition to the same-- if(reasons==Internal) { go to="cart1.php" } else { go to="cart.php" } Kindly help me with the same.... <td> …

Member Avatar for karthik_ppts
0
149
Member Avatar for baig772

hi all i am unable to download files from live server. but it works fine on development server. is there any server issue with it? do i have to unable or set any extension in phpmyadmin or php.ini?

Member Avatar for baig772
0
107

The End.