Re: [PHP-WIN] Problem with include, nothing running, gosh!

2011-06-09 Thread Richard Quadling
On 9 June 2011 18:42, Zuppy Zuppy wrote: > I guys, I'm trying to make php running ona a win machine (win2003 with > IIS6)... I've found many people with the same problem but not really a > solution. > After many tries I was able to make php running  Great , I thought > WRONG! > php info is

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-05 Thread Niamathullah Sharief
Hi guys. Wonder happens. I got one mail from my localhost. But i dont know in which attempt i got that mail. Because in each and every try I was changing my config file. Now i dont know in which attempt it works... On Sat, Feb 5, 2011 at 4:01 PM, Tommy Pham wrote: > On Sat, Feb 5, 2011 at 2:29

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-05 Thread Tommy Pham
On Sat, Feb 5, 2011 at 2:29 AM, Tommy Pham wrote: > On Sat, Feb 5, 2011 at 12:19 AM, Niamathullah Sharief > wrote: >> Yes i am using local system, So now i changed as "localhost" instead of >> smtp.gmail.com. But still i am getting the below error >>> >>> Warning: mail() [function.mail]: SMTP se

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-05 Thread Tommy Pham
On Sat, Feb 5, 2011 at 12:19 AM, Niamathullah Sharief wrote: > Yes i am using local system, So now i changed as "localhost" instead of > smtp.gmail.com. But still i am getting the below error >> >> Warning: mail() [function.mail]: SMTP server response: 550-5.7.1 >> [122.163.25.135] The IP you're u

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-05 Thread Niamathullah Sharief
Yes i am using local system, So now i changed as "localhost" instead of smtp.gmail.com. But still i am getting the below error *Warning*: mail() [function.mail ]: SMTP > server response: 550-5.7.1 [122.163.25.135] The IP you're using to send mail > is not authorized

RE: [PHP-WIN] Problem in sending email from localhost

2011-02-03 Thread Tommy Pham
1) Which SMTP server are you trying to use? On your local system? Or smtp.gmail.com? 2a) If local system, which are are using? MS' SMTP or 3rd party like hmail? Are you sure the server is configured properly and that the service is running? Run this in command prompt: netstat -ano | more Yo

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-03 Thread Chuck Reeves
Check with your isp to see if they block smtp traffic. Most of the tme they require you to use there smtp in an effort to thwart spammers Thank You Chuck Reeves www.manchuck.com On Thu, Feb 3, 2011 at 12:13 AM, Niel Archer wrote: > > Hi, > > > > I am trying to send mail from my localhost bu

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Niel Archer
> Hi, > > I am trying to send mail from my localhost but i am getting the below > error > ""Warning: mail() [function.mail]: Failed to connect to mailserver at > "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini > or use ini_set() in F:\test\xampp\htdocs\sendmail.php on

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Niamathullah Sharief
I did that too. but still i got the same error. On Wed, Feb 2, 2011 at 10:56 PM, Ferenc Kovacs wrote: > > On Wed, Feb 2, 2011 at 5:37 PM, Niamathullah Sharief wrote: > >> Hi, >> >> I am trying to send mail from my localhost but i am getting the below >> error >> ""Warning: mail() [function.mail

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Ferenc Kovacs
On Wed, Feb 2, 2011 at 5:37 PM, Niamathullah Sharief wrote: > Hi, > > I am trying to send mail from my localhost but i am getting the below > error > ""Warning: mail() [function.mail]: Failed to connect to mailserver at > "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Richard Quadling
On 2 February 2011 16:37, Niamathullah Sharief wrote: > SMTP = smtp.gmail.com You are trying to send mail via Google Mail, not your own localhost SMTP engine. Is that your intention? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mai

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-20 Thread Pierre Joye
hi, On Mon, Jul 19, 2010 at 4:28 PM, Bruce M. Axtens > How do I get nonTS sources, or what do I have to do to what I have to make > them appear nonTS so that Visual Studio 2008 creates nonTS binaries? The source are not TS or NTS but only the binaries. Use the --disable-zts configure option to

RE: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Venkat Raman Don
: php-windows@lists.php.net Subject: Re: [PHP-WIN] Problem writing PHP extensions for Windows Venkat Raman Don wrote: > This means you have built a Thread safe version of the extension and trying > to load it with Non Thread Safe version of PHP which is not valid. Yes, that is true. My qu

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
Venkat Raman Don wrote: This means you have built a Thread safe version of the extension and trying to load it with Non Thread Safe version of PHP which is not valid. Yes, that is true. My question has been from the beginning: how to make the extension Non Thread Safe? Please build non threa

RE: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Venkat Raman Don
Hi Bruce, This means you have built a Thread safe version of the extension and trying to load it with Non Thread Safe version of PHP which is not valid. Please build non thread safe version of extension. I believe --disable-zts is the switch that will do the trick for building the non-thread sa

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Richard Quadling
On 19 July 2010 15:28, Bruce M. Axtens wrote: > I'm trying to build PHP extensions on Windows > > When I run my DLLs I get errors like this: >  Module compiled with build ID=API20090626,TS,VC9 >  PHP    compiled with build ID=API20090626,NTS,VC9 > > The source package that I downloaded from php.ne

RE: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Keith Davis
Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Problem writing PHP extensions for Windows Keith Davis wrote: > What extensions are you trying to build? > The one listed here http://netindonesia.net/blogs/risman/archive/2008/06/15/part-2-writing-p hp-extension.aspx (modified slightly from the

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
Keith Davis wrote: What extensions are you trying to build? The one listed here http://netindonesia.net/blogs/risman/archive/2008/06/15/part-2-writing-php-extension.aspx (modified slightly from the original to compensate for the nonTS situation) and http://www.talkphp.com/vbarticles.php?d

RE: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Keith Davis
What extensions are you trying to build? Keith Davis (214) 906-5183 -Original Message- From: Bruce M. Axtens [mailto:bruce.axt...@gmail.com] Sent: Monday, July 19, 2010 9:28 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Problem writing PHP extensions for Windows I'm trying to buil

Re: [PHP-WIN] Problem with php and MySQL: inserting strings into database

2010-04-23 Thread Toby Hart Dyke
Apart from Warren's excellent advice, the source of your problem is things like this: '$_POST['vorname']' How is PHP supposed to know that this is nested parentheses? You should have done it like this: "$_POST['vorname']" Though of course, follow Warren's advice, and don't do it like this a

RE: [PHP-WIN] Problem with php and MySQL: inserting strings into database

2010-04-22 Thread Warren Vail
You have just done two things that make your site vulnerable to hacks. Register globals means that someone can load a copy of your form to their machine, modify it to include variables that you use internally like $user_type = "admin" (or whatever) and post their form to your site, and even though

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-16 Thread Niel Archer
> > Hi, have a big trouble on vista home premium and php 5: PHP does not parse > > my files, neither in apache neither in CLI. > > > > if i write "php.exe phpinfo.php" php returns me > > > phpinfo(); > > ?> > > > > I've goggled all internet and found nothing. Any idea? > > > > thanks, > > R

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-16 Thread Rossend Bruch
That was. really thanks! sometimes silly things are the worst :S Rossend. - Original Message - From: "Niel Archer" Newsgroups: php.windows To: Sent: Wednesday, September 16, 2009 10:06 AM Subject: Re: [PHP-WIN] Problem with php on vista home preminum >> Hi, have

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-16 Thread Niel Archer
> Hi, have a big trouble on vista home premium and php 5: PHP does not parse > my files, neither in apache neither in CLI. > > if i write "php.exe phpinfo.php" php returns me > phpinfo(); > ?> > > I've goggled all internet and found nothing. Any idea? > > thanks, > Rossend. > > > -- > P

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-15 Thread Lester Caine
phpWalter wrote: If you want to use a system that has worked on every Windows version since Windows 95, drop over to web.walters-way.com. http://walters-way.com even ... Follow those instructions and you'll have Apache, PHP, mySQL, with SSL and CVS/SVN (with keys!) running in less than half h

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-15 Thread phpWalter
If you want to use a system that has worked on every Windows version since Windows 95, drop over to web.walters-way.com. Follow those instructions and you'll have Apache, PHP, mySQL, with SSL and CVS/SVN (with keys!) running in less than half hour. A little longer if you want virtual domains and u

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-15 Thread Tommy Pham
--- On Tue, 9/15/09, Tommy Pham wrote: > From: Tommy Pham > Subject: Re: [PHP-WIN] Problem with php on vista home preminum > To: php-windows@lists.php.net > Date: Tuesday, September 15, 2009, 9:05 PM > --- On Tue, 9/15/09, Rossend Bruch > > wrote: > > > From: Ro

Re: [PHP-WIN] Problem with php on vista home preminum

2009-09-15 Thread Tommy Pham
--- On Tue, 9/15/09, Rossend Bruch wrote: > From: Rossend Bruch > Subject: [PHP-WIN] Problem with php on vista home preminum > To: php-windows@lists.php.net > Date: Tuesday, September 15, 2009, 9:14 AM > Hi, have a big trouble on vista home > premium and php 5: PHP does not parse my files, neith

Re: [PHP-WIN] Problem: direct download of php pages

2009-07-27 Thread John Meyer
Niel Archer wrote: Windows XP Apache 2.2.11 PHP 5.2 (CGI version). When I navigate to a page on the server, it gives me a direct download dialog box. But when I take that page and parse it directly through the php-cgi program, it comes out fine. Probably a configuration problem with

Re: [PHP-WIN] Problem: direct download of php pages

2009-07-27 Thread Niel Archer
> Windows XP > > Apache 2.2.11 > PHP 5.2 (CGI version). > > When I navigate to a page on the server, it gives me a direct download > dialog box. But when I take that page and parse it directly through the > php-cgi program, it comes out fine. Probably a configuration problem with your server

Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6

2009-06-21 Thread onemancrew
Hello I have found the the source of the issue. I post new thread about this issue. the subject of the new thread is: PHP is using C:\php5\ despite the fact that I have configured the include_path thanks in advacned. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6

2009-06-21 Thread Niel Archer
> Hello > > 1) > > D:\Inetpub\vhosts\domain.com\httpdocs\phppear\PEAR>dir *validate* > Volume in drive D has no label. > Volume Serial Number is 4C76-AE4A > > Directory of D:\Inetpub\vhosts\domain.com\httpdocs\phppear\PEAR > > 06/21/2009 08:51 AM40,643 Validate.php >

Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6

2009-06-21 Thread onemancrew
for some reason I found that the new pear packages which I have installed have been deployed into C:\php5\pear but I have configured the include_path in the registry file. because I didnt find any otherway then I have configured the include_path in the php.ini level but still , when I instal

Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6

2009-06-21 Thread onemancrew
Hello 1) D:\Inetpub\vhosts\domain.com\httpdocs\phppear\PEAR>dir *validate* Volume in drive D has no label. Volume Serial Number is 4C76-AE4A Directory of D:\Inetpub\vhosts\domain.com\httpdocs\phppear\PEAR 06/21/2009 08:51 AM40,643 Validate.php 1 File(s) 40,64

Re: [PHP-WIN] problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6

2009-06-21 Thread Niel Archer
> Hi > > I encounter an issue with PEAR > > some pre info regarding the environment: > Windows Server 2003 > IIS6 (IIS Version 6) > PHP Version is 5.2.9-2 > > I have installed PEAR on specific virtual directory (means that PEAR is > installed only on specific web site/specific domain) > > I ha

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
Hi Got it working as expected. Try the following modified class class customer { $name; $phone; function customer($name, $phone) { $this->name = $name; $this->phone = $phone; } function getName() { return $n

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
_ > > > > m.bell...@reply.it > > Prinzenalle 7 > > 40549 Düsseldorf > > GERMANY > > > > From: Niel Archer [...@chance.now] > > Sent: Tuesday, May 12, 2009 7:16 PM > > To: php-windows@lists.php.net > > S

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
> For what concerns the two type of DOMDocument istantiation I forgot to > chance them both :) > > Thks > Maurizio Bellemo > Sytel Reply Deutschland > __ > > m.bell...@reply.it > Prinzenalle 7 > 40549 Düsseldorf > GERMANY > _________

RE: [PHP-WIN] Problem with DOM

2009-05-12 Thread Bellemo Maurizio
@chance.now] Sent: Tuesday, May 12, 2009 7:16 PM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Problem with DOM > Hi all, > > I'm trying to create some XML from PHP code to save data about customers, but > I found many problem and it doesn't work. > > The cla

Re: [PHP-WIN] Problem with DOM

2009-05-12 Thread Niel Archer
> Hi all, > > I'm trying to create some XML from PHP code to save data about customers, but > I found many problem and it doesn't work. > > The class Customer is quite simple I put it right below > > > class customer { > var $name; > var $phone; > > function customer(

Re: [PHP-WIN] Problem with GD2 & PHP

2008-12-10 Thread Gunawan
Daniel wrote: I am creating a new website that uses ImageFlow (http://finnrudolph.de/ImageFlow/Installation) I have created a test page for use with the new ImageFlow.js When I load the webpage, I get the correct page except the pictures. This leads me to think that the pictures aren't being

Re: [PHP-WIN] Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread Sanjay Mantoor
Hello, Check your extension directory is proper in php.ini file and make sure the same php.ini file is used. If not make a extension dir entry like below extension_dir = "C:/php/ext" then uncomment ;extension=php_oci8.dll by removing ; -Sanjay M On Wed, Jun 25, 2008 at 2:37 PM, S. Buffn <[EMA

RE: [PHP-WIN] Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread S. Buffn
Hello, it is the same for all extension you would like to load? Or there is some dll which is loaded, i.e. no warning in log is presented. Where are placed the dlls and what says extension_dir directive in php.ini. Try also run command line php, i.e. php.ex with -m and it says what extension were

Re: [PHP-WIN] Problem with Oracle and some other extensions on IIS Server

2008-06-25 Thread Eric Lee
Hi, Did you have followed the steps described in php manual for php_oc8i.dll ? It is only the interface that support orcale function call within php. So you must download and install orcale client and configure enviroment variables and all other things that orcale documentation stated. It just

Re: [PHP-WIN] problem usign COM object

2007-07-19 Thread Jason McKnight
For whatever reason when I use 'new COM' method and then try to load the typeinfo I get this: Warning: 23580072 is not a COM object handler in file.php on line 52 Thats probably a whole different problem all together; since I don't really care about loading the typeinfo once its working I'll s

Re: [PHP-WIN] problem usign COM object

2007-07-19 Thread Niel Archer
Hi why not use: new COM("ConceptCOM"); with PHP 4.3.11 as well? the documentation for com_load says as much! -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Problem With Pear::DB

2007-05-10 Thread bedul
.. if there any result (reply).. i send to you - Original Message - From: "Jody Williams" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, May 09, 2007 10:36 PM Subject: Re: [PHP-WIN] Problem With Pear::DB > THat is what I thought. Just to confirm, I created an ODBC connectio

Re: [PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Jody Williams
Any idea why this does work from the same server? Connect($dsn); $rs = $db->Execute("select [name] from sysobjects"); foreach($rs as $k=>$row) { echo $row[0] . ''; } $db->disconnect(); ?> This is using ADOdb instead of PEAR::DB. Jody On 5/9/07, Stut <[EMAIL PROTECTED]> wrote: Jody Will

Re: [PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Jody Williams
THat is what I thought. Just to confirm, I created an ODBC connection for the Windows 2k3 server to the Database using the Server name. I tried the IP in the PHP file and have the same results. Is there some kind of restriction that might be in place in Windows 2003? Jody On 5/9/07, Stut <[EM

Re: [PHP-WIN] Problem With Pear::DB

2007-05-09 Thread Stut
Jody Williams wrote: I have a situation where I am unable to connect to a Microsoft SQL 2005 Database from Windows Server 2003 (IIS + PHP 5.0.4). here is the code: getMessage().''.$db->getUserInfo()); } // no useful info. just trying to return something. $query = "select [name] as n from sysobj

Re: [PHP-WIN] Problem with installer version on IIS

2007-03-22 Thread Armando
I'd avoid the Windows installer.. most people have problems with it. Try downloading the zip package and do a manual install.. the instructions are in there. I had the same issue on previous versions and they went away when I did a manual install. Cheers. Armando Marko Simovic wrote: Hi, I h

Re: [PHP-WIN] Problem with removable media

2006-11-15 Thread tg-php
Styve, Here's a block of code I borrowed (see comment block) and use to scan active drives on a Windows PC. It uses the is_dir() which may still not work for you, but maybe it does it differently than you did. Also, I believe you can access Windows API functions that can return the status of

Re: [PHP-WIN] Problem with 'imagecreatefromjpeg'

2006-02-14 Thread Armando
Do you have the php_gd2.dll module loading? In your php.ini file under the modules, uncomment the line out then give it a try. Cheers. Armando Ted Lorenz wrote: I'm trying to create a thumbnail from a jpeg file but the script stops when it encounters the function 'imagecreatefromjpeg'. I have

Re: [PHP-WIN] Problem with script execution time

2005-11-01 Thread Mark Rees
You may have already done this, but make sure that you have made any necessary changes to your PHP.ini settings with relation to maximum file upload size and so on. More information here: http://de.php.net/features.file-upload Cheers Mark ""Paul J. Smith"" <[EMAIL PROTECTED]> wrote in message n

RE: [PHP-WIN] Problem with script execution time

2005-10-31 Thread Paul J. Smith
IIS also has a script execution time limit. Even if you set it in PHP, IIS will abort the script if it's own limit is exceeded. So if you are still having issues after using set_time_limit, check IIS's script timeout. Regards, Paul Smith Microtech Limited - Suppliers of innovative IT solutions

Re: [PHP-WIN] Problem loading external php modules with 2003 Serv er SP1?

2005-05-15 Thread Shinan Kassam
Thank You for your response. I am actually using CGI on IIS6. I will try ISAPI. On 5/15/05, Wu, Jin Yong <[EMAIL PROTECTED]> wrote: > > Is your web server IIS6.0, Apache or others? > if IIS6.0, you can try to load PHP via two methods: one is ISAPI, the other > is CGI. > Strongly recommend you to

RE: [PHP-WIN] Problem loading external php modules with 2003 Serv er SP1?

2005-05-15 Thread Wu, Jin Yong
Is your web server IIS6.0, Apache or others? if IIS6.0, you can try to load PHP via two methods: one is ISAPI, the other is CGI. Strongly recommend you to use ISAPI mode to run PHP. Additionally, IIS 6.0 should configure extensions to permit PHP executing privilege. YONG from Xerox,China 2005/5/1

Re: [PHP-WIN] Problem with PHP functions under Win2K3

2005-04-07 Thread M. Sokolewicz
Ken wrote: On Apr 7, 2005 12:11 PM, Juhász Zoltán <[EMAIL PROTECTED]> wrote: Hi! I installed PHP 4 on Windows 2003 Enterprise to test it. Some functions cannot work, example $REMOTE_ADDR, $HTTP_ACCEPT_LANGUAGE, etc. All functions get back an error: Notice: Undefined variable: HTTP_ACCEPT_LANGUAGE i

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Vincent DUPONT
hat directory DOES exist, right? I assume the is_dir() line is 69 and the opendir() is line 70, correct? -TG > -Original Message- > From: Mike [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 12:06 AM > To: 'Pravin-Kumar'; [EMAIL PROTECTED] > Subject: RE

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
[mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 12:58 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] problem to open dir > > > Try changing your $dir variable to: > > $dir="C:\\Documents and Settings\\pravin\\Desktop\\abcd2"; > > Failing t

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
Also.. Any permissions issues? Can PHP or the user that PHP is running as access that folder? > -Original Message- > From: Pravin-Kumar [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 1:28 AM > To: Mike > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] p

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
- > From: Mike [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 12:06 AM > To: 'Pravin-Kumar'; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] problem to open dir > > > When you set the $dir variable, try doing so with single > quotes - the \ > character

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Mike
11 4616-1394 > > -Mensagem original- > De: Luis Moreira [mailto:[EMAIL PROTECTED] > Enviada em: terça-feira, 30 de novembro de 2004 08:04 > Para: Pravin-Kumar > Cc: [EMAIL PROTECTED] > Assunto: Re: [PHP-WIN] problem to open dir > > Remove the double quotes. &

Re: [PHP-WIN] problem to open dir

2004-11-30 Thread Luis Moreira
Remove the double quotes. $dh = opendir('F:/vyapar-2/test/cdaci'); Pravin-Kumar wrote: hi list! $dest='F:/vyapar-2/test/cdaci'; or $dest='F:\vyapar-2\test\cdaci'; or $dest='F:\\vyapar-2\\test\\cdaci'; or $dh = opendir($dest); $a=dir($dest); the above code giving following problem on apache 1.3 o

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Pravin-Kumar
hi list! $dest='F:/vyapar-2/test/cdaci'; or $dest='F:\vyapar-2\test\cdaci'; or $dest='F:\\vyapar-2\\test\\cdaci'; or $dh = opendir($dest); $a=dir($dest); the above code giving following problem on apache 1.3 on windows Warning: opendir(F:/vyapar-2/test/cdaci): failed to open dir: Invalid

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Armando
Windows related issues so blew away my development box and put Linux on it instead :-) But I digress... Cheers. Armando -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 11:06 PM To: 'Pravin-Kumar'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] pro

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Pravin-Kumar
hi mike! $source='F:\cdac2'; echo $source; if(is_dir($source)){echo "it is a dir.";} else{echo "it is not a dir..";} i had tried ur suggestion .. not working dude :( see i had one more thing .. it says "it is not a dir.." please help me list... --

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Mike
When you set the $dir variable, try doing so with single quotes - the \ character is used to escape things and might be causing some problems. If that makes no sense, it's because I'm falling asleep. Good luck. -M > -Original Message- > From: Pravin-Kumar [mailto:[EMAIL PROTECTED] > S

RE: [PHP-WIN] Problem No of weeks returned by date function

2004-06-10 Thread Svensson, B.A.T. (HKG)
I guess both function just have different interpretation (and none of them are incorrect), the best thing you can do is to translate any occurence of week 53 to week 1, that should solve your problem of losing data in the start-end case. An alternative solution is to explain for the customer how i

Re: [PHP-WIN](Problem Solved) I've found the cause of the error but I cant fix it.

2004-05-13 Thread Alejandro César Garrammone
Thxs guys (Gerardo, Trevor, Steve, Luis), the problem is like Trevor and Steve says...the famous register_global variable Thxs again, Alex - Original Message - From: "Gryffyn, Trevor" <[EMAIL PROTECTED]> To: "Alejandro César Garrammone" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Th

RE: [PHP-WIN] Problem with form

2004-02-05 Thread Disko_kex
tion. This works: //update "omr" but then only one value from "omr" is posted with PHP How can I get this work: > -Original Message- > From: John Ellingsworth [mailto:[EMAIL PROTECTED] > Sent: den 5 februari 2004 16:10 > To: Disko_kex; [EMAIL PROTECTED

RE: [PHP-WIN] Problem with form

2004-02-05 Thread John Ellingsworth
Is your question a javascript or PHP question? For PHP you can do this: $omr = $_POST['omr'] ; if(is_array($omr)) { for($k=0; $kInsert("insert into omr (omrID,omrNumber) values ('$omrID','$omr[$k]')"); $affected_rows = $sql->a_rows;

RE: [PHP-WIN] problem after Installing php-4.3.4-installer.exe an d IIS 6.0

2004-01-06 Thread Svensson, B.A.T. (HKG)
There might be a number of reason why your scripts wont run. You might like to start to review you "Web Servive Extension" to make sure every thing is properlyt set up to begin with. To see if the problrem is related with the setting here, you can make sure that "All Unknown CGI Extension" are al

Re: [PHP-WIN] Problem with Notices

2004-01-04 Thread choinet
Do your .htaccess files have a php_value for error_reporting, or do the scripts have any instances of error_reporting() in them? --- "Madeleine D." <[EMAIL PROTECTED]> wrote: > I have the following error writes set in my php.ini > file: > > error_reporting = E_ALL & ~E_NOTICE > > > For a long

RE: [PHP-WIN] Problem with Modules

2003-12-22 Thread Svensson, B.A.T. (HKG)
wever, IIS should set the access right proplery in the file system to once they are set. -Original Message- From: Cole Hubbard To: Svensson, B.A.T. (HKG) Sent: 2003-12-21 20:39 Subject: Re: [PHP-WIN] Problem with Modules Here's the error message: Unknown(): Unable to load dynamic l

Re: [PHP-WIN] Problem with Modules

2003-12-21 Thread Cole Hubbard
Tried all that. Couldn't get any of it to work. Would compiling PHP myself have any effect? If so, how would I go about doing this? (What's a good compiler?) Php Maillist wrote: > I just know a little about it > In my memory, the key action is to modify the correct path of dynamic > library in

Re: [PHP-WIN] Problem with Modules

2003-12-21 Thread php maillist
I just know a little about it In my memory, the key action is to modify the correct path of dynamic library in php.ini yesI always be annoyed by it because the PHP sometimes read his configs(php.ini) from c:/winnt/ and sometimes from the path which it be installed in. find the php.ini and test

Re: [PHP-WIN] Problem with Modules

2003-12-21 Thread Cole Hubbard
Here's the error message: Unknown(): Unable to load dynamic library 'C:\PHP\extensions\php_.dll' - The specified module could not be found. Yet I know the module file is there. I just don't know why it's not loading them. This happens with different modules every time. After I cycle th

RE: [PHP-WIN] Problem with Modules

2003-12-21 Thread Svensson, B.A.T. (HKG)
Can you give a more detial error description? And what do you mean it runs fine? Fine excpet when you try to execute a php script via the webserver? IF you want to execute php scritps on IIS, there are several steps that needs to be completed in order to make it work. -Original Message-

RE: [PHP-WIN] Problem printing on server side

2003-12-04 Thread Darvin Andrioli
> From: Ricardo J. Oliveira [mailto:[EMAIL PROTECTED] > > Hi, > When I try to list my printers with the printer_list function with these > options PRINTER_ENUM_NETWORK | PRINTER_ENUM_REMOTE the array returned are > empty. Hi First the manual says that PRINTER_ENUM_NETWORK and PRINTER_ENUM_REMOT

Re: [PHP-WIN] Problem with Socket and CPU usage!

2003-11-11 Thread Eric COLINET
Hi, What the timeout of your socket_select ? Because when the timeout is NULL or a big value your script normally 'sleep' when nothing append. Eric At 15:14 11/11/2003, Alex wrote: Hello ALL! I've made an IRC client with DCC support (it uses many sockets) I use socket_select in an infinite loo

Re: [PHP-WIN] Problem with $GLOBALS

2003-10-20 Thread joe
nce >the book was written. > >Those are the three main ones. I would give you a link to the correct page >in the php manual but it appears to be down at the moment! > >Stephen > >- Original Message ----- >From: "Jim George" <[EMAIL PROTECTED]> >

Re: [PHP-WIN] Problem in eregi

2003-10-16 Thread Svensson, B.A.T. (HKG)
"[0-9A-Z]*" On Thu, 2003-10-16 at 15:03, karthikeyan wrote: > Hi Guys, > > I have some problems in eregi function. > > Quiclky i need this.. can somebody provide me soln? > 1. need to get numbers alone as well as alphabets in a input box. But > cannot jus have alpbhabets alone > > Thanks > >

Re: [PHP-WIN] Problem with my PHPNuke Site

2003-10-06 Thread Wolfgang Schneider
On Mon, 6 Oct 2003 18:07:52 -0500, Charlie Brewer wrote: Hi >I have a PHPNuke website, with PHPbb forums. The problem is, it doesnt > matter what I set the Forum font color to, its automatically overridden by the > website font color. Now I dont want the forums to have the same font color > as

Re: [PHP-WIN] Problem: URL Encoded Parameters

2003-09-28 Thread The Hub
Thank you to Allan Tan for the following. echo $_GET["parem"]; echo $_GET["parem2"]; This worked. "The Hub" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That isn't it, the problem is I end up with "\n\n" instead of > "true\nhello\n" > > "Warren Vail" <[EMAIL PROTECTED]> wrote in

Re: [PHP-WIN] Problem: URL Encoded Parameters

2003-09-28 Thread The Hub
That isn't it, the problem is I end up with "\n\n" instead of "true\nhello\n" "Warren Vail" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > probably one of the more annoying differences between windows and Unix/Linux > is that Unix recognizes the "\n" as end of line, windows requires

RE: [PHP-WIN] Problem: URL Encoded Parameters

2003-09-28 Thread Warren Vail
probably one of the more annoying differences between windows and Unix/Linux is that Unix recognizes the "\n" as end of line, windows requires "\r\n". Warren Vail [EMAIL PROTECTED] -Original Message- From: The Hub [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 8:15 PM To: [EM

RE: [PHP-WIN] Problem with 2 buttons

2003-09-24 Thread Svensson, B.A.T. (HKG)
are > done by a previous programmer and I don't know how she got that trick. > > William Cheung B.Sc, MCSE, MCDBA > > Databyte Corp. > > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] > Sent: September 23, 2003 4:15 AM > T

Re: [PHP-WIN] Problem with 2 buttons

2003-09-23 Thread Bobo Wieland
maybe you could do it like this: change the name attribute of the buttons to something else (or leave them out all together)... add and onclick event and some javascript to set the values of the hidden fields... something like this (simplified): [CODE]