Search found 171 matches

by kpraman
Tue Jun 05, 2007 8:55 am
Forum: PHP - Code
Topic: Registration
Replies: 3
Views: 722

$mistake=$register->Validate($_POST); if(!empty($mistake)) $register->submit($_POST); its working fine. I have made html and php pages seperately. In the php file, ob_start(); require_once('includes/html.php'); require_once('includes/db.php'); class Register extends html { function Register1() { if...
by kpraman
Tue Jun 05, 2007 2:48 am
Forum: PHP - Code
Topic: Registration
Replies: 3
Views: 722

Registration

I am making a registration form. I have to follwing file structure. 1. register1.php - it contails all the html and html tags (getting from a class file). example, <?php require_once('../includes/html.php'); $db=new HTML; ?> <form name="form1" method="post" action="../index....
by kpraman
Fri May 18, 2007 3:16 am
Forum: Testing
Topic: TextUI
Replies: 1
Views: 3655

TextUI

I want to output the results in browser. How to use TextUI. class ArrayTest extends PHPUnit_Framework_TestCase{ public function testNewArrayIsEmpty() { // Create the Array fixture. $fixture = array(); // Assert that the size of the Array fixture is 0. $this->assertEquals(0, sizeof($fixture)); } publ...
by kpraman
Thu May 17, 2007 7:47 am
Forum: Testing
Topic: Pear-phpunit
Replies: 10
Views: 10456

I renamed it as phpunit.php. The paths of the files are as below. I am working on Windows. .ini file has:- include_path = ".;c:\php\includes". wamp is installed in c:\. (C:\wamp). i placed the downloaded phpunit files in : C:\wamp\php\includes\PHPUnit-3.0.6\PHPUnit-3.0.6 Placed phpunit.php...
by kpraman
Thu May 17, 2007 6:54 am
Forum: Testing
Topic: Pear-phpunit
Replies: 10
Views: 10456

I am using wamp server.

Its not allowing to rename because, the extracted folder has a folder named phpunit.
by kpraman
Thu May 17, 2007 3:36 am
Forum: Testing
Topic: Pear-phpunit
Replies: 10
Views: 10456

channel: pear.phpunit.de. Is this correct channel? For manual installation, I downloaded PHPUnit-3.0.6.tgz and extracted. I am not able to rename the pear-phpunit to phpunit (it says allready a file has the same name. (The extracted folder has 2 folders - PHPUnit, PHPUnit2. 1 script file, pear-phpun...
by kpraman
Thu May 17, 2007 3:05 am
Forum: Testing
Topic: Pear-phpunit
Replies: 10
Views: 10456

Uninstalled and reinstalled. Still i am only able to install 1.3.3 version. Is PHPUnit 1.3 + is moved out of pear? When i was searching in google, i got this info. Check this link http://marc.info/?l=pear-dev&m=115212195328840&w=2
by kpraman
Wed May 16, 2007 9:42 am
Forum: Testing
Topic: Pear-phpunit
Replies: 10
Views: 10456

I installed pear through go-pear. My OS is windows. When i search for PHPUnit 3 it shows no results. but, when i click [ list available upgrades ] PHPUnit 3 is listed in the results. If i click on update, it gives the error Will upgrade channel://pear.phpunit.de/phpunit phpunit/phpunit is already in...
by kpraman
Wed May 16, 2007 7:38 am
Forum: Testing
Topic: Pear-phpunit
Replies: 10
Views: 10456

Pear-phpunit

I want to install phpUnit 3. I have installed pear. When I open Web-based PEAR Frontend and searched for PHPUnit 3. It is only showing phpunit 1.3.3. Where can i get PHPUnit 3.
by kpraman
Mon May 14, 2007 10:16 am
Forum: PHP - Code
Topic: FPDF
Replies: 2
Views: 675

Thanks. downloaded gif.php and altered the code. I am getting the error, GIF parser : unable to open file.
by kpraman
Mon May 14, 2007 8:42 am
Forum: PHP - Code
Topic: FPDF
Replies: 2
Views: 675

FPDF

I downloaded FPDF and started to use. Its working fine, i wanted to use gif images. How can i use it? (It only supports jpg and png).
by kpraman
Sat May 12, 2007 3:02 am
Forum: PHP - Code
Topic: HTML 2 PDF
Replies: 1
Views: 2269

HTML 2 PDF

This script works fine when given URL. If i give html, its not working. file name 'html_to_pdf.inc.php' <?php /** * Genereate PDF from HTML * @author Harish Chauhan * @version 1.0.0 * @name HTML_TO_PDF */ define ("HKC_USE_ABC",1); define ("HKC_USE_EASYW",2); class HTML_TO_PDF { v...
by kpraman
Thu May 03, 2007 4:36 am
Forum: PHP - Code
Topic: Values not getting
Replies: 3
Views: 882

I am assigning

Code: Select all

$calId->ms_ID=$ms_details_id;
by kpraman
Wed May 02, 2007 4:24 am
Forum: PHP - Code
Topic: Values not getting
Replies: 3
Views: 882

Values not getting

class MyCalendar extends Calendar { public $ms_ID; [b]value not getting assigned[/b] function getCalendarLink($month, $year) { // Redisplay the current page, but with some parameters // to set the new month and year $s = getenv('SCRIPT_NAME'); return "$s?month=$month&year=$year"; } fu...
by kpraman
Tue May 01, 2007 4:02 am
Forum: Javascript
Topic: Embed tag
Replies: 2
Views: 1028

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] I have ch...