Re: [PHP] Problems producing an image

2001-12-06 Thread Harshdeep S Jawanda
> Try taking the header line out; that way if there is an error message > you should be able to see it in 'View Source'. Finally managed to solve the problem - there was an empty line before the start tag ("http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Extending classes multiple times

2001-12-06 Thread Harshdeep S Jawanda
ED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > > = Please send all emails to my automatically redirecting address: [EMAIL PROTECTED] Regards, Harshdeep S Jawanda [[EMAIL PROTECTED]] __ Do You Ya

[PHP] Problems producing an image

2001-12-05 Thread Harshdeep S Jawanda
? = Please send all emails to my automatically redirecting address: [EMAIL PROTECTED] Regards, Harshdeep S Jawanda [[EMAIL PROTECTED]] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP General Mailing

Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___

2001-04-12 Thread Harshdeep S Jawanda
d help advocate mail list spam while you are at it ... Woo Hoo ... > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] --

Re: [PHP] assignment operator works for comparison??

2001-04-11 Thread Harshdeep S Jawanda
Hi, Dan wrote: > > > if($shiny = 0){ > > This does not compare anyting, it assigns 0 to $shiny > > yes i know, but shouldnt this operation return true? No, it doesn't return true. The "=" operator returns the value of the expression on its right hand side. Therefore, the statement given above

Re: [PHP] Row colors

2001-04-08 Thread Harshdeep S Jawanda
Hi, Just make the modification listed below: while ($row = mysql_fetch_row($result)) { $cell_color = ++$i % 2 ? "#C0C0C0" : "#CC"; echo "\n"; for ($i =1;$i$row[$i]"; } } Mike P wrote: > I can change the column sof a table with the following code but how do I > change the row colors

Re: [PHP] TheCasino.com: You have been removed!

2001-04-05 Thread Harshdeep S Jawanda
_If_ only subscribers are allowed to post to this list (which it should be) and _if_ [EMAIL PROTECTED] is a subscriber and _if_ this address is setup to re-send this email to any address that replies things might be getting a little circular! Sweet dreams! Can't somebody unsubscribe [EMAIL P

Re: [PHP] help with parse

2001-04-04 Thread Harshdeep S Jawanda
Hi, Renze Munnik wrote: > Have you ever checked the $HTTP_USER_AGENT value from IE? > > IE says: > > "Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)" > (for example) > > So, you shouldn't be checking for Mozilla. IE says that to. You should first check for the existence of "IE" in $HTTP_USER_A

[PHP] A ToDo/ task list

2001-03-27 Thread Harshdeep S Jawanda
Hi ppl, I have been thinking of using PHP to make a ToDo/task list type of application. I am looking for something different from the usual Personal Information Managers (PIMs) - they are oriented more towards appointments than tasks. Does anybody know of any ongoing (preferably open source) pro

Re: [PHP] Seek for the Web Site Info.

2001-03-22 Thread Harshdeep S Jawanda
Go to http://uptime.netcraft.com/ . That should give you part of the information you want. Ian wrote: > Does anybody know that any web site allow me to enter web address example, > www.yahoo.com, and enter go. > > The result will shown me that yahoo server, > 1. Operating System? > 2. Programmin

Re: [PHP] files with html extension

2001-03-22 Thread Harshdeep S Jawanda
Jeff Armstrong wrote: > This is exactly why http://www.w3.org recommend that you DONT > SPECIFY A FILE TYPE TYPE in your HREFs. But doth that actually work - how many web servers are able to handle this type of link correctly? Ummm... and what happens (or is supposed to happen) to resolve xx

Re: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Harshdeep S Jawanda
Errata... Harshdeep S Jawanda wrote: > $siteroot = "$HTTP_HOST:$SERVER_PORT" Sorry, this should be $siteroot = "http://$HTTP_HOST:$SERVER_PORT" -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Harshdeep S Jawanda
Hi, [EMAIL PROTECTED] wrote: > What seems crazy to me is that you cant just set a varable (i.e. siteroot) > in common.inc and refer to URLs at $siteroot."/page.html". Are you sure that $siteroot = "$HTTP_HOST:$SERVER_PORT" doesn't work for you (as an absolute link seems ok to you)? Have

Re: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Harshdeep S Jawanda
Hi, Matt Williams wrote: > you could make your links absolute > ie.. > > /cat.html Properly speaking, even this link is relative :-) (it is relative to the document root of the web server). I like to call such links "impure relative" links :-). I call links of the type "../cat.html" "pure relat

Re: [PHP] Automatic documentation: call for help with C++

2001-03-19 Thread Harshdeep S Jawanda
Hi, To quickly get to the gist of it... Geoff Caplan wrote: > Any takers? I am definitely interested. The problem is: I am unlikely to be able to find sufficient time. Therefore, (unfortunately,) I can only be counted upon as a second or third rung helper, if at all :-(. I'll try and have a

Re: [PHP] unable to fine /htdocs on my linux machine :(

2001-03-18 Thread Harshdeep S Jawanda
Hi, Nilesh Parmar wrote: > i am unable to locate the directory /htdocs in my machine The default location for the htdocs directory is: /htdocs. -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [PHP] Website, Design, hosting and maintenance for only $999.00 per year

2001-03-16 Thread Harshdeep S Jawanda
Hey! What the hell is happening? That's my company's domain name!! Please don't anybody bother to reply to this posting by "Netmark.Desing" - its an obvious fake. A visit to www.pspl.co.in will prove to you that we're not into anything even remotely connected with this posting. [EMAIL PROTECTED]

Re: [PHP] FAQ - Newbie perspective

2001-03-15 Thread Harshdeep S Jawanda
Hi, I don't want to argue about anything, just point out something that occurred to me. First of all, I am a newbie as far as PHP is concerned, though I am more than comfortable with programming. I recently asked a pretty simple question on this list ("Finding the depth"). I could have found ou

Re: [PHP] Finding the depth

2001-03-15 Thread Harshdeep S Jawanda
Hi, Chris Lee wrote: > ok, this is what you asked for Thanks! I haven't tried it, but I am sure it will work. > but why cant you just do this. > > echo " > > "; I don't want to do that because that sort of link will work only when this page is served up by a web server. It won'

[PHP] Finding the depth

2001-03-15 Thread Harshdeep S Jawanda
Hi all, To explain my problem, I'll have to draw a directory structure (please bear with me :-): | +-- | +-- || |+-- | +-- | +-- || |+-- | +-- The directory contains some pictures that wil

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Harshdeep S Jawanda
Hi, Andrew Halliday wrote: > Does anyone know of a good PHP enabled editor that fits the following > criteria:? > > (in order of importance) > - Is free > - Runs under Windows > - Has colors (syntax highlighting) > - Can edit multiple files (ie multi threaded) > - Reports line numbers > - Has go

Re: [PHP] Mailing List

2001-03-12 Thread Harshdeep S Jawanda
Hi, Harshdeep S Jawanda wrote: > I suppose you must already have tried sending mail to > [EMAIL PROTECTED] by now. I tried this address and it worked for me. -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

Re: [PHP] Mailing List

2001-03-12 Thread Harshdeep S Jawanda
> On Mon, Mar 12, 2001 at 11:59:37AM +1030, David Robley wrote: > > On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote: > > > Ok, I've tried time and time again to unsubscribe from php.net's > > > mailing list unisubscribe instructions but it doesn't work. So how do I > > > get off the list? I su

Re: [PHP] IE 5.5,authentication,PHP sessions: IE never stops running?

2001-03-04 Thread Harshdeep S Jawanda
Hi, Ken wrote: > I'm experiencing strange behavior with my user authentication scheme in my PHP app, >with users using IE 5.5 (PC and Mac). > > I am using browser authentication (WWW-Authenticate and 401 headers), "no cache" >headers, and PHP 4 sessions. > > I am finding that even when the use

Re: [PHP] Munging hidden/form variables

2001-03-02 Thread Harshdeep S Jawanda
Hi, How about the following: 1. Assign a session id to the form every time you generate it. 2. Maintain that session id on the server side in a sort of cache for a specific amount of time (say, T) only. Time-out and delete session id entries that haven't been used within time perio

Re: [PHP] Bitwise solution?

2001-03-01 Thread Harshdeep S Jawanda
Hi, "Boget, Chris" wrote: > I have 2 values. The first is a constant while the second is not. Is the first value a numerical value (real/integer?) or a string value? If it is numerical, then one of the things you could do for using a numerical value of (say) less than 100 could be: $finalVar

Re: [PHP] including html

2001-03-01 Thread Harshdeep S Jawanda
Marcos wrote: > index.php > include ('info.html) I think readfile($inputFileName); would be a better option. -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] A small Q

2001-02-28 Thread Harshdeep S Jawanda
Hi, Does the extension of files that are require()-d or include()-d in PHP have to be ".inc"? Can it be ".php"? All examples seem to show this extension as ".inc". Could there be any problems if the extension is kept ".php"? -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Harshdeep S Jawanda
Hi, Steve Edberg wrote: > In your HTMLTable() function, use > > $this->attributes[] = array("border", "0"); > $this->attributes[] = array("cellpadding", "0"); > > otherwise, PHP thinks $attributes is a variable local to that > function, rather that a class variable. Yes, that di

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Harshdeep S Jawanda
Hi all, I changed > function HTMLTable() { > $attributes[] = array("border", "0"); > $attributes[] = array("cellpadding", "0"); > // and some other things > } to $attributes = array(array("border", "0"), array("cellpadding", "0")); but am

[PHP] Newbie: why do I get this error?

2001-02-26 Thread Harshdeep S Jawanda
Hello everybody, I am a newbie, so please help me out with my rather basic question. Please take a look at the following code snippet: class HTMLTable extends HTMLElement { var $attributes; function HTMLTable() { $attributes[] = array("border", "0"); $attributes[] = arra