No, you aren't na idiot. You just don't how to do it, nobody knows
everything.
I think you can use strlen(); it returns an integer with the lenght of the
variable (0 if it's blank).
Don't worry, I learned this function some weeks ago...
Happy new year, bye bye.
-Mensagem original-
De: [
You must disable "Notices" in php.ini
Look for the line "error_reporting =E_ALL", comment it and uncomment
";error_reporting = E_ALL & ~E_NOTICE".
This is not na error, this is a notice. Good for development, but don't
affects execution.
See ya, happy new year!
-Mensagem original-
De:
Maybe in different ports
-Mensagem original-
De: Andre [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 5 de janeiro de 2005 14:42
Para: php-windows@lists.php.net
Assunto: [PHP-WIN] Is it possible to have IIS and apache runing
in the same machine, with windows xp?
Hello
Anyone kn
derstand, but using single quotes(') and double backslashes (\\)
it works fine.
And also passing the dir string by POST don't work. You may have to use the
addslashes() function.
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
-Mensagem original-
De: Mike [mailto:[EMAIL P
Hello!
The sintax I use is this:
$dir = 'C:\\dir\\subdir\\';
But I haven't tried to access windows dirs like Documents and Settings
The only way to be sure is using the is_dir(); function.
See you.
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
-Mensagem origina
isn't logged in the COOKIE, the value for "logged" will
be "true".
I hope I've been helpful.
Regards,
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
-Mensagem original-
De: aomarlow [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 25 de novembro de 2004
Hello, I had the same problem some days ago.
Check if you have the php_gd2.ini in your PHP extensions dir.
You need to check this directory in your php.ini file to be sure it's
correct.
Regards,
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
-Mensagem original-
De: Bobo Wi
etter:
Later in the message, I'll use this loop:
I can't realize how I can do this...
Thanks in advance.
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> is_numeric()
Thanks, it works so fine.
> should probably be $dataP3 = $dataParts[2];
The script in the email has some other errors, I wrote that as an example.
The original script is OK.
Thank you very much.
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
-Mensagem original--
) and gettype($dataP3) return string
gettype($dataParts) returns array
Thanks in advance.
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
Try removing the "@" before "mysql_connect(...);" or adding "mysql_error()"
as a parameter of "exit()" and tell us the error.
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
-Mensagem original-
De: Jeroen [mailto:[EMAIL PROTECTED]
Enviada em:
ension.
>
> Marc
Note: I still using the mysql extensions/functions and it still working
Rafael Soares
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You probably have register_globals turned off (this is a question of
security and performance).
You can turn it on changing your php.ini file, it's probably located in
C:\WINDOWS
Or try this in the beginning of your PHP file:
Rafael Soares - AgênciaM
Fone: +55 11 4616-1394
-Men
]
Enviada em: quarta-feira, 3 de novembro de 2004 13:30
Para: 'Rafael Soares'; [EMAIL PROTECTED]
Assunto: RE: [PHP-WIN] Cannot load the mysql library
> I´m sorry, it was a typing error in the e-mail. :]
>
> Here is the error message *as it appears in the page*:
>
> PHP Warnin
al-
De: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 3 de novembro de 2004 12:54
Para: 'Rafael Soares'; [EMAIL PROTECTED]
Assunto: RE: [PHP-WIN] Cannot load the mysql library
> Restarted IIS, restarted the computer and so on... And many times!
>
&
Restarted IIS, restarted the computer and so on... And many times!
-Mensagem original-
De: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 3 de novembro de 2004 12:13
Para: 'Rafael Soares'; [EMAIL PROTECTED]
Assunto: RE: [PHP-WIN] Cannot load
Hello people!
Im using PHP 5.0.2, IIS 5.1 running on WinXP Pro.
But the installer for IIS dont install the MySQL functions library and,
after installing the MYSQLX.exe
(http://dev.mysql.com/get/Downloads/Contrib/MYSQLX.EXE/from/pick), I copied
the php_mysql.dll from the PHP 5.0.2 ZIP file
Hello.
I have PHP installed and working well on IIS 5.1.
But Ive installed a CMS that configures its own php.ini file, saving a
backup of mine, name php.backup.ini.
There isnt a way to change the location of one of them? Its so boring to
change the name of each file every time Ill w
tmp\\' (this is exactly how it is in the .php file)
and the "Permission denied" error appears...
"Rafael Soares" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> I've located the problem:
>
> I don't have the gd2 extension... I'
usualy located in php dir and uncomment
> "extension=php_gd2.dll" (for php 5.0.1)
>
> for 4.3.3 it's in windows dir and it's either php_gd.dll or php_gd2.dll
>
> restart apache, restart iis
>
> should work
> works for me ;)
>
> Rafael Soares wrote:
> > Th
"Gusts Kaksis" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Open the php.ini file, usualy located in php dir and uncomment
> "extension=php_gd2.dll" (for php 5.0.1)
>
> for 4.3.3 it's in windows dir and it's either php
This is what happens:
"Call to undefined function imagecreatefromjpeg() in
c:\Inetpub\wwwroot\poe_logo.php on line 26"
I'm using PHP 5.0.1 running on IIS 5.1 / WinXP Professional.
Either on Apache 1.3 and PHP 4.3.3 its does not work...
I really don't what is happening...
Note I'm newbie on php,
22 matches
Mail list logo