473,811 Members | 2,851 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
1,471
thread by: siliconmike | last post Aug 7 '05 by: Janwillem Borleffs
I did a quick search, but couldn't find a suitable description of this ini file setting: ; Enforce year 2000 compliance (will cause problems with non-compliant browsers) y2k_compliance = On What problems are they talking about ?
22
2,780
thread by: stoppal | last post Aug 7 '05 by: stoppal
need to extract all text between the following strings, but not include the strings. "<!-- #BeginEditable "Title name" -->" "<p align="center">#### </p>" I am using preg_match(????, $s, $results)
1
425
thread by: aabrahao | last post Aug 7 '05 by: SOR
Hi, I need a simple php file that download all files and folders located in the web directory, it means that with a single file in the website, with just a click it download all files and folders. How Can I do that? thanks,
4
4,422
thread by: Oak Hall | last post Aug 7 '05 by: Oak Hall
foreach($_POST as $element=>$val) { echo $element.'--'.$val.'<BR>'; } Where a select multiple html field had several selected values only shows one?? How do I get the others. php 5.1b Thanks Oak
6
2,101
thread by: Chris | last post Aug 7 '05 by: Chris
Hi, is there a HTTP-compliant implementation of If-Modified-Since-, If-Match, If-None-Match, If-Range and so on? I want my PHP-script to act exactly as if it was a static HTML-page delivered directly from Apache. I think this isn't easy to implement, especially if you take also weak and strong validators into account.
2
1,659
thread by: yvan | last post Aug 7 '05 by: yvan
I was wondering if someone here could help me with modifying this PHP template so that it does something very specific for me. My knowledge of PHP is very limited (I'm more of a Cold Fusion developer), which is why I'm inquiring here. Anyways, first I'll show you the PHP code, and then I'll explain what kind of modification I need to have...
3
2,675
thread by: JM | last post Aug 7 '05 by: Chris
Hi, Is it possible to configure phpBB to display threads "newsgroup style"? What I mean by this is to show replies to the top level post indented in a tree structure. One thing I cannot stand about phpBB is that all replies to a top-level topic are in a long train. You never know if somebody is replying to the person before him or the...
1
1,821
PHP
thread by: imy.webdeveloper | last post Aug 7 '05 by: Chris
Hi people, i'm new to php. I am using ASP for the past few months and now have diverted into the PHP world. I want to know if i could download few PHP-scripts to use on my site. I also would like someone to help me in PHPadmin. Thanks. Plz reply to my mail or leave a msg here. i'm " imy.webdeveloper@gmail.com ". Thanks
1
3,123
thread by: Ward B | last post Aug 7 '05 by: Tony Marston
Greetings. I'm somewhat new to this whole MySQL/PHP thing and need a little help. My web hosting service uses phpMyAdmin and at the bottom of the screen iis an area where I can upload a text file to populate a table. I have a table named groups with two fields: groups_id auto-increment primary groups_name
0
1,204
thread by: Google Mike | last post Aug 6 '05 by: Google Mike
On Linux, I need to ask what your favorite installation options are for a PHP app as a kind of poll. In Part 1, I discussed the Install Wizard preference that you might have. In Part 2, here, I'm trying to decide which options you prefer for the Database Configuration. Consider SugarCRM. It's really an SDK that you customize. Knowing that,...
1
1,897
thread by: Ward B | last post Aug 6 '05 by: Janwillem Borleffs
Greetings. I'm somewhat new to this whole MySQL/PHP thing and need a little help. My web hosting service uses phpMyAdmin and at the bottom of the screen iis an area where I can upload a text file to populate a table. I have a table named groups with two fields: groups_id auto-increment primary groups_name
8
1,836
thread by: lkrubner | last post Aug 6 '05 by: NC
An old friend of mine recently approached me and said something like: "I've a computer at my office that has an Access database running on it. We've most of our company info in there. We'd like to put a portion of it online as a dynamic site, but we don't want the database to leave our office. Our office is connected to the Internet through a...
3
2,748
thread by: lwoods | last post Aug 6 '05 by: Mladen Gogala
Program (PHP5): <?php $a='x'; $b=5; foo($a,$b); echo "a=$a b=$b"; function foo($x,$y){
3
1,865
thread by: AaronV | last post Aug 6 '05 by: Janwillem Borleffs
Hello, I'm having a probelm output wbmp images. Something seems to keep going wrong with the encoding, because I start with a good jpeg and get a nonworking wbmp on the other end. here is my code: $image_p = imagecreatetruecolor($new_width, $new_height); $image = imagecreatefromjpeg($filename); imagecopyresampled($image_p, $image, 0, 0,...
1
1,761
thread by: R. Rajesh Jeba Anbiah | last post Aug 6 '05 by: mkwong8888
Q: How to find the distance between two zip codes/cities? Q: How to find list of cities/zip codes that are with in the particular radius from given city/zip code? A: In spherical trigonometry, we have haversine formula, which provides relationship between the radius of the sphere and any two points on the sphere (longitude and latitude of...
2
1,380
thread by: Lee David | last post Aug 6 '05 by: Lee David
I am using code to validate a user against a database and then if they are valid, redirecting the page to the working page. I copied the code from another application I have where it works, but it doesn't work here. What happens is if the Header is included, a blank page appears with the URL of the validation page (SQL_User_Validate.php). ...
2
1,760
thread by: Mike | last post Aug 6 '05 by: Morris
New to PHP and MySQL. Using PHP5 and MySQL 4.1 Windows XP Pro IIS 5.1 I'm trying to page a recordset, and am using a LIMIT clause to fetch a defined range of records from my db. However, the returned dataset is not limited to the range I have in the SQL clause. Here's the code:
9
1,335
thread by: kiqyou_vf | last post Aug 6 '05 by: Shelly
feel free to slap me in the face on this one... but... i cant figure out why this wont work. its acting like its an infinate loop, no errors, just wont load. ugh <?php while (!empty($row_QCBD_test)){ print $row_QCBD_test; } ?>
2
7,487
thread by: Greger | last post Aug 6 '05 by: Andy Hassall
Hi is there any equivalent of perl's use strict; in PHP,?? TIA -- http://www.gregerhaga.net
8
2,233
thread by: lkrubner | last post Aug 6 '05 by: Andy Hassall
I was trying to set a cookie before I called session_start() and it was giving me an error. But isn't sessions really just a cookie? Why would it matter if I sent a cookie before session_start? Can I set them afterwards?
1
1,275
thread by: php | last post Aug 6 '05 by: Simon
je suis en 4ieme informatique et j'etudierai ce langage cette annee. je veux savoir le plus sur ce langage je vous remercis
0
1,357
thread by: Robert Oschler | last post Aug 6 '05 by: Robert Oschler
I am using XMLHttpRequest() from Javascript on the client side. XMLHttpRequest() expects a valid XML/XHTML document as a response. The target for the request is a PHP4 script running on my web server. This script queries an external web server, which returns an XML response to my PHP4 script. My PHP4 script uses the PEAR XML parser to...
4
1,669
thread by: meltedown | last post Aug 6 '05 by: meltedown
<? session_start(); print_r($_SESSION); ?> How come when I put this code on one page it says: Array ( => 24 => 1 ) but if I put it on another page it simply says: Array ( )
4
3,000
thread by: Will Woodhull | last post Aug 6 '05 by: Will Woodhull
I want to do something like this: while(false == ($result = mysql_query($query)) ) { switch(mysql_errno()) { case $fixableError: case $fixableError: /* fix the errors */ break; default: die ("Fatal error in '$query': " . mysql_error() );
7
4,591
thread by: Jean Pion | last post Aug 5 '05 by: cameron7
Dear readers, Is there somewhere, maybe $_SESSION vars?, where my PHP knows that JavaScript is enabled on the clients webbrowser. I uses some JavaScript but would like to add workaround in case the browser doesn't. Suggestions would be appreceated. Tia Jean.

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.