[PHP-WIN] Running php on windows98 with apache server !
hi, I want to configure PHP on windows 98 with Apache, my question is that is there any limitations of functionality on windows 98 , if i do so. and if yes then what are the limitations. because when we configure ASP on win98 , then there are some limitations in ASP. regards, - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
php-windows Digest 7 Jan 2003 10:17:00 -0000 Issue 1523
php-windows Digest 7 Jan 2003 10:17:00 - Issue 1523 Topics (messages 17680 through 17694): New to PHP 17680 by: Palli 17681 by: Mikey 17682 by: Asendorf, John php.ini cached? 17683 by: Rad Craig 17684 by: Miha Nedok 17686 by: Rad Craig 17687 by: Christoph Grottolo 17691 by: Miha Nedok newbie ...instal question. 17685 by: paradiddles 17688 by: Dash McElroy Problem with 'include' function in PHP 4.3 17689 by: Mehran Ziadloo 17690 by: Christoph Grottolo Re: Subject: GD, UNICODE & RTL 17692 by: Mottaghi Using VS.NET for PHP Projects - Revisit 17693 by: Sean Malloy Running php on windows98 with apache server ! 17694 by: Raheel Hussain 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 --- 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 --- End Message --- --- Begin Message --- 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 > > > > --- End Message --- --- Begin Message --- 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 > --- End Message --- --- Begin Message --- 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 --- End Message --- --- Begin Message --- 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 > --- End Message --- --- Begin Message --- PHP:
[PHP-WIN] Mail functions
hi, I m using the mail() function on a server, but having problems, the problem is that the mail is not being sent. i consulted with the administrator then he said that i m using 3rd. party QMAIIL component on the server so if there is a 3rd party component is used. what changes should i do for it, should i use the Qmail object in place of php native mail() functions ?? or should there be some changes in the .ini file. ? plz note that this is a plateform less questions either windows 2000 server, or either Linux. if there are different answers for both plateforms then plz guide me regards - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL
Hi, look... in Arabic/Persian Languages we have 4 forms of one character that it has only one UNICODE code, for example the "سسس" has 3 different view, "the first SIN", "the middle SIN" and "the last SIN". all of these three "SIN" will mix together like Latin hand writings (freehand). i reverse my sentences...but i cant write them currect on an image! OK, but How can i use CSS to export an image file??? :) Thanks a lot - Original Message - From: "Neil Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 3:43 PM Subject: Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL > Well if you *insist* on using GD - but I promise you, CSS is a better way > to do this. > > You will need to generate your string, spilt the string into an array of > characters using the # character as a separator, then join your array in > reverse order to a new (reversed) string. > You can then pass this string to the imagettftext function. > > Of course, I am assuming you know how to use the GD functions, and that you > have a suitable arabic font with corresponding Unicode characters. > > Try this : > > $myunicode="#4324#1221#1222#0133#0421#4219#1311"; > // I made this string up - insert real unicode characters here > $mychararray=explode("#",$myunicode); > // Split into array of single unicode characters > $mychararray=array_reverse($mychararray); > // Reverse the array elements > $mynewunicode=join("#",$mychararray); > // Rejoin the elements with a # character > print("result so far :".$mynewunicode.""); > $mynewunicode="#".substr($mynewunicode,0,-1); > // Using join, there will be a trailing # and > // no required # at the start -- fix that > print($mynewunicode); > > Then you can pass the $mynewunicode string to your TTF functions. > > Hope that helps > Regards, > Neil Smith. > > At 10:17 07/01/2003 +, you wrote: > >Message-ID: <001c01c2b5fc$89147300$a652dbd9@mottaghi> > >From: "Mottaghi" <[EMAIL PROTECTED]> > >To: "PHP Windows Helplist" <[EMAIL PROTECTED]> > >Date: Tue, 7 Jan 2003 06:56:09 +0330 > >MIME-Version: 1.0 > >Content-Type: text/plain; > > charset="iso-8859-1" > >Content-Transfer-Encoding: 7bit > >Subject: Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL > > > >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 : > > > > > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Running php on windows98 with apache server !
none at all... execpt the power of the machine... if it's jist for development it'll be fine - I use it myself. "Raheel Hussain" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > I want to configure PHP on windows 98 with Apache, > my question is that is there any limitations of functionality on windows 98 , if i do so. > and if yes then what are the limitations. > because when we configure ASP on win98 , then there are some limitations in ASP. > regards, > > > > > - > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] SMTP Authentication - Windows 2000
Good morning, all I'm in a bit of a pickle here. Under the following configuration, SMTP authentication was working without a hitch: Web server: Windows 2000 Server SP3, IIS 5.0 PHP version: 4 E-mail server: Windows NT4 Server SP5, MS Exchange 5.5 SP4 However, when I upgraded the e-mail server to Win2K, SMTP authentication quite nicely broke. No other configuration changes have been made. Any ideas? Thanks in advance for any help. Laura Hunter [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] php.ini cached?
Php.ini should not be in system32, it is in the correct place when in the Windows directory (i.e. c:\WIN_NT). Moving it to System32 will mean it is ignored. To get around the IIS problems, you could disable it and install Apache... I run Apache 2 and PHP 4 on Win2k Pro, and it is much better (IMO) than IIS. Also doesn't have a connection limit. "Miha Nedok" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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] php.ini cached?
it'll get read from c:\winnt\ or c:\php\ are the 2 places... "David Barrett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Php.ini should not be in system32, it is in the correct place when in the > Windows directory (i.e. c:\WIN_NT). > > Moving it to System32 will mean it is ignored. > > To get around the IIS problems, you could disable it and install Apache... I > run Apache 2 and PHP 4 on Win2k Pro, and it is much better (IMO) than IIS. > Also doesn't have a connection limit. > > "Miha Nedok" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > 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 > > > > > > > > > > > > > > > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: SMTP Authentication - Windows 2000
> However, when I upgraded the e-mail server to Win2K, SMTP authentication > quite nicely broke. No other configuration changes have been made. Any > ideas? What messages do you get if any? Could be an issue with Exchange's anti-relay stuff? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] Re: [PHP] Using VS.NET for PHP Projects - Revisit
Do you know/tried HotDog? it's at sausage.com It's been ages since I tried HomeSite, but from what I still know, it is more or less the same... -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 15:42 pm To: Didier McGillis; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-WIN] Re: [PHP] Using VS.NET for PHP Projects - Revisit > for coding like that I use HomeSite, I dont like Microsoft Tools, but I > guess they have a use. I use Homesite (v5) as well. And while it is a very useful tool, I just wish it were better supported. Not only is it a memory hog but it's got a leak like a seive. Earlier versions were worse and at least I don't have to re- boot every other hour with v5. But I still get loads of pointer errors, exception errors when I close down, etc. If there was anything else that had the same features as HS, I'd start using that in an instant. Sadly, I've yet to come across anything like that so I'm stuck with HS. Chris -- 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] newbie ...instal question.
Robert, Did you add this "php4apache2.dll" to the config file in some way? If so, how should I add it? thanks- pr "you can observe a lot by watching" ~ Yogi Berra - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[PHP-WIN] php_ming
Any ideas where I can get an up-to-date php_ming.dll binary for windows. Seems I can only get source from http://www.opaque.net. Warren Vail (510) 444-5380 [EMAIL PROTECTED]
[PHP-WIN] Re: php_ming
download cygwin, it'll come with cpp compiler you can then compile it following unix compile instructions "Warren Vail" <[EMAIL PROTECTED]> wrote in message 004201c2b669$5f2867a0$498a7ed8@WarrenVail">news:004201c2b669$5f2867a0$498a7ed8@WarrenVail... > Any ideas where I can get an up-to-date php_ming.dll binary for windows. > Seems I can only get source from http://www.opaque.net. > > Warren Vail > (510) 444-5380 > [EMAIL PROTECTED] > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-WIN] php_ming
There's a good list at http://www.kromann.info/php4.php James I like nonsense ~ it wakes up the brain cells. Fantasy is a necessary ingredient in living. It's a way of looking at life through the wrong end of a telescope... and that enables you to laugh at all of life's realities. ~ Theodor S. Geisel, a.k.a. "Dr. Seuss" -Original Message- From: Warren Vail [mailto:[EMAIL PROTECTED]] Sent: 07 January 2003 16:25 To: [EMAIL PROTECTED] Subject: [PHP-WIN] php_ming Any ideas where I can get an up-to-date php_ming.dll binary for windows. Seems I can only get source from http://www.opaque.net. Warren Vail (510) 444-5380 [EMAIL PROTECTED] This email is only intended for the person(s) to whom it is addressed and may contain confidential information. Unless stated to the contrary, any opinions or comments are personal to the writer and do not represent the official view of the company. If you have received this e-mail in error, please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use if for any purposes, or disclose its contents to any other person. We make every effort to keep our network free from viruses. You should independently check this e-mail and any attachments for viruses, as we can take no responsibility for any computer viruses that might be transferred by way of this e-mail. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] [newbie] What does this mean?
Hey list, I'm still having problems loading my where I get the "HTTP 404 - File not found" error. When I view the apache error log, I see.. "[Tue Jan 07 11:56:21 2003] [error] [client 127.0.0.1] (2)No such file or directory: script not found or unable to stat: c:/php-4.3.0-win32/php.exe/phpinfo.php" Do you think this is the crux of the problem? thanks- PR "you can observe a lot by watching" ~ Yogi Berra - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[PHP-WIN] test_smtp.php
I'm trying to implement this smtp_email stuff. I downloaded everything on these pages: DNS Resolver: http://www.phpclasses.org/browse.html/file/1910.html MIME: http://www.phpclasses.org/browse.html/package/9.html SMTP: http://www.phpclasses.org/browse.html/package/14 I'm sorry, but I'm a newb, so I have no idea what I'm doing with PHP. I created a \includes directory under my main PHP directory and my include path in the .ini file points there. I copied all of these files there except for the test_*.* files. I host my own mail server on the same machine. I then loaded up the file test_smtp.php in an editor and started filling in some blanks, like: $to - changed this to my email address $smtp->user - changed this to my email username $smtp->realm - changed this to my domain name $smtp->password - changed this to my email password I left everything else alone except changing $smtp->debug=1 after it didn't work the first time. I dont' receive any email, nor any output in the browser when I run that test page. Looks like it should give me SOME sort of feedback whether it succeeds or fails at the bottom, apparently it's never getting that far. I have php.ini configured to write it's error_log to a file, but it's always empty. I'm guessing I need to put in my DNS server names and ip's, but I have no idea where or how to do this. I have two that I could put in if I knew where. I haven't done anything to any of the other files, so if there is something else I need to configure, please tell me what and in which file. Sorry to be such a PITA, but I REALLY need to get this thing working. Thanks in advance. Rad Craig Rad Craig -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] [newbie] What does this mean?
Open up your httpd.conf file and search for: DocumentRoot You need to change the setting so it points to the same directory as where your webpage is stored. In my case, I store my files in 'C:/Documents and Settings/Stephen/My Documents/Web Pages/', so I setting the Document Root to: DocumentRoot "C:/Documents and Settings/Stephen/My Documents/Web Pages" Notice that you do not need a / at the end of the last directory (Web Pages is a directory). Once you've done that, you need to find this section: # # This should be changed to whatever you set DocumentRoot to. # Change SOMETHING to the same as you entered for DocumentRoot. In my case, it becomes: # # This should be changed to whatever you set DocumentRoot to. # Once you have done those two things your server should be working. - Original Message - From: "paradiddles" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 6:55 PM Subject: [PHP-WIN] [newbie] What does this mean? > > Hey list, > > I'm still having problems loading my where I get the "HTTP 404 - File not found" error. > > When I view the apache error log, I see.. > > "[Tue Jan 07 11:56:21 2003] [error] [client 127.0.0.1] (2)No such file or directory: script not found or unable to stat: c:/php-4.3.0-win32/php.exe/phpinfo.php" > > Do you think this is the crux of the problem? > > thanks- > > PR > > > > > > > "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] Re: [PHP] Using VS.NET for PHP Projects - Revisit
> for coding like that I use HomeSite, I dont like Microsoft Tools, but I > guess they have a use. I use Homesite (v5) as well. And while it is a very useful tool, I just wish it were better supported. Not only is it a memory hog but it's got a leak like a seive. Earlier versions were worse and at least I don't have to re- boot every other hour with v5. But I still get loads of pointer errors, exception errors when I close down, etc. If there was anything else that had the same features as HS, I'd start using that in an instant. Sadly, I've yet to come across anything like that so I'm stuck with HS. Chris -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] [newbie] What does this mean?
Sorry, In reference to my last question, I did type correctly and it still gives me the "file not found" error. pr "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?
Not in PHP 4.3.0 phpinfo() output: Configuration File (php.ini) Path C:\WINDOWS\system32\php.ini -Mike On Tue, 7 Jan 2003, Brian McGarvie wrote: > Date: Tue, 7 Jan 2003 14:50:16 - > From: Brian McGarvie <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] php.ini cached? > > it'll get read from c:\winnt\ or c:\php\ are the 2 places... > > "David Barrett" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Php.ini should not be in system32, it is in the correct place when in the > > Windows directory (i.e. c:\WIN_NT). > > > > Moving it to System32 will mean it is ignored. > > > > To get around the IIS problems, you could disable it and install Apache... > I > > run Apache 2 and PHP 4 on Win2k Pro, and it is much better (IMO) than IIS. > > Also doesn't have a connection limit. > > > > "Miha Nedok" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 > > > > -- > 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 Digest 7 Jan 2003 22:58:11 -0000 Issue 1524
php-windows Digest 7 Jan 2003 22:58:11 - Issue 1524 Topics (messages 17695 through 17715): Mail functions 17695 by: Raheel Hussain Re: newbie ...instal question. 17696 by: Robert Fisher 17705 by: paradiddles Re: Subject: GD, UNICODE & RTL 17697 by: Mottaghi Re: Running php on windows98 with apache server ! 17698 by: Brian McGarvie Re: [PHP] Using VS.NET for PHP Projects - Revisit 17699 by: Chris Boget 17704 by: Sjon SMTP Authentication - Windows 2000 17700 by: Laura E. Hunter 17703 by: Brian McGarvie 17713 by: Laura E. Hunter Re: php.ini cached? 17701 by: David Barrett 17702 by: Brian McGarvie 17715 by: Miha Nedok php_ming 17706 by: Warren Vail 17707 by: Brian McGarvie 17708 by: James Lobley [newbie] What does this mean? 17709 by: paradiddles 17711 by: Stephen Edmonds 17712 by: Jim Hunter 17714 by: paradiddles test_smtp.php 17710 by: Rad Craig 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, I m using the mail() function on a server, but having problems, the problem is that the mail is not being sent. i consulted with the administrator then he said that i m using 3rd. party QMAIIL component on the server so if there is a 3rd party component is used. what changes should i do for it, should i use the Qmail object in place of php native mail() functions ?? or should there be some changes in the .ini file. ? plz note that this is a plateform less questions either windows 2000 server, or either Linux. if there are different answers for both plateforms then plz guide me regards - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now --- End Message --- --- Begin Message --- I just had the same problem the other day. and if I remember right I used the php4apache2.dll file. It worked just fine after that. I also did not have to include the AddModule line. hope this helps, Robert Fisher Axis Solutions, Inc. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --- End Message --- --- Begin Message --- Robert, Did you add this "php4apache2.dll" to the config file in some way? If so, how should I add it? thanks- pr "you can observe a lot by watching" ~ Yogi Berra - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now --- End Message --- --- Begin Message --- Hi, look... in Arabic/Persian Languages we have 4 forms of one character that it has only one UNICODE code, for example the "سسس" has 3 different view, "the first SIN", "the middle SIN" and "the last SIN". all of these three "SIN" will mix together like Latin hand writings (freehand). i reverse my sentences...but i cant write them currect on an image! OK, but How can i use CSS to export an image file??? :) Thanks a lot - Original Message - From: "Neil Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 3:43 PM Subject: Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL > Well if you *insist* on using GD - but I promise you, CSS is a better way > to do this. > > You will need to generate your string, spilt the string into an array of > characters using the # character as a separator, then join your array in > reverse order to a new (reversed) string. > You can then pass this string to the imagettftext function. > > Of course, I am assuming you know how to use the GD functions, and that you > have a suitable arabic font with corresponding Unicode characters. > > Try this : > > $myunicode="#4324#1221#1222#0133#0421#4219#1311"; > // I made this string up - insert real unicode characters here > $mychararray=explode("#",$myunicode); > // Split into array of single unicode characters > $mychararray=array_reverse($mychararray); > // Reverse the array elements > $mynewunicode=join("#",$mychararray); > // Rejoin the elements with a # character > print("result so far :".$mynewunicode.""); > $mynewunicode="#".substr($mynewunicode,0,-1); > // Using join, there will be a trailing # and > // no required # at the start -- fix that > print($mynewunicode); > > Then you can pass the $mynewunicode string to your TTF functions. > > Hope that helps > Regards, > Neil Smith. > > At 10:17 07/01/2003 +, you wrote: > >Message-ID: <001c01c2b5fc$89147300$a652dbd9@mottaghi> > >From: "Mottaghi" <[EMAIL PROTECTED]> > >To: "PHP Windows Helplist" <[EMAIL PROTECTED]> > >Date: Tue, 7 Jan 2003 06:56:09 +0330 > >MIME-Version: 1.0 > >Content-Type: text/plain; > > cha
[PHP-WIN] Re: SMTP Authentication - Windows 2000
Hello, On 01/07/2003 05:42 PM, Laura E. Hunter wrote: What messages do you get if any? Error message when we invoke the MAIL function is as follows: FATAL ERROR, has failed... quitting system. This looks like the server name in php.ini is wrong. Could be an issue with Exchange's anti-relay stuff? The Exchange server is configured to allow clients who successfully authenticate to relay mail. (Hence the SMTPAuth module.) This What is that SMTPAuth module? POP based authentication? configuration was working fine until we upgraded the Exchange box to Windows 2000, and except for the OS upgrade, no other configuration changes have been made. So I'm trying to figure out what's different between the NT & 2000 authentication mechanism that has caused SMTPAuth to break. mail() function error messages are often not useful. It also does not support authentication AFAIK. You may want to try this class that lets you specify authentication and if anything fails you can enable debug mode to see the dialog with the server in order to figure where it went wrong. http://www.phpclasses.org/smtpclass You can also use this other class that uses the above to send message via SMTP and comes with a wrapper function named smtp_mail() that emulates the mail() function with several advantages that may help you solve your problem: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Found a problem/fix with php.ini?
I got all the smtp_email stuff, trying to get my mail() function working. Well I got a test file, somone told me how to test it from a DOS box (thanks!), ran it and it reported a parsing error in php.ini on line 65. Now, I used the php.ini.recommended file when I setup/installed my PHP 4.3.0. In that file on line 65 is this line: error_reporting = E_ALL[Code Cleanliness, Security(?)] It's at the top, kind of a bunch of comments explaining stuff. When I looked at it the only thing I saw different between it and the others was the (?) in the little comment. I don't know squat about PHP, but I think that was causing all of my problems, PHP would read down to that point and then stop. I changed it to: error_reporting = E_ALL ;[Code Cleanliness, Security(?)] Wrapped the comment to the next line and commented the comment out. Wa-la, now my email works...without even using the SMTP stuff...it works also however. My error_log gets written to disk now...all my problems caused from this. Just glad it's fixed and hope it helps someone else solve their problems. Rad Craig -- 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
Well if you *insist* on using GD - but I promise you, CSS is a better way to do this. You will need to generate your string, spilt the string into an array of characters using the # character as a separator, then join your array in reverse order to a new (reversed) string. You can then pass this string to the imagettftext function. Of course, I am assuming you know how to use the GD functions, and that you have a suitable arabic font with corresponding Unicode characters. Try this : $myunicode="#4324#1221#1222#0133#0421#4219#1311"; // I made this string up - insert real unicode characters here $mychararray=explode("#",$myunicode); // Split into array of single unicode characters $mychararray=array_reverse($mychararray); // Reverse the array elements $mynewunicode=join("#",$mychararray); // Rejoin the elements with a # character print("result so far :".$mynewunicode.""); $mynewunicode="#".substr($mynewunicode,0,-1); // Using join, there will be a trailing # and // no required # at the start -- fix that print($mynewunicode); Then you can pass the $mynewunicode string to your TTF functions. Hope that helps Regards, Neil Smith. At 10:17 07/01/2003 +, you wrote: Message-ID: <001c01c2b5fc$89147300$a652dbd9@mottaghi> From: "Mottaghi" <[EMAIL PROTECTED]> To: "PHP Windows Helplist" <[EMAIL PROTECTED]> Date: Tue, 7 Jan 2003 06:56:09 +0330 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL 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 : > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] someone help me if i m wrong ( PHP / QMAIL )
hi, I m using the mail() function on a server, but having problems, the problem is that the mail is not being sent. i consulted with the administrator then he said that i m using 3rd. party QMAIIL component on the server so if there is a 3rd party component is used. what changes should i do for it, should i use the Qmail object in place of php native mail() functions ?? or should there be some changes in the .ini file. ? plz note that this is a plateform less questions either windows 2000 server, or either Linux. if there are different answers for both plateforms then plz guide me regards - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: [PHP-WIN] newbie ...instal question.
I just had the same problem the other day. and if I remember right I used the php4apache2.dll file. It worked just fine after that. I also did not have to include the AddModule line. hope this helps, Robert Fisher Axis Solutions, Inc. __ 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] [newbie] What does this mean?
Try: and you should have much better success. phpinfo is a function so you must include the parens for it to work properly. Jim ---Original Message--- From: paradiddles Date: Tuesday, January 07, 2003 10:59:05 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] [newbie] What does this mean? Hey list, I'm still having problems loading my where I get the "HTTP 404 - File not found" error. When I view the apache error log, I see.. "[Tue Jan 07 11:56:21 2003] [error] [client 127.0.0.1] (2)No such file or directory: script not found or unable to stat: c:/php-4.3.0-win32/php exe/phpinfo.php" Do you think this is the crux of the problem? thanks- PR "you can observe a lot by watching" ~ Yogi Berra - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[PHP-WIN] Re: SMTP Authentication - Windows 2000
> > What messages do you get if any? > Error message when we invoke the MAIL function is as follows: FATAL ERROR, has failed... quitting system. > Could be an issue with Exchange's anti-relay stuff? > The Exchange server is configured to allow clients who successfully authenticate to relay mail. (Hence the SMTPAuth module.) This configuration was working fine until we upgraded the Exchange box to Windows 2000, and except for the OS upgrade, no other configuration changes have been made. So I'm trying to figure out what's different between the NT & 2000 authentication mechanism that has caused SMTPAuth to break. > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php