473,775 Members | 2,432 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.
2
2,484
thread by: mbatestblrock | last post Dec 11 '07 by: mbatestblrock
Hi guys, I hope nobody is offended by my newbish question... I have no SPECIFIC examples here. I am brand spanking new to all of the dynamic websites business. I am using DW cs3 and am doing pretty well as far as simple things are concerned (connecting to DB, creating RS, Repeat regions, Insert records, I am still working on the update and...
9
7,095
thread by: Gilles Ganault | last post Dec 11 '07 by: Toby A Inkster
Hello I was looking for a lighter web server than Apache, and installed Lighttpd on CentOS through yum. It works fine, but I now need to use SQLite from a PHP script. I seem to understand that it can either be access directly, or through the PDO interface. Can you confirm that the RPM that I used will only allow me to work through PDO,...
1
1,437
thread by: webandwe | last post Dec 11 '07 by: brettl
Hi, I tried to get a script or something to send my e-mial in HTML format becasuse I want to add tables to line up certain text. How do I get the e-mail to go from plain text to HTML? Thanks <?php $con = mysql_connect("******","******","****"); if (!$con)
3
2,957
thread by: larry | last post Dec 11 '07 by: Joe Scylla
I have been working on a rather large project. And I have been thinking about the structure of how I organize my project apps and libraries. It's intended as a framework type system where you can place in parts and configure as needed, there are shared libraries for authentication, and common code for validation and data management. ...
6
2,324
thread by: Ming | last post Dec 11 '07 by: Toby A Inkster
I want to know if some particular PEAR package (for example, DB, XML_RPC) exists. How can I do that in PHP? Thanks,
1
2,290
thread by: johnacooke | last post Dec 11 '07 by: Rik Wasmus
I have a HTML form that is generated in part by PHP. The action attribute on the form tag calls itself, so that I can validate the fields without using any other form of code like Javascript to validate fields, etc. All works well; fields like e-mail addresses are correctly validated with one notable exception. The <input type="reset"...
1
497
thread by: VooDoo | last post Dec 11 '07 by: VooDoo
Hi, I am using the serialize and unserialize to put and get data from mysql database. I think i could optimise the way i handle the data, but not really sure how. What is the best way to happend data to a serialised field? I currently unserialise, parse the table, and my new value a the end of the table... Is there a quick/better way to...
7
2,120
thread by: cipher | last post Dec 11 '07 by: Toby A Inkster
Hi! Is there a way to set STDOUT in a PHP script dynamically (by command line argument,...)? I have large blocks of non-PHP-code (outside <? php... ?>) and I don't want to use "print" for all these lines. Greetings, Markus
10
3,490
thread by: Matthew | last post Dec 11 '07 by: Toby A Inkster
Am I correct in thinking there is no method/function overloading of any kind in any version of PHP? Thanks, Matthew
1
1,000
thread by: shivendravikramsingh | last post Dec 11 '07 by: Atli
hi friends,i have a problem actually i want to send a php file through a mail. for ex suppose i have a php page in which i m showing all the list of employee in my company.when we run this page in a explorer it is show ing the list of employee.now what i want i want to send this output page to aor hr team by mail.so tell me how can i do...
3
2,961
thread by: pveena | last post Dec 11 '07 by: pveena
Hi, I am new to php. I have two pages.one is login page other is details page. When user enter detaisl page directly in URL i want to redirect to login page then login success it should go to detaisl page. Could any one help me out. I tried using a variable declaring , assigning in login page. checking the value in details page. but...
4
4,717
thread by: movieking81 | last post Dec 11 '07 by: nathj
Hello All- I need help on a Select statement. I have this... <?php $conn=odbc_connect('databasename','',''); if (!$conn) {exit("Connection Failed: " . $conn);}
0
1,368
thread by: css | last post Dec 11 '07 by: css
http://php.apachai.com a lot of php tips & tricks
24
9,874
thread by: Gary Hasler | last post Dec 11 '07 by: Tim Roberts
I want apache to parse all .html files for php code. Our 'real' web server is rented from ICDsoft ( php 5 on Apache on Linux whatever), and their instruction is to add the following to the .htaccess file: AddHandler application/x-httpd-php .html ....which works great. However, our local in-office server for testing and viewing our sites is...
0
829
thread by: soll | last post Dec 11 '07 by: soll
what is the coding for export table to excel.? export from html using php coding
4
2,407
thread by: CG | last post Dec 11 '07 by: Gordon Burditt
Hi I need to implement some low level security that locks a certain page if the user does come from a particular link (which is hosted on another domain). I've considered using HTTP_REFERER variable but seems this is a little shaky as it is not alway set. Does anyone have a solution that would allow me to restrict. I figure I can't use...
1
1,598
thread by: Dev | last post Dec 11 '07 by: Jerry Stuckle
Dear All, I want to upload a file with PHP script. For that i use code given below. with this code my operation success but there is no file on my Server/Website Anyone help me to solve this problem. Thanks in Advance Dev Code for HTML Page
3
1,287
thread by: neoseeker191 | last post Dec 11 '07 by: neoseeker191
Heres what I'd like to accomplish and I believe I have to use server side script to do it. I have a website where there is a question and then a text field below it to type in the answer to the question. When you click submit I'd first like it to tell the user if you submitted the correct answer, and second if the correct answer is submitted...
4
1,630
thread by: Wolfman | last post Dec 11 '07 by: Wolfman
Hi guys I have a subdomain with 79 individual episode pages, and I'd like to create a Go! button that allows the user to enter which number page of the group they would like to load, and send them to a different page if the number entered is outside the acceptable range of 01 to 79. This would save 79 links in the site map by replacing all...
4
2,885
thread by: ceh | last post Dec 11 '07 by: Manuel Lemos
Hi, on windows xp I'm using xampp v 1.6.4 I'm trying to send mail. The mail always sends, but the multipart sections are broken. Essentially, I want to send an html email that has a link it, like http://www.google.com so the reader can click on the link. When I get the email, the body is empty.
2
1,225
thread by: rlm51 | last post Dec 10 '07 by: rlm51
Hey everyone ... I have a button on my page: <input name="button" type="button" class="style3" onclick="window.print()" value="Print Coupon" /> that uses window.print() to print a coupon. I would like to add a function to the code that updates a field in a database that tracks how many coupons are printed. Is there a way to add...
6
1,795
thread by: Wolfman | last post Dec 10 '07 by: Wolfman
Hi guys I have a subdomain with 79 individual episode pages, and I'd like to create a "Next >>" link that reads the number included in the top page name, then adds a value of one, sending the user to the next higher-numbered page within the acceptable range of 01 to 79. Page 79 would wrap back to page 01. This would allow the user to move...
8
1,579
thread by: Bill | last post Dec 10 '07 by: Bill
Greetings all, I would like to create a list, for an upcoming OINK-PUG presentation on TDD & BDD in PHP, of open source PHP applications that are well covered with unit and functional tests. Ideally, I would like to run the test suite of one such application at some point during the presentation. It matters not to me what testing...
6
1,515
thread by: php_mysql_beginer911 | last post Dec 10 '07 by: Michael Fesser
Hi everyone .. i am trying to use a string which was saved by php form and contain single quote ' or double quote " .. when i using that string in my js script function like function onclick='js_test("<?=$string;?>")' if $string contains double quote it will simply break the function ..
5
11,455
thread by: serena9131 | last post Dec 10 '07 by: clai83
Dear all, I having problem for sending subject in cheses language using mail(), Can anyone let me know how to send send non unicode subject ? Thanks Serena

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.