Re: [PHP-WIN] PHP Wiki Windows StepByStepBuild

2011-04-01 Thread Sascha Meyer
Keeping the wiki up to date would not be too hard to set up if changes are committed on one master and synchronized to all slaves. I already did that for one of my customers and it worked like a charm :) Regards, Sascha P.S. I would also love to see the PHP wiki back online! Am 01.04.2011 21

Re: [PHP-WIN] PHP Startup: Unable to initialize module

2011-03-30 Thread Sascha Meyer
Hi Pierre, Could you check which php.ini is loaded via phpinfo()? I assume you have a php.ini somewhere in your Windows directory pointing to the wrong directory. For what I see in the error, it is the other way 'round. 5.2 is loaded and trying to load 5.3 extensions. right, httpd.conf points to

Re: [PHP-WIN] PHP Startup: Unable to initialize module

2011-03-30 Thread Sascha Meyer
Could you check which php.ini is loaded via phpinfo()? I assume you have a php.ini somewhere in your Windows directory pointing to the wrong directory. @Pierre: thanks for the internal info about how to identify 5.2 vs 5.3 extension, I didn't have a clue about how to interpret the module API

Re: [PHP-WIN] PHP Startup: Unable to initialize module

2011-03-30 Thread Sascha Meyer
Hi Curtis, Curtis wrote: I've finnally got PHP 5.3.6 running under Apache 2.2.17 (on Windows). PHP came from windows.php.net. ... All of the DLLs are in the ext folder and extension_dir is set correctly. The VC9 redistributable is also installed. What is going on?? Just have a look at the side

Re: [PHP-WIN] A weird, difficult session fatal error.

2011-01-11 Thread Sascha Meyer
Good evening Bill, Bill wrote: > ... > However -- when I instead try to go the next step with a mysql_query statement, > I get a really weird and fatal error (no window forms) reporting of: "You have an > error in your SQL syntax; check the manual that corresponds to your MySQL server > versio

Re: RE: [PHP-WIN] Re: PHP Search DB Table

2010-12-14 Thread Sascha Meyer
play GET- and POST-variables submitted by your form: [CODE] "; print "POST:"; print_r($_POST); print ""; print "GET:"; print_r($_GET); print ""; [/CODE] I couldn't locate an error in your previously posted code so let's give this one a tr

Re: [PHP-WIN] Re: PHP Search DB Table

2010-12-14 Thread Sascha Meyer
http://de.php.net/mysql_real_escape_string [2] http://de.php.net/manual/en/security.database.sql-injection.php [3] http://de.php.net/manual/en/security.php -- Freundliche Grüße / Kind regards, Sascha Meyer -- EE: http://www.experts-exchange.com/M_

AW: [PHP-WIN] Need help with HTML form errors

2010-07-05 Thread Sascha Meyer
Hi Nagendra, Nagendra wrote: > So, What if I define the same global variable twice, will this solve the > issue? No, this will most likely overwrite the values from the variables defined outside of the routine. I'll try to illustrate this a bit. [CODE] http://www.php.net/) To unsubscribe, visit:

AW: [PHP-WIN] Need help with HTML form errors

2010-07-04 Thread Sascha Meyer
Good Morning Nagendra, Nagendra wrote: > Sorry, I haven't mentioned in my earlier mail that the variables $filter and > $filterfield are global variables which I already defined. I couldn't see this in your earlier mail but does the error occur inside a PHP function? I would assume so and this c

AW: [PHP-WIN] Need help with HTML form errors

2010-07-04 Thread Sascha Meyer
Good morning Nagendra, Nagendra wrote: > ... > The above code is giving me the following errors: > Notice: Undefined variable: filter in > C:\wamp\www\5_Final\index.php on line 228 > Notice: Undifined Variable: filterfield in c:\wamp\www\5_final\index.php on > line 233 > Type > ... The error

Re: [PHP-WIN] php_apache2_2.dll missing in current PHP 5.3 Windows builds

2010-06-24 Thread Sascha Meyer
Hi Pierre, Pierre wrote: > Take the thread safe builds, not the non thread safe (NTS). thanks for the quick reply, that helped a lot. Could you give me some background info what the NTS versions are used for? Regards, Sascha -- Freundliche Grüße / Kind regards, Sascha Me

[PHP-WIN] php_apache2_2.dll missing in current PHP 5.3 Windows builds

2010-06-24 Thread Sascha Meyer
look at this? Thanks a lot in advance! Regards, Sascha -- Freundliche Grüße / Kind regards, Sascha Meyer -- EE: http://www.experts-exchange.com/M_761556.html ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290 GRATIS für alle

Re: [PHP-WIN] Still got issue with 'odbc' user

2010-06-21 Thread Sascha Meyer
ot;Selecting db failed"; } } else { print "Connection failed with ".mysql_error(); } [/CODE] Could you give us some more info about your file structure of your web? Especially, where are the $my... variables initialized used in the mysql_connect() call? Best regards, Sascha

Re: [PHP-WIN] PHP Installation Problem

2010-06-07 Thread Sascha Meyer
- Freundliche Grüße / Kind regards, Sascha Meyer -- EE: http://www.experts-exchange.com/M_761556.html ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290 GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. B

Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread Sascha Meyer
the remote system before executing scripts (see http://technet.microsoft.com/de-de/sysinternals/bb897553.aspx) Hope this helps! Regards, Sascha -- Freundliche Grüße / Kind regards, Sascha Meyer -- EE: http://www.experts-exchange.com/M_761556.html ZCE

Re: [PHP-WIN] 2 questions on mssql and ldap

2010-05-12 Thread Sascha Meyer
a function supportedSASLMechanism() to check if an LDAP server supports SASL auth) I haven't used the above packages yet but you might consider checking these before doing any COM-related programming. Regards, Sascha -- Freundliche Grüße / Kind regard

Re: [PHP-WIN] 2 questions on mssql and ldap

2010-05-12 Thread Sascha Meyer
ot;This is not a bug, just missing feature or rather: missing sasl support in the ldap libraries used to build win32 binaries." The bug's status is "open" so I assume that this is also a problem with more recent builds of Windows PHP versions. Regards, Sascha -- F

Re: RE: [PHP-WIN] 2 questions on mssql and ldap

2010-05-12 Thread Sascha Meyer
nd regards, Sascha -- Freundliche Grüße / Kind regards, Sascha Meyer -- EE: http://www.experts-exchange.com/M_761556.html ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290 GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT

Re: [PHP-WIN] 2 questions on mssql and ldap

2010-05-11 Thread Sascha Meyer
dliche Grüße / Kind regards, Sascha Meyer -- EE: http://www.experts-exchange.com/M_761556.html ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290 GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt frei

Re: [PHP-WIN] 2 questions on mssql and ldap

2010-05-11 Thread Sascha Meyer
ur code to use the new extension. [1] http://de2.php.net/manual/en/migration53.removed-extensions.php [2] http://www.microsoft.com/sqlserver/2005/en/us/php-driver.aspx [3] http://www.php.net/manual/en/ldap.installation.php Regards, Sascha -- Freundliche Gr

Re: [PHP-WIN] how to access class members

2010-05-04 Thread Sascha Meyer
Hi Alex, Alex wrote: > How to access class members? > > I have the following class definition: > as Richard pointed out, you were not pointing at the class member's name but to the visibility of the variable instead; to give you a start, this is how your class should look like (but I would reall

Re: [PHP-WIN] Mail Function Not Working

2010-04-12 Thread Sascha Meyer
Hi Alice, Alice wrote: > I have an issue here where I see no PHP errors on my mail > function usage, and yet I am not getting the mail in the desired > account. Here is what I have for my PHP code: > > $headers = "From: aj...@alumni.iu.edu" ; > $to = $email; > $subject = > "Comments Regarding

Re: [PHP-WIN] 64-bit PHP binaries

2010-02-10 Thread Sascha Meyer
is no build provider registered for the extension '.php'. You can > register one in the section in > machine.config > or web.config. Make sure is has a BuildProviderAppliesToAttribute > attribute > which includes the value 'Web' or 'All'. > > >

Re: [PHP-WIN] 64-bit PHP binaries

2010-02-10 Thread Sascha Meyer
Hi Morris, Morris wrote: > I have windows 2008 R2 STD and cannot get php to work on it. Have a look at a post on the MS IIS forums which describes installation of 64-bit PHP on IIS: http://forums.iis.net/t/1149917.aspx HTH! Regards, Sascha -- Jetzt kostenlos herunterladen: Internet Explorer

Re: [PHP-WIN] PHP console (php.exe -a)

2009-12-28 Thread Sascha Meyer
Hi all, had to check my php installation today and just realized that php.exe called from command line was not the same as used by my Apache2 webserver (because of different locations set in PATH and PHPRC environment variables). Means that my test from yesterday was not performed with PHP 5.3.

Re: [PHP-WIN] Re: PHP console (php.exe -a)

2009-12-27 Thread Sascha Meyer
Hi Carsten, Carsten wrote: > But on Windows that's buggy: > | # php -a > | Interactive mode enabled > | > | | $a=5; > | $a++; > | echo $a.PHP_EOL; > | > Nothing happens on Windows at this point. The cursor is in the next line > waiting for input. But, if I now enter "^C", I can see the result: >

Re: [PHP-WIN] PHP console (php.exe -a)

2009-12-27 Thread Sascha Meyer
Hi Libor, Libor wrote: > Hi all, > I don't know if I am stupid or what but I can't find out how to send > typed code to execute. I never worked with php as an interactive console application but as far as I can see on the php.net homepage [1], the -a switch is used to call a script which then

Re: [PHP-WIN] Re: cgi

2009-12-26 Thread Sascha Meyer
Hi Earl, Earl wrote: > I have downloaded and installed PHP versions: 5.2.9-2, 5.2.10, 5.2.12, > 5.3.0, and lastly 5.3.1. Originally when installed each version gave a > CGI > error and nothing associated with PHP would work. I did get 5.3.1 to > install and operate without the CGI error. I

Re: [PHP-WIN] cgi

2009-12-26 Thread Sascha Meyer
Hi Tyrael, Hi Earl, Tyrael wrote: > 5.3 brings a lot of improvements and a couple of new features, but it > can be some incompatibility issues with the pre 5.3 applications. ... most applications should work both with the PHP 5.2 and 5.3 branch, i.e. phpmyadmin is available for PHP 5 and there

Re: [PHP-WIN] cgi

2009-12-25 Thread Sascha Meyer
Hi Earl, Earl wrote: > tried installing many versions of PHP after v5.2.9 and always get a CGI > error, none of the php pages load. I never worked with Xitami as web server but this could get you started: - check your webserver's log files, this could be your windows eventlog or some logging

Re: RE: [PHP-WIN] PHP and DQGRID

2009-12-11 Thread Sascha Meyer
Hi Harpreet, Harpreet wrote: > I need some basic starter examples of dqgrid. Any exaples will help . > Thanks I tried the demo pages but they are a bit too advance. I need the > basics. Thanks I couldn't find anything with the name DQGrid on the web so I guess that you were relating to JQuery an

Re: [PHP-WIN] PHP mailing list using mysql

2009-11-22 Thread Sascha Meyer
Hi baboucarr, baboucarr sanneh schrieb: hi guys i want to develop a mailing list and the email addresses would be stored on a database..I want to kno how i can do this using php and mysql.. any help ?thnx If you don't want to start from scratch, have a look at the PHP addressbook [1] and the

Re: [PHP-WIN] PHP info can't find MySql with IIS web server

2009-11-22 Thread Sascha Meyer
Hi Steve, Steve Ricketts schrieb: I'm trying to install the latest version of PHP on a 2003 server running IIS. PHP runs fine but when I run phpinfo(), it doesn't find MySql. Please check if libmysql.dll is somewhere in your path or in a location like C:\windows\system32. I ran into simila

Re: RE: [PHP-WIN] php and silverlight

2009-11-20 Thread Sascha Meyer
Hi Harpreet, Harpreet wrote: > I am creating a c# silverlight application using VS2008 using a datagrid > to display data and now I am using linq to sql to get data into the > grid. > This should work with my php app once packaged into an XAP file and > embedded into my php page. > > That's the o

Re: [PHP-WIN] php and silverlight

2009-11-19 Thread Sascha Meyer
Hi Harpreet, Harpreet schrieb: Why do u say kind of .. there is an nice tutorial where a silverlight datagrid is created with a linq to sql class. Can I embed this into my php code hosted on apache...please help I am stuck because Elisabeth' example shows how to mimic C#'s linq functionality wi

Re: [PHP-WIN] Getting a date to print out

2009-08-28 Thread Sascha Meyer
Hi John, John Meyer schrieb: is there any special trick to getting a MySQL date to print out? Simply echoing it out doesn't seem to work. could you provide some sample code what you try to achieve? Regards, Sascha -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP-WIN] Determining the exact location of the CLI executing the current script?

2009-08-24 Thread Sascha Meyer
Hi Richard, Richard wrote: > But I can't seem to find the exact name of the executable handing the > script. > > Which seems a little odd. you are right, I couldn't find it either! All I get is: Server API: Command Line Interface -> command line call Server API: CGI/FastCGI -> handled by IIS s

Re: [PHP-WIN] dbase extension for PHP 5.3.0

2009-07-21 Thread Sascha Meyer
Hi Jeff, Jeff wrote: > I'm searching for a pre-compiled dbase extension for PHP 5.3.0 on > Windows. the dBase extension has been removed because the extension was no longer maintained actively. If there is a demand for dbase support with PHP 5.3, a PECL package will be created [1]. If you nee

Re: [PHP-WIN] where is php5isapi in the distribution package ?

2009-07-05 Thread Sascha Meyer
Hi Stéphane, > > Why i can not find php5isapi.dll in the distribution package of PHP 5.3 ? > > Thanks you by advance I just checked the archives at windows.php.net and you are perfectly right, there is no php5isapi.dll available in this build. PHP5Isapi has been removed in PHP 5.3 because it

Re: [PHP-WIN] Execute shell php scripts (was: Hiiiiii)

2009-07-04 Thread Sascha Meyer
Hi Ravi, > I want to know that Can i run php script using command prompt in any > location by typing scriptname.php? I think that question was answered by Richard, you can have another look it at through the PHP-WIN user list web frontend: http://news.php.net/php.windows/29434 Follow his steps a

Re: [PHP-WIN] is ZendStudio IDE necessary????

2009-07-02 Thread Sascha Meyer
Hi Ravi, > I have Arachnophilia(IDE) and i can write php script using it.Is it necessary to install ZendStudio-7.0.0-BETA(IDE) to write php script? My two cents to your question: It just depends on your programming experience with PHP, the complexity of the project(s) you work on, the necessi

Re: [PHP-WIN] Re: [PHP-WEBMASTER] PHP Update & PHP Upgrade

2009-06-26 Thread Sascha Meyer
Hi Chaput, Chaput wrote: > > In the documentation, I found that the installer of PHP 5.2 and later > will > > read the install options and will reinstall PHP with the same options as > > before. > > > > Will the install only read the installed features or it will read the > > php.ini ? > > > > Wha

Re: [PHP-WIN] MySQL Configuration on Windows Box with Apache and PHP

2009-06-17 Thread Sascha Meyer
*doooh* I forgot you use Apache instead of IIS ... if php is set up to log errors to the windows log (entry "error_log" with value "syslog" in php.ini), then you'll find errors and warnings in your event log, otherwise have a look at your apache logs (as mentioned by Antonio). And if you check

Re: [PHP-WIN] MySQL Configuration on Windows Box with Apache and PHP

2009-06-17 Thread Sascha Meyer
Hi Prateek, Prateek wrote: > Now I want to use MySQL with PHP, but seems that *MySqli* is not > installed properly. as when I write a following script in a php page I > get a error ... > > * > any guess what i am doing wrong, i am sure that it is some configuration > error. > > Prateek > > -- >

Re: [PHP-WIN] Using Images in PHP]

2009-06-15 Thread Sascha Meyer
Hello Nadim, Nadime wrote: > Can I resize transparent PNGs and GIFs with the class? I haven't tested it yet but I guess it -should- work. Best way to find out is to use the class and let me know if you succeeded with resizing transparent images or not. I will modify parts of the class this week

Re: [PHP-WIN] Using Images in PHP]

2009-06-14 Thread Sascha Meyer
Good Morning praveen, you will need both Imagick http://www.imagemagick.org/script/api.php#php (points to the documentation about how to use Imagick with PHP) and the PEAR extension class (PECL): http://pecl.php.net/package/imagick There is an alternative to Imagick already shipping with PHP

Re: [PHP-WIN] getting started - need pointers

2009-05-28 Thread Sascha Meyer
Hi Mike, Mike Kay schrieb: > Greetings. I am trying to get PHP installed and working on a Windows > server - Windows Standard 2007. I've downloaded and installed PHP 5.2.9. > Problem is I don't know how to use this at all. My web server is Apache > 2.2 - my database is Mysql. > ... > Also, I'm se

Re: [PHP-WIN] vbscript not running in php but running as a vbs file

2009-05-23 Thread Sascha Meyer
Doh! Now I found the error: if i add this to a php page with the tags .. these lines will not be rendered by the server, the will directly be send to the browser, so the browser will try to execute this part of code (and only IE will process vbscript tags). If you want the

Re: [PHP-WIN] vbscript not running in php but running as a vbs file

Hi Rui, Rui wrote: hi im having a problem with a vbscript that sends mail . first of all, why do you try to send a mail through the use of a vbs file? Consider switching to php's mail function (http://www.php.net/mail), with your preferred mail server set up in php.ini (or you can dynamically

Re: [PHP-WIN] Looking for code for an alphabetic menu in php

Hi Bill, I don't know if I got you right but I hope this will help: [CODE] $baseLink = "index.php?letter="; // Assuming your file name is "index.php"; set up the base link for all pages //alphabetical links for($a=65;$a<(65+26);$a++){ print "".chr($a)."\n"; } if (isset($_GET["letter"]) &&

[PHP-WIN] Oracle OCI and characterset issue

Hi there, I hope that one or another Oracle specialist is on our list, so here's something special for you: I recently upgraded from Zend Core for Oracle 2.0 to 2.5 (I still use the same php.ini I used with 2.0), and now my database language setup is messed up! All german umlauts are gone and

Re: [PHP-WIN] How do you segregate MP3 player so it keeps playing when changing pages

Hi Rey, as Tyrael suggested I would try to use a frameset with one frame at the top containing the player and another one right below with the content of the web page. But why avoiding using flash? Have a look at this page: http://www.nature-one.de/events/mayday/index.html?/events/mayday/deutsc

Re: [PHP-WIN] PHP connecting to MSSQL

Hi Alf, Alf wrote: > I have not reinstalled MSDE but have done the svrnetcn you suggest where I > found 1433 listed as the TCP port but when I try netstat -an I get:- > C:\Documents and Settings\Alf Stockton>svrnetcn > > C:\Documents and Settings\Alf Stockton>netstat -an have you restarted the se

Re: [PHP-WIN] PHP connecting to MSSQL

ot;TCP/IP" (you can also define the used port with this utiliy). Don't forget to restart your SQL Server service! If you now run "netstat -an", you will find your server listening on port 1433. Regards, Sascha Alf Stockton schrieb: Sascha Meyer wrote: Hi Alf, your local S

Re: [PHP-WIN] PHP connecting to MSSQL

Hi Alf, your local SQL Server is probably listening on another port ... perhaps you could try the following in a DOS prompt: netstat and netstat -n The first should give you all open local ports with descriptions to the port if a default port was used. The second will give you all open port

Re: [PHP-WIN] PHP connecting to MSSQL

:15:41 +0200 > Von: Alf Stockton > An: Sascha Meyer > CC: jmer...@gmail.com, php-windows@lists.php.net > Betreff: Re: [PHP-WIN] PHP connecting to MSSQL > Sascha Meyer wrote: > > Hi Alf, > > > > have you checked the comments on the php.net page > (http://us.ph

Re: [PHP-WIN] PHP connecting to MSSQL

Hi Alf, have you checked the comments on the php.net page (http://us.php.net/mssql_connect)? These are really helpful when it comes to troubleshooting. One setting I remember to have changed in my environment was the following php.ini entry: [CODE] mssql.secure_connection=off [/CODE] Could y

[PHP-WIN] Information on function caller?

Hi group, I am unsatisfied with the following situation and would like to ask your advice on how to handle this: all of my scripts use a central custom database connection class that handles Oracle connections & stored procedures; this works pretty good, but there's one major drawback of this

[PHP-WIN] Anyone running Winword on Windows 2003 Server?

Good Morning, after a lot of testing on my Windows 2k3 server I stopped trying to use Winword through COM, because the returned Word COM object never worked (I could neither open or create a document, nor could I even retrieve version infos from the Word instance, nothing ever worked). I used

RE: [PHP-WIN] Word instance not closing after call to $word->Quit()

I tried the following VBScript ... [CODE] dim objWord set objWord = CreateObject("Word.Application") objWord.Visible = true msgbox objWord.Version objWord.Quit() [/CODE] ... and the result is: Word loads, the version info is displayed and the instance is unloaded again. My only guess is that in

Re: RE: [PHP-WIN] Word instance not closing after call to $word->Quit()

Hi Andi, Andi wrote: > Has anyone helped you so far? > Looks like a reference counting problem in PHP. There were such problems > in the past but they were resolved. > I assume this happens with any COM object you are trying to open? I haven't found a solution yet and currently use a workaround

[PHP-WIN] Word instance not closing after call to $word->Quit()

Good morning to you, one of my scripts creates a winword COM reference, creates a new document, appends data and saves the file to disk; works like a charm, but the word instance remains after the script has finished. To test this issue, I created the following minimalistic script: [CODE] Quit

Re: RE: [PHP-WIN] Re: can't get fsockopen() to work through IIS

Hi Evan, there are three more things that you could check if you want to give IIS a second try: 1.) how long does the script need to output the error? Could it be that the value for "default_socket_timeout" in php.ini is very low and the call to fsockopen() fails because the server doesn't res

Re: [PHP-WIN] Start and stop windows service for multiple remote computers

Hi Sam, sam rumaizan wrote: Can someone show me how to Start and Stop windows service for multiple remote computers using Command Prompt or PowerShell or even Java? Thank you please have a look at the following windows commands: "net start" / "net stop" -> available on Windows 2000 and ab

Re: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows

I would recommend using PDO for MSSQL, because it performs better in most. You have to enable both php_pdo.dll and php_pdo_mssql.dll in your php.ini, restart the web server and you should be ready to go. Here's a sample code taken from http://de.php.net/manual/en/ref.pdo-dblib.php [CODE] getMess

Re: [PHP-WIN] php editors

Hi there, > I've been reading over php. I have bought php and mysql for dummies but my > question is what kind of php editors can a person get where they can view > what it looks like? or where do you find your php.ini file. i've been > reading i need to work on that. and when that is fixed up t

[PHP-WIN] Re: php called from cmd or browser? pros and cons?

Good morning, I use several php scripts run via console and these work like a charm! It's comparable to running vbs scripts but with a lot more available functions (like mailing, ftp-ing, ...); i'd definitely recommend the usage! One of my favorites: get the contents of a ftp directory, log the fi

[PHP-WIN] PHP windows installer - additional arguments despite silent install?

Hi there, I recently wrote a simple vbscript to install PHP silently and copy my modified php.ini file to the Windows root directory - that was pretty easy but now I need to add the GD2 extension to my PHP installation and I simply don't know how to do it, because a) I haven't found a way to confi