473,799 Members | 3,382 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,376
thread by: werdna.sivad | last post Aug 17 '05 by: Tim Van Wassenhove
In PHP is there a way to grab the HTTP Pipeline? I want to be able to grab all the HTML code that gets streamed to the user. I want to add the ability to send copies of a page as an email attachment. The pages are already built and working, so it would be nice to not have to duplicate code that already exists. Can I just have it grab...
0
976
thread by: johnteag | last post Aug 17 '05 by: johnteag
We are happy to announce the release of PRADO version 2.0.2, which is available for immediate download at http://www.xisc.com/. Version 2.0.2 mainly fixes several bugs, as well as additional features including basic skin/theme support, updated javascript libraries/validation, better XHTML support and more... The following changes have...
5
1,676
thread by: Andreas Thiele | last post Aug 16 '05 by: Andreas Thiele
Hi, can anybody point me to some reading on how communication between the webserver and php is established? I'd like to make php available to my own webserver software. Andreas
4
2,653
thread by: dutch disCo | last post Aug 16 '05 by: John Dunlop
Hi, I'm trying to use GET method to pass variables through my script files. Unfortunately, when a special char (&, ?, +) is being posted the variable gets trimmed in a very strange way. I'm aware, that's connected with the way the GET method passes variable values, but I don't know how to make GET to take the variable value "as it is"...
0
1,430
thread by: Robert_Wr | last post Aug 16 '05 by: Robert_Wr
hello PHP Masters:) my privider set: safe_mode to ON and leave upload_tmp_dir blank I think that there is the reason for my trouble with upload files via POST method. If yes - I will ask my provider for changes but first I would like to ask You. Can you ensure me? thx in advance, Rob PS If I am wrong, the explanation: files are uploaded...
0
412
thread by: Robert_Wr | last post Aug 16 '05 by: Robert_Wr
hello PHP Masters:) my privider set: safe_mode to ON and leave upload_tmp_dir blank I think that there is the reason for my trouble with upload files via POST method. If yes - I will ask my provider for changes but first I would like to ask You. Can you ensure me? thx in advance, Rob PS If I am wrong, the explanation: files are uploaded...
6
1,827
thread by: guitarromantic | last post Aug 16 '05 by: Tim Van Wassenhove
Hey everyone. I'm just finishing up writing a basic content management system, standard stuff really, just pulling info out of a database and allowing priveliged users to login and post it. I wanted to know: what security tips can you guys give me for improving it? I've read somewhere that when using stuff like $_GET to display a specific...
7
1,115
thread by: Dave Thomas | last post Aug 16 '05 by: 
I know there is a better way to do something like this in PHP: if (($color == "red") || ($color == "blue") || ($color == "white") || ($color == "yellow")) { .. } Is there a way I can condense that so I don't have to write $color everytime?
7
2,195
thread by: Michael G | last post Aug 16 '05 by: Michael G
I am a little surprised that the following that $x is visible outside of the scope in which it is (?)defined(?) (not sure if that is the correct term here). I am trying to find where in the php docs that this is discussed. Haven't found anything yet. Any help appreciated. I am also assuming that the following scoping rule holds for other...
9
1,824
thread by: bettina | last post Aug 16 '05 by: Jasen Betts
I have the following piece of code (symplified) require("lang.{$lang}.inc.php"); // I include the inc. files .... function decodify($technique) { // functions that give me back the value in inc.file switch ($technique) { case 'C': echo $charcoal; break;
6
1,281
thread by: SOR | last post Aug 16 '05 by: Jasen Betts
Assuming you had 5 links on a webpage and these 5 links pointed to 5 different websites . What sort of info can be grabbed from the five different websites . This info would be shown on the webpage with the 5 links . The info gathering would be a one time process - with a option to do a refresh info if wanted .
2
2,451
thread by: Michael G | last post Aug 16 '05 by: Jasen Betts
Can the browser back button or browser caching be turned on or off via php? Thanks, Mike ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =----
8
1,896
thread by: PhilM | last post Aug 16 '05 by: Jasen Betts
I would like some assistance in methodology to reassign/reset array keys to consecutive numbering, while keeping in sync a second array that uses the key of the first as it's key set. If I have read a solution on php.net, I didn't understand what I was reading. At this stage of bumbling around, I am getting rather confused/frustrated....
2
1,227
thread by: lkrubner | last post Aug 16 '05 by: Alvaro G Vicario
It doesn't matter whether I do this: SELECT cbId, cbMainContent, cbDateCreated FROM mcContentBlocks WHERE cbWhichType='resultMessages' AND cbBelongsToWhichWebsite='.publicdomainsoftware.org' ORDER BY cbDateCreated ASC or this:
2
1,554
thread by: lkrubner | last post Aug 16 '05 by: Colin McKinnon
PHP comes with certain defaults, set in php.ini. Among these, scripts time out after 60 seconds, I think. The default memory limit for a script is, I believe, 8 megs. I assume that when people do large-scale sites with PHP they scale these numbers up. If you have a content management system running every aspect of a large corporate web...
2
3,338
thread by: Ciaran Mcnulty | last post Aug 16 '05 by: Ciaran
Hi, I've a class that defines a number of DB operations, and I need to do something very similar but operating on a different table. I had wanted to do something like the following: <?php abstract class BaseClass{
3
1,060
thread by: kiqyou_vf | last post Aug 16 '05 by: kiqyou_vf
this doesnt work: i believe it is $row_QCBD_GHOURS that is the problem. // assign $day var $day1= date('D')."1"; $day2= date('D')."2"; $open= $row_QCBD_GHOURS; $close= $row_QCBD_GHOURS; $hour= date('h') + 2; $minute= date(i);
2
2,603
thread by: codesmithsf | last post Aug 16 '05 by: codesmithsf
I'm using PHP 4.2.2 and Apache 2.0.4.0. A script running on a virtual host had an endless loop in it that brought Apache to its knees. I have max_execution_time=90 and memory_limit=32M to handle larger file uploads and Gallery stuff (thumbnail processing) but the script goes way past 90 seconds. Safe mode is off but the script doesn't...
1
2,431
thread by: Epetruk | last post Aug 15 '05 by: Chris Hope
Hello all, I'm sorry for the long post, but I think it's better if I'm as detailed as I can be so that I don't make a mistake in my choice and so that there's a clear understanding of to what I'm looking for. I'm looking for a content management system to use on a site (http://www.nigeriavillagesquare.com) that I help to moderate....
2
1,697
thread by: Michael G | last post Aug 15 '05 by: Michael G
I have an online application that generates some data. Currently the data is being displayed in browsers using basic html. Each set of data generates a separate report. I want to send these reports to the printer without having to open each one and then click on print. ;-). If I take each report that is generated and convert it into a string...
1
1,819
thread by: Derek Fountain | last post Aug 15 '05 by: Andy Hassall
I just figured out a rather puzzling problem I had with a cookie apparently being ignored. I had it set to timeout in 3 minutes and it worked fine tested on localhost, but sometimes failed when different machines connected. The problem was that some of my test machines had system clocks that weren't quite correct, and the cookie was...
2
5,857
thread by: lkrubner | last post Aug 15 '05 by: lkrubner
When I had these two lines in my code: if ($executed == "The command didn't exist") { $this->core->error("In CommandRenderAllActionsInAnArray we sought the command '$commandName' but ExteriorCommands could not find it. It returned the value: '$executed'.", "CommandRenderAllActionsInAnArray");
10
2,472
thread by: Bobby T | last post Aug 15 '05 by: Bobby T
Here's the problem, when I try to append an RDP file (which is written in hex but readable in notepad) it adds funny little squares to the file. I have tried opening the file in every mode but nothing helps. Can anyone steer me in the right direction? Here's my current code: $file = "try_this.rdp"; $handle = fopen("$file","a+b");...
0
1,449
thread by: code_worthy | last post Aug 15 '05 by: code_worthy
I am trying to strip some data out of numerous emails and place it in my database. I know that this seems as if it has been done before. But, this is a little different. First, the numerous emails all have a set of data that needs to be extracted and inserted into the database. Some of the data in the email is id, name, address, city, state,...
4
1,870
thread by: Hartmut Jaeger | last post Aug 15 '05 by: Hartmut Jaeger
I want to delete a MySQL table without using functions of the OS, so that my php script can run on any webserver. Can I use a command like $sql = "DELETE FROM tablename"; or are there better ways to do the job? Thanks for answers, Hartmut

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.