473,789 Members | 2,122 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.
6
17,091
thread by: Matthew | last post Jan 14 '08 by: Matthew
Hi, I want to change the precision level of floating point variables and calculations which is done in php.ini. However the server I rent for my domain does not give me access to php.ini, they say 'for security reasons'. Can the precision level be changed by PHP code as needed?
4
2,610
thread by: hello2008 | last post Jan 14 '08 by: hello2008
Hi, I am new to PHP. I need to write a PHP program that parses HTML files, reads the values from certain form-fields and inserts them as records into the database. The latter part is easy, but I have no clue about making an HTML parser using PHP. Can anyone help me out here? Thanks in advance!
3
1,438
thread by: cherryst152 | last post Jan 14 '08 by: Motoma
Ok, so i have a php random number generator that creates two unique numbers between 1 and 10, what i want to add that i can't figure out for the life of me is how to implement that these two numbers will always have a separation of 4. For example, 1 and 6...or even 2 and 9.... but never 2 and 3... or 4 and 7. <?php $arr=array();...
3
1,628
thread by: seaside | last post Jan 14 '08 by: C. (http://symcbean.blogspot.com/)
Does anybody know, of PHP - especially file_get_contents() - restricts the size of the URL, which is passed to send a GET request? I need to pass serializes array from one app to another. These structures might get big....
2
1,244
thread by: ravisuguna | last post Jan 14 '08 by: Markus
Hi, I have some php pages.In the first page there are some check boxes .When the user selects the check boxes and clicks a button the selected values are displayed in the second php page.The third php page is a form which has a textarea.I want the selected values to be displayed in the textarea of the third page.how could this be done?Pl...
1
1,194
thread by: gaitunde | last post Jan 14 '08 by: Markus
hi I want to convert any image to jpg fromat
13
4,746
thread by: seaside | last post Jan 14 '08 by: Michael Fesser
I have a method function appendChildNode( AST $aNewChild ) { ... } <<< where AST is a class. If I pass null, PHP renders this message: Catchable fatal error: Argument 1 passed to AST::appendChildNode()
1
1,545
thread by: Sharmila Basher | last post Jan 14 '08 by: Markus
cross frame in javascript or any database menu using div tag in z:index
3
3,647
thread by: rubyhuang | last post Jan 14 '08 by: Markus
how to use php to prompt if one variable is 0(the variable is initialised by 10 and decreased 1 by 1). worry to wait for answer,thank you.
1
1,416
thread by: neearj2008 | last post Jan 14 '08 by: Markus
can any one help me in php to send mail. i am through mail() but the mail goes to the bulk or spam.. does smtp authentication work for it?
2
3,170
thread by: Gilles Ganault | last post Jan 14 '08 by: Gilles Ganault
Hello I have Lighttpd, PHP in FastCGI, and MySQL up and running on FreeBSD. Now, I'd like to find a tool to stress things, so I can check what happens when I try different things to improve performance (PHP cache, MySQL cache, using different queries, etc.) I haven't found anything on the subjet on www.lighttpd.net : Is there an...
28
1,950
thread by: Ali Bobo | last post Jan 14 '08 by: Toby A Inkster
Hi there, I am starting to make more advanced PHP coding and I'm planning to make a transition from Notepad++ to a full-featured PHP editor. I would like it to be freeware unless there is a very compelling reason to make me part with my money. So far, I've seen these options available: Maguma Studio Free PHP Editor by EngInSite
11
1,240
thread by: annerhexian | last post Jan 14 '08 by: rpnew
how can i appear the number 1,2,3-10. in the drop down menu?? i need ur advice and help as well.. pls do help me.. thank you very much for ur time and as well as yout help... need it within 1day if its fine with you.. tankx..... <html>
1
2,417
thread by: paeh | last post Jan 14 '08 by: MarkoKlacar
can anyone tell me any ebook or website address that show the tutorial about moving average step by step.. urgent..please help me..
0
945
thread by: kimedgard | last post Jan 14 '08 by: kimedgard
hi can anyone help me to develop a script w/ application of AJAX and API WAP PHP?
4
3,151
thread by: Jack | last post Jan 14 '08 by: Peter Pei
Hi guys, I am writing a simple script that sends an email to a user using mail(). The problem is when the mail is received it is marked as phishing. I am wondering if there is a way to fix this issue. Thanks
12
6,635
thread by: Kurda Yon | last post Jan 14 '08 by: Kurda Yon
I am wandering which way to assign a value to a session variable exist. Which of the following examples will work. Example #1: session_start(); session_register("ex"); $ex = 2.0; Example #2: In first.php:
9
3,403
thread by: daknightuk | last post Jan 14 '08 by: daknightuk
I have a HTML page which posts information to a PHP page which contains a query for mysql to add records to a database I want to strip all special characters and only allow 0-9 and a-z but also allow an email address field and a website address field. I have been trawling through the web for days and it seems there are many ways of doing...
9
2,152
thread by: Kurda Yon | last post Jan 14 '08 by: Norman Peelman
Hi, I try to construct an array such that each element of it is another array returned by the fetch_array_function: for ( $i = 1; $i<=$n; $i++ ) { $ar = mysql_fetch_array( $result ); print "$ar\n"; }
22
4,443
thread by: Kurda Yon | last post Jan 13 '08 by: Michael Fesser
Hi, In the first page I declare a session variable. Than, on the same page, I make a form which contains a variable which has the same name as the mentioned session variable. Pressing the "submit" button of the form I go to the second page which immediately redirects me back to the first page (with the "header"). And the mentioned variable...
2
3,784
thread by: Peter Pei | last post Jan 13 '08 by: Peter Pei
don't know whether this has anything to do with the cgi mode, but flush() didn't work. #!php-cgi <html> <body> 111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111
2
4,108
thread by: Rowan | last post Jan 13 '08 by: Peter Pei
For some reason when I do a fetchall on a PDO query the array returned has duplicated keys. see below. SELECT name_first, name_last, personal_street, personal_phone_home, personal_phone_cell FROM contacts WHERE id = 8; $result = $stmnt->fetchAll(); <====krumo array dump===> 0 (Array, 12 elements)
1
1,973
thread by: kbrockhilll | last post Jan 13 '08 by: johann74
Does anyone have the directions on what to do to change PHP Guard Dog 3.0 or 3.1 to work with PHP5. Before the company closed they had a few changes that had to be made to some of the files, but I can no longer locate the information.
1
3,829
thread by: C. (http://symcbean.blogspot.com/) | last post Jan 13 '08 by: seaside
Hi all, I'm dabbling with an Ajax datagrid control and am looking to see if I can make it a bit more sophisticated. I've got a PHP script, let's call it page.php which renders a page with a fancy dhtml table (http://dhtmlx.com/docs/products/dhtmlxGrid/ index.shtml) this connects to another script which provides the XML datafeed to...
1
1,715
thread by: chuckzter | last post Jan 13 '08 by: mwasif
I need it badly. Please help. EDIT: Never mind. I just realized that this is a stupid post. Thanks anyway.

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.