Didn't even realize I sent it to you directly...I'm sending it to the list
to archive it.
Here's what I said:
For displaying table comments:
SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA =
'your-table-name'
For displaying column comments:
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHE
I think single quotes is right because you don't want PHP to escape
the characters...the escape is for regex, not PHP
On Jan 19, 2008 9:44 AM, Niel Archer <[EMAIL PROTECTED]> wrote:
> Hi
>
> > OK, I don't think I searched the web hard enough. I've not found a
> > definitive explanation, but I thin
I call my method Assembler::PrefetchComponents with an array of valid
components and it crashes only when I include the line
"self::PrefetchComponents($dependencies);" Please help me solve the
error in this code.
Here's Assembler::PrefetchComponents:
public static function PrefetchComponents($nam
port = 389;
$ldapconn = ldap_connect($ds, $ldapport)
or die("Could not connect to LDAP server.");
if ($ldapconn)
{
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION,3);
ldap_set_option($ldapconn, LDAP_OPT_REFERRALS,0);
$ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass);
}
I hope th
it is (printer, PC, access point,...etc)
>
> This particular wheel already exists: http://www.nagios.org/. And
> that's
> just one example, there are several out there.
>
> -Stut
>
> > Aaron Kenney wrote:
> > "Network programming&q
"Network programming" is a very broad term. What is it that you are
trying to accomplish?
On 4/15/07, sam rumaizan <[EMAIL PROTECTED]> wrote:
Can you recommend any online tutorial OR Book for Network programming with php?
-
Ahhh...imagining that irresistible
Here's a concept:
Visual php.net.
Please microsoft please?
Isn't it time to kill off ASP yet?
On 2/4/07, David Lindstrom <[EMAIL PROTECTED]> wrote:
With Phalanger and its VS integration package, you get color highligthning
and debugging support, and since Phalanger compiles into .NET assemblies,
Please make sure that the document root in httpd.conf matches that in
the php.ini file.
Also make sure that all php files that you are using have the .php
file extension. Make sure that every php file starts with wrote:
Hi
Can you get a phpinfo page?
Niel
--
PHP Windows Mailing List (http://w
simply to get the job done faster.
There is also the issue of ASP code. If you have any currently running
from a Windows/IIS server, it is a pain to move to Apache and get ASP
working. I have yet to do it with Apache:ASP simply because I JUST
DON'T GET IT, but I am fairly sure that if I just pa
lling this combination on my Windows XP Pro
test PC at the next possible moment.
-Aaron Kenney
On 5/23/06, giwrgos <[EMAIL PROTECTED]> wrote:
Hi!
I tried to install Apache 2.2 and PHP-5.1.4 as a module but i failed.
The reason is that apache cannot load the php5apache2.dll. The file
e
ad of trying to "reinvent the wheel."
-Aaron Kenney
On 5/22/06, Alf Stockton <[EMAIL PROTECTED]> wrote:
Aaron Kenney wrote:
> Everyone,
>
> We all need to remember also that once a person is used to Windows,
> Linux is a learning curve (albeit a small one) that doesn
have been forced to use
a manual installation of PHP, so this is always a concern for me.
I say if you just want to get PHP up-and-running quick and dirty,
stick with what you know so that no time is wasted.
-Aaron Kenney
On 5/21/06, Alf Stockton <[EMAIL PROTECTED]> wrote:
Aaron Kenney wrote
;1" 133 MHz. If your
computer is at least that good, you could probably do the same. You
may, at most, have to update your motherboard's BIOS (usually free)
and then upgrade the hard drive.
-Aaron Kenney
On 5/19/06, John Jairo Vega Angulo <[EMAIL PROTECTED]> wrote:
Hi, everyone:
Well
Correction: Do not uncomment 'extension=php_msql.dll'. Instead
uncomment 'extension=php_mssql.dll'. That was a really poor typo.
-Aaron Kenney
On 4/18/06, Aaron Kenney <[EMAIL PROTECTED]> wrote:
> Make sure you read everything at
> http://us3.php.net/manual/en/pri
ensions since C:\PHP
should be in your PATH anyway.
-Aaron Kenney
On 4/17/06, Alf Stockton <[EMAIL PROTECTED]> wrote:
> One of my clients has decided, in their wisdom, to switch from Apache to
> IIS and I have a number of PHP/MSSQL/JAVASCRIPT programs running in that
> environment.
I have been using PHP Designer for almost a year and have found it to
be a life saver in some cases, although the Zend product is better. It
just costs money.
-Aaron Kenney
On 4/11/06, pfancy <[EMAIL PROTECTED]> wrote:
>
> ""Sascha Meyer"" <[EMAIL PROTECT
I recommend
27;t apply the new configuration, then
there is something not right with the configuration, or with the
IIS/PHP installation. I'm not well versed enough in PHP servers to
know where the startup log would be contained, but that might provide
some insight if PHP has that capability.
-Aaron Ken
log in to a Windows 2003 server via the LDAP
functions.
-Aaron Kenney
On 3/22/06, Grinberg, Kevin <[EMAIL PROTECTED]> wrote:
> I believe what you're looking for is:
>
> $_SERVER["REMOTE_USER"]
>
> However, it'll only work if the client is authenticated - if
ho "
testing username script
<!--
var WshNetwork = new ActiveXObject(\"WScript.Network\");
document.postvars.username.value = WshNetwork.UserName;
document.postvars.submit();
//-->
";
}
?>
-Aa
t; . $info[$i]["sn"][0];
echo "";
echo "mail: " . $info[$i]["mail"][0];
}
}
else
{
echo "LDAP bind failed...";
}
}
ldap_close($ldapconn);
?>
-Aaron Kenney
On 3/9/06, Bowden, Zeb <[EMAIL
So here is the offending code:
--
";
echo "ou: " . $info[$i]["ou"][0];
echo "mail: " . $info[$i]["mail"][0];
}
}
else
{
echo "LDAP bind failed...";
}
}
ldap_close($ldapconn);
?>
--
Here is the result:
---
y.
3. Pass the e-mail address(es) to PHP and send an e-mail to the
address using mail().
#3 is cake. #1 and #2 are the parts I need help with. I have tried to
do this through PHP LDAP functions and have failed miserably. Anyone
know a way I can get the info I need?
-Aaron Kenney
--
PHP Windows Ma
Thanks. That worked. Shows how much I know once I leave the world of
PHP and try to do other stuff.
-Aaron Kenney
On 3/1/06, Wagner, Aaron <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Aaron Kenney [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, Mar
oh...
On 3/1/06, Wagner, Aaron <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Aaron Kenney [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 01, 2006 16:43
> > To: Wagner, Aaron
> > Cc: php-windows@lists.php.net
> > Subject
cript
<!--
var WshNetwork = new ActiveXObject(\"WScript.Network\");
document.postvars.username.value = WshNetwork.UserName;
function autosubmit()
{
document.postvars.submit();
}
//-->
";
}
?>
On 3/1/06, Aaron Kenney <[EMAIL PROTECTED]> wrote:
> Eh... POST didn'
twork = new ActiveXObject(\"WScript.Network\");
document.postvars.username.value = WshNetwork.UserName;
document.postvars.submit();
//-->
";
}
?>
On 3/1/06, Aaron Kenney <[EMAIL PROTECTED]> wrote:
> I was going to POST instead of GET or use a cookie so that the use
g a form element and then comparing that to
the current username upon submit, but what good is that if you do not
also authenticate the password?
I guess I'm missing the second part of my question which is to get the
username assigned to a PHP variable. How do I do this?
-Aaron
On 3/1/06, Wagner
what is up with this list?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
considered doing was, in ASP, obtain the username
and write it to a cookie. Then use PHP to parse the cookie to get the
username.
-Aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you very much. I am used to Linux where you have to add it in when
run ./configure. I would have never even tried to just enable it in the
php.ini file. I thought something had to be done before php was built.
Thanks again,
Aaron
--
PHP Windows Mailing List (http://www.php.net/)
To
t; site you can find precompiled binaries for PHP including all the
> extensions.
>
> Edin
>
> - Original Message -
> From: "Aaron Todd" <[EMAIL PROTECTED]>
> To:
> Sent: Friday, June 17, 2005 3:23 PM
> Subject: [PHP-WIN] PHP & GD on Windo
I am new to building and runnning PHP on windows. I have only used Linux in
the past, but I need to get it on a windows box. I have built PHP
sucessfully by following the instructions in the manual, but I would like to
add GD, JPEG and PNG support, and the FREETYPE library. I have gathered al
date ( string format [, int timestamp ] )
z - The day of the year - 0 through 366
$doy = Date("z") ;
http://us2.php.net/manual/en/function.date.php
aaron
> -Original Message-
> From: JC Botha [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 04, 2005 11:46 A
aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6_headers configuration option tells PHP what
> type of headers to
> ; use when sending HTTP response code. If it's set 0 PHP sends Status:
> header that
> ; is supported by Apache. When this option is set to 1 PHP will send
> ; RFC2616 compliant header.
> ; Default is zero.
de_path = "c:\php"
>
> But if the above is correct then it is not working either.
> this is the error that I get: Fatal error: Call to undefined function
> mysql_connect() in C:\apache\htdocs\cedarintranet\index.php on line 3
>
>
>
> On 4/15/05, Wagner, Aa
upportive as PHP4 So I'm considering going back to PHP4 if
> none can help me.
>
> On 4/15/05, Wagner, Aaron <[EMAIL PROTECTED]> wrote:
> >
> >
> > > -Original Message-
> > > From: JC Botha [mailto:[EMAIL PROTECTED]
> > > Sent: F
> problem. I'm
> > >running WinXP on the computer that I use to develop the apps. Any
> > >advice out there that could be of help.
> > >
> > >Thanks
> > >
> > >
> > >
>From Looking at the error.it appears that mssql is not either
compiled in or tne module is not installed.
Although, I thought that support for mysql was included in PHP since
ver4.
aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to find a PHP module or Apache2 module to do the same functions as
EXPECT. Does anyone have any idea if one exists.
http://bmrc.berkeley.edu/people/chaffee/expectnt.html
aaron
> -Original Message-
> From: winnesoup [mailto:[EMAIL PROTECTED]
> Sent: January 30, 2005 18:16
> To: Manuel Lemos; php-windows@lists.php.net
> Subject: Re: [PHP-WIN] Re: NT username detectable?
>
>
> It's unbelievable. This question is freaking me out for a
> year or so and
> when I s
> -Original Message-
> From: Jason Barnett [mailto:[EMAIL PROTECTED]
> Sent: January 24, 2005 09:41
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Re: Random
>
>
> SargeTron wrote:
> > "How can I create a random string"
> >
> > rand() only returns an int (number), but I would lik
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of MikeA
> Sent: January 17, 2005 17:31
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Output Image from Db to Browser
>
>
> I am trying to output a JPG image to the browser without
> creating a file. I have tried
I use UltraEdit32. It is a wordpad on steriods. It has downloadable syntax
modules for http, apache config files, perl, php, javascript, etc etc.
It has ability to auto-indent, color syntax coding, and auto-saving.
www.ultraEdit.com
aaron
> -Original Message-
> From: [EMAIL PRO
couldn't you use
is_string ( mixed var )
aaron
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: January 13, 2005 10:18
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Reg Ex help
>
>
>
> I might be an idiot
http://us2.php.net/manual/en/function.number-format.php
use number_format function.
string number_format ( float number [, int decimals] ) string number_format (
float number, int decimals, string dec_point, string thousands_sep )
> -Original Message-
> From: George Pitcher [mailto:[EMA
print $_ENV["OS"];
> -Original Message-
> From: Harpreet [mailto:[EMAIL PROTECTED]
> Sent: November 23, 2004 11:08
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Command to find platform used
>
>
> I am running my php application on an Windows XP and a Mac
> machine. I want
> to find th
look at serialize
http://us2.php.net/manual/en/function.serialize.php
and in the user notes below, note that serialize doesn't remove quotes so need
to base64_encode() after the serialize.
base64_encode(serialize($array))
than reverse on the other end
unserialize(base64_dencode($array))
>
try this..
$value));
}
}
?>
$stack = array_merge($stack, array("one"=>"test"));
Aaron N Wagner
WagnerWebDesign.net
> -Original Message-
> From: Rafael Soares [mailto:[EMAIL PROTECTED]
> Sent: November 22, 2004 10:58
> To:
Project wise is this a small, medium, or large undertaking.
I'd say Medium because of your learning curve. The code
itself is pretty reusable and small. Your basically adding
data to a DB and retrieving it, no heavy processing.
aaron wagner
> -Original Message-
>
Sorry if this topic has been covered/beating to death, but is there any
decent development environment which allows one to step through their code?
I come from a heavy C enviroment and this "debugging" is killing me.
Thanks,
Aaron
--
PHP Windows Mailing List (http://www.ph
situation when submitting a
problem report to the GW Micro Technical Support Team.
Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development
--
PHP Windows Mailing List (http://www.php.net/)
To unsubsc
am\n");
header("Content-Disposition: attachment;filename=foo.exe\n\n");
readfile($filename);
Aaron
At 05:03 PM 1/13/2003, Neil Smith wrote:
HI Aaron, List -
Do you get the same result by sending instead the following header :
header("Content-Disposition:inline; filename=test.zip&
that you receive proper support, please include all
past correspondence (where applicable), and any relevant
information pertinent to your situation when submitting a
problem report to the GW Micro Technical Support Team.
Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://ww
try this in php. put the executable in your apache/iis root dir or include
the path
$status1 = shell_exec("status.exe");
see here for more> http://www.php.net/manual/en/function.exec.php
'wo nurries'
noize
"Brennan Mann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROT
go here to see/hear what i mean http://203.79.117.34/help.php wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> how the hey do i enter a carriage return after shell_exec()
>
> heres the code that works:
>
> $status1 = shell_exec("status.exe");
>
> BUT, because the exe has a windows p
how the hey do i enter a carriage return after shell_exec()
heres the code that works:
$status1 = shell_exec("status.exe");
BUT, because the exe has a windows popup in it (because i havent registered
or craked the thing yet, no time or $) the thing wont run! so, ideas any1?
:-\
noize
--
.dll seem to be found
and load fine (i.e. only FOUR .dll files are reported as "not being
found"..u...
Can you offer any assistance?
Regards,
Aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
ware','$hardw
are','$printer','$network','$os','$priority','1996-05-01')";
$cur1 = MSSQL_QUERY($db1);
But when I do a select of the submitdate field, it always turns up as
today's date no matter what I try to insert. Do I need to
Is is possible to set the connection object to point to a database on
another server? I'm using SQLserver and IIS and would like to point the
connection object to the SQL server. SQL server is on one computer and IIS
is on another.
Thanks,
Aaron
--
PHP Windows Mailing List
appreciated.
Aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Installed PHP with no problem and did some preliminary testing. Installed
phpMyAdmin and got that running also. Tighted down permissions and
somewhere along the way starting getting the CGI misbehaving error message.
Slowly backed things out to the point that Everybody has Full Control on
machi
er to
build the files which eventually fail during build as well. Where is the
windows documenatation? What components do I need to manipulate gifs and
jpgs and in what order do I need to install them, and what versions do I
need?
Thanks for any help.
Aaron
--
PHP Windows Mailing List
the website is
finished loading the CPU usage goes back down to 4%.
Has anyone had this problem or have any suggestions??
Thanks
Aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
I have looked thoroughly for *detailed* documentation on how to build PHP4
and extensions under Win32. Documentation is NOT included in the source
distribution or anywhere I can find through the search engine at www.php.net
.
I understand that www.php4win.de is apparently the best resource at th
I followed the install directions for php4 exactly but a simple phpinfo page
wouldn't work. So I extracted all the files to c:\php instead and changed
the paths accordingly, then it worked. So I started to change all the
directory references back and I can change them all except for this line:
A
ISAPI installation?
My queries are very minimal and run fine for the first few times.
Thanks,
Aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
FROM
> Equipment01 WHERE Location = '415C'");
> which returns the proper results but when I add AND 'Equip Type' = 'C' to
> the end of it I get no results. Is my syntax correct? Thanks, Aaron
> $cur= odbc_exec( $cnx, "SELECT Location,
I've just tried creating an entirely new database and receive the same error
as well as reparing the old database. I've restarted the web server, still
the same problem.
The access 2000 db is on an iis 4.0 server which worked fine previously.
Thanks,
Aaron
"Gonzalo Vera&quo
on to view its data., SQL
state S1000 in SQLConnect in wwwroot\test.php on line 2
My script is only trying to make a connection at this time and it does not
work
What went wrong? Thanks,
Aaron
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I have the query
$cur= odbc_exec( $cnx, "SELECT Location, 'Dept ID', 'Equip Type' FROM
Equipment01 WHERE Location = '415C'");
which returns the proper results but when I add AND 'Equip Type' = 'C' to
the end of it I get no results.
test
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
72 matches
Mail list logo