474,060 Members | 1,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
1
4,522
thread by: arshigill | last post Apr 4 '08 by: ronverdonk
I want to import data from excel file inot mysql database table but unable to solve this problem. I have searched google and find an example of importing of CSV excel file. But when I modify it for my own requirements it does not work. Please help me with an example to import data in colums in exel file into mysql table columns. Thank PHP...
4
1,473
thread by: adamjblakey | last post Apr 4 '08 by: coolsti
Hi, I am trying to set up so that users on my site can pay to upgrade there account. What i thought would work but does not seem to be is this: <input type="hidden" name="return" value="http://www.web.com/upgrade-account-process.php?id={$sessionid}"> Then in the upgradeaccount-process.php i have done: if (isset($_GET)){
3
1,901
thread by: Faisal Shah | last post Apr 4 '08 by: ronverdonk
As the solution.. I have got this script code.. it's an open source so i can modify it.. The problem is it's a guest book script written in very highly and deeply php language that I am not able to understand all.. BUT I am here you guys can read and help me.. From this script i would need your help, You will have to separate 2 things...
3
1,859
thread by: KHurst | last post Apr 4 '08 by: ronverdonk
How do I get rid of reCaptcha fields that are emailed when I submit a form? I guess what I am asking is how do you exclude unwanted fields from being posted to email from a form in PHP? Thanks, Kenny
4
2,560
thread by: Christoph | last post Apr 4 '08 by: C. (http://symcbean.blogspot.com/)
A while ago, I implemented an AJAX-based progress bar on a web page that executed a lengthy server operation. The web page was a Java servlet on a Tomcat server. The progress bar worked by repeatedly querying a secondary "Status" servlet, which returned JSON information about the progress of the ongoing server operation. The main servlet...
2
1,819
thread by: selvialagar | last post Apr 4 '08 by: coolsti
$blid=$_GET; $query=mysql_query("select * from pms_block,pms_rental where pms_block.block_id=pms_rental.block_id and pms_rental.block_id=$blid"); $r=mysql_fetch_object($query); $parts1 = explode("-",$r->agree_date); $thatis1 = mktime(12,0,0,$parts1,$parts1,$parts1); $nicedate1 = date("j - F - Y",$thatis1); i don't know how...
1
1,304
thread by: gubbachchi | last post Apr 4 '08 by: coolsti
Hi all, I have an issue here. There is a link "My plan" in the php page1. On clicking this link directs to a form which has some entries that has to be filled by the user.And once the user fills the form and clicks the submit button the entries will be stored in the database. What I need is, when the user fills the form and submits the...
10
1,329
thread by: nathanwb | last post Apr 4 '08 by: coolsti
I have this code and I when the submit button is pressed it will create a new record in the database but wont place any of the data from the form into the new record.? Im kind stumped. This is what the http link looks like when I pull the page up. /mailsend.php?iid=1 This tells the following code which person I am sending a message...
5
5,663
thread by: gubbachchi | last post Apr 4 '08 by: gubbachchi
Hi all, How to convert the fractions into decimals and vice versa in php. I have a form, where the user will enter fractions in the text boxes such as "1 1/2", "1 1/4" and so on. I need to store all these values in mysql database after converting it into decimal value, and again fetch the value from database and re-convert it into fractions...
3
1,778
thread by: KHurst | last post Apr 3 '08 by: Markus
I have created a form that I email the submitted results to an email address. The form has several optional fields that I would like to exclude from the sent email if they are empty. Below is the PHP code that I am using now. foreach ($_POST as $field=>$value) $message .= "$field: $value\n"; mail($to, $subject, $message);
7
2,304
realin
thread by: realin | last post Apr 3 '08 by: TheServant
hi guys, i just want to know that if there is a way to setup mailserver in php ? I mean i want the script or application to send/receive mails, notify bounce or not received information.. If this application is not possible in pHp, then how can i do this ? please tell me thanks and regards Realin !
1
1,525
thread by: samvb | last post Apr 3 '08 by: Markus
hi guys, i am lookin to creatin a local site. i want them to download files to thier local computer from the server. how can i do that? the server is ftp.
1
1,305
thread by: th1982 | last post Apr 3 '08 by: hsriat
I have the code like this to download pdf file : <?$basedir = "public_html/UserFiles/Data/"; $filename = $_GET; header("Content-Type: application/octet-stream"); $save_as_name = $_GET; header("Content-Disposition: attachment; filename=\"$save_as_name\""); readfile($basedir.$filename);?> but i cannot open the output with error window message...
1
1,084
thread by: Simon | last post Apr 3 '08 by: Rik Wasmus
Hi, I am trying to look at the c++ source code of php5. But for the life of me I cannot find the implementation of "operator ===" In fact, I cannot find the implementation of any operators, can someone point me in the right direction? Thanks
3
1,433
thread by: jrhitokiri | last post Apr 3 '08 by: ronverdonk
usually, when i have questions regarding my DB systems, i just google, and i always find this forum very helpful, so i decided to join this forum and ask this question i coulndt find on the net, 'coz i think you guys know a lot about this: I have this Datetime field in my mysql DB, which i queried with the SELECT command. now in my page, i have...
6
2,053
thread by: jrhitokiri | last post Apr 3 '08 by: jrhitokiri
hi again! this is another problem i encountered while doing my projects. you see, i have this textfield, and i would like to save what's in that textfield into the sql db with the formatting, like indentations. i already resolved the problem with newlines, but i guess this is the next one i need solved. thanks for you help again! bu the way,...
3
1,506
thread by: princelindie | last post Apr 3 '08 by: ronverdonk
I have login.php page where user entering the site must sign on. On the local machine it is working but over the network it not. i using fedora 8. Any ideas?
3
1,240
pradeepjain
thread by: pradeepjain | last post Apr 3 '08 by: aktar
<?php $handle = fopen("welcome.txt", "r"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle); echo $buffer; echo "<br>"; } fclose($handle); }
1
1,612
thread by: ashishpandey80 | last post Apr 3 '08 by: Atli
i have installed APC on my linux machine after make install i got the following path /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ Also i have uploaded the dll file in the extention directory But Apc.php gives blank page and the nothe show regardinapc in php_info
3
1,317
thread by: sialater | last post Apr 3 '08 by: ronverdonk
Hello, I've been trudging through the net trying to find possible abbreviations to find a specific date using strtotime() What I'm after is a way to find the first specific day of a month in the current year. For example, "The first Sunday of July". Thanks
6
38,091
mageswar005
thread by: mageswar005 | last post Apr 3 '08 by: Markus
hi, how to get the previous page url in php, eg: now i am working in www.actionscooter.com/product.php ,from that page i have one link if i click the link means that should be go to other website,in that website i need to got my previous page url....
2
1,349
thread by: selvialagar | last post Apr 3 '08 by: Atli
i have blockname as a field. but i want it to be a unique one. i tried with this code..$check0=mysql_query("select count(*) from pms_block"); $num_rows0=mysql_num_rows($check0); if($num_rows0>=1) { $check=mysql_query("select count(*) from pms_block where block_name='$bname'")or die('Unable to Select '.mysql_error()); ...
1
1,423
thread by: Duke of Hazard | last post Apr 3 '08 by: Hans-Werner Hilse
I have a script that fetches information from a hundred website. It takes a long time because each website takes a second for the server to respond. Based on suggestions in this newsgroup I have speeded it up. But why do servers take one second to spit back a small 3 kilobyte text file. Why isn't it instant? How does voice over IP overcome...
3
1,208
thread by: Damodhar | last post Apr 3 '08 by: George Maicovschi
I want to determinate if a xml is well-format and valid before export it to database. how can i find if the xml feed is well formated one??
1
1,262
thread by: Noorain | last post Apr 3 '08 by: ronverdonk
i do a report daily base. query done. everything is ok. i do doc file open, query run and after that file close. Report be activated when i select date. but i want daily(current date) report auto generated in txt file or doc file. Please help me.........

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.