On 22 Sep 2004 Jim Bailey wrote:
> No, DocumentRoot is set in httpd.conf?
Hmmm, I'm confused, was that a question or a statement???
Are you trying to run PGP as CGI or via SAPI (Apache module)?
--
Tom
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
Hi
I'm using the GD library to create images from data in a database.
Currently I call a php page as my image source and all the code for the
image generation is in this page, eg:
Is there any way you can do the same thing but just calling a function
in the current php file, rather than having t
No, DocumentRoot is set in httpd.conf?
Jim Bailey
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 22 Sep 2004 Jim Bailey wrote:
>
> > I navigate to http://127.0.0.1/ and I get the default apache page.
> >
> > I navigate to http://127.0.0.1/test.php and get the following error
mess
If it's not already loaded you should be able to dynamically load it, if the
library is available (lots of clues in phpinfo();
http://us2.php.net/manual/en/function.dl.php
You can test to see if function is loaded by;
http://www.php.net/manual/en/function.function-exists.php
Good luck,
Warren
Hi NG,
can someone give me a hint, how to activate the php_java.dll extension in
PHP5.0.1 on a Windows 2000 Server installation ?
thanks
Wolfgang Vogel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi NG,
can someone give me a hint, how to activate the java extension in PHP5.0.1
on a Windows 2000 Server with apachw 2.x
thanks
Wolfgang Vogel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi NG,
can someone please give me a hint, how to activate the java extension on
php5.0.1,apache2.0.x and windows2000 server?
thanks
Wolfgang Vogel
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Catapult Webmaster wrote:
i would just like to ask if i have missed anything in the installation (e.g. configuration for MySQL connectivity) because the ff. piece of code always returns "Fatal error: Call to undefined function mysql_connect() in F:\xitami\catapult\index.php on line 13."
This is
Sorry, I was misstaken.. It's nsapi that has a virtual, which is however
called nsapi_virtual.. Also, there are several ASP for Apache projects..
Someone mentioned the one from sun. There's also one named iASP.. And
OpenASP, mod_vb and Apache::ASP (ASP with Perl syntax).. For ASP.NET there
is also
It's not.. It exists in other SAPIs as well unless I'm misstaken (there was
discussion on it anyway), including ISAPI which IIS uses unless PHP is
installed as cgi.. Not sure at all about this though..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Mikey" <[EMAIL PROTECTED]> s
hi!
i would just like to ask if i have missed anything in the installation (e.g.
configuration for MySQL connectivity) because the ff. piece of code always returns
"Fatal error: Call to undefined function mysql_connect() in
F:\xitami\catapult\index.php on line 13."
This is the part of my cod
I know a lot of people will recommend using strtotime() to convert it to
a unix timestamp, then use date() to format that:
Date("m/d/Y",strtotime("Sep 12 2004 2:16AM"))
That may work.. I have an inherent distrust of functions that use too
much logic that isn't apparent to me, so I don't use str
You are looking for the strtotime() function.
$original_date = "Sep 12 2004 2:16AM";
$reformat = date ( "m/d/Y" , strtotime ($original_date) );
echo $reformat;
John
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 9:13 AM
To: [EMAI
You are looking for the strtotime function...
$original_date = "Sep 12 2004 2:16AM";
$reformat = date ( "m/d/Y" , strtotime ($original_date) );
echo $reformat;
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 9:13 AM
To: [EMAIL
I see in the manual about how to format the current date using the date()
function...but my question is...I have the date in this format:
Sep 12 2004 2:16AM
And I needed it formatted as:
09/12/2004 (I don't need the time)
How do I go about doing that?
Thanks,
Ron
Mikey,
I would put the if condition (or a while loop, if you are retrieving more
than 1 row) around the ocifetchinto, and not after that, as in your code.
Here is how I would write it (off my head, not tested):
$sql = "SELECT \"irpUser\" FROM tblUsers WHERE
\"swmEmail\"='{$_POST['swmEmail']}'";
$s
Ooops! Ignore this post, but not the first...
- Original Message -
From: "Mikey" <[EMAIL PROTECTED]>
Newsgroups: php.windows
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 22, 2004 1:44 PM
Subject: Re: Strange result returned from Oracle
> Hmmm, I just tried testing for the "SYSTEM
[snip]
> I appended the following lines to httpd.conf
> ScriptAlias /php4/ "E:/Programs/PHP4.3.8/"
>
> AddType application/x-httpd-php4 .php4 .phtml .php
>
> Action application/x-httpd-php4 "php.exe"
Shouldn't this line have the full path to php.exe?
Only a guess...HTH
Mikey
--
PHP Windows
Hmmm, I just tried testing for the "SYSTEM" string and it still falls
through to the else branch - any help would be extremely grateful now :-)
Mikey
---
Developer - Radius Design Ltd.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi NG,
I wonder if anyone has encountered any problems with values returned from an
Oracle SQL query, more specifically when the result set is empty? I have
the following code:
$sql = "SELECT \"irpUser\" FROM tblUsers WHERE
\"swmEmail\"='{$_POST['swmEmail']}'";
$sth = ociparse ($conn, $sql)
or
On 22 Sep 2004 Jim Bailey wrote:
> I navigate to http://127.0.0.1/ and I get the default apache page.
>
> I navigate to http://127.0.0.1/test.php and get the following error message
Sounds like you need to set DocumentRoot, or move your file to wherever
DocumentRoot points.
--
Tom
--
PHP Win
Hello,
I'm a well seasoned developer dipping my toe into PHP/Apache/MySQL.
I installed Mozilla FireFox Version 0.9.3 and
PHP4.3.8 and
Apache 1.3.31 running in
Windows 2000 Version 5 SP 4.
I appended the following lines to httpd.conf
ScriptAlias /php4/ "E:/Programs/PHP4.3.8/"
AddType application/
22 matches
Mail list logo