You are here: Re: help needed - installation, debuging and variables « PHP « IT news, forums, messages
Re: help needed - installation, debuging and variables

Posted by Schraalhans Keukenmeester on 09/26/05 14:47

Joseph S. wrote:
> 1)I get startup error messages:
> "cannot load c:\php\php_curl.dll - the specified file cannot be found"
> although the file is very much there at exactly that location
> Not only for this file but for many extension files like php_mysql.dll,
> php_oracle.dll, php_mssql.dll, php_exif.dll etc.
>
> 2)the extensions_dir setting is "c:\php" without an ending backslash.
>
> 3)The php.ini file is residing at c:\php
>
> 4)The php.ini file in c:\windows has all extensions disabled so it does
> not look as though that php.ini file is the source of the messages
>
> 5)There is a extension entry for php_win32api.dll which also gives a
> not found error.
> Is it the older version of php_win32std.dll, php_win32service.dll and
> php_win32scheduler.dll files which are present but
> their names are not there by default in the php.ini ?
>
> **************************************************************************************************
> 6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and
> C/C++ in MS Visual Studio?
> **************************************************************************************************
>
> 7)database access through odbc works.
>
> 8)How do I install PHP as both a CGI extension under Apache 2.0.5x and
> as a module (php5apache2.dll with a LoadModule in httpd.conf)
>
> 9)How do you pass variables between forms or php pages in general?
>
> Thanks in advance,
> Joseph S.
>
@6: Use a PHP Editor with debugging/code evaluation. Zend has one (most
popular I think, for windows anyway), which is quite expensive for
anyone other than a commercial programmer (approx 300 dollar). I prefer
using PHPEdit (www.waterproof.fr), which is FREE for personal use. You
do have to request a license file though, but I got it without a hassle.

@9: With forms you can use the following:
<FORM method="GET or POST" action="script.php">
[...]
</FORM>

Then get the submitted info from the $_GET or $_POST array.
If you have a form field called NAME and you used POST as a method (I
prefer POST in most cases, allows more data to be transmitted) it's
stored in $_POST["NAME"] afterwards.
Do NOT trust form data, always validate it first if you use it for
serious purposes. People can easily fake input.
Validation in the PHP script of course.

Another way to parse data from script 1 to script 2 is by using
sessions. Read the PHP Manual on how to properly use sessions.

The other questions I cannot answer I think.
Rgds
SH.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация