PHP RSS

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • broken code....

    I have this code that doesnt print the db results like they should ituses pear::db package for the database. Was wondering if anybody can figureout how come it doesnt work<?phprequire_once 'DB.php';error_reporting('E_ALL');$db =& DB::connect('mysql://root:3987957@loca...

    4 answers | 1071 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • array carrying from one php page to another

    I have an array $journal that I want to carry from a page (where it wascreated) to another page (a popup that shows the variables contents). Isthis automatically available? or do I have to do something special to php?...

    5 answers | 225 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • ftp_put

    Hi Chris sometimes there is no replacement for a FTP program butyou can use INI_SET() at in your PHP file to temporarily set the fileupload size. i think you will have to change the time out settingsalsolook at the manual on ini_set also search this list for ini_seteven better take a look at thi...

    0 answers | 1453 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • ob_start & session_start

    Hello,Something just crossed my mind about using output buffering isthere any reason why you should start a session before callingob_start() ?Just curious which way would be the proper way of doing it ordoesn't it matter?Thanks...

    8 answers | 268 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Does the extension php_printer.dll work with php version 5.1.1 on a XP System

    I trying to get php_printer.dll extension to work on a xp system . Idownloaded correct version of php_printer.dll to match php version 5.1.1 .The extension_dir is set correctly , because other extensions load and workperfectly.When I execute the following code, I get<?php/*$handle = printer_o...

    1 answers | 635 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Non-trivial task of converting text to HTML

    Maybe I'm missing some requirement, but what if you just used HTML "<pre>" tags. You can still use other HTML for formatting within the <pretags but it'll pay attention to carriage returns/line feeds and spaces without having to use <br>sFor example, if you did the follo...

    0 answers | 1888 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Non-trivial task of converting text to HTML

    Task:Create a script that converts text into HTML with paragraphs.Problem:Input text could use the book notation, as well as the web notation,plus it can contain HTML.==<h1>This is a title</h1> This is a Book paragraph. This is another book paragraph.This is yet another book paragrap...

    5 answers | 935 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • PHP 5 XML Dom, set doctype and system

    Hello,I need to set the doctype and the system dtd of a document createddirectly with the xml DM.I couldnt find any function or property to set this, i saw someexamples that directly wrote onto the file manually, but im pretty surethare must be a way to do this with the dom (i remembered that li...

    0 answers | 484 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Preventing Cross Site Scripting Vulnerbilities

    Can someone recommend a general method for avoiding / eliminating XSSvulnerbilities with PHP?Specifically is there a library function for validating fields? If not,can someone recommend a regex that detects HTML tags?Similarly is there a library function for escaping database content forinclusio...

    8 answers | 363 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Class Constant PHP 5

    [snip]Wow, that should fail. But you did have use var_dump() to get it, which maybe slightly counter-intuitive. I just did thisfunction realRand($x){$x = $x * rand(5,10);return $x;} define("RANDM", realRand(1.2));var_dump(RANDM);and it returns floats. Well, I'll be jiggered.[/snip]From" sca...

    0 answers | 440 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Class Constant PHP 5

    [snip]It would be foolish (and would fail anyhow) to do something like this;Nope. :P<?phpdefine("RANDM", rand(5,12));var_dump(RANDM);?>int(12)[/snip]Wow, that should fail. But you did have use var_dump() to get it, which maybe slightly counter-intuitive. I just did thisfunction realRand($x...

    0 answers | 509 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Class Constant PHP 5

    [snip]is there a way to dynamically define a class constant during runtimein PHP 5?for example I would like to achieve the result of something like:class Example {const F = bar();}However this would obviously give a parse error.I know it is possible with variables but I would like it to be acons...

    3 answers | 1361 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • XmlWriter::writeDTD bug...

    Jared Williams wrote:PS.Yeah, thought it was libxml, hence didn't file a peclbug report. Butthere does seem a problem with this method as can't just have apublicId or a systemId, libxml function uses NULL as aparameter to specify which id you don't want to use. Whichwe've los...

    0 answers | 617 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • Class Constant PHP 5

    is there a way to dynamically define a class constant during runtimein PHP 5?for example I would like to achieve the result of something like:class Example {const F = bar();}However this would obviously give a parse error.I know it is possible with variables but I would like it to be aconstant.T...

    2 answers | 640 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

  • What software do you use for writing PHP?

    It's not a full FTP client, you can't set permissions in it. I think that'sa major minus in DW's favor. Especially if you don't have access to ssh intoyour machine MessageFrom: Michael Hulse [mailto:micky (AT) ambiguism (DOT) com]Sent: Tuesday, December 06, 2005 10:09 PM...

    0 answers | 1445 bytes | related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

QUESTION ON "PHP"
DEV.THATSCRIPTS.COM