39,316 Topics

Member Avatar for
Member Avatar for sarah2230

Hi, I am trying to set up a php email form but the website the form is hosted on, is hosted on a windows server. And I am getting this error: There was an error in the information submitted: From Email address empty Please return to the form and fix …

0
106
Member Avatar for markhammill

Hi, I have almost finished my first webpage with php but I have an error I can't manage to fix. I used the plaincart template to start with. If you go to [URL="www.michton.com/shop.php"]www.michton.com/shop.php[/URL] There is an error at the top of the page, it is on black so you need …

Member Avatar for 7a26j
0
247
Member Avatar for johng123

id like to input a parameter using an input box it suppose fill a column of an existing table the submit button need to clear the old values in this column and than fill it with the new values for example three column row; id, countries, parameter1 on submit clear …

Member Avatar for sainigks
0
135
Member Avatar for umeshMCA

hi, here i mention my code its a code to login and logout code when i click on logout than its return on userlogin page but when i press back button of browser its return to previous page. code here RM.php <form action="login.php" method="post"> <table width="300" align="center" border="1"> <tr> <td …

Member Avatar for sainigks
0
173
Member Avatar for divyakrishnan

Is it possible to run an exe file directly onto the server without downloading/saving into client machine? I had used that exec() function .But it is showing no display. <?php echo exec("d:\example\php_exe\1436.exe"); ?> Also I tried it using backticks operator

Member Avatar for bibiki
0
380
Member Avatar for MasterBerd

Hey Guys! i'm trying to start making a php based word translator. Do i need to retype every word in dictionary or is there a way to download "library" type thing, or copy and paste from sources (could not find)? thank you for your help

Member Avatar for chrishea
0
331
Member Avatar for thekiddy

I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to …

Member Avatar for Airshow
0
674
Member Avatar for AMADH

Hello, I hope somone can help me. I have a form that a user use to search for their pay, and it will dispay it for them as both with dependents and without. Right now they can search and it will display their pay, but it displays it as two …

Member Avatar for AMADH
0
157
Member Avatar for masterjiraya

ALL THE FILES ARE HERE. [URL="http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar"]http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar[/URL] THERE'S A PROBLEM IN THE FILE RECEIVER.PHP I can't solve why I cant upload with restrictions, what I want is to upload multiple files in one deploy... it's an array of files. I want these each files of every array element is checked and …

Member Avatar for masterjiraya
0
205
Member Avatar for klemme

Hi All, I have some trouble getting some javascript code implemented Its basically because I havent used much it before. Its like this: When admin chooses to delete a page from his site via this link: [CODE] <?php echo '<a href="process_delete_page.php?pid=' . $id . '">Delete page!</a>'; ?> [/CODE] Before this …

Member Avatar for klemme
0
137
Member Avatar for codemonkey88

Does anyone know about cleaning up URLs for CMS? I had a .htaccess file containing the following code (or so far as I can remember) [CODE] RewriteEngine On RewriteRule ^([a-z])$ /index.php?url=$1 [L] RewriteRule ^/article/([a-z])$ /index.php?url=$1&type=news [L] [/CODE] which was working fine ie: [url]www.mysite.com/somepage[/url] loaded the "mypage" content into my index.php …

Member Avatar for codemonkey88
0
250
Member Avatar for erza26

hi...i really, really need help right now...i have order date and approve date.. 1) my problem is, how i can calculate between those two date 2) code for checking insert date...for example, if the user enter yesterday date for order date, it will pop up an error and if the …

Member Avatar for Kannan R
0
76
Member Avatar for Pro2000

[B]Hello everybody. I've been working on a PHP file that adds a value to a cell in one table in MySQL.[/B] First I thought that the following code might work properly: [CODE] <?php require("DB_Connector.php"); //The file that connects to the MySQL database required mysql_query("update tableName set cellName= cellName + '$The_New_Value' …

Member Avatar for Pro2000
0
309
Member Avatar for hassan12345

how to delete line number 3 or any line of my csv file ????????????????? like test.csv 1.jhon 2.sarah 3.ricky //delete this row of csv 4.martin

Member Avatar for vibhaJ
0
4K
Member Avatar for dalip_007

Hi Experts, I have a table and I want to check once in a day if some records have been added or removed from this table within last 24hours ,and then send an e-mail to myself of all those added or removed records only . Any idea about how can …

Member Avatar for dalip_007
0
95
Member Avatar for rpv_sen

HI Sorry for opening the thread, i have some issue please help me in solving the below one [B]Javascript[/B] [CODE]<script language="javascript"> function line(elem,amt,res_elem) { var qty=document.getElementById(elem).value; var tot_amt=qty*amt; //document.getElementById(res_elem).value = tot_amt; document.getElementById(res_elem).value = Math.round(tot_amt*100)/100; } </script>[/CODE] PHP [CODE] <?php $cate_code=$_GET['ct']; $civrform=$_GET['vrform']; $site=$_GET['site_name']; $desr="select * from site_rate where category_code='$cate_code' AND sitename='$site' …

0
187
Member Avatar for hassan12345

hi i want to delete line from my csv file after echo or process this line can any one help???????????? thanks in advance!!!!! here is my code [CODE]$fp = fopen('surInput.csv','r') or die("can't open file"); while($csv_line = fgetcsv($fp,1024)) { for ($col = 0, $j = count($csv_line); $col < $j; $col++) { …

Member Avatar for hassan12345
0
358
Member Avatar for tactfulsaint

[CODE]while($row = mysql_fetch_array($sql_blabs)) mysql_fetch_array(parameter)[/CODE]PLEASE i need another method OF retrieving data from MySQL database other than THIS IS THE FUNCTION THAT'S THROWING THE ERROR, IT KEEPS SAYING THAT'S ITS A NOT A VALID PHP FUNCTION

Member Avatar for rpv_sen
0
94
Member Avatar for Awah Mohamed

hey people. i am trying to build a synamic page that updates its contents dynamically without using javascript. a friend of mine sugested me web sockets. and when i checked it it was awsome. now i can build a web socket that can be accessed from command prompt. now my …

Member Avatar for digital-ether
0
77
Member Avatar for MKWeb

I have a form that contains multiple dropdowns that are dynamically populated using AJAX not CSS, dependent upon the form above it. The page works fine in FF and Safari, but when I try it in IE, the first dropdown is populated, but the others remain greyed out. Here is …

0
79
Member Avatar for bibiki

hey there, I have the following piece of PHP code to retrieve a list of files on a directory, and then build links to each file: [CODE] <?php $dir=""; // Directory where files are stored if ($dir_list = opendir($dir)){ while(($filename = readdir($dir_list)) !== false){ ?> <li><a href="<?php echo $filename; ?>"><?php …

Member Avatar for bibiki
0
312
Member Avatar for klemme

I was adding a link to make it poosible to delete a page on a site, which is not yet published. the link looks like this, with the processing below it: [CODE] <?php // The Link echo '<a href=\"process_delete_page.php?pid=' . $id . '">Slet siden her!</a>'; // Processing the request $id …

Member Avatar for klemme
0
220
Member Avatar for Macko888

Hi Everyone, Just a basic Conn function i would like to share with the community. Any constructive criticism and tweaks are very welcome, im trying to optimize my entire code library, starting with the basics. [CODE]<?php funtion dbconn(){ $db = "database_name" //<-- name of database being connected to $server = …

Member Avatar for diafol
0
74
Member Avatar for showman13

Good Morning All, I have a query I need to do, but haven't been able to get it clear in my mind how to structure it... I have two tables 'members' and 'subs_track' they are linked by the 'mem_id' field in both There is a single record for each member …

Member Avatar for showman13
0
112
Member Avatar for masocha

l am trying to send individual emails with a loop using php mailer in joomla. However when l generate the emails l get something like 12 emails to one email address even if the loop is only 2 in size So its something like foreach($res as $r) { //send email …

Member Avatar for vibhaJ
0
79
Member Avatar for happytogether

Can somebody help me please? i try to generate an xls(excel) file using this code, all format work fine except the cell size(width). can anyone help me how to format the cell width? [code] </php . . . $workbook = new Spreadsheet_Excel_Writer(); $format_und =& $workbook->addFormat(); $format_und->setBottom(1);//thick $format_und->setAlign('center'); $format_und->setHAlign('equal_space'); $format_und->setBold(); $format_und->setVAlign('vcentre'); …

Member Avatar for happytogether
0
863
Member Avatar for branding4you

I have php mailer that works on the server and sends newsletters out to clients. I wnat it to send me read receipts (I know that some users will select dont send read receipt)and delivery receipts. I tried this: [CODE] $mail_body = ''. $news . ''; $subject = "My Newsletter"; …

0
61
Member Avatar for Rajicet

Hi, I want to convert an XML containing images into Excel sheet. But it is displaying only image path, not image. How to display the image in Excel... ?? Can i use base64 encoding and decoding for this ? Please help...

Member Avatar for Rajicet
0
127
Member Avatar for vishalpala

if user type wrong id and password so one message display and how can i remove alert message on refresh on log in page

Member Avatar for karthik_ppts
0
70
Member Avatar for reygcalantaol

I am developing google search application using google search API. I am almost done with it but I have one problem which I am hardly find the solution over the net. My problem is to get the cache date (a date where google last crawled the site). I will be …

0
72

The End.