76

(6 replies, posted in Programming)

I am working on tools for install XDebug extension in php folder, and run some scripts directly using php5ts.dll with Delphi, my try is make it easy (special for my co-worker).
so if i try expected the folders and search between it to detect the real php folder.

77

(6 replies, posted in Programming)

Ok, it another silly question smile

Where you put PHP folder

I put it in c:\php
and i heard some one put it in c:\program files\php

78

(11 replies, posted in PunBB 1.2 discussion)

If you make direction = rtl for ltr css file, Opera not take the correct way, maybe somthing wrong there.
This way to flip the css i found it in DokuWiki also.
My ask is that bug in opera? or that mean CSS still need a time to be standard.

79

(11 replies, posted in PunBB 1.2 discussion)

Nop it is still a problem, but make it this layouts above to understand the probelm easy (i hope) , there is also another problem but not now.

CSS it is like a smoke you can catch it without disperse.

80

(11 replies, posted in PunBB 1.2 discussion)

Hi again, i tried this day to play with css, so extract a style to put simple html code

test.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<title>Test div alignment</title>
<link rel="stylesheet" type="text/css" href="test.css" />
<link rel="stylesheet" type="text/css" href="layout_ltr.css" />
</head>
<body>
</body>


        <div class="postleft">
                <dl>
                    <dt><strong>postleft</strong></dt>
                    <dd><strong>list</dd>
                </dl>
            </div>

            <div class="postright">
                <h3>postheader</h3>
                <div class="postmsg">
                  <p>
            postmsg<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
            This is a body message<br />
          </p>
                </div>
            </div>
            <div class="clearer"></div>
            <div class="postfootleft"><p>postfootleft</p></div>
            <div class="postfootright"><div>postfootright</div></div>
      </div>

</html>

test.css

.clearer {
    HEIGHT: 0;
    WIDTH: 0;
    LINE-HEIGHT: 0;
    FONT-SIZE: 0;
    OVERFLOW: hidden;
   CLEAR: both;
}

DIV.postright H3 {
    POSITION: absolute;
    DISPLAY: block;
    OVERFLOW: hidden;
    WIDTH: 1em;
    LEFT: -999em
}

DIV.postmsg {
   OVERFLOW: hidden;
   background-color: #FFF5E3;
}

DIV.postleft {
 background-color: #F2F5FF;
}

DIV.postright {
   background-color: #FFFFD4;
}

DIV.postfootright{
   background-color: #FFD7D7;
}

DIV.postfootleft {
   background-color: #ECECEC;    
}

DIV.postmsg {
   WIDTH:100%
}

DIV.postmsg P {PADDING: 0}

DIV.postleft DL, DIV.postright {PADDING: 6px}

layout_ltr.css

BODY {
  direction: ltr;
}

DIV.postfootright {
   TEXT-ALIGN: right;
}

DIV.postleft, DIV.postfootleft {
    FLOAT:left;
    WIDTH: 18em;
    OVERFLOW: hidden;
}
DIV.postright, DIV.postfootright {
   BORDER-LEFT-color: #A2FFBA;    
   BORDER-LEFT-WIDTH: 18em;    
   BORDER-LEFT-STYLE: solid;
}

layout_rtl.css

BODY {
  direction: rtl;
}

DIV.postfootright {
   TEXT-ALIGN: left;
}

DIV.postleft, DIV.postfootleft {
    FLOAT:right;
    WIDTH: 18em;
    OVERFLOW: hidden;
}

DIV.postright, DIV.postfootright {
   BORDER-right-color: #A2FFBA;    
   BORDER-right-WIDTH: 18em;    
   BORDER-right-STYLE: solid;
}

Test it in IE, FF, Opera look good

now change this line in test.html

<link rel="stylesheet" type="text/css" href="layout_ltr.css" />

to make layout_ltr replaced with layout_rtl

and test in the three browser.
Ok i caused to you a headache smile forgive me Paul

Hmm, every one have a folder, i will make user point to the ini file by him self.

The good thing is i learned new somthing, thank to hcgtv and for all big_smile

# configure the path to php.ini
PHPIniDir "C:/usr-bin/PHP"

I am making tool modify PHP.INI for some config, i put it in "c:\windows\" the Windows folder.
Did you all same as me or you put it in another palce like in c:\php for example?

Thanks

83

(18 replies, posted in General discussion)

When register thay asked

Are You Human? (Sorry, We Have to Ask)

Why, is there any Animal surf internet tongue . (sorry for offtopic)

84

(114 replies, posted in Programming)

phpforum wrote:

I'm use PHP Expert editor. For Russian php programmers this product free smile Nice smile

Why smile

85

(11 replies, posted in PunBB 1.2 discussion)

RTL css work find in FF and IE but in Opera nop sad
See this posts in Opera in Arabic Right to left layouts

http://www.parmaja.com/forums/viewtopic … age=Arabic

Div.postmsg is over postleft
i play a while to resolve this proplem with no luck, may be it is bug in Opera i done know.

I maked one change to resolve it temporary, in file base.css

before

DIV.postmsg {   
   WIDTH: 100%;
  }

after

DIV.postmsg {   
   float: right;
   WIDTH: 100%;
  }

it is worked but the right border of postright div "18em" disappeared.

is any other way to make it work good.

Thanks in advance

86

(10 replies, posted in General discussion)

Try this
http://www.phpnet.us/
My friend has used today, i dont know if it is good, so you tell me.

87

(3 replies, posted in PunBB 1.2 discussion)

Why? to reduce the bandwidth?

88

(16 replies, posted in General discussion)

Amaya

89

(8 replies, posted in PunBB 1.2 discussion)

1=easy  .. 10 = good tongue

You must delphi programmer, With PHP4Delphi use php5ts.dll come with PHP, you can run your script inside your exe and take the result as text.
Now if we view the result as html web page need a "Plugable Protocol" (search in google), it is more power than fill WebBrowser object directly.

To use database you must include php DLL and extensions in same folder of your software, with MySQL dll, but MySQL dll is hard to integrated ad embeeded, PunBB can use SQLite and the last one is one DLL small and light.

The idea need some one work on it not have a job (like as student) and not married and have 3 childrens big_smile .

In fact before 2 year i have same idea, using Plugable Protocol and PHP4Delphi to run php script inside Delphi, but i stoped, (because i have not time to make it) and there is another scripts (like Wiki) best than forum, it not use a database, make it offline best that Forum with Database with make your user password and email out of privacy.

92

(16 replies, posted in Programming)

Learn CSS Positioning in Ten Steps

http://www.barelyfitz.com/screencast/ht … sitioning/

93

(2 replies, posted in Programming)

Use "Union" keyword
http://dev.mysql.com/doc/refman/4.1/en/union.html

94

(7 replies, posted in General discussion)

As i ubderstand with my bad reading english:
- he's served as a UN peacekeeper
- he's angry for "Finnish UN observer feared killed in Israeli airstrike"
- He left the PHP for protest for that.

If that true, if every programmer left his project for each some one kill some one, that mean all projects in this world will have no programmers.

95

(10 replies, posted in General discussion)

Try TortoiseSVN
after install go to
C:\Program Files\TortoiseSVN\Diff-Scripts

run diff-doc.js

96

(3 replies, posted in General discussion)

MadHatter wrote:

It will always be about the money

Not just with microsoft, it is every thing.

My situation is, we start to see some one say like that (if your are not "Microsoft follower" keep out of our sites).
and if you mention you are PHP programmer (or pascal), thay will hate you.

or you heare "Look at your site it is PHP, are you stupid, why not use .NET"

I mean for sample: what if try to open a new project there with PHP or FreePascal or some thing not related to microsoft, what the reactions

hcgtv wrote:

Sounds like something you buy popcorn at

not Popcorn it is Potato big_smile

Our agent ask me "Is your project is .NET if not i can not sale it",
i answered him:Why you care about .NET, you must care about Speed, Power, Quality etc
Our agent: I do not know, it is just so (bad english)

you see it is like a Fate in real relagions

Microsoft with Open Source projects

http://www.codeplex.com

Why i feel there is new Religions come to this world, and more hateful between developers, or my feeling is wrong (i hope so).

It is the second link from left, follow the link in status bar smile

http://pseric.com/community/index.php

What MOD you are use?
in my site it work fine

http://www.parmaja.com/forums/viewtopic … ;syn=geshi

Multi Syntax Highlight code PunBB 1.2.x 1.1.5

I am using my MOD
http://www.punres.org/viewtopic.php?id=1439

I think this topic must move to Modifications

100

(132 replies, posted in General discussion)

I found it on internet

The Indian way to do business

A conversation between Mr. Baboo-Ji, an Indian Ambassador in Washington D.C., and his son.

Baboo: ?I want you to marry a girl of my choice.?
Son: ?I will choose my own bride!?
Baboo: ?But the girl is Bill Gates?s daughter.?
Son: ?Well, in that case ? ok.?

Next Baboo approaches Bill Gates.
Baboo: ?I have an Indian husband for your daughter.?
Bill Gates: ?But my daughter is only 18; too young to marry!?
Baboo: ?But this young man is a vice-president of the World Bank.?
Bill Gates: ?Ah, in that case ? ok.?

Finally Baboo goes to see the neo-con scum Wolfowitz, President of the World Bank.
Baboo: ?I have a young man to be recommended as a vice-president.?
President: ?But I already have more vice- presidentsthan I need!?
Baboo: ?But this young man is Bill Gates?s son-in-law.?
President: ?Ah, in that case ? ok.?