473,544 Members | 1,785 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.
7
5,148
thread by: Paul Marshall | last post Sep 17 '05 by: Ken Robinson
Hi I am my wits end! I have a PHP script running that captures variables posted from a form on the previous page. The script then emails the results using the mail() function. The script is currently being spammed in two ways: 1) The page is being loaded directly, therefore emailing blank results 2) The variables are made up of an...
1
1,457
thread by: John Wellesz | last post Sep 17 '05 by: John Wellesz
Hello, I've just released the version 1.18 of my script! ( you can find the original topic about it there: http://groups.google.fr/group/comp.lang.php/msg/b84d1c566472c8fa ) What's new:
4
1,606
thread by: Tamer Higazi | last post Sep 17 '05 by: Jerry Stuckle
Hi! I wrote a small script setting a cookie.... but nothing is being set. What could be the problem?! Did I make something wrong?! One script is used to ask for the cookie and the other one shows the displayed variable in a string only! But if I look at Firefox in the cookie cache if the variables are set... I didn't find anything. what could...
4
9,594
thread by: | last post Sep 16 '05 by:
I want to write all produced error messages (error, warning, notify, etc...) to STDERR. Is this possible without writing my own error handling routine?
1
1,748
thread by: Faree | last post Sep 16 '05 by: Mike Willbanks
I am workign on a news portal which needs paginaiton as usual.but all the code i got depends on the number of records that will come from database :( .it is working well too. But i need pagination depends on the number of rows or number characters in a variable.for example if there are more than 100 characters in that it should be display...
1
2,240
thread by: Skeleton Man | last post Sep 16 '05 by: Mike Willbanks
Hi, I have a chat script which I added very basic bandwidth tracking to as follows: ob_start(); print "this is some output!"; print "this is more output!"; $bytes = ob_get_length(); // Amount of bandwidth used ob_end_flush();
3
1,335
thread by: petermichaux | last post Sep 16 '05 by: petermichaux
Hi, I thought that $_POST was read only. I just descovered I can change the values of it's elements. Is this considered bad style? Seems like this might be something that is outlawed in the future. Thanks, Peter
32
1,680
thread by: Toby Inkster | last post Sep 16 '05 by: Edwin van der Vaart
http://examples.tobyinkster.co.uk/inc_dt.phps -- Toby A Inkster BSc (Hons) ARCS Contact Me ~ http://tobyinkster.co.uk/contact
2
1,735
thread by: nospam | last post Sep 16 '05 by: Oli Filth
Hi all, I'd like to implement a tree of "tags" for a blog I'm writing for fun in PHP. Here's what a single tag looks like: CREATE TABLE tags ( name varchar(30) not null default '', id_self integer(12) not null primary key,
11
8,322
thread by: Peter Salzman | last post Sep 16 '05 by: Peter Salzman
I have two files which implement functionality in many of my web pages. Each file uses a function named "parseArguments()" that's critical for each of the two files. I often include both files into one webpage, which results in a name clash for parseArguments(). What I really would like is the concept of static functions from the C...
8
2,667
thread by: William Drew | last post Sep 16 '05 by: Bill Aten
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.databases.mysql This is an invitation to discuss the following proposal to create newsgroup comp.databases.mysql. Please note that YOU CANNOT VOTE NOW; you may be able to vote on a version of this proposal later. See the PROCEDURE section below if you need information about how the...
0
1,124
thread by: NAN Team | last post Sep 16 '05 by: NAN Team
RESULT unmoderated group comp.databases.mysql fails 63:3 Explanation: When the vote for this newsgroup began, we were still using the +100 criterion for passage. Although we subsequently changed that criterion before the original RESULT was posted, there was a strong consensus that this was not the proper course of action. Therefore...
6
3,086
thread by: webbrain | last post Sep 16 '05 by: Obvious
Hi ng, i'm newbie at this ng. i have an apache webserver Apache/2.0.50 (Linux/SUSE) with php 4.3.8 installed in a php script i want to embed the following function: <?php $sent=fopen("http://www.thisurl.com","r"); ?>
3
1,541
thread by: zen | last post Sep 16 '05 by: zen
PHP Mysql limit the result to 5 I can display the 5 results using a do & while which it ok. I want to list the total or all the results without using a do or while this is so I can combine the results and remove duplicate words from the total results I.E.
4
1,419
thread by: David | last post Sep 16 '05 by: Hero Wanders
How can one tell if a PHP array is a simple array or a hashed array (key/valye). The gettype returns "array", but is there a function that will tell me the type? Also, when you have a mixed array, some flat, some hashed, how can you tell the type of each element?
7
2,541
thread by: am_ggh | last post Sep 16 '05 by: Oli Filth
Is there a PHP equivalent of TCL's "upvar" ? I will appreciate any insights. Andy
2
1,672
thread by: jonathan.beckett | last post Sep 16 '05 by: Obvious
Hi all, Just a quick message letting whoever might be interested know that I've packaged up a new version of my blog script for people to download. Information about the project... http://www.pluggedout.com/index.php?pk=dev_blog Download Script... http://www.pluggedout.com/development/projects/blog/blog192.zip
1
1,524
thread by: elia | last post Sep 16 '05 by: Tim Van Wassenhove
Bonjour, Comment introduire une page au format xml dans une page en php? Est-ce possible? Faire en quelque sorte un include... ...un peu du genre .. <?php require_once('pagex.xml'); ?> Merci, pascal
1
1,244
thread by: ATH0 | last post Sep 16 '05 by: Jerry Stuckle
Hi! Well, i think you know what im going to ask :-)) I have MySql db with some products ( with pictures and description ) and i want to make update and show of each picture. Example: picture + description + id I can pull all this infos out from db but i have problem with updating each
9
470
thread by: www.douglassdavis.com | last post Sep 16 '05 by: jim
I am using the preg_match function (in PHP) that uses perl regular expressions. Apparently I don't really understand regular expressions though. Could some one explain this? If this is the regular expression /^\s*(\d+\.\d+)|(\.\d+)|(\d+)\s*$/ How does this:
0
1,201
thread by: Umberto Salsi | last post Sep 16 '05 by: Umberto Salsi
Ho questa funzione che prende due array: aggiorna il primo (aggiungendo, togliendo o modificando elementi) e poi aggiorna anche il secondo, ma solo se e' un array diverso dal primo: function Aggiorna(&$a, &$b) { if( $a e' lo stesso di $b ){ aggiorna solo $a } else { aggiorna $a
2
4,154
thread by: Faree | last post Sep 16 '05 by: Erwin Moller
Hi, I am a PHP Developer.can any one help me on image upload and display of that image.what i want is uploading an image to a directory ,displaying of that image as a thumbnail.when i click on that image the image should be diplayed in another page. I wrote code for image uploading and as well as display code.but i failed in...
3
1,484
thread by: David | last post Sep 16 '05 by: Colin McKinnon
I found and interesting article, "Experiences of Using PHP in Large Websites" (http://www.ukuug.org/events/linux2002/papers/html/php/) , which lists some issues with scaling PHP for larger projects. Worth a read although it appears to be three years old. The major issue I have had with PHP is a conflict in class names for modules...
1
1,666
thread by: Major Man | last post Sep 16 '05 by: Geoff Berrow
Hi, I run 2 websites, on 2 different domains/servers. I need a php script on server A, which when run will go to server B at (ex. http://serverB.com/images/counter.gif) and load that image 6 times, then exit. Seems like it would be simple to do, except that I am new and I don't know anything about php. Please help this newb.
6
1,765
thread by: Drazen Gemic | last post Sep 16 '05 by: Wayne
Is there any initiative out there aiming to rewrite PHP extensions in pure PHP ? For example, MySQL driver in pure PHP or LDAP extension in pure PHP ? With Java and, as far as I know, Perl, one can extend the language capabilities without having access to any command like gcc, g++, cc or c++ on a system. That way applications could be...

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.