[PHP-WIN] Re: Subject: GD, UNICODE & RTL

2003-01-06 Thread Neil Smith
Mottaghi - you might be better advised to investigate CSS for this on the 
browser :

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/reference/attributes.asp

Check the following sub-sections :
Text direction
"direction "


You can specify a class for right to left ("bidi == bi directional") :
"unicode-bidi "

You can specify "ruby" text which can have summarised pronounciation / 
accent hints above the text
"ruby-align"
"ruby-overhang"
"ruby-position"

More info :
http://www.pms.informatik.uni-muenchen.de/lehre/seminar/internationalisation/02ss/reports-slides/topicH/Report.html


These techniques will work in most recent browsers - IE5, NN5, Moz, Opera6 
etc. They will also allow some degree of indexing by search engines.

Hope that helps,
Regards,
Neil Smith.

At 06:47 06/01/2003 +, you wrote:
--- Mottaghi <[EMAIL PROTECTED]> wrote: > Hi all,
> I want to write a Right-to-Left (like Arabic languages) sentence in
> a bitmap
> by unicode...but  HOW???
>
> :) thanks, bye
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL

2003-01-06 Thread Neil Smith
Oops - missed a bit :

Look here for mozilla information and examples on bi directional text:

http://www.langbox.com/bidimozilla/

Also check "text-kashida-space" and "writing-mode " here :
http://www.georgehernandez.com/xWebs/CSS/CSSAttributes.htm

regards,
Neil.



Date: Mon, 06 Jan 2003 10:42:09 +
To: [EMAIL PROTECTED]
From: Neil Smith <[EMAIL PROTECTED]>
Subject: Re: Subject: GD, UNICODE & RTL
Cc: [EMAIL PROTECTED]

Mottaghi - you might be better advised to investigate CSS for this on the 
browser :

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/reference/attributes.asp

Check the following sub-sections :
Text direction
"direction "


You can specify a class for right to left ("bidi == bi directional") :
"unicode-bidi "

You can specify "ruby" text which can have summarised pronounciation / 
accent hints above the text
"ruby-align"
"ruby-overhang"
"ruby-position"

More info :
http://www.pms.informatik.uni-muenchen.de/lehre/seminar/internationalisation/02ss/reports-slides/topicH/Report.html


These techniques will work in most recent browsers - IE5, NN5, Moz, Opera6 
etc. They will also allow some degree of indexing by search engines.

Hope that helps,
Regards,
Neil Smith.

At 06:47 06/01/2003 +, you wrote:
--- Mottaghi <[EMAIL PROTECTED]> wrote: > Hi all,
> I want to write a Right-to-Left (like Arabic languages) sentence in
> a bitmap
> by unicode...but  HOW???
>
> :) thanks, bye
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] PHP Editors

2003-01-06 Thread Nilza Lafayette
I'm running Apache 2.0 as a service and PHP (like a
module) onto a Windows Advanced Server. I´m looking
for a good and free Editor to use with PHP (something
like Visual Interdev in Windows...). Can anyone guide
me?

> Thanks.
> Janine.


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-WIN] Capturing Events

2003-01-06 Thread Warren Vail
What you say is true but the key to your statement is "primarily".  It is
possible to start a php application, for example, on a windows box with a
command like;

c:>/apache/php/php.exe /batch/somescript.php

and the command will run outside a web server (Equivalent available for
unix, even as a "&" detached process)

there is also a poorly supported project to link the GTK+ toolkit to php (so
buyer beware, not for the faint of heart).  Check out
http://gtk.php.net/resources.php for a list of resources.  This would
provide the following list of functions which should run in a distributed
environment thru X-windows (not a Bill Gates product) but probably lacks
enough security to use over the internet;

GTK+ Widgets and Objects

Windows & Dialogs
GtkWindow
GtkDialog
GtkColorSelectionDialog
GtkFileSelection
GtkFontSelectionDialog
GtkInputDialog

Containers
GtkHBox
GtkVBox
GtkTable
GtkToolbar
GtkHandleBox
GtkNotebook
GtkFrame
GtkAspectFrame
GtkFixed
GtkPacker
GtkLayout
GtkScrolledWindow
GtkViewport
GtkEventBox
GtkAlignment
GtkHButtonBox
GtkVButtonBox
GtkHPaned
GtkVPaned

Labels & Buttons
GtkLabel
GtkAccelLabel
GtkButton
GtkCheckButton
GtkToggleButton
GtkRadioButton

Data Entry Widgets
GtkEntry
GtkText
GtkSpinButton
GtkOptionMenu
GtkCombo
GtkHScale
GtkVScale

Lists & Trees
GtkCList
GtkCTree
GtkList
GtkListItem
GtkTree
GtkTreeItem

Tooltips
GtkTooltips
GtkTipsQuery

Menus & Menu Bars
GtkMenuBar
GtkMenu
GtkMenuItem
GtkCheckMenuItem
GtkRadioMenuItem
GtkTearoffMenuItem

Graphical Widgets
GtkDrawingArea
GtkImage
GtkPixmap
GtkPreview
GtkCurve
GtkGammaCurve

Misc. Widgets
GtkArrow
GtkCalendar
GtkProgressBar
GtkStatusbar
GtkHRuler
GtkVRuler
GtkHScrollbar
GtkVScrollbar
GtkHSeparator
GtkVSeparator
GtkColorSelection
GtkFontSelection

Abstract Base Classes
GtkWidget
GtkObject
GtkContainer
GtkBin
GtkBox
GtkButtonBox
GtkData
GtkEditable
GtkItem
GtkMenuShell
GtkMisc
GtkPaned
GtkProgress
GtkRange
GtkRuler
GtkScale
GtkScrollbar
GtkSeparator

Integrating with other X Applications
GtkPlug
GtkSocket

Misc. Objects
GtkAdjustment
GtkItemFactory
GtkInvisible

Warren Vail
[EMAIL PROTECTED]


-Original Message-
From: Luke Woollard [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 05, 2003 7:33 PM
To: [EMAIL PROTECTED]
Cc: Harvey Frey
Subject: RE: [PHP-WIN] Capturing Events


Dude -> PHP is a (primarily) a server side scripting language so capturing
events through functions like 'onMouseOver' etc aren't applicable..

http://www.php.net/manual/en/tutorial.php

Luke Woollard





-Original Message-
From: Harvey Frey [mailto:[EMAIL PROTECTED]]
Sent: Monday, 6 January 2003 1:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Capturing Events


All:

Javascript has a multitude of functions to capture events, like onClick.
I haven't seen similar functions described in the manual for PHP.
Have I just missed them?
Or are those facilities not available in PHP?
If they are available, I'd appreciate being pointed to the documentation.
Thanks.

Harvey



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] PHP Editors

2003-01-06 Thread Luis Moreira
Nina

Hi, for one, use PHPEdit
Try http://ozu.arecom-sa.com/~marms/phpedit.net/

Luis

- Original Message - 
From: "Nilza Lafayette" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 11:49 AM
Subject: [PHP-WIN] PHP Editors


> I'm running Apache 2.0 as a service and PHP (like a
> module) onto a Windows Advanced Server. I´m looking
> for a good and free Editor to use with PHP (something
> like Visual Interdev in Windows...). Can anyone guide
> me?
> 
> > Thanks.
> > Janine.
> 
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Extract Path from URL

2003-01-06 Thread Herhuth, Ron

I'm having a tough time getting my head around regular expressions.  Could somebody 
show me how to extract the path (minus the file name) from this URL:

http://www.test.com/path1/thisdoc.html

I would like to extract this:
http://www.test.com/path1/


Thanks in advance,
Ron




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] Extract Path from URL

2003-01-06 Thread Luis Moreira
Since you cannot predict the length of the string, the way I usually solve this kind o 
f thing is by reading the damn thing BACKWARDS.
As soon as I get a slash, voilá ...

- Original Message - 
From: "Herhuth, Ron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 2:51 PM
Subject: [PHP-WIN] Extract Path from URL



I'm having a tough time getting my head around regular expressions.  Could somebody 
show me how to extract the path (minus the file name) from this URL:

http://www.test.com/path1/thisdoc.html

I would like to extract this:
http://www.test.com/path1/


Thanks in advance,
Ron




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] Extract Path from URL

2003-01-06 Thread Ignatius Reilly
Don't use a regex:

Try:

$input = "http://www.test.com/path1/thisdoc.html"; ;

// find last occurence of "/"
$pos = strrpos( $input, "/" ) ;

// extract until this position
$output = substr( $input, 0, $pos - strlen( $input ) + 1 ) ;

echo $output ;

HTH
Ignatius

- Original Message -
From: "Herhuth, Ron" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 3:51 PM
Subject: [PHP-WIN] Extract Path from URL



I'm having a tough time getting my head around regular expressions.  Could
somebody show me how to extract the path (minus the file name) from this
URL:

http://www.test.com/path1/thisdoc.html

I would like to extract this:
http://www.test.com/path1/


Thanks in advance,
Ron




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] PHP Editors

2003-01-06 Thread Stephen Edmonds
You can find a large list of many of the PHP editors at
http://phpeditors.dancinghippo.com/

My personal favourite is Magnum Studio Light, its free and quite feature
packed... but then again everyone likes their own brand. See
http://www.maguma.com/products/studio/studio_overview.php for more details
about maguma.

Stephen

- Original Message -
From: "Luis Moreira" <[EMAIL PROTECTED]>
To: "Nilza Lafayette" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 12:59 PM
Subject: Re: [PHP-WIN] PHP Editors


Nina

Hi, for one, use PHPEdit
Try http://ozu.arecom-sa.com/~marms/phpedit.net/

Luis

- Original Message -
From: "Nilza Lafayette" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 11:49 AM
Subject: [PHP-WIN] PHP Editors


> I'm running Apache 2.0 as a service and PHP (like a
> module) onto a Windows Advanced Server. I´m looking
> for a good and free Editor to use with PHP (something
> like Visual Interdev in Windows...). Can anyone guide
> me?
>
> > Thanks.
> > Janine.
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Re: PHP Editors

2003-01-06 Thread Christoph Grottolo
Nilza Lafayette wrote:
> I'm running Apache 2.0 as a service and PHP (like a
> module) onto a Windows Advanced Server. I´m looking
> for a good and free Editor to use with PHP (something
> like Visual Interdev in Windows...). Can anyone guide
> me?
>

To say something new:

It's still on the way but very promising:
http://phpeclipse.sourceforge.net/, a php plugin for eclipse.

Eclipse itself is a platform and language independent development platform,
open source, heavily sponsored by IBM and Sun.

Christoph



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] mail() function not working

2003-01-06 Thread Rad Craig
I have a new PHP install on Win2k.  Everything has worked except the mail()
function.  Nothing shows up in my event log.

I have a mail server installed on the same machine.  I have the
SMTP=localhost set in my php.ini file.  The mail server works fine, has been
for many months.

I have logging turned on in php.ini, but when I run phpinfo() it says it's
turned off.  The path to the php.ini file returned from phpinfo() is the
same one I'm editing.

After any change to the .ini file I always restart IIS.

Can someone point me in the right direction PLEASE.

Rad Craig



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] mail() function not working

2003-01-06 Thread Stephen Edmonds
To fix your mail server:

You need to enable mail relaying on your mail server. HOWEVER, it is VERY
VERY important that ONLY the IP address of 127.0.0.1 is allowed to relay
mail. If any IP can use the mail relay service, then anyone can use your
mail server to send out spam annomously. Once that is done, you should be
able to send email without any problems. If you continue to have a problem,
check your mail server logs as that will show the connection from php
attempting to send the email.

As for your logging problem, have you set a file path for logging to? Look
for
'; Log errors to specified file.
 ; error_log = '
and put in a valid file name/directory where you want your logs made. (e.g.:
C:\Webserver\PHP\errors.txt - the full path is needed! ). Then, make sure
you have made the errors.txt file in the directory where the setting is
pointing. Remember also to remove the ; from infront of error_log =,
otherwise the line won't be processed!

Stephen

- Original Message -
From: "Rad Craig" <[EMAIL PROTECTED]>
To: "PHP Windows" <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 5:38 PM
Subject: [PHP-WIN] mail() function not working


> I have a new PHP install on Win2k.  Everything has worked except the
mail()
> function.  Nothing shows up in my event log.
>
> I have a mail server installed on the same machine.  I have the
> SMTP=localhost set in my php.ini file.  The mail server works fine, has
been
> for many months.
>
> I have logging turned on in php.ini, but when I run phpinfo() it says it's
> turned off.  The path to the php.ini file returned from phpinfo() is the
> same one I'm editing.
>
> After any change to the .ini file I always restart IIS.
>
> Can someone point me in the right direction PLEASE.
> 
> Rad Craig
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-WIN] mail() function not working

2003-01-06 Thread Rad Craig
I have relaying turned on, also SMTP Authentication.  When I'm testing I
turn the Authentication off.  I have no way in the ArgoSoft mail server of
specifying accepted ip's for relaying.

Email still does not work.

I have tried what you said about the logging.  I can comment out the
error_log=syslog line, uncomment the line to write it to a file, restart
IIS, says logging is turned off, no file is created.

It's like IIS is caching this php.ini file, changes I make don't show up
when I do phpinfo().

Rad...

> -Original Message-
> From: Stephen Edmonds [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 06, 2003 12:22 PM
> To: [EMAIL PROTECTED]
> Cc: PHP Windows Helplist
> Subject: Re: [PHP-WIN] mail() function not working
>
>
> To fix your mail server:
>
> You need to enable mail relaying on your mail server. HOWEVER, it is VERY
> VERY important that ONLY the IP address of 127.0.0.1 is allowed to relay
> mail. If any IP can use the mail relay service, then anyone can use your
> mail server to send out spam annomously. Once that is done, you should be
> able to send email without any problems. If you continue to have
> a problem,
> check your mail server logs as that will show the connection from php
> attempting to send the email.
>
> As for your logging problem, have you set a file path for logging to? Look
> for
> '; Log errors to specified file.
>  ; error_log = '
> and put in a valid file name/directory where you want your logs
> made. (e.g.:
> C:\Webserver\PHP\errors.txt - the full path is needed! ). Then, make sure
> you have made the errors.txt file in the directory where the setting is
> pointing. Remember also to remove the ; from infront of error_log =,
> otherwise the line won't be processed!
>
> Stephen
>
> - Original Message -
> From: "Rad Craig" <[EMAIL PROTECTED]>
> To: "PHP Windows" <[EMAIL PROTECTED]>
> Sent: Monday, January 06, 2003 5:38 PM
> Subject: [PHP-WIN] mail() function not working
>
>
> > I have a new PHP install on Win2k.  Everything has worked except the
> mail()
> > function.  Nothing shows up in my event log.
> >
> > I have a mail server installed on the same machine.  I have the
> > SMTP=localhost set in my php.ini file.  The mail server works fine, has
> been
> > for many months.
> >
> > I have logging turned on in php.ini, but when I run phpinfo()
> it says it's
> > turned off.  The path to the php.ini file returned from phpinfo() is the
> > same one I'm editing.
> >
> > After any change to the .ini file I always restart IIS.
> >
> > Can someone point me in the right direction PLEASE.
> > 
> > Rad Craig
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Have problem - can it be solved with php?

2003-01-06 Thread Marlene Burckhalter
Help please.

Can this be done in PHP??? :

(MySQL 3.22.51-nt and PHP 4.2.1)

I have two tables from which I am SELECTing fields from.  Both tables have an 
identical field by which I am INNER JOINing the tables.

 

My problem is this: Some of the fields repeat themselves.

Yes, I used the word DISTINCT.

Since IN subSELECTs are not supported in version 3.22.51-nt, I cannot seem to get my 
desired results.

 

More about my problem:

I need to display all classes for SP03.  Since there are some class subjects that have 
multiple classes in the semester, the class subject names are repeating themselves for 
each class.

 

Is there a way in PHP to solve this problem without upgrading to MySQL 4.07? 

 

Here is some of my coding on this problem (Don't laugh, I am a beginner):

 

$query="SELECT DISTINCT a.course_name, a.descr, b.course_number,

b.day, b.hour, b.location_id, 
b.course_date,

b.instructor_id, b.price

   
 

FROM $course_master_tablename a

INNER JOIN $course_details_tablename b

ON a.course_name = b.course_name

WHERE semester_id = 'FA02' and 
b.class_id = 'Taxes'

ORDER BY course_name";

   
 

   $result = mysql_query($query);

   if(!$result) error_message(sql_error());

   while($query_data = mysql_fetch_array($result)) {



   $headername = $query_data["course_name"];

   $headerdescr = $query_data["descr"];
   

   $coursenum = $query_data["course_number"];

   $weekday = $query_data["day"];

   $hourtime = $query_data["hour"];

   $location = $query_data["location_id"];

   $coursedate = $query_data["course_date"];

   $instructor = $query_data["instructor_id"];

   $priceof = $query_data["price"];

   .THEN I DISPLAY THE FIELDS IN A FORM



   }




php-windows Digest 6 Jan 2003 19:32:25 -0000 Issue 1522

2003-01-06 Thread php-windows-digest-help

php-windows Digest 6 Jan 2003 19:32:25 - Issue 1522

Topics (messages 17665 through 17679):

Re: MYSQL & PHP + GRAPH
17665 by: toby z

Re: Subject: GD, UNICODE & RTL
17666 by: Neil Smith
17667 by: Neil Smith

PHP Editors
17668 by: Nilza Lafayette
17670 by: Luis Moreira
17674 by: Stephen Edmonds
17675 by: Christoph Grottolo

Re: Capturing Events
17669 by: Warren Vail

Extract Path from URL
17671 by: Herhuth, Ron
17672 by: Luis Moreira
17673 by: Ignatius Reilly

mail() function not working
17676 by: Rad Craig
17677 by: Stephen Edmonds
17678 by: Rad Craig

Have problem - can it be solved with php?
17679 by: Marlene Burckhalter

Administrivia:

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--

--- Begin Message ---
hi

first u ll have to lookup gd and enable it in ur php.ini n u ll have
to get tiff and  libjpeg on ur machine


n here r a few links to graph creation with php

http://php.resourceindex.com/Complete_Scripts/Images_and_Graphs/Graph_Creation/
http://www.szewo.com/php/graph/eng.phtml
http://www.aditus.nu/jpgraph/
http://www.boutell.com/gd/
http://www.actionscript.com/archives/0077.html
http://www.webguys.com/pdavis/programs/html_graphs/



if ur still stuck ping .

good luck

toby .



--- [EMAIL PROTECTED] wrote: > Hi,
> 
> I am using MySQL as my database backend server and PHP to poll the
> data. I
> am wondering if someone could guide in presenting this data by a
> GRAPH using
> PHP.
> 
> I really appreciate ur reply
> 
> R R--
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--- End Message ---
--- Begin Message ---
Mottaghi - you might be better advised to investigate CSS for this on the 
browser :

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/reference/attributes.asp

Check the following sub-sections :
Text direction
"direction "


You can specify a class for right to left ("bidi == bi directional") :
"unicode-bidi "

You can specify "ruby" text which can have summarised pronounciation / 
accent hints above the text
"ruby-align"
"ruby-overhang"
"ruby-position"

More info :
http://www.pms.informatik.uni-muenchen.de/lehre/seminar/internationalisation/02ss/reports-slides/topicH/Report.html


These techniques will work in most recent browsers - IE5, NN5, Moz, Opera6 
etc. They will also allow some degree of indexing by search engines.

Hope that helps,
Regards,
Neil Smith.

At 06:47 06/01/2003 +, you wrote:
--- Mottaghi <[EMAIL PROTECTED]> wrote: > Hi all,
> I want to write a Right-to-Left (like Arabic languages) sentence in
> a bitmap
> by unicode...but  HOW???
>
> :) thanks, bye
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
Oops - missed a bit :

Look here for mozilla information and examples on bi directional text:

http://www.langbox.com/bidimozilla/

Also check "text-kashida-space" and "writing-mode " here :
http://www.georgehernandez.com/xWebs/CSS/CSSAttributes.htm

regards,
Neil.



Date: Mon, 06 Jan 2003 10:42:09 +
To: [EMAIL PROTECTED]
From: Neil Smith <[EMAIL PROTECTED]>
Subject: Re: Subject: GD, UNICODE & RTL
Cc: [EMAIL PROTECTED]

Mottaghi - you might be better advised to investigate CSS for this on the 
browser :

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/reference/attributes.asp

Check the following sub-sections :
Text direction
"direction "


You can specify a class for right to left ("bidi == bi directional") :
"unicode-bidi "

You can specify "ruby" text which can have summarised pronounciation / 
accent hints above the text
"ruby-align"
"ruby-overhang"
"ruby-position"

More info :
http://www.pms.informatik.uni-muenchen.de/lehre/seminar/internationalisation/02ss/reports-slides/topicH/Report.html


These techniques will work in most recent browsers - IE5, NN5, Moz, Opera6 
etc. They will also allow some degree of indexing by search engines.

Hope that helps,
Regards,
Neil Smith.

At 06:47 06/01/2003 +, you wrote:
--- Mottaghi <[EMAIL PROTECTED]> wrote: > Hi all,
> I want to write a Right-to-Left (like Arabic languages) sentence in
> a bitmap
> by unicode...but  HOW???
>
> :) thanks, bye
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
I'm running Apache 2.0 as a service and PHP (like a
module) onto a Wind

[PHP-WIN] New to PHP

2003-01-06 Thread Palli
Hello

Im new to PHP and I have a little problem.
It seems that I always get a blank value from a query string.

This is my code

BLA   

and this is login.php

 

  
  

  


but the $Action is always empty.

ps. I´ve tried to change the variable name but no succes.

thanx
Palli



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-WIN] New to PHP

2003-01-06 Thread Mikey
Have you set register_globals=On in your php.ini file?  This is disabled by
default as it poses a security risk... in your case it would be better to
access your variable as $_GET['Action']

HTH,

Mikey

> -Original Message-
> From: Palli [mailto:[EMAIL PROTECTED]]
> Sent: 06 January 2003 20:53
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] New to PHP
>
>
> Hello
>
> Im new to PHP and I have a little problem.
> It seems that I always get a blank value from a query string.
>
> This is my code
>
> BLA   
>
> and this is login.php
>
>  
> 
>   
> if (empty($Action))
>  {
>include("MainPage.php");
>  }
>  else
>  {
>if($Action == 'Login')
>   {
> include("loginpage.php");
>   }
>else
>   {
> include("MainPage.php");
>   }
>  }
>   ?>
> 
>   
>
>
> but the $Action is always empty.
>
> ps. I´ve tried to change the variable name but no succes.
>
> thanx
> Palli
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-WIN] New to PHP

2003-01-06 Thread Asendorf, John
Your register_globals is probably turned off, and since you probably don't
have the ability to alter the ini file, try putting this at the top of your
code:

$Action = $_REQUEST['Action'];






-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


> -Original Message-
> From: Palli [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 06, 2003 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] New to PHP
> 
> 
> Hello
> 
> Im new to PHP and I have a little problem.
> It seems that I always get a blank value from a query string.
> 
> This is my code
> 
> BLA   
> 
> and this is login.php
> 
>  
> 
>   
> if (empty($Action))
>  {
>include("MainPage.php");
>  }
>  else
>  {
>if($Action == 'Login')
>   {
> include("loginpage.php");
>   }
>else
>   {
> include("MainPage.php");
>   }
>  }
>   ?>
> 
>   
> 
> 
> but the $Action is always empty.
> 
> ps. I´ve tried to change the variable name but no succes.
> 
> thanx
> Palli
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] php.ini cached?

2003-01-06 Thread Rad Craig
Does php.ini get cached by Win2k or IIS 5?  I make changes to it, restart
IIS, run phpinfo() and none of the stuff I changed is different.



Rad Craig



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] php.ini cached?

2003-01-06 Thread Miha Nedok

How do you restart it ? Just click on stop/start or you actually click
restart server ? And which version of PHP are you using and tell the
location of your php.ini .


-Mike


On Mon, 6 Jan 2003, Rad Craig wrote:

> Date: Mon, 6 Jan 2003 15:31:43 -0600
> From: Rad Craig <[EMAIL PROTECTED]>
> To: PHP Windows <[EMAIL PROTECTED]>
> Subject: [PHP-WIN] php.ini cached?
>
> Does php.ini get cached by Win2k or IIS 5?  I make changes to it, restart
> IIS, run phpinfo() and none of the stuff I changed is different.
>
>
> 
> Rad Craig
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] newbie ...instal question.

2003-01-06 Thread paradiddles

I just installed php 4.3.0-win32, mysql-3.23.54-win and apache_1.3.27 on Win2000 in 
hopes of

getting my feat wet. Well, I've yet to get past the phpinfo.php (test) page w/out 
getting the "file not found" error. 

After following the instructions from php.net, I thought that I was on target. The 
last thing I tried was to add the... LoadModule mod_php4 
c:/php/php-4.3.0-win32/sapi/php4apache.dll ...line to the config file after I copied 
my DLL file into the system 32 directory. When I go to fireup apache, I get the error: 
"can't locate API module structure 'mod_php4 in the 
c:/php/php-4.3.0-win32/sapi/php4apache.dll ...

Any smart people out there who can lend a freshman a bit of help?

 

thanks,

Patrick





"you can observe a lot by watching"

  ~ Yogi Berra



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


RE: [PHP-WIN] php.ini cached?

2003-01-06 Thread Rad Craig
PHP:  4.3.0

I click Stop, then Click Start.

php.ini is in the C:\WINNT directory (C:\WIN_NT actually since this is where
my windows runs from).


> -Original Message-
> From: Miha Nedok [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 06, 2003 3:35 PM
> To: Rad Craig
> Cc: PHP Windows
> Subject: Re: [PHP-WIN] php.ini cached?
>
>
>
> How do you restart it ? Just click on stop/start or you actually click
> restart server ? And which version of PHP are you using and tell the
> location of your php.ini .
>
>
> -Mike
>
>
> On Mon, 6 Jan 2003, Rad Craig wrote:
>
> > Date: Mon, 6 Jan 2003 15:31:43 -0600
> > From: Rad Craig <[EMAIL PROTECTED]>
> > To: PHP Windows <[EMAIL PROTECTED]>
> > Subject: [PHP-WIN] php.ini cached?
> >
> > Does php.ini get cached by Win2k or IIS 5?  I make changes to
> it, restart
> > IIS, run phpinfo() and none of the stuff I changed is different.
> >
> >
> > 
> > Rad Craig
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] php.ini cached?

2003-01-06 Thread Christoph Grottolo
Rad Craig wrote:
> PHP:  4.3.0
>
> I click Stop, then Click Start.
>
> php.ini is in the C:\WINNT directory (C:\WIN_NT actually since this
> is where my windows runs from).

If you use the ISAPI version of PHP (not php.exe)

start a dos shell

type 'net stop iisadmin' and then 'Y'
type 'net start w3svc'

If you restart IIS with the buttons, it won't work. If you use CGI (php.exe)
restarting the web server is not necessary.

Christoph





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-WIN] newbie ...instal question.

2003-01-06 Thread Dash McElroy
Did you copy the php4ts.dll file to c:\winnt\system32 (or windows or
whatever your w2k dir is)?

If that doesn't do the trick, you may have to do an 'AddModule mod_php4' in
the Apache config. I had to do this on a Win98 machine yesterday, but have
so far not had to load that line on any Win2k machine.

-Dash

-Original Message-
From: paradiddles [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 06, 2003 1:49 PM
To: PHP Windows
Subject: [PHP-WIN] newbie ...instal question.



I just installed php 4.3.0-win32, mysql-3.23.54-win and apache_1.3.27 on
Win2000 in hopes of

getting my feat wet. Well, I've yet to get past the phpinfo.php (test) page
w/out getting the "file not found" error. 

After following the instructions from php.net, I thought that I was on
target. The last thing I tried was to add the... LoadModule mod_php4
c:/php/php-4.3.0-win32/sapi/php4apache.dll ...line to the config file after
I copied my DLL file into the system 32 directory. When I go to fireup
apache, I get the error: "can't locate API module structure 'mod_php4 in the
c:/php/php-4.3.0-win32/sapi/php4apache.dll ...

Any smart people out there who can lend a freshman a bit of help?

 

thanks,

Patrick





"you can observe a lot by watching"

  ~ Yogi Berra



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Problem with 'include' function in PHP 4.3

2003-01-06 Thread Mehran Ziadloo
Hi

I don't know if it's a bug or what? But I've reached a problem using PHP 4.3
which I downloaded it yesterday.

It's about 'include' function, I can't include a php file using an absolute
address. For example, all my pages are in "D:\Inetpub\wwwroot". And when I
want to include a page with the address:

"D:\Inetpub\wwwroot\includes\a.php"

with the command:

"include '/includes/a.php';"

it can't be done, it says:

Warning: main(/includes/a.php) [function.main]: failed to create stream: No
such file or directory in D:\Inetpub\wwwroot\index.php on line 2

Warning: main() [function.main]: Failed opening '/includes/a.php' for
inclusion (include_path='.;D:\Inetpub\wwwroot') in
D:\Inetpub\wwwroot\index.php on line 2



And as you can see above I know about the 'include_path' and I've set it to
'D:\Inetpub\wwwroot'.

Now I'll be really grateful if anyone helps.




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Re: Problem with 'include' function in PHP 4.3

2003-01-06 Thread Christoph Grottolo
Mehran Ziadloo wrote:
> It's about 'include' function, I can't include a php file using an
> absolute address. For example, all my pages are in
> "D:\Inetpub\wwwroot". And when I want to include a page with the
> address:
>
> "D:\Inetpub\wwwroot\includes\a.php"
>
> with the command:
>
> "include '/includes/a.php';"
>
> it can't be done, it says:
>
> Warning: main(/includes/a.php) [function.main]: failed to create
> stream: No such file or directory in D:\Inetpub\wwwroot\index.php on
> line 2
>
> Warning: main() [function.main]: Failed opening '/includes/a.php' for
> inclusion (include_path='.;D:\Inetpub\wwwroot') in
> D:\Inetpub\wwwroot\index.php on line 2
>
try like this:

include ('includes/a.php'); //without slash at the beginning

The slash at the beginning has a special meaning on all *nix systems (it's
the system root). You must not confund file system paths which you use in
PHP scripts with link paths in HTML (i.e. Homepage).

Christoph



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-WIN] php.ini cached?

2003-01-06 Thread Miha Nedok

Relocate your php.ini to C:\WIN_NT\SYSTEM32 and restart IIS with net stop
w3svc and net start w3svc.

-Mike


On Mon, 6 Jan 2003, Rad Craig wrote:

> Date: Mon, 6 Jan 2003 15:57:15 -0600
> From: Rad Craig <[EMAIL PROTECTED]>
> To: Miha Nedok <[EMAIL PROTECTED]>
> Cc: PHP Windows <[EMAIL PROTECTED]>
> Subject: RE: [PHP-WIN] php.ini cached?
>
> PHP:  4.3.0
>
> I click Stop, then Click Start.
>
> php.ini is in the C:\WINNT directory (C:\WIN_NT actually since this is where
> my windows runs from).
>
>
> > -Original Message-
> > From: Miha Nedok [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, January 06, 2003 3:35 PM
> > To: Rad Craig
> > Cc: PHP Windows
> > Subject: Re: [PHP-WIN] php.ini cached?
> >
> >
> >
> > How do you restart it ? Just click on stop/start or you actually click
> > restart server ? And which version of PHP are you using and tell the
> > location of your php.ini .
> >
> >
> > -Mike
> >
> >
> > On Mon, 6 Jan 2003, Rad Craig wrote:
> >
> > > Date: Mon, 6 Jan 2003 15:31:43 -0600
> > > From: Rad Craig <[EMAIL PROTECTED]>
> > > To: PHP Windows <[EMAIL PROTECTED]>
> > > Subject: [PHP-WIN] php.ini cached?
> > >
> > > Does php.ini get cached by Win2k or IIS 5?  I make changes to
> > it, restart
> > > IIS, run phpinfo() and none of the stuff I changed is different.
> > >
> > >
> > > 
> > > Rad Craig
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL

2003-01-06 Thread Mottaghi
Hi all and thanks,

my problem:
I want to create my bitmaps with GD functions, I call GD functions (like
imagettftext()) and send them any RTL sentence, but it write and crate it
LTR!!!

thanks a lot :)

- Original Message -
From: "Neil Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 2:14 PM
Subject: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL


> Oops - missed a bit :
>
> Look here for mozilla information and examples on bi directional text:
>
> http://www.langbox.com/bidimozilla/
>
> Also check "text-kashida-space" and "writing-mode " here :
> http://www.georgehernandez.com/xWebs/CSS/CSSAttributes.htm
>
> regards,
> Neil.
>
>
> >Date: Mon, 06 Jan 2003 10:42:09 +
> >To: [EMAIL PROTECTED]
> >From: Neil Smith <[EMAIL PROTECTED]>
> >Subject: Re: Subject: GD, UNICODE & RTL
> >Cc: [EMAIL PROTECTED]
> >
> >Mottaghi - you might be better advised to investigate CSS for this on the
> >browser :
> >
>
>http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/refe
rence/attributes.asp
> >
> >Check the following sub-sections :
> >Text direction
> >"direction "
> >
> >
> >You can specify a class for right to left ("bidi == bi directional") :
> >"unicode-bidi "
> >
> >You can specify "ruby" text which can have summarised pronounciation /
> >accent hints above the text
> >"ruby-align"
> >"ruby-overhang"
> >"ruby-position"
> >
> >More info :
>
>http://www.pms.informatik.uni-muenchen.de/lehre/seminar/internationalisatio
n/02ss/reports-slides/topicH/Report.html
> >
> >
> >These techniques will work in most recent browsers - IE5, NN5, Moz,
Opera6
> >etc. They will also allow some degree of indexing by search engines.
> >
> >Hope that helps,
> >Regards,
> >Neil Smith.
> >
> >At 06:47 06/01/2003 +, you wrote:
> >>--- Mottaghi <[EMAIL PROTECTED]> wrote: > Hi all,
> >> > I want to write a Right-to-Left (like Arabic languages) sentence in
> >> > a bitmap
> >> > by unicode...but  HOW???
> >> >
> >> > :) thanks, bye
> >> >
> >> >
> >> > --
> >> > PHP Windows Mailing List (http://www.php.net/)
> >> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Using VS.NET for PHP Projects - Revisit

2003-01-06 Thread Sean Malloy
Hi.

I kind of got PHP syntax highlighting working within Visual Studio.NET

I've created a page, which mentions the steps you need to take to get it
working, as well as a screen shot. Everyone loves screen shots.

http://www.quake-au.net/php/php_and_vsdotnet.htm

Hope someone finds it useful apart from me.

Regards,

Sean

-Original Message-
From: Sean Malloy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 7 January 2003 1:34 PM
To: PHP General
Subject: [PHP] Using VS.NET for PHP Projects



I know I can use Visual Studio to edit PHP files as plain text, but has
anyone seen any way of creating some sort of add-in, or macro or whatever,
which would do syntax highlighting on PHP files?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php